Added minDeltaT option to automatic time-step control
This commit is contained in:
parent
16b9d2b796
commit
6333212551
2 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,9 @@ bool adjustTimeStep =
|
||||||
scalar maxCo =
|
scalar maxCo =
|
||||||
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
|
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
|
||||||
|
|
||||||
|
scalar minDeltaT =
|
||||||
|
runTime.controlDict().lookupOrDefault<scalar>("minDeltaT", SMALL);
|
||||||
|
|
||||||
scalar maxDeltaT =
|
scalar maxDeltaT =
|
||||||
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);
|
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,9 @@ adjustTimeStep =
|
||||||
maxCo =
|
maxCo =
|
||||||
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
|
runTime.controlDict().lookupOrDefault<scalar>("maxCo", 1.0);
|
||||||
|
|
||||||
|
minDeltaT =
|
||||||
|
runTime.controlDict().lookupOrDefault<scalar>("minDeltaT", GREAT);
|
||||||
|
|
||||||
maxDeltaT =
|
maxDeltaT =
|
||||||
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);
|
runTime.controlDict().lookupOrDefault<scalar>("maxDeltaT", GREAT);
|
||||||
|
|
||||||
|
|
Reference in a new issue