This boundary condition provides a turbulent thermal diffusivity condition when using wall functions, for use with surface film models. This condition varies from the standard wall function by taking into account any mass released from the film model. More...
Public Member Functions | |
TypeName ("alphatFilmWallFunction") | |
Runtime type information. More... | |
alphatFilmWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphatFilmWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, 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 Attributes | |
scalar | B_ |
B Coefficient (default = 5.5) More... | |
scalar | yPlusCrit_ |
y+ value for laminar -> turbulent transition (default = 11.05) More... | |
scalar | Cmu_ |
Turbulent Cmu coefficient (default = 0.09) More... | |
scalar | kappa_ |
Von-Karman constant (default = 0.41) More... | |
scalar | Prt_ |
Turbulent Prandtl number (default = 0.85) More... | |
This boundary condition provides a turbulent thermal diffusivity condition when using wall functions, for use with surface film models. This condition varies from the standard wall function by taking into account any mass released from the film model.
Property | Description | Required | Default value |
---|---|---|---|
B | model coefficient | no | 5.5 |
yPlusCrit | critical y+ for transition to turbulent flow | no | 11.05 |
Cmu | model coefficient | no | 0.09 |
kappa | Von-Karman constant | no | 0.41 |
Prt | turbulent Prandtl number | no | 0.85 |
Example of the boundary condition specification:
<patchName> { type alphatFilmWallFunction; B 5.5; yPlusCrit 11.05; Cmu 0.09; kappa 0.41; Prt 0.85; value uniform 0; }
Definition at line 115 of file alphatFilmWallFunctionFvPatchScalarField.H.
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 48 of file alphatFilmWallFunctionFvPatchScalarField.C.
Referenced by alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField(), and alphatFilmWallFunctionFvPatchScalarField::clone().
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 82 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
alphatFilmWallFunctionFvPatchScalarField onto a new patch
Definition at line 64 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
Construct as copy.
Definition at line 99 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 114 of file alphatFilmWallFunctionFvPatchScalarField.C.
TypeName | ( | "alphatFilmWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 180 of file alphatFilmWallFunctionFvPatchScalarField.H.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 197 of file alphatFilmWallFunctionFvPatchScalarField.H.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 130 of file alphatFilmWallFunctionFvPatchScalarField.C.
References ThermalDiffusivity< BasicTurbulenceModel >::alpha(), alphaEff(), alphatFilmWallFunctionFvPatchScalarField::Cmu_, Foam::exp(), forAll, Foam::constant::atomic::group, IOobject::groupName(), k, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::max(), Foam::min(), UPstream::msgType(), patchi, Foam::pow(), Pr(), turbulenceModel::propertiesName, alphatFilmWallFunctionFvPatchScalarField::Prt_, Foam::sqrt(), uTau, y, yPlus, and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
Referenced by alphatFilmWallFunctionFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 230 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::B_, alphatFilmWallFunctionFvPatchScalarField::Cmu_, token::END_STATEMENT, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::compressible::RASModels::makePatchTypeField(), Foam::nl, alphatFilmWallFunctionFvPatchScalarField::Prt_, fvPatchField< Type >::write(), Ostream::writeKeyword(), and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
Referenced by alphatFilmWallFunctionFvPatchScalarField::clone().
|
protected |
B Coefficient (default = 5.5)
Definition at line 124 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
y+ value for laminar -> turbulent transition (default = 11.05)
Definition at line 127 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Cmu coefficient (default = 0.09)
Definition at line 130 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Von-Karman constant (default = 0.41)
Definition at line 133 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Prandtl number (default = 0.85)
Definition at line 136 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().