mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
setInitialDeltaT: only if the time-step would be reduced by doing so
This commit is contained in:
@ -26,7 +26,7 @@ Global
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Set the initial timestep corresponding to the timestep adjustment
|
Set the initial timestep corresponding to the timestep adjustment
|
||||||
algorithm in setDeltaT
|
algorithm in setDeltaT but only if it would reduce the timestep.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ if (adjustTimeStep)
|
|||||||
min
|
min
|
||||||
(
|
(
|
||||||
maxCo*runTime.deltaTValue()/CoNum,
|
maxCo*runTime.deltaTValue()/CoNum,
|
||||||
maxDeltaT
|
runTime.deltaTValue()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user