Go to the documentation of this file.
55 #ifndef SpaldingsLaw_H
56 #define SpaldingsLaw_H
64 namespace tabulatedWallFunctions
120 virtual scalar
yPlus(
const scalar
uPlus)
const;
123 virtual scalar
Re(
const scalar
uPlus)
const;
virtual ~SpaldingsLaw()=default
Destructor.
static const scalar tolerance_
Tolerance.
static const label maxIters_
Maximum number of iterations.
Mesh consisting of general polyhedral cells.
scalar kappa_
Von Karman constant.
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 a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
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.
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.