mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Avoid jump in deltaT for restarts
This commit is contained in:
@ -33,7 +33,7 @@ Description
|
|||||||
|
|
||||||
if (adjustTimeStep)
|
if (adjustTimeStep)
|
||||||
{
|
{
|
||||||
if (CoNum > SMALL)
|
if ((runTime.timeIndex() == 0) && (CoNum > SMALL))
|
||||||
{
|
{
|
||||||
runTime.setDeltaT
|
runTime.setDeltaT
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user