FreeFOAM The Cross-Platform CFD Toolkit
turbulentMixingLengthFrequencyInletFvPatchScalarField Class Reference

Calculate omega via the mixing length. More...

#include <compressibleRASModels/turbulentMixingLengthFrequencyInletFvPatchScalarField.H>


Detailed Description

Calculate omega via the mixing length.

Example of the boundary condition specification:

inlet
{
typecompressible::turbulentMixingLengthFrequencyInlet;
mixingLength0.005; // 5 mm
k   k; // turbulent k field
value   uniform 5; // initial value
}
Source files

Definition at line 62 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 44 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 76 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References fvPatchField< scalar >::operator=(), and fvPatch::size().

Construct as copy setting internal field reference.

Definition at line 108 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.


Member Function Documentation

TypeName ( "compressible::turbulentMixingLengthFrequencyInlet"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 139 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 122 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.

References Cmu(), RASModel::coeffDict(), dictionary::lookupOrDefault(), Foam::pos(), Foam::pow(), and Foam::sqrt().


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