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 alphatFilmWallFunctionFvPatchScalarField onto a new patch. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &) | |
Construct as copy. More... | |
alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< scalar > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Clone with an 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. More... | |
scalar | yPlusCrit_ |
y+ value for laminar -> turbulent transition More... | |
scalar | Cmu_ |
Empirical model coefficient. More... | |
scalar | kappa_ |
Von-Karman constant. More... | |
scalar | Prt_ |
Turbulent Prandtl number. 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.
<patchName> { // Mandatory entries type alphatFilmWallFunction; // Optional entries filmRegion <word>; B <scalar>; yPlusCrit <scalar>; Cmu <scalar>; kappa <scalar>; Prt <scalar>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: alphatFilmWallFunction | word | yes | - |
filmRegion | Name of film region | word | no | surfaceFilmProperties |
B | Model coefficient | scalar | no | 5.5 |
yPlusCrit | Critical y+ for transition to turbulence | scalar | no | 11.5 |
Cmu | Empirical model coefficient | scalar | no | 0.09 |
Prt | Turbulent Prandtl number | scalar | no | 0.85 |
kappa | von Karman constant | scalar | no | 0.41 |
The inherited entries are elaborated in:
Definition at line 141 of file alphatFilmWallFunctionFvPatchScalarField.H.
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 44 of file alphatFilmWallFunctionFvPatchScalarField.C.
alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 80 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 61 of file alphatFilmWallFunctionFvPatchScalarField.C.
Construct as copy.
Definition at line 101 of file alphatFilmWallFunctionFvPatchScalarField.C.
alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 117 of file alphatFilmWallFunctionFvPatchScalarField.C.
TypeName | ( | "alphatFilmWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 242 of file alphatFilmWallFunctionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 251 of file alphatFilmWallFunctionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 134 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphaEff(), alphatFilmWallFunctionFvPatchScalarField::Cmu_, Foam::exp(), alphatFilmWallFunctionFvPatchScalarField::filmRegionName_, forAll, Foam::constant::atomic::group, IOobject::groupName(), UPstream::incrMsgType(), k, alphatFilmWallFunctionFvPatchScalarField::kappa_, Foam::max(), Foam::min(), UPstream::msgType(), Foam::foamVersion::patch, Foam::pow(), Foam::pow025(), Pr(), turbulenceModel::propertiesName, alphatFilmWallFunctionFvPatchScalarField::Prt_, Foam::sqrt(), uTau, y, yPlus, and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
|
virtual |
Write.
Definition at line 237 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField::B_, alphatFilmWallFunctionFvPatchScalarField::Cmu_, alphatFilmWallFunctionFvPatchScalarField::filmRegionName_, alphatFilmWallFunctionFvPatchScalarField::kappa_, os(), alphatFilmWallFunctionFvPatchScalarField::Prt_, fvPatchField< Type >::write(), fvPatchField< Type >::writeValueEntry(), and alphatFilmWallFunctionFvPatchScalarField::yPlusCrit_.
|
protected |
Name of film region.
Definition at line 152 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
B Coefficient.
Definition at line 157 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
y+ value for laminar -> turbulent transition
Definition at line 162 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Empirical model coefficient.
Definition at line 167 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Von-Karman constant.
Definition at line 172 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().
|
protected |
Turbulent Prandtl number.
Definition at line 177 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatFilmWallFunctionFvPatchScalarField::write().