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")
 Runtime type information. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Member Functions

virtual void checkType ()
 Check the type of the patch. More...
 
scalar Psmooth (const scalar Prat) const
 `P' function More...
 
scalar yPlusTherm (const scalar P, const scalar Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 

Protected Attributes

scalar Prt_
 Turbulent Prandtl number. More...
 
scalar Cmu_
 Cmu coefficient. More...
 
scalar kappa_
 Von Karman constant. More...
 
scalar E_
 E coefficient. More...
 

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.


Patch usage

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

Example of the boundary condition specification:

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

Definition at line 103 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

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

Construct from patch, internal field and dictionary.

Definition at line 144 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References alphatJayatillekeWallFunctionFvPatchScalarField::alphatJayatillekeWallFunctionFvPatchScalarField(), and alphatJayatillekeWallFunctionFvPatchScalarField::checkType().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 178 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().

Here is the call graph for this function:

Member Function Documentation

void checkType ( )
protectedvirtual

Check the type of the patch.

Definition at line 47 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, Foam::nl, and alphatJayatillekeWallFunctionFvPatchScalarField::Psmooth().

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphatJayatillekeWallFunctionFvPatchScalarField().

Here is the call graph for this function:

Here is the caller graph for this function:

scalar Psmooth ( const scalar  Prat) const
protected

`P' function

Definition at line 64 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

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

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::checkType(), and alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:

Here is the caller graph for this function:

scalar yPlusTherm ( const scalar  P,
const scalar  Prat 
) const
protected
TypeName ( "alphatJayatillekeWallFunction"  )

Runtime type information.

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 187 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

References alphatJayatillekeWallFunctionFvPatchScalarField::alphatJayatillekeWallFunctionFvPatchScalarField().

Here is the call graph for this function:

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual
void updateCoeffs ( )
virtual
void write ( Ostream os) const
virtual

Member Data Documentation

scalar Prt_
protected
scalar Cmu_
protected
scalar kappa_
protected
scalar E_
protected
scalar tolerance_ = 0.01
staticprotected
label maxIters_ = 10
staticprotected

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