Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField 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 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("compressible::alphatPhaseChangeJayatillekeWallFunction")
 Runtime type information. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, 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...
 
- Public Member Functions inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
 TypeName ("compressible::alphatPhaseChangeWallFunction")
 Runtime type information. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
const scalarFielddmdt () const
 Return the rate of phase-change. More...
 
const scalarFieldmDotL () const
 Return the enthelpy source due to phase-change. More...
 

Protected Member Functions

void checkType ()
 Check the type of the patch. More...
 
tmp< scalarFieldPsmooth (const scalarField &Prat) const
 'P' function More...
 
tmp< scalarFieldyPlusTherm (const scalarField &P, const scalarField &Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 
tmp< scalarFieldcalcAlphat (const scalarField &prevAlphat) const
 Update turbulent thermal diffusivity. 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...
 
- Protected Attributes inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
scalarField dmdt_
 Rate of phase-change. More...
 
scalarField mDotL_
 Latent heat of the phase-change. 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            alphatPhaseChangeJayatillekeWallFunction;
        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 104 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

Construct from patch and internal field.

Referenced by alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

Construct from patch, internal field and dictionary.

Construct by mapping given.

alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField onto a new patch

Construct as copy.

Construct as copy setting internal field reference.

Member Function Documentation

void checkType ( )
protected

Check the type of the patch.

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

'P' function

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

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

tmp<scalarField> calcAlphat ( const scalarField prevAlphat) const
protected

Update turbulent thermal diffusivity.

TypeName ( "compressible::alphatPhaseChangeJayatillekeWallFunction"  )

Runtime type information.

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

Update the coefficients associated with the patch field.

Implements alphatPhaseChangeWallFunctionFvPatchScalarField.

Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField, and alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.

Referenced by alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

virtual void write ( Ostream ) const
virtual

Member Data Documentation

scalar Prt_
protected

Turbulent Prandtl number.

Definition at line 114 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

scalar Cmu_
protected

Cmu coefficient.

Definition at line 117 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

scalar kappa_
protected

Von Karman constant.

Definition at line 120 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

scalar E_
protected

E coefficient.

Definition at line 123 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

scalar maxExp_
staticprotected
scalar tolerance_
staticprotected
label maxIters_
staticprotected

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