Commit ef3c7c04 authored by Henry Weller's avatar Henry Weller
Browse files

simpleControl: Change the number of steps printed to be relative to the...

simpleControl: Change the number of steps printed to be relative to the current time (for restarts) rather than 0
Resolves feature-request http://bugs.openfoam.org/view.php?id=2096
parent 0477b8f5
......@@ -97,7 +97,8 @@ Foam::simpleControl::simpleControl(fvMesh& mesh)
if (residualControl_.empty())
{
Info<< algorithmName_ << ": no convergence criteria found. "
<< "Calculations will run for " << mesh_.time().endTime().value()
<< "Calculations will run for "
<< mesh_.time().endTime().value() - mesh_.time().startTime().value()
<< " steps." << nl << endl;
}
else
......
Supports Markdown
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