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


Public Member Functions | |
| TypeName ("SpaldingsLaw") | |
| Run-time type information. More... | |
| SpaldingsLaw (const dictionary &dict, const polyMesh &mesh) | |
| virtual | ~SpaldingsLaw () |
| Destructor. More... | |
| virtual scalar | yPlus (const scalar uPlus) const |
| Return y+ as a function of u+. More... | |
| virtual scalar | Re (const scalar uPlus) const |
| Return Reynolds number as a function of u+. More... | |
| virtual void | writeData (Ostream &os) const |
| Write to Ostream. More... | |
Public Member Functions inherited from tabulatedWallFunction | |
| TypeName ("tabulatedWallFunction") | |
| Run-time type information. More... | |
| declareRunTimeSelectionTable (autoPtr, tabulatedWallFunction, dictionary,(const dictionary &dict, const polyMesh &mesh),(dict, mesh)) | |
| Declare runtime constructor selection table. More... | |
| tabulatedWallFunction (const dictionary &dict, const polyMesh &mesh, const word &name) | |
| Constructor. More... | |
| virtual | ~tabulatedWallFunction () |
| Destructor. More... | |
| const word & | invertedTableName () const |
| Return the inverted table name. More... | |
| const uniformInterpolationTable< scalar > & | invertedTable () const |
| Return the inverted table. More... | |
| virtual void | write () |
| Write. More... | |
Protected Member Functions | |
| virtual void | invertFunction () |
| Invert the function. More... | |
Protected Attributes | |
| scalar | kappa_ |
| Von Karman constant. More... | |
| scalar | E_ |
| Law-of-the-wall E coefficient. More... | |
Protected Attributes inherited from tabulatedWallFunction | |
| const dictionary | dict_ |
| Main dictionary. More... | |
| const polyMesh & | mesh_ |
| Reference to the mesh database. More... | |
| const dictionary | coeffDict_ |
| Coefficients dictionary. More... | |
| word | invertedTableName_ |
| Name of inverted table. More... | |
| uniformInterpolationTable< scalar > | invertedTable_ |
| Inverted table. More... | |
Static Protected Attributes | |
| static const label | maxIters_ |
| Maximum number of iterations. More... | |
| static const scalar | tolerance_ |
| Tolerance. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from tabulatedWallFunction | |
| static autoPtr< tabulatedWallFunction > | New (const dictionary &dict, const polyMesh &mesh) |
| Selector. More... | |
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 }
Definition at line 68 of file SpaldingsLaw.H.
| SpaldingsLaw | ( | const dictionary & | dict, |
| const polyMesh & | mesh | ||
| ) |
|
virtual |
Destructor.
|
protectedvirtual |
Invert the function.
| TypeName | ( | "SpaldingsLaw" | ) |
Run-time type information.
|
virtual |
Return y+ as a function of u+.
|
virtual |
Return Reynolds number as a function of u+.
|
protected |
Von Karman constant.
Definition at line 77 of file SpaldingsLaw.H.
|
protected |
Law-of-the-wall E coefficient.
Definition at line 80 of file SpaldingsLaw.H.
|
staticprotected |
Maximum number of iterations.
Definition at line 86 of file SpaldingsLaw.H.
|
staticprotected |
Tolerance.
Definition at line 89 of file SpaldingsLaw.H.
1.8.13