Commit 5af2515f authored by Henry Weller's avatar Henry Weller
Browse files

buoyantBoussinesqPimpleFoam: Corrected handling of time-step adjustment

Resolves bug-report http://bugs.openfoam.org/view.php?id=2104
parent 8b672f0f
......@@ -75,14 +75,16 @@ int main(int argc, char *argv[])
Info<< "\nStarting time loop\n" << endl;
while (runTime.loop())
while (runTime.run())
{
Info<< "Time = " << runTime.timeName() << nl << endl;
#include "readTimeControls.H"
#include "CourantNo.H"
#include "setDeltaT.H"
runTime++;
Info<< "Time = " << runTime.timeName() << nl << endl;
// --- Pressure-velocity PIMPLE corrector loop
while (pimple.loop())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment