This boundary condition provides a turbulent thermal diffusivity condition when using wall functions. More...
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 &) | |
| Construct as copy. More... | |
| virtual tmp< fvPatchScalarField > | clone () const |
| Construct and return a clone. More... | |
| alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (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... | |
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 |
| 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
}Definition at line 119 of file alphatWallFunctionFvPatchScalarField.H.
| alphatWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 45 of file alphatWallFunctionFvPatchScalarField.C.
Referenced by alphatWallFunctionFvPatchScalarField::clone().
| alphatWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 69 of file alphatWallFunctionFvPatchScalarField.C.
| 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 56 of file alphatWallFunctionFvPatchScalarField.C.
| alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf | ) |
Construct as copy.
Definition at line 81 of file alphatWallFunctionFvPatchScalarField.C.
| alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 91 of file alphatWallFunctionFvPatchScalarField.C.
| TypeName | ( | "compressible::alphatWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 170 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 187 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 103 of file alphatWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::constant::atomic::group, IOobject::groupName(), turbulenceModel::nut(), Foam::operator==(), Foam::foamVersion::patch, turbulenceModel::propertiesName, and compressibleTurbulenceModel::rho().
|
virtual |
Write.
Definition at line 132 of file alphatWallFunctionFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Ostream::writeEntry().