This boundary condition provides an inlet condition for turbulent kinetic energy dissipation rate, i.e. epsilon, based on a specified mixing length. The patch values are calculated using:
More...
#include <turbulentMixingLengthDissipationRateInletFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("turbulentMixingLengthDissipationRateInlet") | |
| Runtime type information. | |
| turbulentMixingLengthDissipationRateInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| turbulentMixingLengthDissipationRateInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given turbulentMixingLengthDissipationRateInletFvPatchScalarField onto a new patch. | |
| turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &) | |
| Construct as copy. | |
| turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &, 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. | |
This boundary condition provides an inlet condition for turbulent kinetic energy dissipation rate, i.e. epsilon, based on a specified mixing length. The patch values are calculated using:
![\[ \epsilon_p = \frac{C_{\mu}^{0.75} k^{1.5}}{L}
\]](form_1066.png)
where
![]() | = | Patch epsilon values [m2/s3] |
![]() | = | Empirical model constant retrived from turbulence model |
![]() | = | Turbulent kinetic energy [m2/s2] |
![]() | = | Mixing length scale [m] |
<patchName>
{
// Mandatory entries (unmodifiable)
type turbulentMixingLengthDissipationRateInlet;
// Mandatory entries (runtime modifiable)
mixingLength 0.005;
// Optional entries (runtime modifiable)
Cmu 0.09;
k k;
phi phi;
// Placeholder
value uniform 200;
}
where the entries mean:
| Property | Description | Type | Req'd | Dflt |
|---|---|---|---|---|
mixingLength | Mixing length scale [m] | scalar | yes | - |
Cmu | Empirical model constant | scalar | no | 0.09 |
phi | Name of flux field | word | no | phi |
k | Name of turbulent kinetic energy field | word | no | k |
inletOutlet condition. Therefore, in the event of reverse flow, a zero-gradient condition is applied.Cmu is: turbulence model, boundary condition dictionary, and default value=0.09.Cmu is not a spatiotemporal variant field. Therefore, the use of the boundary condition may not be fully consistent with the turbulence models where Cmu is a variant field, such as realizableKE closure model in this respect. Nevertheless, workflow observations suggest that the matter poses no importance.Definition at line 155 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
| turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 36 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References p, and Foam::Zero.
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField(), and TypeName().

| turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 70 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References dict, IOobjectOption::MUST_READ, p, and Foam::Zero.
| turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given turbulentMixingLengthDissipationRateInletFvPatchScalarField onto a new patch.
Definition at line 54 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References p, and turbulentMixingLengthDissipationRateInletFvPatchScalarField().

| turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 96 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References turbulentMixingLengthDissipationRateInletFvPatchScalarField().

| turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 109 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References turbulentMixingLengthDissipationRateInletFvPatchScalarField().

| TypeName | ( | "turbulentMixingLengthDissipationRateInlet" | ) |
Runtime type information.
References turbulentMixingLengthDissipationRateInletFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Definition at line 239 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 247 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 125 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References turbulenceModel::coeffDict(), dictionary::getOrDefault(), IOobject::groupName(), Foam::neg(), Foam::pow(), and turbulenceModel::propertiesName.

|
virtual |
Write.
Definition at line 159 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
