Class WernerWengleLawOfTheWall

Inheritance Relationships

Base Type

Class Documentation

class WernerWengleLawOfTheWall : public LawOfTheWall

The law of the wall proposed by Werner and Wengle. Note that the model in the reference uses the integrated version of this law, also present in the library.

\[\begin{split}\begin{eqnarray*} u^+ &=& y^+ \quad y^+ \leq 11.81\\ u^+ &=& A(y^+)^B \quad y^+ > 11.81 \end{eqnarray*}\end{split}\]

Usage:

    Law
    {
        type      WernerWengle;
        A         value; (default 8.3)
        B         value; (default 1/7)
    }

Reference:

        Werner, H., & Wengle, H. (1993).
        Large-eddy simulation of turbulent flow over and around a cube in a
        plate channel.
        In Turbulent Shear Flows 8 (pp. 155-168).
        Springer, Berlin, Heidelberg.

Contributors/Copyright: 2016-2021 Timofey Mukha 2017 Saleh Rezaeiravesh

Source files

Public Functions

WernerWengleLawOfTheWall(const dictionary&)

Construct provided dictionary.

WernerWengleLawOfTheWall(const word &lawname, const dictionary&)

Construct provided TypeName and dictionary.

WernerWengleLawOfTheWall(const scalar A, const scalar B)

Construct from model constants.

WernerWengleLawOfTheWall(const WernerWengleLawOfTheWall&) = default

Copy constructor.

WernerWengleLawOfTheWall &operator=(const WernerWengleLawOfTheWall&) = default

Assignment.

inline virtual autoPtr<LawOfTheWall> clone() const override

Clone.

inline virtual ~WernerWengleLawOfTheWall()
inline scalar A() const

Return the A constant.

inline scalar B() const

Return the B constant.

virtual void printCoeffs() const override

Print info to terminal.

virtual scalar value(const SingleCellSampler &sampler, label index, scalar uTau, scalar nu) const override

Return the value of the implicit function defining the law.

scalar value(scalar u, scalar y, scalar uTau, scalar nu) const
virtual scalar derivative(const SingleCellSampler &sampler, label index, scalar uTau, scalar nu) const override

Return the value of the derivative of the implicit function.

defining the law.

scalar derivative(scalar u, scalar y, scalar uTau, scalar nu) const