OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

LESmodel Class Reference

Inheritance diagram for LESmodel:

Inheritance graph
[legend]
Collaboration diagram for LESmodel:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 72 of file LESmodel.H.


Public Member Functions

 TypeName ("LESmodel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, LESmodel, dictionary,(const volVectorField &U, const surfaceScalarField &phi, transportModel &transport),(U, phi, transport))
 LESmodel (const word &type, const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct from components.
virtual ~LESmodel ()
const volVectorField & U () const
 Access function to velocity field.
const surfaceScalarField & phi () const
 Access function to flux field.
transportModel & transport () const
 Access function to incompressible transport model.
const dictionary & LESmodelProperties ()
 Access the dictionary which provides info. about choice of.
const volScalarField & delta () const
 Access function to filter width.
const volScalarField & nu () const
 Access function to incompressible viscosity.
const dimensionedScalar & k0 () const
 Return the value of k0 which k is not allowed to be less than.
dimensionedScalar & k0 ()
 Allow k0 to be changed.
virtual tmp< volSymmTensorField > B () const=0
 Return B.
virtual tmp< volScalarField > k () const=0
 Return the SGS turbulent kinetic energy.
virtual tmp< volScalarField > epsilon () const=0
 Return the SGS turbulent dissipation.
virtual tmp< volScalarField > nuSgs () const=0
 Return the SGS viscosity.
virtual tmp< volScalarField > nuEff () const
 Return the effective viscosity.
virtual tmp< fvVectorMatrix > divB (volVectorField &U) const =0
 Returns div(B).
virtual void correct (const tmp< volTensorField > &gradU)
 Correct Eddy-Viscosity and related properties.
void correct ()
 Correct Eddy-Viscosity and related properties.
virtual bool read ()=0
 Read turbulenceProperties dictionary.

Static Public Member Functions

static autoPtr< LESmodel > New (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Return a reference to the selected LES model.

Protected Attributes

const Time & runTime_
const fvMesh & mesh_

Constructor & Destructor Documentation

LESmodel ( const word &  type,
const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport 
)

Construct from components.

virtual ~LESmodel (  )  [inline, virtual]

Definition at line 155 of file LESmodel.H.


Member Function Documentation

TypeName ( "LESmodel"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
LESmodel  ,
dictionary  ,
(const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)  ,
(U, phi, transport)   
)

static autoPtr<LESmodel> New ( const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport 
) [static]

Return a reference to the selected LES model.

const volVectorField& U (  )  const [inline]

Access function to velocity field.

Definition at line 164 of file LESmodel.H.

const surfaceScalarField& phi (  )  const [inline]

Access function to flux field.

Definition at line 170 of file LESmodel.H.

transportModel& transport (  )  const [inline]

Access function to incompressible transport model.

Definition at line 176 of file LESmodel.H.

const dictionary& LESmodelProperties (  )  [inline]

Access the dictionary which provides info. about choice of.

models, and all related data (particularly model coefficients).

Definition at line 185 of file LESmodel.H.

const volScalarField& delta (  )  const [inline]

Access function to filter width.

Definition at line 191 of file LESmodel.H.

Referenced by GenSGSStress::k(), and Smagorinsky::~Smagorinsky().

Here is the caller graph for this function:

const volScalarField& nu (  )  const [inline]

Access function to incompressible viscosity.

Definition at line 197 of file LESmodel.H.

Referenced by oneEqEddy::k(), locDynOneEqEddy::k(), dynOneEqEddy::k(), LESmodel::k0(), DeardorffDiffStress::~DeardorffDiffStress(), and LRRDiffStress::~LRRDiffStress().

Here is the caller graph for this function:

const dimensionedScalar& k0 (  )  const [inline]

Return the value of k0 which k is not allowed to be less than.

Definition at line 203 of file LESmodel.H.

dimensionedScalar& k0 (  )  [inline]

Allow k0 to be changed.

Definition at line 209 of file LESmodel.H.

References LESmodel::nu(), and LESmodel::nuSgs().

Here is the call graph for this function:

virtual tmp<volSymmTensorField> B (  )  const [pure virtual]

virtual tmp<volScalarField> k (  )  const [pure virtual]

virtual tmp<volScalarField> epsilon (  )  const [pure virtual]

Return the SGS turbulent dissipation.

Implemented in dynMixedSmagorinsky, GenEddyVisc, GenSGSStress, laminar, mixedSmagorinsky, scaleSimilarity, and SpalartAllmaras.

virtual tmp<volScalarField> nuSgs (  )  const [pure virtual]

Return the SGS viscosity.

Implemented in GenEddyVisc, GenSGSStress, laminar, mixedSmagorinsky, and SpalartAllmaras.

Referenced by LESmodel::k0().

Here is the caller graph for this function:

virtual tmp<volScalarField> nuEff (  )  const [inline, virtual]

Return the effective viscosity.

Reimplemented in laminar.

Definition at line 228 of file LESmodel.H.

virtual tmp<fvVectorMatrix> divB ( volVectorField &  U  )  const [pure virtual]

Returns div(B).

This is the additional term due to the filtering of the NSE.

Implemented in dynMixedSmagorinsky, GenEddyVisc, GenSGSStress, laminar, mixedSmagorinsky, scaleSimilarity, Smagorinsky2, and SpalartAllmaras.

virtual void correct ( const tmp< volTensorField > &  gradU  )  [virtual]

void correct (  ) 

Correct Eddy-Viscosity and related properties.

This calls correct(const tmp<volTensorField>& gradU) by supplying gradU calculated locally.

virtual bool read (  )  [pure virtual]


Member Data Documentation

const Time& runTime_ [protected]

Definition at line 81 of file LESmodel.H.

const fvMesh& mesh_ [protected]

Definition at line 82 of file LESmodel.H.


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