FreeFOAM The Cross-Platform CFD Toolkit
turbulentIntensityKineticEnergyInletFvPatchScalarField Class Reference

Calculate turbulent kinetic energy from the intensity provided as a fraction of the mean velocity. More...

#include <finiteVolume/turbulentIntensityKineticEnergyInletFvPatchScalarField.H>


Detailed Description

Calculate turbulent kinetic energy from the intensity provided as a fraction of the mean velocity.

Example of the boundary condition specification:

inlet
{
typeturbulentIntensityKineticEnergyInlet;
intensity   0.05;   // 5% turbulence
value   uniform 1;  // placeholder
}
Source files

Definition at line 60 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.

List of all members.

Public Member Functions

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

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

Construct from patch, internal field and dictionary.

Definition at line 68 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, scalarField(), and fvPatch::size().

Construct as copy setting internal field reference.

Definition at line 118 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.


Member Function Documentation

TypeName ( "turbulentIntensityKineticEnergyInlet"  )

Runtime type information.

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

Update the coefficients associated with the patch field.

Definition at line 133 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.

References Foam::magSqr(), Foam::pos(), and Foam::sqr().


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