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;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~SpaldingsLaw()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static const label maxIters_
Maximum number of iterations.
virtual void invertFunction()
Invert the function.
Base class for models that generate tabulated wall function data.
virtual void writeData(Ostream &os) const
Write to Ostream.
TypeName("SpaldingsLaw")
Run-time type information.
scalar E_
Law-of-the-wall E coefficient.
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+.
static const scalar tolerance_
Tolerance.
Mesh consisting of general polyhedral cells.
SpaldingsLaw(const dictionary &dict, const polyMesh &mesh)
Computes U+ as a function of Reynolds number by inverting Spaldings law.
scalar kappa_
Von Karman constant.