Added minDeltaT option to automatic time-step control, 2

This commit is contained in:
Hrvoje Jasak 2019-06-27 16:02:29 +01:00
parent 6333212551
commit 3fdcd79b67

View file

@ -38,11 +38,15 @@ if (adjustTimeStep)
runTime.setDeltaT runTime.setDeltaT
( (
min Foam::max
(
minDeltaT,
Foam::min
( (
deltaTFact*runTime.deltaT().value(), deltaTFact*runTime.deltaT().value(),
maxDeltaT maxDeltaT
) )
)
); );
Info<< "deltaT = " << runTime.deltaT().value() << endl; Info<< "deltaT = " << runTime.deltaT().value() << endl;