26 #include "setDeltaT.H"
34 runTime.timeIndex() == 0
35 && runTime.controlDict().lookupOrDefault(
"adjustTimeStep",
false)
40 min(solver.maxDeltaT(), runTime.functionObjects().maxDeltaT());
42 if (deltaT < rootVGreat)
44 runTime.setDeltaT(
min(runTime.deltaTValue(), deltaT));
55 runTime.controlDict().lookupOrDefault(
"adjustTimeStep",
false)
60 min(solver.maxDeltaT(), runTime.functionObjects().maxDeltaT());
62 if (deltaT < rootVGreat)
66 min(solver::deltaTFactor*runTime.deltaTValue(), deltaT)
68 Info<<
"deltaT = " << runTime.deltaTValue() <<
endl;
void adjustDeltaT(Time &runTime, const PtrList< solver > &solvers)
Adjust the time-step according to the solver maxDeltaT.
void setDeltaT(Time &runTime, const PtrList< solver > &solvers)
Set the initial time-step according to the solver maxDeltaT.
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)