Skip to content

Commit

Permalink
alphatJayatillekeWallFunction: More robust stabilisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bainbridge committed Sep 20, 2022
1 parent 34d8167 commit a23937d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -222,7 +222,7 @@ void alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs()

const scalar C = Pr*0.5*rhow[facei]*uTau*sqr(magUp[facei]);

alphaEff = (A - C)/(B + sign(B)*vSmall);
alphaEff = (A - C)/(B + sign(B)*rootVSmall);
}
else
{
Expand All @@ -238,7 +238,7 @@ void alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs()
0.5*rhow[facei]*uTau
*(Prt_*sqr(magUp[facei]) + (Pr - Prt_)*sqr(magUc));

alphaEff = (A - C)/(B + sign(B)*vSmall);
alphaEff = (A - C)/(B + sign(B)*rootVSmall);
}

// Bounds on turbulent thermal diffusivity
Expand Down

0 comments on commit a23937d

Please sign in to comment.