Skip to content
Snippets Groups Projects
Commit 64631922 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 1de91282
Branches
Tags
No related merge requests found
...@@ -97,7 +97,8 @@ Foam::simpleControl::simpleControl(fvMesh& mesh) ...@@ -97,7 +97,8 @@ Foam::simpleControl::simpleControl(fvMesh& mesh)
if (residualControl_.empty()) if (residualControl_.empty())
{ {
Info<< algorithmName_ << ": no convergence criteria found. " 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; << " steps." << nl << endl;
} }
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