FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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.

Collaboration diagram for turbulentIntensityKineticEnergyInletFvPatchScalarField:

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< fvPatchScalarField >  clone () const
 Construct and return a clone.
 turbulentIntensityKineticEnergyInletFvPatchScalarField (const turbulentIntensityKineticEnergyInletFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchScalarField >  clone (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 36 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.

Referenced by turbulentIntensityKineticEnergyInletFvPatchScalarField::clone().

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, 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 [inline, virtual]
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().

void write ( Ostream &   os  ) const [virtual]

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