FreeFOAM The Cross-Platform CFD Toolkit
turbulentMixingLengthDissipationRateInletFvPatchScalarField Class Reference

Calculate epsilon via the mixing length [m]. More...

#include <compressibleRASModels/turbulentMixingLengthDissipationRateInletFvPatchScalarField.H>


Detailed Description

Calculate epsilon via the mixing length [m].

Example of the boundary condition specification:

inlet
{
typecompressible::turbulentMixingLengthDissipationRateInlet;
mixingLength0.005; // 5 mm
value   uniform 200;   // placeholder
}
Source files

Definition at line 61 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.

List of all members.

Public Member Functions

 TypeName ("compressible::turbulentMixingLengthDissipationRateInlet")
 Runtime type information.
 turbulentMixingLengthDissipationRateInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 turbulentMixingLengthDissipationRateInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone.
 turbulentMixingLengthDissipationRateInletFvPatchScalarField (const turbulentMixingLengthDissipationRateInletFvPatchScalarField &, 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 turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.

Construct from patch, internal field and dictionary.

Definition at line 76 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.

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


Member Function Documentation

TypeName ( "compressible::turbulentMixingLengthDissipationRateInlet"  )

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 138 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 122 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.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: