alphatPhaseJayatillekeWallFunctionFvPatchScalarField Class Reference

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

Inheritance diagram for alphatPhaseJayatillekeWallFunctionFvPatchScalarField:
Collaboration diagram for alphatPhaseJayatillekeWallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("compressible::alphatPhaseJayatillekeWallFunction")
 Runtime type information. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &, 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...
 
tmp< scalarFieldcalcAlphat (const scalarField &prevAlphat) const
 Evaluate the turbulent thermal diffusivity. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Member Functions

tmp< scalarFieldPsmooth (const scalarField &Prat) const
 'P' function More...
 
tmp< scalarFieldyPlusTherm (const nutWallFunctionFvPatchScalarField &nutw, const scalarField &P, const scalarField &Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 

Protected Attributes

scalar Prt_
 Turbulent Prandtl number. More...
 

Static Protected Attributes

static scalar maxExp_
 
static scalar tolerance_
 
static label maxIters_
 

Detailed Description

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

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:

    <patchName>
    {
        type            alphatPhaseJayatillekeWallFunction;
        Prt             0.85;
        kappa           0.41;
        E               9.8;
        value           uniform 0; // optional value entry
    }
See also
Foam::compressible::alphatPhaseChangeWallFunctionFvPatchScalarField
Source files

Definition at line 102 of file alphatPhaseJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatPhaseJayatillekeWallFunctionFvPatchScalarField() [1/5]

Construct from patch and internal field.

Referenced by alphatPhaseJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ alphatPhaseJayatillekeWallFunctionFvPatchScalarField() [2/5]

Construct from patch, internal field and dictionary.

◆ alphatPhaseJayatillekeWallFunctionFvPatchScalarField() [3/5]

◆ alphatPhaseJayatillekeWallFunctionFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ alphatPhaseJayatillekeWallFunctionFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Member Function Documentation

◆ Psmooth()

tmp<scalarField> Psmooth ( const scalarField Prat) const
protected

'P' function

◆ yPlusTherm()

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

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

◆ TypeName()

TypeName ( "compressible::alphatPhaseJayatillekeWallFunction"  )

Runtime type information.

◆ clone()

◆ calcAlphat()

tmp<scalarField> calcAlphat ( const scalarField prevAlphat) const

Evaluate the turbulent thermal diffusivity.

Referenced by alphatPhaseJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField, alphatPhaseChangeWallFunctionFvPatchScalarField, and alphatFixedDmdtfWallBoilingWallFunctionFvPatchScalarField.

Referenced by alphatPhaseJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ write()

Member Data Documentation

◆ Prt_

scalar Prt_
protected

Turbulent Prandtl number.

Definition at line 112 of file alphatPhaseJayatillekeWallFunctionFvPatchScalarField.H.

◆ maxExp_

scalar maxExp_
staticprotected

◆ tolerance_

scalar tolerance_
staticprotected

◆ maxIters_

label maxIters_
staticprotected

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