alphatWallFunctionFvPatchScalarField Class Reference

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

Inheritance diagram for alphatWallFunctionFvPatchScalarField:
[legend]
Collaboration diagram for alphatWallFunctionFvPatchScalarField:
[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 &)
 
 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.

- replicates OpenFOAM v1.5 (and earlier) behaviour

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 128 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 44 of file alphatWallFunctionFvPatchScalarField.C.

◆ 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 68 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 55 of file alphatWallFunctionFvPatchScalarField.C.

◆ alphatWallFunctionFvPatchScalarField() [4/5]

◆ alphatWallFunctionFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 90 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 179 of file alphatWallFunctionFvPatchScalarField.H.

◆ 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 195 of file alphatWallFunctionFvPatchScalarField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 103 of file alphatWallFunctionFvPatchScalarField.C.

References IOobject::groupName(), Foam::operator==(), and phaseSystem::propertiesName.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 131 of file alphatWallFunctionFvPatchScalarField.C.

References os(), ObukhovLength::write(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

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