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