Computes U+ as a function of Reynolds number by inverting table of y+ vs U+. More...
Public Types | |
enum | interpolationType { itLinear } |
Enumeration listing available interpolation types. More... | |
Public Member Functions | |
TypeName ("general") | |
Run-time type information. More... | |
general (const dictionary &dict, const polyMesh &mesh) | |
virtual | ~general () |
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... | |
Static Public Attributes | |
static const NamedEnum< interpolationType, 1 > | interpolationTypeNames_ |
Protected Member Functions | |
virtual void | invertTable () |
Invert the table. More... | |
virtual scalar | interpolate (const scalar xi, const scalarList &x, const scalarList &fx) const |
Interpolate. More... | |
Protected Attributes | |
interpolationType | interpType_ |
Type of interpolation to apply when inverting the data set. More... | |
List< scalar > | yPlus_ |
Input y+ values. More... | |
List< scalar > | uPlus_ |
Input U+ values. More... | |
Switch | log10YPlus_ |
Are y+ values entered as log10(y+)? More... | |
Switch | log10UPlus_ |
Are U+ values entered as log10(U+)? 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... | |
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 table of y+ vs U+.
Example dictionary specification:
tabulatedWallFunction general;
Output table info tableName uPlusWallFunctionData; // Output table name log10 yes; // Re interpreted as log10(Rey) dx 0.2; // Interval log10(Rey) x0 -3; // Minimum log10(Rey) xMax 7; // Maximum log10(Rey)
generalCoeffs { interpType linear; // Interpolation method log10YPlus true; // y+ values defined as log10(y+) log10UPlus true; // U+ values defined as log10(y+) inputTable ( (yPlusValue0 uPlusValue0) ... (yPlusValueN uPlusValueN) );
}
enum interpolationType |
general | ( | const dictionary & | dict, |
const polyMesh & | mesh | ||
) |
|
virtual |
Destructor.
|
protectedvirtual |
Invert the table.
|
protectedvirtual |
Interpolate.
TypeName | ( | "general" | ) |
Run-time type information.
|
virtual |
Return y+ as a function of u+.
|
virtual |
Return Reynolds number as a function of u+.
|
static |
|
protected |
|
protected |
|
protected |