This boundary condition provides a turbulence dissipation, \(\epsilon\) (epsilon) inlet condition based on a specified mixing length. The patch values are calculated using: More...
This boundary condition provides a turbulence dissipation, \(\epsilon\) (epsilon) inlet condition based on a specified mixing length. The patch values are calculated using:
\[ \epsilon_p = \frac{C_{\mu}^{0.75} k^{1.5}}{L} \]
where
\( \epsilon_p \) | = | patch epsilon values |
\( C_{\mu} \) | = | Model coefficient, set to 0.09 |
\( k \) | = | turbulence kinetic energy |
\( L \) | = | length scale |
Property | Description | Required | Default value |
---|---|---|---|
mixingLength | Length scale [m] | yes | |
phi | flux field name | no | phi |
k | turbulence kinetic energy field name | no | k |
Example of the boundary condition specification:
<patchName> { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; value uniform 200; // placeholder }
Definition at line 128 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 44 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 76 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References dict, dictionary::lookupOrDefault(), fvPatchField< scalar >::operator=(), and p.
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 61 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 98 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 110 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
TypeName | ( | "turbulentMixingLengthDissipationRateInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 182 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 202 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 123 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References turbulenceModel::coeffDict(), Foam::constant::atomic::group, IOobject::groupName(), dictionary::lookupOrDefault(), Foam::foamVersion::patch, Foam::pos0(), Foam::pow(), turbulenceModel::propertiesName, and Foam::sqrt().
|
virtual |
Write.
Definition at line 159 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References fvPatchField< scalar >::write(), and Ostream::writeEntry().