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 73 of file LESmodel.H.


Public Member Functions

 TypeName ("LESmodel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, LESmodel, dictionary,(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel),(rho, U, phi, thermoPhysicalModel))
 LESmodel (const word &type, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)
 Construct from components.
virtual ~LESmodel ()
const volScalarField & rho () const
 Access function to the density field.
const volVectorField & U () const
 Access function to velocity field.
const surfaceScalarField & phi () const
 Access function to flux field.
const basicThermo & thermo () const
 Access function to the thermophysical properties model.
const dictionary & LESmodelProperties ()
 Access the dictionary which provides info. about choice of.
const volScalarField & delta () const
 Access function to filter width.
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.
tmp< volScalarField > mu () const
 Access function to laminar viscosity.
tmp< volScalarField > alpha () const
 Access function to laminar thermal conductivity.
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 > muSgs () const=0
 Return the effective viscosity.
virtual tmp< volScalarField > muEff () const
 Return the effective viscosity.
virtual tmp< volScalarField > alphaEff () const=0
 Return the SGS thermal conductivity.
virtual tmp< fvVectorMatrix > divRhoB (volVectorField &U) const =0
 Returns div(B).
void correct ()
 Correct Eddy-Viscosity and related properties.
virtual void correct (const tmp< volTensorField > &gradU)
 Correct Eddy-Viscosity and related properties.
virtual bool read ()=0
 Read turbulenceProperties dictionary.

Static Public Member Functions

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

Protected Attributes

const Time & runTime_
const fvMesh & mesh_

Constructor & Destructor Documentation

LESmodel ( const word &  type,
const volScalarField &  rho,
const volVectorField &  U,
const surfaceScalarField &  phi,
const basicThermo &  thermoPhysicalModel 
)

Construct from components.

virtual ~LESmodel (  )  [inline, virtual]

Definition at line 160 of file LESmodel.H.


Member Function Documentation

TypeName ( "LESmodel"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
LESmodel  ,
dictionary  ,
(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)  ,
(rho, U, phi, thermoPhysicalModel)   
)

static autoPtr<LESmodel> New ( const volScalarField &  rho,
const volVectorField &  U,
const surfaceScalarField &  phi,
const basicThermo &  thermoPhysicalModel 
) [static]

Return a reference to the selected LES model.

const volScalarField& rho (  )  const [inline]

Access function to the density field.

Definition at line 169 of file LESmodel.H.

const volVectorField& U (  )  const [inline]

Access function to velocity field.

Definition at line 175 of file LESmodel.H.

const surfaceScalarField& phi (  )  const [inline]

Access function to flux field.

Definition at line 181 of file LESmodel.H.

const basicThermo& thermo (  )  const [inline]

Access function to the thermophysical properties model.

Definition at line 187 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 196 of file LESmodel.H.

const volScalarField& delta (  )  const [inline]

Access function to filter width.

Definition at line 202 of file LESmodel.H.

Referenced by GenSGSStress::k().

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 208 of file LESmodel.H.

dimensionedScalar& k0 (  )  [inline]

Allow k0 to be changed.

Definition at line 214 of file LESmodel.H.

tmp<volScalarField> mu (  )  const [inline]

Access function to laminar viscosity.

Definition at line 220 of file LESmodel.H.

Referenced by LESmodel::alpha(), DeardorffDiffStress::~DeardorffDiffStress(), lowReOneEqEddy::~lowReOneEqEddy(), and oneEqEddy::~oneEqEddy().

Here is the caller graph for this function:

tmp<volScalarField> alpha (  )  const [inline]

Access function to laminar thermal conductivity.

Definition at line 226 of file LESmodel.H.

References LESmodel::mu(), and LESmodel::muSgs().

Referenced by GenSGSStress::muSgs().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return B.

Implemented in GenEddyVisc, GenSGSStress, and SpalartAllmaras.

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

Return the SGS turbulent kinetic energy.

Implemented in GenEddyVisc, GenSGSStress, and SpalartAllmaras.

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

Return the SGS turbulent dissipation.

Implemented in GenEddyVisc, GenSGSStress, and SpalartAllmaras.

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

Return the effective viscosity.

Implemented in GenEddyVisc, GenSGSStress, and SpalartAllmaras.

Referenced by LESmodel::alpha().

Here is the caller graph for this function:

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

Return the effective viscosity.

Definition at line 245 of file LESmodel.H.

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

Return the SGS thermal conductivity.

Implemented in GenEddyVisc, GenSGSStress, and SpalartAllmaras.

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

Returns div(B).

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

Implemented in GenEddyVisc, GenSGSStress, 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, dynOneEqEddy, GenEddyVisc, GenSGSStress, lowReOneEqEddy, oneEqEddy, Smagorinsky, and SpalartAllmaras.

virtual bool read (  )  [pure virtual]

Read turbulenceProperties dictionary.

Reimplemented from regIOobject.

Implemented in DeardorffDiffStress, dynOneEqEddy, GenEddyVisc, GenSGSStress, lowReOneEqEddy, oneEqEddy, Smagorinsky, and SpalartAllmaras.


Member Data Documentation

const Time& runTime_ [protected]

Definition at line 82 of file LESmodel.H.

const fvMesh& mesh_ [protected]

Definition at line 83 of file LESmodel.H.


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