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 | |
word | filmRegionName_ |
Name of film region. More... | |
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 117 of file alphatFilmWallFunctionFvPatchScalarField.H.
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 51 of file alphatFilmWallFunctionFvPatchScalarField.C.
Referenced by alphatFilmWallFunctionFvPatchScalarField::clone().
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 87 of file alphatFilmWallFunctionFvPatchScalarField.C.
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 68 of file alphatFilmWallFunctionFvPatchScalarField.C.
Construct as copy.
Definition at line 108 of file alphatFilmWallFunctionFvPatchScalarField.C.
alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 124 of file alphatFilmWallFunctionFvPatchScalarField.C.
TypeName | ( | "alphatFilmWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 185 of file alphatFilmWallFunctionFvPatchScalarField.H.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 202 of file alphatFilmWallFunctionFvPatchScalarField.H.
References alphatFilmWallFunctionFvPatchScalarField::alphatFilmWallFunctionFvPatchScalarField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 141 of file alphatFilmWallFunctionFvPatchScalarField.C.
References ThermalDiffusivity< BasicTurbulenceModel >::alpha(), alphaEff(), alphatFilmWallFunctionFvPatchScalarField::Cmu_, Foam::exp(), alphatFilmWallFunctionFvPatchScalarField::filmRegionName_, forAll, Foam::constant::atomic::group, IOobject::groupName(), k, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::max(), Foam::min(), UPstream::msgType(), Foam::foamVersion::patch, Foam::pow(), Pr(), turbulenceModel::propertiesName, alphatFilmWallFunctionFvPatchScalarField::Prt_, Foam::sqrt(), uTau, y, yPlus, and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
|
virtual |
Write.
Definition at line 240 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::B_, alphatFilmWallFunctionFvPatchScalarField::Cmu_, alphatFilmWallFunctionFvPatchScalarField::filmRegionName_, alphatFilmWallFunctionFvPatchScalarField::kappa_, os(), alphatFilmWallFunctionFvPatchScalarField::Prt_, fvPatchField< Type >::write(), and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
|
protected |
Name of film region.
Definition at line 126 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
B Coefficient (default = 5.5)
Definition at line 129 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
y+ value for laminar -> turbulent transition (default = 11.05)
Definition at line 132 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Cmu coefficient (default = 0.09)
Definition at line 135 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Von-Karman constant (default = 0.41)
Definition at line 138 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Prandtl number (default = 0.85)
Definition at line 141 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().