Skip to content
Snippets Groups Projects
Commit 8ab6b4df 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 e4dc50dc
Branches
Tags
No related merge requests found
......@@ -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())
{
......
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