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

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

parent 037852d6
Branches
Tags
No related merge requests found
......@@ -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)
......
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