2 scalar Cmu25 = ::pow(Cmu.value(), 0.25);
3 scalar kappa_ = kappa.value();
6 const fvPatchList& patches = mesh.boundary();
8 forAll(patches, patchi)
10 const fvPatch& curPatch = patches[patchi];
12 if (isA<wallFvPatch>(curPatch))
14 const scalarField& rhow = rho.boundaryField()[patchi];
16 const scalarField muw(mul.boundaryField()[patchi]);
17 scalarField& mutw = mut.boundaryField()[patchi];
19 forAll(curPatch, facei)
21 label faceCelli = curPatch.faceCells()[facei];
24 Cmu25*y[patchi][facei]*::sqrt(k[faceCelli])
25 /(muw[facei]/rhow[facei]);
31 *(yPlus*kappa_/::log(E_*yPlus) - 1);