Skip to content
Snippets Groups Projects
Commit 57b96804 authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

Corrected rho used for yPlus

parent fcbca30a
Branches
Tags
No related merge requests found
......@@ -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)
{
......
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