CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How can Modify yPlus function to be yPlus not yStar? (http://www.cfd-online.com/Forums/openfoam-solving/117253-how-can-modify-yplus-function-yplus-not-ystar.html)

immortality May 5, 2013 13:16

How can Modify yPlus function to be yPlus not yStar?
 
its a part of nutkWallFunctionFvPatchScalarField that apparently wanted to calculate
y-plus:



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);
        }
    }

that is obviously yStar not yPlus.
has anyone any description for this?:)


All times are GMT -4. The time now is 02:56.