73 namespace tabulatedWallFunctions
149 virtual scalar
yPlus(
const scalar
uPlus)
const;
152 virtual scalar
Re(
const scalar
uPlus)
const;
List< scalar > yPlus_
Input y+ values.
interpolationType interpType_
Type of interpolation to apply when inverting the data set.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
Base class for models that generate tabulated wall function data.
virtual ~general()
Destructor.
TypeName("general")
Run-time type information.
general(const dictionary &dict, const polyMesh &mesh)
Switch log10YPlus_
Are y+ values entered as log10(y+)?
Computes U+ as a function of Reynolds number by inverting table of y+ vs U+.
virtual scalar yPlus(const scalar uPlus) const
Return y+ as a function of u+.
interpolationType
Enumeration listing available interpolation types.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void invertTable()
Invert the table.
List< scalar > uPlus_
Input U+ values.
static const NamedEnum< interpolationType, 1 > interpolationTypeNames_
Switch log10UPlus_
Are U+ values entered as log10(U+)?
virtual void writeData(Ostream &os) const
Write to Ostream.
virtual scalar interpolate(const scalar xi, const scalarList &x, const scalarList &fx) const
Interpolate.
virtual scalar Re(const scalar uPlus) const
Return Reynolds number as a function of u+.
Mesh consisting of general polyhedral cells.