Added minDeltaT option to automatic time-step control, 2
This commit is contained in:
parent
6333212551
commit
3fdcd79b67
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Reference in a new issue