alphatWallFunctionFvPatchScalarField Class Reference

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

Inheritance diagram for alphatWallFunctionFvPatchScalarField:
Collaboration diagram for alphatWallFunctionFvPatchScalarField:

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. More...
 
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &)
 Copy constructor. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, 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...
 
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$ = turblence thermal diffusivity
$ \mu_t $ = turblence viscosity
$ Pr_t $ = turblent Prandtl number
Usage
Property Description Required Default value
nut turbulence viscosity field name no nut
Prt turbulent Prandtl number no 0.85

Example of the boundary condition specification:

    <patchName>
    {
        type            alphatWallFunction;
        nut             nut;
        Prt             0.85;
        value           uniform 0; // optional value entry
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 114 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 42 of file alphatWallFunctionFvPatchScalarField.C.

Referenced by alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField(), and 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 66 of file alphatWallFunctionFvPatchScalarField.C.

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

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

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ alphatWallFunctionFvPatchScalarField() [4/5]

Copy constructor.

Definition at line 78 of file alphatWallFunctionFvPatchScalarField.C.

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ alphatWallFunctionFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 88 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 165 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 182 of file alphatWallFunctionFvPatchScalarField.H.

References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField(), alphatWallFunctionFvPatchScalarField::updateCoeffs(), and alphatWallFunctionFvPatchScalarField::write().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 100 of file alphatWallFunctionFvPatchScalarField.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::constant::atomic::group, IOobject::groupName(), turbulenceModel::nut(), Foam::operator==(), patchi, turbulenceModel::propertiesName, and compressibleTurbulenceModel::rho().

Referenced by alphatWallFunctionFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 129 of file alphatWallFunctionFvPatchScalarField.C.

References Foam::compressible::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().

Referenced by alphatWallFunctionFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

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