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 &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, 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... | |
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 112 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 64 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 81 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 99 of file alphatFilmWallFunctionFvPatchScalarField.C.
TypeName | ( | "alphatFilmWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 185 of file alphatFilmWallFunctionFvPatchScalarField.H.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 115 of file alphatFilmWallFunctionFvPatchScalarField.C.
References basicThermo::alpha(), alphatFilmWallFunctionFvPatchScalarField::Cmu_, Foam::exp(), forAll, Foam::constant::atomic::group, IOobject::groupName(), k, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::max(), Foam::min(), thermophysicalTransportModel::momentumTransport(), UPstream::msgType(), patchi, Foam::pow(), alphatFilmWallFunctionFvPatchScalarField::Prt_, Foam::sqrt(), thermophysicalTransportModel::thermo(), uTau, y, yPlus, and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
Referenced by alphatFilmWallFunctionFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 218 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::B_, alphatFilmWallFunctionFvPatchScalarField::Cmu_, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::compressible::RASModels::makePatchTypeField(), alphatFilmWallFunctionFvPatchScalarField::Prt_, fvPatchField< Type >::write(), Foam::writeEntry(), and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
Referenced by alphatFilmWallFunctionFvPatchScalarField::clone().
|
protected |
B Coefficient (default = 5.5)
Definition at line 121 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
y+ value for laminar -> turbulent transition (default = 11.05)
Definition at line 124 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Cmu coefficient (default = 0.09)
Definition at line 127 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Von-Karman constant (default = 0.41)
Definition at line 130 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Prandtl number (default = 0.85)
Definition at line 133 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().