Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SpaldingsLaw Class Reference

Computes U+ as a function of Reynolds number by inverting Spaldings law. More...

Inheritance diagram for SpaldingsLaw:
Inheritance graph
[legend]
Collaboration diagram for SpaldingsLaw:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("SpaldingsLaw")
 
 SpaldingsLaw (const dictionary &dict, const polyMesh &mesh)
 
virtual ~SpaldingsLaw ()=default
 
virtual scalar yPlus (const scalar uPlus) const
 
virtual scalar Re (const scalar uPlus) const
 
virtual void writeData (Ostream &os) const
 
- Public Member Functions inherited from tabulatedWallFunction
 TypeName ("tabulatedWallFunction")
 
 declareRunTimeSelectionTable (autoPtr, tabulatedWallFunction, dictionary,(const dictionary &dict, const polyMesh &mesh),(dict, mesh))
 
 tabulatedWallFunction (const dictionary &dict, const polyMesh &mesh, const word &name)
 
virtual ~tabulatedWallFunction ()
 
const wordinvertedTableName () const
 
const uniformInterpolationTable< scalar > & invertedTable () const
 
virtual void write ()
 

Protected Member Functions

virtual void invertFunction ()
 

Protected Attributes

scalar kappa_
 
scalar E_
 
- Protected Attributes inherited from tabulatedWallFunction
const dictionary dict_
 
const polyMeshmesh_
 
const dictionary coeffDict_
 
word invertedTableName_
 
uniformInterpolationTable< scalar > invertedTable_
 

Static Protected Attributes

static const label maxIters_
 
static const scalar tolerance_
 

Additional Inherited Members

- Static Public Member Functions inherited from tabulatedWallFunction
static autoPtr< tabulatedWallFunctionNew (const dictionary &dict, const polyMesh &mesh)
 

Detailed Description

Computes U+ as a function of Reynolds number by inverting Spaldings law.

Example dictionary specification:

tabulatedWallFunction SpaldingsLaw;

Output table info tableName uPlusWallFunctionData; // Output table name log10 yes; // Rey interpreted as log10(Rey) dx 0.2; // Interval log10(Rey) x0 -3; // Minimum log10(Rey) xMax 7; // Maximum log10(Rey)

SpaldingsLawCoeffs { kappa 0.41; // Von Karman constant E 9.8; // Law-of-the-wall E coefficient }

Source files

Definition at line 66 of file SpaldingsLaw.H.

Constructor & Destructor Documentation

◆ SpaldingsLaw()

SpaldingsLaw ( const dictionary dict,
const polyMesh mesh 
)

◆ ~SpaldingsLaw()

virtual ~SpaldingsLaw ( )
virtualdefault

Member Function Documentation

◆ invertFunction()

virtual void invertFunction ( )
protectedvirtual

◆ TypeName()

TypeName ( "SpaldingsLaw"  )

◆ yPlus()

virtual scalar yPlus ( const scalar  uPlus) const
virtual

◆ Re()

virtual scalar Re ( const scalar  uPlus) const
virtual

◆ writeData()

virtual void writeData ( Ostream os) const
virtual

Member Data Documentation

◆ kappa_

scalar kappa_
protected

Definition at line 75 of file SpaldingsLaw.H.

◆ E_

scalar E_
protected

Definition at line 78 of file SpaldingsLaw.H.

◆ maxIters_

const label maxIters_
staticprotected

Definition at line 84 of file SpaldingsLaw.H.

◆ tolerance_

const scalar tolerance_
staticprotected

Definition at line 87 of file SpaldingsLaw.H.


The documentation for this class was generated from the following file: