Improved initial deltaT controls
This commit is contained in:
parent
011589a375
commit
e2bffde2aa
1 changed files with 7 additions and 3 deletions
|
@ -36,11 +36,15 @@ if (adjustTimeStep)
|
|||
{
|
||||
runTime.setDeltaT
|
||||
(
|
||||
min
|
||||
Foam::min
|
||||
(
|
||||
runTime.deltaT().value(),
|
||||
Foam::min
|
||||
(
|
||||
maxCo*runTime.deltaT().value()/CoNum,
|
||||
maxDeltaT
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue