This boundary condition provides a kinematic turbulent thermal conductivity for using wall functions, using the Jayatilleke 'P' function. More...
Public Member Functions | |
TypeName ("alphatJayatillekeWallFunction") | |
Runtime type information. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. 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 &) | |
alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, 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... | |
Protected Member Functions | |
virtual void | checkType () |
Check the type of the patch. More... | |
tmp< scalarField > | yPlus (const turbulenceModel &turbModel) const |
Return the patch y+. More... | |
scalar | Psmooth (const scalar Prat) const |
`P' function More... | |
scalar | yPlusTherm (const scalar P, const scalar Prat) const |
Calculate y+ at the edge of the thermal laminar sublayer. More... | |
Protected Attributes | |
scalar | Prt_ |
Turbulent Prandtl number. More... | |
scalar | kappa_ |
Von Karman constant. More... | |
scalar | E_ |
E coefficient. More... | |
Static Protected Attributes | |
static scalar | tolerance_ = 0.01 |
static label | maxIters_ = 10 |
This boundary condition provides a kinematic turbulent thermal conductivity for using wall functions, using the Jayatilleke 'P' function.
<patchName> { // Mandatory entries type alphatJayatillekeWallFunction; // Optional entries Prt <scalar>; kappa <scalar>; E <scalar>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: alphatJayatillekeWallFunction | word | yes | - |
Prt | Turbulent Prandtl number | scalar | no | 0.85 |
kappa | von Karman constant | scalar | no | 0.41 |
E | Wall roughness parameter | scalar | no | 9.8 |
The inherited entries are elaborated in:
Definition at line 121 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 138 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 172 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given alphatJayatillekeWallFunctionFvPatchScalarField onto a new patch
Definition at line 154 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | wfpsf | ) |
Construct as copy.
Definition at line 189 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().
alphatJayatillekeWallFunctionFvPatchScalarField | ( | const alphatJayatillekeWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 204 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::checkType().
|
protectedvirtual |
Check the type of the patch.
Definition at line 50 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::alphatJayatillekeWallFunctionFvPatchScalarField().
|
protected |
Return the patch y+.
Definition at line 64 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::mag(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::nu(), turbulenceModel::nuEff(), nut, turbulenceModel::nut(), fvPatchField< Type >::snGrad(), Foam::sqrt(), turbulenceModel::U(), y, turbulenceModel::y(), and nutWallFunctionFvPatchScalarField::yPlus().
|
protected |
`P' function
Definition at line 95 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References Foam::exp(), and Foam::pow().
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
|
protected |
Calculate y+ at the edge of the thermal laminar sublayer.
Definition at line 104 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::E_, f(), alphatJayatillekeWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::mag(), alphatJayatillekeWallFunctionFvPatchScalarField::maxIters_, and alphatJayatillekeWallFunctionFvPatchScalarField::tolerance_.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
TypeName | ( | "alphatJayatillekeWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 205 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 221 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 222 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::dimless, alphatJayatillekeWallFunctionFvPatchScalarField::E_, forAll, IOobject::groupName(), alphatJayatillekeWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::max(), nu, Pr(), phaseSystem::propertiesName, alphatJayatillekeWallFunctionFvPatchScalarField::Prt_, alphatJayatillekeWallFunctionFvPatchScalarField::Psmooth(), transportProperties(), atmBoundaryLayerInletEpsilonFvPatchScalarField::updateCoeffs(), yPlus, and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
|
virtual |
Write.
Definition at line 289 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.
References alphatJayatillekeWallFunctionFvPatchScalarField::E_, alphatJayatillekeWallFunctionFvPatchScalarField::kappa_, os(), alphatJayatillekeWallFunctionFvPatchScalarField::Prt_, ObukhovLength::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
|
protected |
Turbulent Prandtl number.
Definition at line 130 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and alphatJayatillekeWallFunctionFvPatchScalarField::write().
|
protected |
Von Karman constant.
Definition at line 133 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), alphatJayatillekeWallFunctionFvPatchScalarField::write(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
|
protected |
E coefficient.
Definition at line 136 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), alphatJayatillekeWallFunctionFvPatchScalarField::write(), and alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
|
staticprotected |
Definition at line 141 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
|
staticprotected |
Definition at line 142 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by alphatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().