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,10 +38,14 @@ if (adjustTimeStep)
runTime.setDeltaT runTime.setDeltaT
( (
min Foam::max
( (
deltaTFact*runTime.deltaT().value(), minDeltaT,
maxDeltaT Foam::min
(
deltaTFact*runTime.deltaT().value(),
maxDeltaT
)
) )
); );