CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error in source code of mutLowReWallFunction ? (https://www.cfd-online.com/Forums/openfoam-solving/117210-error-source-code-mutlowrewallfunction.html)

fredo490 May 4, 2013 12:51

Error in source code of mutLowReWallFunction ?
 
Hello everybody,
I have taken a look into the source code of mutLowReWallFunction that is included in OF2.2 and I found a reference to "compressible::mutWallFunction" in the description comments.

Code:

Description
    This boundary condition provides a turbulent viscosity condition for use
    with low Reynolds number models.  It sets \c nut to zero, and provides an
    access function to calculate y+.

    \heading Patch usage

    Example of the boundary condition specification:
    \verbatim
    myPatch
    {
        type            mutLowReWallFunction;
    }
    \endverbatim

SeeAlso
    Foam::compressible::mutWallFunctionFvPatchScalarField

But when I try to use this wall function (compressible::mutWallFunction) in rhoSimplecFoam with Komega SST, the solver tells me that this wall function is not defined. Is it only the description that is out dated (I think it comes from OF 1.5) or is there really such a function ?

Edit, the file is located in:
opt/openfoam220/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/mutWallFunctions/mutLowReWallFunction


All times are GMT -4. The time now is 21:43.