This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat
) based on the Jayatilleke model.
More...
Public Member Functions | |
TypeName ("compressible::alphatJayatillekeWallFunction") | |
Runtime type information. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
Construct by mapping given an. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, 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... | |
void | write (Ostream &) const |
Write. More... | |
Static Public Member Functions | |
static tmp< scalarField > | P (const scalarField &Prat) |
Calculate the smoothing function. More... | |
static tmp< scalarField > | yPlusTherm (const nutWallFunctionFvPatchScalarField &nutw, const scalarField &P, const scalarField &Prat) |
Calculate y+ at the edge of the thermal laminar sublayer. More... | |
static tmp< scalarField > | alphat (const fluidThermophysicalTransportModel &ttm, const scalar Prt, const label patchi) |
Calculate the turbulent thermal diffusivity. More... | |
This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat
) based on the Jayatilleke model.
Property | Description | Required | Default value |
---|---|---|---|
Prt | turbulent Prandtl number | no | 0.85 |
Example of the boundary condition specification:
<patchName> { type alphatJayatillekeWallFunction; Prt 0.85; value uniform 0; }
Note that other model constants (i.e., Cmu, kappa and E) are obtained from the corresponding turbulent viscosity boundary condition.
Definition at line 87 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 45 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given an.
alphatJayatillekeWallFunctionFvPatchScalarField onto a new patch
Definition at line 58 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | awfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 74 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatJayatillekeWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 147 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 88 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
|
static |
Calculate the smoothing function.
Definition at line 98 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References Foam::exp(), and Foam::pow().
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
|
static |
Calculate y+ at the edge of the thermal laminar sublayer.
Definition at line 107 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References nutWallFunctionFvPatchScalarField::E(), f(), forAll, nutWallFunctionFvPatchScalarField::kappa(), Foam::constant::electromagnetic::kappa, Foam::log(), Foam::mag(), alphatJayatillekeWallFunctionFvPatchScalarField::P(), and tmp< T >::ref().
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphat().
|
static |
Calculate the turbulent thermal diffusivity.
Definition at line 152 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), basicThermo::Cp(), nutWallFunctionFvPatchScalarField::E(), forAll, nutWallFunctionFvPatchScalarField::kappa(), Foam::constant::electromagnetic::kappa, basicThermo::kappa(), Foam::log(), Foam::max(), fluidThermophysicalTransportModel::momentumTransport(), momentumTransportModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), alphatJayatillekeWallFunctionFvPatchScalarField::P(), patchi, tmp< T >::ref(), compressibleMomentumTransportModel::rho(), fluidThermophysicalTransportModel::thermo(), yPlus, nutWallFunctionFvPatchScalarField::yPlus(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 223 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), Foam::operator==(), and fvPatchField< Type >::updateCoeffs().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 242 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().