turbulentMixingLengthFrequencyInletFvPatchScalarField Class Reference

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...

Inheritance diagram for turbulentMixingLengthFrequencyInletFvPatchScalarField:
Collaboration diagram for turbulentMixingLengthFrequencyInletFvPatchScalarField:

Public Member Functions

 TypeName ("turbulentMixingLengthFrequencyInlet")
 Runtime type information. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const turbulentMixingLengthFrequencyInletFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const turbulentMixingLengthFrequencyInletFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const turbulentMixingLengthFrequencyInletFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

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
Usage
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
    }
Note
In the event of reverse flow, a zero-gradient condition is applied
See also
Foam::inletOutletFvPatchField
Source files

Definition at line 124 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [1/5]

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [2/5]

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [3/5]

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 96 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "turbulentMixingLengthFrequencyInlet"  )

Runtime type information.

◆ clone()

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 109 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References momentumTransportModel::coeffDict(), Foam::constant::atomic::group, IOobject::groupName(), dictionary::lookupOrDefault(), Foam::pos0(), Foam::pow(), Foam::sqrt(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::write().

Referenced by turbulentMixingLengthFrequencyInletFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

The documentation for this class was generated from the following files: