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 &) | |
Copy constructor. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. 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 | 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 | ||
) |
Construct from patch and internal field.
Definition at line 40 of file alphatWallFunctionFvPatchScalarField.C.
Referenced by alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField(), and alphatWallFunctionFvPatchScalarField::clone().
alphatWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 64 of file alphatWallFunctionFvPatchScalarField.C.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
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 51 of file alphatWallFunctionFvPatchScalarField.C.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf | ) |
Copy constructor.
Definition at line 76 of file alphatWallFunctionFvPatchScalarField.C.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 86 of file alphatWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 165 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().
|
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().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 98 of file alphatWallFunctionFvPatchScalarField.C.
References Foam::constant::atomic::group, IOobject::groupName(), thermophysicalTransportModel::momentumTransport(), Foam::operator==(), and patchi.
Referenced by alphatWallFunctionFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 130 of file alphatWallFunctionFvPatchScalarField.C.
References Foam::compressible::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by alphatWallFunctionFvPatchScalarField::clone().