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")
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
 TypeName ("compressible::alphatPhaseChangeWallFunction")
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &)
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual const scalarFielddmdt () const
 
virtual const scalarFieldmDotL () const
 
virtual bool activePhasePair (const phasePairKey &) const
 
virtual const scalarFielddmdt (const phasePairKey &) const
 
virtual const scalarFieldmDotL (const phasePairKey &) const
 
virtual scalarField dmdt (const word &) const
 
virtual scalarField mDotL (const word &) const
 

Protected Member Functions

void checkType ()
 
tmp< scalarFieldPsmooth (const scalarField &Prat) const
 
tmp< scalarFieldyPlusTherm (const scalarField &P, const scalarField &Prat) const
 
tmp< scalarFieldcalcAlphat (const scalarField &prevAlphat) const
 

Protected Attributes

scalar Prt_
 
scalar Cmu_
 
scalar kappa_
 
scalar E_
 
- Protected Attributes inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
scalarField dmdt_
 
scalarField mDotL_
 

Static Protected Attributes

static scalar tolerance_ = 0.01
 
static label maxIters_ = 10
 

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
Example of the boundary condition specification:
<patchName>
{
    // Mandatory entries
    type            alphatPhaseChangeJayatillekeWallFunction;

    // Optional entries
    Prt             <scalar>;
    Cmu             <scalar>;
    kappa           <scalar>;
    E               <scalar>;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
type Type name: compressible::alphatPhaseChangeJayatillekeWallFunction word yes -
Prt Turbulent Prandtl number scalar no 0.85
Cmu Empirical model coefficient scalar no 0.09
kappa Von Karman constant scalar no 0.41
E Wall roughness parameter scalar no 9.8

The inherited entries are elaborated in:

See also
Foam::compressible::alphatPhaseChangeWallFunctionFvPatchScalarField
Source files

Definition at line 128 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField() [1/5]

◆ alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField() [2/5]

◆ alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField() [3/5]

◆ alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField() [4/5]

◆ alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField() [5/5]

Member Function Documentation

◆ checkType()

void checkType ( )
protected

Definition at line 48 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.C.

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

Here is the call graph for this function:

◆ Psmooth()

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

Definition at line 62 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.C.

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

Here is the call graph for this function:

◆ yPlusTherm()

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

Definition at line 72 of file alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.C.

References f(), forAll, Foam::log(), Foam::mag(), and tmp::New().

Here is the call graph for this function:

◆ calcAlphat()

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

◆ TypeName()

TypeName ( "compressible::alphatPhaseChangeJayatillekeWallFunction"  )

◆ 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

◆ Cmu_

scalar Cmu_
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: