mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected rho used for yPlus
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
{
|
||||
scalarField& mutw = mut.boundaryField()[patchi];
|
||||
const scalarField& mulw = mul.boundaryField()[patchi];
|
||||
const scalarField& rhow = rho.boundaryField()[patchi];
|
||||
|
||||
forAll(curPatch, facei)
|
||||
{
|
||||
@ -20,7 +21,7 @@
|
||||
|
||||
scalar yPlus =
|
||||
Cmu25*y[patchi][facei]*::sqrt(k[faceCelli])
|
||||
/(mulw[facei]/rho[facei]);
|
||||
/(mulw[facei]/rhow[facei]);
|
||||
|
||||
if (yPlus > 11.6)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user