chtMultiRegionSimpleFoam::checkResidualControls: Write results and end run at convergence
Patch contributed by Tobias Holzmann Resolves bug-report https://bugs.openfoam.org/view.php?id=2720
This commit is contained in:
@ -63,6 +63,6 @@ else if (runTime.run() && resControlUsed && allRegionsConverged)
|
|||||||
Info<< "\nRegions converged after " << runTime.timeName()
|
Info<< "\nRegions converged after " << runTime.timeName()
|
||||||
<< " iterations" << endl;
|
<< " iterations" << endl;
|
||||||
|
|
||||||
// Leave SIMPLE loop
|
// Save converged time step and end the run
|
||||||
break;
|
runTime.writeAndEnd();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user