Go to the documentation of this file.
53 #ifndef SpaldingsLaw_H
54 #define SpaldingsLaw_H
62 namespace tabulatedWallFunctions
117 virtual scalar
yPlus(
const scalar
uPlus)
const;
120 virtual scalar
Re(
const scalar
uPlus)
const;
static const scalar tolerance_
Tolerance.
static const label maxIters_
Maximum number of iterations.
Mesh consisting of general polyhedral cells.
scalar kappa_
Von Karman constant.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
SpaldingsLaw(const dictionary &dict, const polyMesh &mesh)
scalar E_
Law-of-the-wall E coefficient.
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("SpaldingsLaw")
Run-time type information.
virtual void writeData(Ostream &os) const
Write to Ostream.
virtual void invertFunction()
Invert the function.
Computes U+ as a function of Reynolds number by inverting Spaldings law.
virtual ~SpaldingsLaw()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual scalar Re(const scalar uPlus) const
Return Reynolds number as a function of u+.
virtual scalar yPlus(const scalar uPlus) const
Return y+ as a function of u+.
Base class for models that generate tabulated wall function data.