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
|
||||
(
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user