Skip to content
Snippets Groups Projects
Commit 6500f9e9 authored by Henry's avatar Henry
Browse files

setInitialDeltaT: only if the time-step would be reduced by doing so

parent 52224055
Branches
Tags
No related merge requests found
......@@ -26,7 +26,7 @@ Global
Description
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
(
maxCo*runTime.deltaTValue()/CoNum,
maxDeltaT
runTime.deltaTValue()
)
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment