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 > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
Construct by mapping given. More... | |
alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphatWallFunctionFvPatchScalarField (const alphatWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor 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 | map (const fvPatchScalarField &, const fieldMapper &) |
Map the given fvPatchField onto this fvPatchField. 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:
where
= | turbulence thermal diffusivity | |
= | turbulence viscosity | |
= | 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 114 of file alphatWallFunctionFvPatchScalarField.H.
alphatWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 39 of file alphatWallFunctionFvPatchScalarField.C.
Referenced by alphatWallFunctionFvPatchScalarField::clone().
alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
alphatWallFunctionFvPatchScalarField onto a new patch
Definition at line 51 of file alphatWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 66 of file alphatWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 165 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 79 of file alphatWallFunctionFvPatchScalarField.C.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 89 of file alphatWallFunctionFvPatchScalarField.C.
References fluidThermophysicalTransportModel::momentumTransport(), Foam::operator==(), and patchi.
|
virtual |
Write.
Definition at line 117 of file alphatWallFunctionFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().