alphatJayatillekeWallFunctionFvPatchScalarField Class Reference

This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat) based on the Jayatilleke model. More...

Inheritance diagram for alphatJayatillekeWallFunctionFvPatchScalarField:
Collaboration diagram for alphatJayatillekeWallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("compressible::alphatJayatillekeWallFunction")
 Runtime type information. 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 an. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor 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...
 
void write (Ostream &) const
 Write. More...
 

Static Public Member Functions

static tmp< scalarFieldP (const scalarField &Prat)
 Calculate the smoothing function. More...
 
static tmp< scalarFieldyPlusTherm (const nutWallFunctionFvPatchScalarField &nutw, const scalarField &P, const scalarField &Prat)
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 
static tmp< scalarFieldalphat (const fluidThermophysicalTransportModel &ttm, const scalar Prt, const label patchi)
 Calculate the turbulent thermal diffusivity. More...
 

Detailed Description

This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat) based on the Jayatilleke model.

Usage
Property Description Required Default value
Prt turbulent Prandtl number no 0.85

Example of the boundary condition specification:

    <patchName>
    {
        type            alphatJayatillekeWallFunction;
        Prt             0.85;
        value           uniform 0;
    }

Note that other model constants (i.e., Cmu, kappa and E) are obtained from the corresponding turbulent viscosity boundary condition.

See also
Foam::fixedValueFvPatchField
Source files

Definition at line 87 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 46 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [2/4]

Construct by mapping given an.

alphatJayatillekeWallFunctionFvPatchScalarField onto a new patch

Definition at line 59 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 73 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatJayatillekeWallFunction"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 145 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

◆ P()

tmp< scalarField > P ( const scalarField Prat)
static

Calculate the smoothing function.

Definition at line 87 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

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

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().

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

◆ yPlusTherm()

tmp< scalarField > yPlusTherm ( const nutWallFunctionFvPatchScalarField nutw,
const scalarField P,
const scalarField Prat 
)
static

Calculate y+ at the edge of the thermal laminar sublayer.

Definition at line 96 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References nutWallFunctionFvPatchScalarField::E(), f(), forAll, nutWallFunctionFvPatchScalarField::kappa(), Foam::constant::electromagnetic::kappa, Foam::log(), Foam::mag(), alphatJayatillekeWallFunctionFvPatchScalarField::P(), and tmp< T >::ref().

Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphat().

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

◆ alphat()

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 257 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), Foam::operator==(), and fvPatchField< Type >::updateCoeffs().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write.

Definition at line 276 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

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