Improved initial deltaT controls

This commit is contained in:
Hrvoje Jasak 2019-07-01 18:13:23 +01:00
parent 011589a375
commit e2bffde2aa

View file

@ -36,10 +36,14 @@ if (adjustTimeStep)
{
runTime.setDeltaT
(
min
Foam::min
(
maxCo*runTime.deltaT().value()/CoNum,
maxDeltaT
runTime.deltaT().value(),
Foam::min
(
maxCo*runTime.deltaT().value()/CoNum,
maxDeltaT
)
)
);
}