This boundary condition provides a turbulent thermal diffusivity conditon 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 conditon when using wall functions.
- replicates OpenFOAM v1.5 (and earlier) behaviour
The turbulent thermal diffusivity calculated using:
where
| = | turblence thermal diffusivity |
| = | turblence 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 117 of file alphatWallFunctionFvPatchScalarField.H.
| 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().

| 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().

| 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().

| alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf | ) |
Construct as copy.
Definition at line 78 of file alphatWallFunctionFvPatchScalarField.C.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

| alphatWallFunctionFvPatchScalarField | ( | const alphatWallFunctionFvPatchScalarField & | awfpsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 88 of file alphatWallFunctionFvPatchScalarField.C.
| TypeName | ( | "compressible::alphatWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 168 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 185 of file alphatWallFunctionFvPatchScalarField.H.
References alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField(), alphatWallFunctionFvPatchScalarField::updateCoeffs(), and alphatWallFunctionFvPatchScalarField::write().

|
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().


|
virtual |
Write.
Definition at line 129 of file alphatWallFunctionFvPatchScalarField.C.
References token::END_STATEMENT, Foam::compressible::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().
Referenced by alphatWallFunctionFvPatchScalarField::clone().


1.8.11