OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

turbulentIntensityKineticEnergyInletFvPatchScalarField Class Reference

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

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.

Detailed Description

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

Example of the boundary condition specification:

    inlet
    {
        type        turbulentIntensityKineticEnergyInlet;
        intensity   0.05;           // 5% turbulence
        value       uniform 1;      // placeholder
    }

Source files

Definition at line 55 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 28 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.

Construct from patch, internal field and dictionary.

Definition at line 52 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.


Member Function Documentation

TypeName ( "turbulentIntensityKineticEnergyInlet"   ) 

Runtime type information.

virtual tmp<fvPatchScalarField> clone (  )  const [inline, virtual]

Construct and return a clone.

Definition at line 107 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF  )  const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 127 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 105 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.

void write ( Ostream &  os  )  const [virtual]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd