Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LESModel< BasicTurbulenceModel > Class Template Reference

Templated abstract base class for LES SGS models. More...

Inheritance diagram for LESModel< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for LESModel< BasicTurbulenceModel >:
Collaboration graph
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 TypeName ("LES")
 
 declareRunTimeSelectionTable (autoPtr, LESModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
 
 LESModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~LESModel ()=default
 
virtual bool read ()
 
virtual const dictionarycoeffDict () const
 
const dimensionedScalarCe () const noexcept
 
const dimensionedScalarkMin () const
 
dimensionedScalarkMin ()
 
const volScalarFielddelta () const
 
virtual tmp< volScalarFieldnuEff () const
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 
virtual tmp< volScalarFieldepsilon () const
 
virtual tmp< volScalarFieldomega () const
 
virtual void correct ()
 

Static Public Member Functions

static autoPtr< LESModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 

Protected Member Functions

virtual void printCoeffs (const word &type)
 
 LESModel (const LESModel &)=delete
 
void operator= (const LESModel &)=delete
 

Protected Attributes

dictionary LESDict_
 
Switch turbulence_
 
Switch printCoeffs_
 
dictionary coeffDict_
 
dimensionedScalar Ce_
 
dimensionedScalar kMin_
 
dimensionedScalar epsilonMin_
 
dimensionedScalar omegaMin_
 
autoPtr< Foam::LESdeltadelta_
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::LESModel< BasicTurbulenceModel >

Templated abstract base class for LES SGS models.

Source files

Definition at line 56 of file LESModel.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 106 of file LESModel.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 107 of file LESModel.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 108 of file LESModel.H.

Constructor & Destructor Documentation

◆ LESModel() [1/2]

LESModel ( const LESModel< BasicTurbulenceModel > &  )
protecteddelete

◆ LESModel() [2/2]

LESModel ( const word type,
const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName 
)

Definition at line 40 of file LESModel.C.

◆ ~LESModel()

virtual ~LESModel ( )
virtualdefault

Member Function Documentation

◆ printCoeffs()

void printCoeffs ( const word type)
protectedvirtual

Definition at line 27 of file LESModel.C.

References Foam::endl(), and Foam::Info.

Here is the call graph for this function:

◆ operator=()

void operator= ( const LESModel< BasicTurbulenceModel > &  )
protecteddelete

◆ TypeName()

TypeName ( "LES"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
LESModel< BasicTurbulenceModel >  ,
dictionary  ,
(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)  ,
(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)   
)

◆ New()

Foam::autoPtr< Foam::LESModel< BasicTurbulenceModel > > New ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName 
)
static

Definition at line 126 of file LESModel.C.

References dict, dictionary::subDict(), and U.

Here is the call graph for this function:

◆ read()

bool read
virtual

◆ coeffDict()

virtual const dictionary& coeffDict ( ) const
inlinevirtual

Definition at line 179 of file LESModel.H.

References LESModel< BasicTurbulenceModel >::coeffDict_.

◆ Ce()

const dimensionedScalar& Ce ( ) const
inlinenoexcept

Definition at line 185 of file LESModel.H.

References LESModel< BasicTurbulenceModel >::Ce_.

◆ kMin() [1/2]

const dimensionedScalar& kMin ( ) const
inline

Definition at line 191 of file LESModel.H.

References LESModel< BasicTurbulenceModel >::kMin_.

◆ kMin() [2/2]

dimensionedScalar& kMin ( )
inline

Definition at line 197 of file LESModel.H.

References LESModel< BasicTurbulenceModel >::kMin_.

◆ delta()

const volScalarField& delta ( ) const
inline

Definition at line 203 of file LESModel.H.

References LESModel< BasicTurbulenceModel >::delta_.

Referenced by dynamicLagrangian< BasicTurbulenceModel >::k().

Here is the caller graph for this function:

◆ nuEff() [1/2]

virtual tmp<volScalarField> nuEff ( ) const
inlinevirtual

Definition at line 210 of file LESModel.H.

References IOobject::groupName().

Here is the call graph for this function:

◆ nuEff() [2/2]

virtual tmp<scalarField> nuEff ( const label  patchi) const
inlinevirtual

Definition at line 223 of file LESModel.H.

References nu, and nut.

◆ epsilon()

Foam::tmp< Foam::volScalarField > epsilon
virtual

Definition at line 206 of file LESModel.C.

References delta, k, Foam::New(), and Foam::pow().

Here is the call graph for this function:

◆ omega()

Foam::tmp< Foam::volScalarField > omega
virtual

Definition at line 223 of file LESModel.C.

References Foam::dimLength, Foam::dimTime, Foam::New(), and Foam::sqr().

Here is the call graph for this function:

◆ correct()

void correct
virtual

Member Data Documentation

◆ LESDict_

dictionary LESDict_
protected

Definition at line 65 of file LESModel.H.

◆ turbulence_

Switch turbulence_
protected

Definition at line 68 of file LESModel.H.

◆ printCoeffs_

Switch printCoeffs_
protected

Definition at line 71 of file LESModel.H.

◆ coeffDict_

dictionary coeffDict_
protected

Definition at line 74 of file LESModel.H.

Referenced by LESModel< BasicTurbulenceModel >::coeffDict().

◆ Ce_

dimensionedScalar Ce_
protected

◆ kMin_

dimensionedScalar kMin_
protected

Definition at line 80 of file LESModel.H.

Referenced by LESModel< BasicTurbulenceModel >::kMin().

◆ epsilonMin_

dimensionedScalar epsilonMin_
protected

Definition at line 83 of file LESModel.H.

◆ omegaMin_

dimensionedScalar omegaMin_
protected

Definition at line 86 of file LESModel.H.

◆ delta_

autoPtr<Foam::LESdelta> delta_
protected

Definition at line 89 of file LESModel.H.

Referenced by LESModel< BasicTurbulenceModel >::delta().


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