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 fvPatchFieldMapper &) | |
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 | 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 46 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given an.
alphatJayatillekeWallFunctionFvPatchScalarField onto a new patch
Definition at line 59 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 73 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatJayatillekeWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 145 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
|
static |
Calculate the smoothing function.
Definition at line 87 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 96 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 141 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References A, B, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), C, nutWallFunctionFvPatchScalarField::Cmu(), basicThermo::Cp(), nutWallFunctionFvPatchScalarField::E(), forAll, basicThermo::he(), k, momentumTransportModel::k(), nutWallFunctionFvPatchScalarField::kappa(), basicThermo::kappa(), Foam::log(), Foam::mag(), magUp, Foam::max(), Foam::min(), fluidThermophysicalTransportModel::momentumTransport(), momentumTransportModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), alphatJayatillekeWallFunctionFvPatchScalarField::P(), patchi, fvPatchField< Type >::patchInternalField(), Foam::pow025(), tmp< T >::ref(), compressibleMomentumTransportModel::rho(), Foam::sign(), fvPatchField< Type >::snGrad(), Foam::sqr(), Foam::sqrt(), fluidThermophysicalTransportModel::thermo(), momentumTransportModel::U(), uTau, y, momentumTransportModel::y(), yPlus, and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 257 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), Foam::operator==(), and fvPatchField< Type >::updateCoeffs().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 276 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().