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

Computes U+ as a function of Reynolds number by inverting table of y+ vs U+. More...

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

Public Types

enum  interpolationType { itLinear }
 

Public Member Functions

 TypeName ("general")
 
 general (const dictionary &dict, const polyMesh &mesh)
 
virtual ~general ()
 
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 ()
 

Static Public Attributes

static const Enum< interpolationTypeinterpolationTypeNames_
 

Protected Member Functions

virtual void invertTable ()
 
virtual scalar interpolate (const scalar xi, const scalarList &x, const scalarList &fx) const
 

Protected Attributes

interpolationType interpType_
 
bool log10YPlus_
 
bool log10UPlus_
 
List< scalar > yPlus_
 
List< scalar > uPlus_
 
- Protected Attributes inherited from tabulatedWallFunction
const dictionary dict_
 
const polyMeshmesh_
 
const dictionary coeffDict_
 
word invertedTableName_
 
uniformInterpolationTable< scalar > invertedTable_
 

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 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)
        );
    }
Source files

Definition at line 77 of file general.H.

Member Enumeration Documentation

◆ interpolationType

Enumerator
itLinear 

Definition at line 86 of file general.H.

Constructor & Destructor Documentation

◆ general()

general ( const dictionary dict,
const polyMesh mesh 
)

◆ ~general()

virtual ~general ( )
virtual

Member Function Documentation

◆ invertTable()

virtual void invertTable ( )
protectedvirtual

◆ interpolate()

virtual scalar interpolate ( const scalar  xi,
const scalarList x,
const scalarList fx 
) const
protectedvirtual

◆ TypeName()

TypeName ( "general"  )

◆ 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

◆ interpolationTypeNames_

const Enum<interpolationType> interpolationTypeNames_
static

Definition at line 91 of file general.H.

◆ interpType_

interpolationType interpType_
protected

Definition at line 99 of file general.H.

◆ log10YPlus_

bool log10YPlus_
protected

Definition at line 102 of file general.H.

◆ log10UPlus_

bool log10UPlus_
protected

Definition at line 105 of file general.H.

◆ yPlus_

List<scalar> yPlus_
protected

Definition at line 108 of file general.H.

◆ uPlus_

List<scalar> uPlus_
protected

Definition at line 111 of file general.H.


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