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