mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected kappat Jayatilleke wall function
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user