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

The Wall-adapting local eddy-viscosity (WALE) SGS model. More...

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

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from LESeddyViscosity< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from eddyViscosity< LESModel< BasicTurbulenceModel > >
typedef LESModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef LESModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef LESModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from linearViscousStress< LESModel< BasicTurbulenceModel > >
typedef LESModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef LESModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef LESModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from LESModel< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 TypeName ("WALE")
 
 WALE (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 
virtual ~WALE ()=default
 
virtual bool read ()
 
virtual tmp< volScalarFieldk () const
 
virtual void correct ()
 
- Public Member Functions inherited from LESeddyViscosity< BasicTurbulenceModel >
 LESeddyViscosity (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 
virtual ~LESeddyViscosity ()=default
 
- Public Member Functions inherited from eddyViscosity< LESModel< BasicTurbulenceModel > >
 eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~eddyViscosity ()=default
 
virtual tmp< volScalarFieldnut () const
 
virtual tmp< scalarFieldnut (const label patchi) const
 
virtual tmp< volScalarFieldk () const=0
 
virtual tmp< volSymmTensorFieldR () const
 
virtual void validate ()
 
- Public Member Functions inherited from linearViscousStress< LESModel< BasicTurbulenceModel > >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~linearViscousStress ()=default
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 
- Public Member Functions inherited from LESModel< BasicTurbulenceModel >
 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 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
 

Protected Member Functions

tmp< volSymmTensorFieldSd (const volTensorField &gradU) const
 
tmp< volScalarFieldk (const volTensorField &gradU) const
 
virtual void correctNut ()
 
- Protected Member Functions inherited from LESModel< BasicTurbulenceModel >
virtual void printCoeffs (const word &type)
 
 LESModel (const LESModel &)=delete
 
void operator= (const LESModel &)=delete
 

Protected Attributes

dimensionedScalar Ck_
 
dimensionedScalar Cw_
 
- Protected Attributes inherited from eddyViscosity< LESModel< BasicTurbulenceModel > >
volScalarField nut_
 
- Protected Attributes inherited from LESModel< BasicTurbulenceModel >
dictionary LESDict_
 
Switch turbulence_
 
Switch printCoeffs_
 
dictionary coeffDict_
 
dimensionedScalar Ce_
 
dimensionedScalar kMin_
 
dimensionedScalar epsilonMin_
 
dimensionedScalar omegaMin_
 
autoPtr< Foam::LESdeltadelta_
 

Additional Inherited Members

- Static Public Member Functions inherited from LESModel< BasicTurbulenceModel >
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)
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::LESModels::WALE< BasicTurbulenceModel >

The Wall-adapting local eddy-viscosity (WALE) SGS model.

Reference:

    Nicoud, F., & Ducros, F. (1999).
    Subgrid-scale stress modelling based on the square of the velocity
    gradient tensor.
    Flow, Turbulence and Combustion, 62(3), 183-200.

The default model coefficients are

    WALECoeffs
    {
        Ck                  0.094;
        Ce                  1.048;e
        Cw                  0.325;
    }
See also
Foam::LESModels::Smagorinsky
Source files

Definition at line 75 of file WALE.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 112 of file WALE.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 113 of file WALE.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 114 of file WALE.H.

Constructor & Destructor Documentation

◆ WALE()

WALE ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName,
const word type = typeName 
)

Definition at line 99 of file WALE.C.

References Foam::type().

Here is the call graph for this function:

◆ ~WALE()

virtual ~WALE ( )
virtualdefault

Member Function Documentation

◆ Sd()

tmp< volSymmTensorField > Sd ( const volTensorField gradU) const
protected

Definition at line 36 of file WALE.C.

References Foam::dev(), and Foam::symm().

Here is the call graph for this function:

◆ k() [1/2]

tmp< volScalarField > k ( const volTensorField gradU) const
protected

Definition at line 46 of file WALE.C.

References delta, IOobject::groupName(), Foam::magSqr(), Foam::pow(), Foam::pow3(), Foam::sqr(), and Foam::symm().

Here is the call graph for this function:

◆ correctNut()

void correctNut
protectedvirtual

Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.

Definition at line 85 of file WALE.C.

References optionList::correct(), delta, Foam::fvc::grad(), k, options::New(), and Foam::sqrt().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "WALE< BasicTurbulenceModel >"  )

◆ read()

bool read
virtual

Reimplemented from LESeddyViscosity< BasicTurbulenceModel >.

Definition at line 152 of file WALE.C.

◆ k() [2/2]

virtual tmp<volScalarField> k ( ) const
inlinevirtual

Definition at line 147 of file WALE.H.

References Foam::fvc::grad().

Here is the call graph for this function:

◆ correct()

void correct
virtual

Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.

Definition at line 167 of file WALE.C.

References eddyViscosity< LESModel< BasicTurbulenceModel > >::correct().

Here is the call graph for this function:

Member Data Documentation

◆ Ck_

dimensionedScalar Ck_
protected

Definition at line 92 of file WALE.H.

◆ Cw_

dimensionedScalar Cw_
protected

Definition at line 93 of file WALE.H.


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