|
[Sponsors] | |||||
|
|
|
#21 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
in mutkWallFunctionFvPatchScalarField the equation uses for y-plus is related to y-star not y-plus
Code: Code:
y-star=pow(0.09,0.25)*sqr(k)*nearDist()/mu Code:
y-plus=rho*u_star*y/mu which u*=aqrt(taw_w/rho) in the code of mut : Code: Code:
forAll(mutw, faceI) { label faceCellI = patch().faceCells()[faceI]; scalar yPlus = Cmu25*y[faceI]*sqrt(k[faceCellI])/(muw[faceI]/rhow[faceI]); if (yPlus > yPlusLam_) { mutw[faceI] = muw[faceI]*(yPlus*kappa_/log(E_*yPlus) - 1); } }
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|