Calculate Co number only on large live faces

This commit is contained in:
Hrvoje Jasak 2019-03-22 13:31:02 +00:00
parent b7dffa272f
commit 60fa49504f

View file

@ -36,7 +36,7 @@ scalar velMag = 0.0;
if (mesh.nInternalFaces())
{
surfaceScalarField magPhi = mag(sGamma*phi);
surfaceScalarField magPhi = pos(sGamma - 0.5)*mag(phi);
surfaceScalarField SfUfbyDelta =
mesh.surfaceInterpolation::deltaCoeffs()*magPhi;