OpenFOAM logo
Open Source CFD Toolkit

LESmodel Class Reference

Inheritance diagram for LESmodel:

Inheritance graph
[legend]
Collaboration diagram for LESmodel:

Collaboration graph
[legend]
List of all members.

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< volTensorField > 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

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.

References Foam::volVectorField.


Member Function Documentation

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

Return B.

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

void correct (   ) 
 

Correct Eddy-Viscosity and related properties.

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

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

Correct Eddy-Viscosity and related properties.

Reimplemented in DeardorffDiffStress, dynMixedSmagorinsky, dynOneEqEddy, dynSmagorinsky, GenEddyVisc, locDynOneEqEddy, LRRDiffStress, mixedSmagorinsky, oneEqEddy, scaleSimilarity, Smagorinsky, SpalartAllmaras, and spectEddyVisc.

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

const volScalarField& delta (   )  const [inline]
 

Access function to filter width.

Definition at line 191 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 tmp<volScalarField> epsilon (   )  const [pure virtual]
 

Return the SGS turbulent dissipation.

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

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

Return the SGS turbulent kinetic energy.

Implemented in dynMixedSmagorinsky, dynOneEqEddy, dynSmagorinsky, GenEddyVisc, GenSGSStress, laminar, locDynOneEqEddy, mixedSmagorinsky, oneEqEddy, scaleSimilarity, Smagorinsky, SpalartAllmaras, and spectEddyVisc.

dimensionedScalar& k0 (   )  [inline]
 

Allow k0 to be changed.

Definition at line 209 of file LESmodel.H.

References nu, and Foam::volScalarField.

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.

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.

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

Return a reference to the selected LES model.

const volScalarField& nu (   )  const [inline]
 

Access function to incompressible viscosity.

Definition at line 197 of file LESmodel.H.

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

Return the effective viscosity.

Reimplemented in laminar.

Definition at line 228 of file LESmodel.H.

References Foam::volVectorField.

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

Return the SGS viscosity.

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

const surfaceScalarField& phi (   )  const [inline]
 

Access function to flux field.

Definition at line 170 of file LESmodel.H.

virtual bool read (   )  [pure virtual]
 

Read turbulenceProperties dictionary.

Reimplemented from regIOobject.

Implemented in DeardorffDiffStress, dynMixedSmagorinsky, dynOneEqEddy, dynSmagorinsky, GenEddyVisc, GenSGSStress, laminar, locDynOneEqEddy, LRRDiffStress, mixedSmagorinsky, oneEqEddy, scaleSimilarity, Smagorinsky, Smagorinsky2, SpalartAllmaras, and spectEddyVisc.

transportModel& transport (   )  const [inline]
 

Access function to incompressible transport model.

Definition at line 176 of file LESmodel.H.

TypeName (  "LESmodel"   ) 
 

Runtime type information.

const volVectorField& U (   )  const [inline]
 

Access function to velocity field.

Definition at line 164 of file LESmodel.H.


Member Data Documentation

const fvMesh& mesh_ [protected]
 

Definition at line 82 of file LESmodel.H.

const Time& runTime_ [protected]
 

Definition at line 81 of file LESmodel.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org