Commit d21d66ef authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: Corrected kappat Jayatilleke wall function

parent 49331bf9
...@@ -235,7 +235,7 @@ void kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs() ...@@ -235,7 +235,7 @@ void kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs()
if (yPlus > yPlusTherm) if (yPlus > yPlusTherm)
{ {
scalar nu = nuw[faceI]; scalar nu = nuw[faceI];
scalar kt = nu*(yPlus/(Prt_/kappa_*log(E_*yPlusTherm) + P) - 1/Pr); scalar kt = nu*(yPlus/(Prt_*(log(E_*yPlus)/kappa_ + P)) - 1/Pr)
kappatw[faceI] = max(0.0, kt); kappatw[faceI] = max(0.0, kt);
} }
else else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment