mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user