Loading...
Searching...
No Matches
alphatWallFunctionFvPatchScalarField Class Reference

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

#include <alphatWallFunctionFvPatchScalarField.H>

Inheritance diagram for alphatWallFunctionFvPatchScalarField:
Collaboration diagram for alphatWallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("compressible::alphatWallFunction")
 Runtime type information.
 alphatWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 alphatWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given alphatWallFunctionFvPatchScalarField onto a new patch.
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &)
 Construct as copy.
 alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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

References p.

Referenced by alphatWallFunctionFvPatchScalarField(), alphatWallFunctionFvPatchScalarField(), alphatWallFunctionFvPatchScalarField(), and TypeName().

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

References dict, and p.

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

References alphatWallFunctionFvPatchScalarField(), and p.

Here is the call graph for this function:

◆ alphatWallFunctionFvPatchScalarField() [4/5]

alphatWallFunctionFvPatchScalarField ( const alphatWallFunctionFvPatchScalarField & awfpsf)

Construct as copy.

Definition at line 73 of file alphatWallFunctionFvPatchScalarField.C.

References alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ alphatWallFunctionFvPatchScalarField() [5/5]

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

Construct as copy setting internal field reference.

Definition at line 83 of file alphatWallFunctionFvPatchScalarField.C.

References alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatWallFunction" )

Runtime type information.

References alphatWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 198 of file alphatWallFunctionFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 206 of file alphatWallFunctionFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

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 IOobject::groupName(), Foam::operator==(), 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: