Added minDeltaT option to automatic time-step control

This commit is contained in:
Hrvoje Jasak 2019-06-27 15:29:51 +01:00
parent 16b9d2b796
commit 6333212551
2 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,9 @@ bool adjustTimeStep =
scalar maxCo =
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
scalar minDeltaT =
runTime.controlDict().lookupOrDefault<scalar>("minDeltaT", SMALL);
scalar maxDeltaT =
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);

View file

@ -35,6 +35,9 @@ adjustTimeStep =
maxCo =
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
minDeltaT =
runTime.controlDict().lookupOrDefault<scalar>("minDeltaT", GREAT);
maxDeltaT =
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);