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()
|
||||
<< " iterations" << endl;
|
||||
|
||||
// Leave SIMPLE loop
|
||||
break;
|
||||
// Save converged time step and end the run
|
||||
runTime.writeAndEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user