Skip to content
Snippets Groups Projects
Commit 91c8c053 authored by Henry Weller's avatar Henry Weller
Browse files

setInitialMultiRegionDeltaT: update to be consistent with the standard setInitialDeltaT

parent 899fe81e
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -22,7 +22,7 @@ License ...@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Global Global
setInitialDeltaT setInitialMultiRegionDeltaT
Description Description
Set the initial timestep for the CHT MultiRegion solver. Set the initial timestep for the CHT MultiRegion solver.
...@@ -48,7 +48,7 @@ if (adjustTimeStep) ...@@ -48,7 +48,7 @@ if (adjustTimeStep)
min min
( (
min(maxCo/CoNum, maxDi/DiNum)*runTime.deltaT().value(), min(maxCo/CoNum, maxDi/DiNum)*runTime.deltaT().value(),
maxDeltaT min(runTime.deltaTValue(), maxDeltaT)
) )
); );
Info<< "deltaT = " << runTime.deltaT().value() << endl; Info<< "deltaT = " << runTime.deltaT().value() << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment