mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
LTSInterFoam/setrDeltaT.H: use phi rather than rhoPhi to calculate the time-scale
This commit is contained in:
@ -57,8 +57,8 @@
|
|||||||
rDeltaT.dimensionedInternalField() = max
|
rDeltaT.dimensionedInternalField() = max
|
||||||
(
|
(
|
||||||
1/dimensionedScalar("maxDeltaT", dimTime, maxDeltaT),
|
1/dimensionedScalar("maxDeltaT", dimTime, maxDeltaT),
|
||||||
fvc::surfaceSum(mag(rhoPhi))().dimensionedInternalField()
|
fvc::surfaceSum(mag(phi))().dimensionedInternalField()
|
||||||
/((2*maxCo)*mesh.V()*rho.dimensionedInternalField())
|
/((2*maxCo)*mesh.V())
|
||||||
);
|
);
|
||||||
|
|
||||||
if (maxAlphaCo < maxCo)
|
if (maxAlphaCo < maxCo)
|
||||||
|
|||||||
Reference in New Issue
Block a user