Public Member Functions | List of all members
alphatWallFunctionFvPatchScalarField Class Reference

This boundary condition provides a turbulent thermal diffusivity condition when using wall functions. More...

Inheritance diagram for alphatWallFunctionFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for alphatWallFunctionFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("compressible::alphatWallFunction")
 Runtime type information. More...
 
 alphatWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given alphatWallFunctionFvPatchScalarField onto a new patch. More...
 
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, 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...
 

Detailed Description

This boundary condition provides a turbulent thermal diffusivity condition when using wall functions.

The turbulent thermal diffusivity calculated using:

\[ \alpha_t = \frac{\mu_t}{Pr_t} \]

where

$ \alpha_t$ = Turbulence thermal diffusivity
$ \mu_t $ = Turbulence viscosity
$ Pr_t $ = Turbulent Prandtl number
Usage
Example of the boundary condition specification:
<patchName>
{
    // Mandatory entries
    type            alphatWallFunction;

    // Optional entries
    Prt             <scalar>;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
type Type name: alphatWallFunction word yes -
Prt Turbulent Prandtl number scalar no 0.85

The inherited entries are elaborated in:

Source files

Definition at line 124 of file alphatWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatWallFunctionFvPatchScalarField() [1/5]

alphatWallFunctionFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 38 of file alphatWallFunctionFvPatchScalarField.C.

Referenced by alphatWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ alphatWallFunctionFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 62 of file alphatWallFunctionFvPatchScalarField.C.

◆ alphatWallFunctionFvPatchScalarField() [3/5]

alphatWallFunctionFvPatchScalarField ( const alphatWallFunctionFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given alphatWallFunctionFvPatchScalarField onto a new patch.

Definition at line 49 of file alphatWallFunctionFvPatchScalarField.C.

◆ alphatWallFunctionFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 74 of file alphatWallFunctionFvPatchScalarField.C.

◆ alphatWallFunctionFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 84 of file alphatWallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatWallFunction"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 189 of file alphatWallFunctionFvPatchScalarField.H.

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 210 of file alphatWallFunctionFvPatchScalarField.H.

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 96 of file alphatWallFunctionFvPatchScalarField.C.

References Foam::constant::atomic::group, IOobject::groupName(), Foam::operator==(), Foam::foamVersion::patch, and turbulenceModel::propertiesName.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 124 of file alphatWallFunctionFvPatchScalarField.C.

References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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