From d00b39aacb339838efcc90201072d4ea5fe2d9ad Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 3 Feb 2014 17:26:59 +0000 Subject: [PATCH] LTSInterFoam/setrDeltaT.H: use phi rather than rhoPhi to calculate the time-scale --- .../solvers/multiphase/interFoam/LTSInterFoam/setrDeltaT.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/solvers/multiphase/interFoam/LTSInterFoam/setrDeltaT.H b/applications/solvers/multiphase/interFoam/LTSInterFoam/setrDeltaT.H index 3f8ba982cf..c02fe6c11a 100644 --- a/applications/solvers/multiphase/interFoam/LTSInterFoam/setrDeltaT.H +++ b/applications/solvers/multiphase/interFoam/LTSInterFoam/setrDeltaT.H @@ -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)