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
This commit is contained in:
parent
0477b8f50c
commit
ef3c7c045d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue