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...
#include <alphatFilmWallFunctionFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("alphatFilmWallFunction") | |
| Runtime type information. | |
| alphatFilmWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| alphatFilmWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given alphatFilmWallFunctionFvPatchScalarField onto a new patch. | |
| alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &) | |
| Construct as copy. | |
| alphatFilmWallFunctionFvPatchScalarField (const alphatFilmWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
Protected Attributes | |
| word | filmRegionName_ |
| Name of film region. | |
| scalar | B_ |
| B Coefficient. | |
| scalar | yPlusCrit_ |
| y+ value for laminar -> turbulent transition | |
| scalar | Cmu_ |
| Empirical model coefficient. | |
| scalar | kappa_ |
| Von-Karman constant. | |
| scalar | Prt_ |
| Turbulent Prandtl number. | |
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 42 of file alphatFilmWallFunctionFvPatchScalarField.C.
References B_, Cmu_, filmRegionName_, kappa_, p, Prt_, and yPlusCrit_.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), and TypeName().

| alphatFilmWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 78 of file alphatFilmWallFunctionFvPatchScalarField.C.
References B_, Cmu_, dict, filmRegionName_, kappa_, p, Prt_, and yPlusCrit_.
| 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 59 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField(), B_, Cmu_, filmRegionName_, kappa_, p, Prt_, and yPlusCrit_.

| alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf | ) |
Construct as copy.
Definition at line 99 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField(), B_, Cmu_, filmRegionName_, kappa_, Prt_, and yPlusCrit_.

| alphatFilmWallFunctionFvPatchScalarField | ( | const alphatFilmWallFunctionFvPatchScalarField & | fwfpsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 115 of file alphatFilmWallFunctionFvPatchScalarField.C.
References alphatFilmWallFunctionFvPatchScalarField(), B_, Cmu_, filmRegionName_, kappa_, Prt_, and yPlusCrit_.

| TypeName | ( | "alphatFilmWallFunction" | ) |
Runtime type information.
References alphatFilmWallFunctionFvPatchScalarField().

|
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 250 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(), Cmu_, Foam::exp(), filmRegionName_, forAll, IOobject::groupName(), UPstream::incrMsgType(), k, kappa_, Foam::max(), Foam::min(), UPstream::msgType(), Foam::pow(), Foam::pow025(), Pr(), turbulenceModel::propertiesName, Prt_, Foam::sqrt(), uTau, y, yPlus, and yPlusCrit_.

|
virtual |
Write.
Definition at line 237 of file alphatFilmWallFunctionFvPatchScalarField.C.
References B_, Cmu_, filmRegionName_, kappa_, os(), Prt_, fvPatchField< Type >::write(), fvPatchField< Type >::writeValueEntry(), and yPlusCrit_.

|
protected |
Name of film region.
Definition at line 152 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), updateCoeffs(), and write().
|
protected |
B Coefficient.
Definition at line 157 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), and write().
|
protected |
y+ value for laminar -> turbulent transition
Definition at line 162 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), updateCoeffs(), and write().
|
protected |
Empirical model coefficient.
Definition at line 167 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), updateCoeffs(), and write().
|
protected |
Von-Karman constant.
Definition at line 172 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), updateCoeffs(), and write().
|
protected |
Turbulent Prandtl number.
Definition at line 177 of file alphatFilmWallFunctionFvPatchScalarField.H.
Referenced by alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), alphatFilmWallFunctionFvPatchScalarField(), updateCoeffs(), and write().