This source condition provides a turbulence specific dissipation,
(omega), based on a specified mixing length. The source values are calculated using:
More...


Public Member Functions | |
| TypeName ("turbulentMixingLengthFrequency") | |
| Runtime type information. More... | |
| turbulentMixingLengthFrequencyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict) | |
| Construct from internal field and dictionary. More... | |
| turbulentMixingLengthFrequencyFvScalarFieldSource (const turbulentMixingLengthFrequencyFvScalarFieldSource &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual autoPtr< fvScalarFieldSource > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual | ~turbulentMixingLengthFrequencyFvScalarFieldSource () |
| Destructor. More... | |
| virtual tmp< DimensionedField< scalar, volMesh > > | sourceValue (const fvSource &model, const DimensionedField< scalar, volMesh > &source) const |
| Return the source value. More... | |
| virtual tmp< scalarField > | sourceValue (const fvSource &model, const scalarField &source, const labelUList &cells) const |
| Return the source value. More... | |
| virtual tmp< DimensionedField< scalar, volMesh > > | internalCoeff (const fvSource &model, const DimensionedField< scalar, volMesh > &source) const |
| Return the internal coefficient. More... | |
| virtual tmp< scalarField > | internalCoeff (const fvSource &model, const scalarField &source, const labelUList &cells) const |
| Return the internal coefficient. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This source condition provides a turbulence specific dissipation,
(omega), based on a specified mixing length. The source values are calculated using:
where
| = | omega values | |
| = | Model coefficient, set to 0.09 | |
| = | turbulence kinetic energy | |
| = | length scale |
In the case of a sink, the current cell values are used instead.
| Property | Description | Required | Default value |
|---|---|---|---|
mixingLength | Length scale [m] | yes | |
k | turbulence kinetic energy field name | no | k |
Cmu | Turbulence model coefficient | no | 0.09 |
Example of the source condition specification:
<sourceName>
{
type turbulentMixingLengthFrequency;
mixingLength 0.005;
}Definition at line 118 of file turbulentMixingLengthFrequencyFvScalarFieldSource.H.
| turbulentMixingLengthFrequencyFvScalarFieldSource | ( | const DimensionedField< scalar, volMesh > & | iF, |
| const dictionary & | dict | ||
| ) |
Construct from internal field and dictionary.
Definition at line 34 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
| turbulentMixingLengthFrequencyFvScalarFieldSource | ( | const turbulentMixingLengthFrequencyFvScalarFieldSource & | field, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 48 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
|
virtual |
Destructor.
Definition at line 64 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
| TypeName | ( | "turbulentMixingLengthFrequency" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 159 of file turbulentMixingLengthFrequencyFvScalarFieldSource.H.
|
virtual |
Return the source value.
Definition at line 72 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
References Foam::pow(), and Foam::sqrt().

|
virtual |
Return the source value.
Definition at line 88 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
References cells, Foam::pow(), and Foam::sqrt().

|
virtual |
Return the internal coefficient.
Definition at line 102 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
References Foam::neg0().

|
virtual |
Return the internal coefficient.
Definition at line 113 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
References Foam::neg0().

|
virtual |
Write.
Definition at line 124 of file turbulentMixingLengthFrequencyFvScalarFieldSource.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().
