buoyantBoussinesqPimpleFoam: Corrected handling of time-step adjustment

Resolves bug-report http://bugs.openfoam.org/view.php?id=2104
This commit is contained in:
Henry Weller
2016-05-29 22:26:53 +01:00
parent 8b672f0f1a
commit 5af2515f87

View File

@ -75,14 +75,16 @@ int main(int argc, char *argv[])
Info<< "\nStarting time loop\n" << endl; Info<< "\nStarting time loop\n" << endl;
while (runTime.loop()) while (runTime.run())
{ {
Info<< "Time = " << runTime.timeName() << nl << endl;
#include "readTimeControls.H" #include "readTimeControls.H"
#include "CourantNo.H" #include "CourantNo.H"
#include "setDeltaT.H" #include "setDeltaT.H"
runTime++;
Info<< "Time = " << runTime.timeName() << nl << endl;
// --- Pressure-velocity PIMPLE corrector loop // --- Pressure-velocity PIMPLE corrector loop
while (pimple.loop()) while (pimple.loop())
{ {