Calculate Co number only on large live faces
This commit is contained in:
parent
b7dffa272f
commit
60fa49504f
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ scalar velMag = 0.0;
|
||||||
|
|
||||||
if (mesh.nInternalFaces())
|
if (mesh.nInternalFaces())
|
||||||
{
|
{
|
||||||
surfaceScalarField magPhi = mag(sGamma*phi);
|
surfaceScalarField magPhi = pos(sGamma - 0.5)*mag(phi);
|
||||||
|
|
||||||
surfaceScalarField SfUfbyDelta =
|
surfaceScalarField SfUfbyDelta =
|
||||||
mesh.surfaceInterpolation::deltaCoeffs()*magPhi;
|
mesh.surfaceInterpolation::deltaCoeffs()*magPhi;
|
||||||
|
|
Reference in a new issue