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 this_bctype &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping onto a new patch. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const this_bctype &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
 turbulentMixingLengthFrequencyInletFvPatchScalarField (const this_bctype &)=delete
 No copy without an internal field. More...
 
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an 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 125 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 38 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References Foam::Zero.

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [2/5]

turbulentMixingLengthFrequencyInletFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 68 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References dict, dictionary::getOrDefault(), IOobjectOption::MUST_READ, and Foam::Zero.

Here is the call graph for this function:

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [3/5]

turbulentMixingLengthFrequencyInletFvPatchScalarField ( const this_bctype ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping onto a new patch.

Definition at line 54 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [4/5]

Construct as copy setting internal field reference.

Definition at line 90 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

◆ turbulentMixingLengthFrequencyInletFvPatchScalarField() [5/5]

No copy without an internal field.

Member Function Documentation

◆ TypeName()

TypeName ( "turbulentMixingLengthFrequencyInlet"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchField<scalar> > clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Clone with an internal field reference.

Definition at line 206 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 139 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References fvPatchField< Type >::write(), Ostream::writeEntry(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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