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

This boundary condition provides a kinematic turbulent thermal conductivity for using wall functions, using the Jayatilleke 'P' function. More...

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

Public Member Functions

 TypeName ("alphatJayatillekeWallFunction")
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Protected Member Functions

virtual void checkType ()
 
tmp< scalarFieldyPlus (const turbulenceModel &turbModel) const
 
scalar Psmooth (const scalar Prat) const
 
scalar yPlusTherm (const scalar P, const scalar Prat) const
 

Protected Attributes

scalar Prt_
 
scalar kappa_
 
scalar E_
 

Static Protected Attributes

static scalar tolerance_ = 0.01
 
static label maxIters_ = 10
 

Detailed Description

This boundary condition provides a kinematic turbulent thermal conductivity for using wall functions, using the Jayatilleke 'P' function.

Usage
Property Description Required Default value
Prt turbulent Prandtl number no 0.85
kappa Von Karman constant no 0.41
E model coefficient no 9.8

Example of the boundary condition specification:

    <patchName>
    {
        type            alphatJayatillekeWallFunction;
    }
Note
The units of kinematic turbulent thermal conductivity are [m2/s]
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 96 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [1/5]

Definition at line 133 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [2/5]

alphatJayatillekeWallFunctionFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [3/5]

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [4/5]

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [5/5]

Member Function Documentation

◆ checkType()

void checkType ( )
protectedvirtual

Definition at line 43 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ yPlus()

tmp< scalarField > yPlus ( const turbulenceModel turbModel) const
protected

◆ Psmooth()

scalar Psmooth ( const scalar  Prat) const
protected

Definition at line 89 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References Foam::exp(), and Foam::pow().

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yPlusTherm()

scalar yPlusTherm ( const scalar  P,
const scalar  Prat 
) const
protected

Definition at line 98 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References f(), Foam::log(), and Foam::mag().

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "alphatJayatillekeWallFunction"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Member Data Documentation

◆ Prt_

scalar Prt_
protected

◆ kappa_

scalar kappa_
protected

◆ E_

scalar E_
protected

◆ tolerance_

scalar tolerance_ = 0.01
staticprotected

◆ maxIters_

label maxIters_ = 10
staticprotected

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