Class RoughLogLawOfTheWall
Defined in File RoughLogLawOfTheWall.H
Inheritance Relationships
Base Type
public LawOfTheWall
(Class LawOfTheWall)
Class Documentation
-
class RoughLogLawOfTheWall : public LawOfTheWall
A log-law, in which the wall-normal distance is scaled by roughness length-scale.
\[ u^+ = 1/\kappa \log \left( y/k_s \right) + B \]Since the formula above provides an explicit value for the friction velocity Newton’s method will converge in a single iteration.
Usage:
Law { type RoughLogLaw; kappa value; (default 0.4) B value; ks value; }
Contributors/Copyright: 2019-2023 Timofey Mukha
- Source files
Public Functions
-
RoughLogLawOfTheWall(const dictionary&)
-
RoughLogLawOfTheWall(const word &lawname, const dictionary&)
-
RoughLogLawOfTheWall(const scalar kappa, const scalar B, const scalar ks)
-
RoughLogLawOfTheWall(const RoughLogLawOfTheWall&) = default
-
RoughLogLawOfTheWall &operator=(const RoughLogLawOfTheWall&) = default
-
inline virtual autoPtr<LawOfTheWall> clone() const override
-
inline virtual ~RoughLogLawOfTheWall()
-
inline scalar kappa() const
-
inline scalar B() const
-
inline scalar ks() const
-
virtual void printCoeffs() const override
-
virtual scalar value(const SingleCellSampler &sampler, label index, scalar uTau, scalar nu) const override
-
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
-
scalar derivative() const