LTSInterFoam/setrDeltaT.H: use phi rather than rhoPhi to calculate the time-scale

This commit is contained in:
Henry
2014-02-03 17:26:59 +00:00
parent 037852d649
commit d00b39aacb

View File

@ -57,8 +57,8 @@
rDeltaT.dimensionedInternalField() = max
(
1/dimensionedScalar("maxDeltaT", dimTime, maxDeltaT),
fvc::surfaceSum(mag(rhoPhi))().dimensionedInternalField()
/((2*maxCo)*mesh.V()*rho.dimensionedInternalField())
fvc::surfaceSum(mag(phi))().dimensionedInternalField()
/((2*maxCo)*mesh.V())
);
if (maxAlphaCo < maxCo)