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,11 +38,15 @@ if (adjustTimeStep)
|
|||
|
||||
runTime.setDeltaT
|
||||
(
|
||||
min
|
||||
Foam::max
|
||||
(
|
||||
minDeltaT,
|
||||
Foam::min
|
||||
(
|
||||
deltaTFact*runTime.deltaT().value(),
|
||||
maxDeltaT
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
Info<< "deltaT = " << runTime.deltaT().value() << endl;
|
||||
|
|
Reference in a new issue