Skip to content
Snippets Groups Projects
Commit efadefb7 authored by andy's avatar andy
Browse files

BUG: Pimple corrector loop counter not re-initialised on criteria satisfied - mantis #371

parent c2b0d66f
No related merge requests found
...@@ -196,9 +196,10 @@ bool Foam::pimpleControl::loop() ...@@ -196,9 +196,10 @@ bool Foam::pimpleControl::loop()
bool completed = false; bool completed = false;
if (criteriaSatisfied()) if (criteriaSatisfied())
{ {
Info<< algorithmName_ << ": converged in " << corr_ << " iterations" Info<< algorithmName_ << ": converged in " << corr_ - 1 << " iterations"
<< endl; << endl;
completed = true; completed = true;
corr_ = 0;
} }
else else
{ {
......
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