This boundary condition provides a turbulence specific dissipation, \(\omega\) (omega) inlet condition based on a specified mixing length. The patch values are calculated using: More...
This boundary condition provides a turbulence specific dissipation, \(\omega\) (omega) inlet condition based on a specified mixing length. The patch values are calculated using:
\[ \omega_p = \frac{k^{0.5}}{C_{\mu}^{0.25} L} \]
where
\( \omega_p \) | = | patch omega 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 turbulentMixingLengthFrequencyInlet; mixingLength 0.005; value uniform 200; // placeholder }
Definition at line 129 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 43 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 73 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References dict, dictionary::getOrDefault(), fvPatchField< scalar >::operator=(), p, and UList< T >::size().
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentMixingLengthFrequencyInletFvPatchScalarField onto a new patch
Definition at line 59 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 94 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 105 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
TypeName | ( | "turbulentMixingLengthFrequencyInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 183 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 202 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 120 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References turbulenceModel::coeffDict(), dictionary::getOrDefault(), IOobject::groupName(), Foam::pos0(), Foam::pow(), turbulenceModel::propertiesName, and Foam::sqrt().
|
virtual |
Write.
Definition at line 155 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References os(), ObukhovLength::write(), and Ostream::writeEntry().