36 const scalar maxAlphaCo
38 runTime.controlDict().lookup<scalar>(
"maxAlphaCo")
41 scalar deltaT = 1.2*runTime.deltaTValue();
50 deltaT =
min(maxAlphaCo/
alphaCoNum*runTime.deltaTValue(), deltaT);
55 runTime.setDeltaT(deltaT);
57 Info<<
"deltaT = " << runTime.deltaTValue() <<
endl;
virtual scalar maxDeltaT() const
Return the maximum time-step for stable operation.
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)