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

Eddy viscosity turbulence model with non-linear correction base class. More...

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

Public Types

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

Public Member Functions

 nonlinearEddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 Construct from components. More...
 
virtual ~nonlinearEddyViscosity ()
 Destructor. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 
- Public Member Functions inherited from eddyViscosity< 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)
 Construct from components. More...
 
virtual ~eddyViscosity ()
 Destructor. More...
 
virtual bool read ()=0
 Re-read model coefficients if they have changed. More...
 
volScalarFieldevNut ()
 Return non-const access to the turbulence viscosity. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volScalarFieldk () const =0
 Return the turbulence kinetic energy. More...
 
virtual void correct ()=0
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
- Public Member Functions inherited from linearViscousStress< 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)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 

Protected Member Functions

virtual void correctNonlinearStress (const volTensorField &gradU)=0
 
- Protected Member Functions inherited from eddyViscosity< BasicTurbulenceModel >
virtual void correctNut ()=0
 

Protected Attributes

volSymmTensorField nonlinearStress_
 
- Protected Attributes inherited from eddyViscosity< BasicTurbulenceModel >
volScalarField nut_
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::nonlinearEddyViscosity< BasicTurbulenceModel >

Eddy viscosity turbulence model with non-linear correction base class.

Source files

Definition at line 52 of file nonlinearEddyViscosity.H.

Member Typedef Documentation

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 73 of file nonlinearEddyViscosity.H.

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 74 of file nonlinearEddyViscosity.H.

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 75 of file nonlinearEddyViscosity.H.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 34 of file nonlinearEddyViscosity.C.

virtual ~nonlinearEddyViscosity ( )
inlinevirtual

Destructor.

Definition at line 95 of file nonlinearEddyViscosity.H.

Member Function Documentation

virtual void correctNonlinearStress ( const volTensorField gradU)
protectedpure virtual

Implemented in LienCubicKE, and ShihQuadraticKE.

Foam::tmp< Foam::volSymmTensorField > R ( ) const
virtual

Return the Reynolds stress tensor.

Reimplemented from eddyViscosity< BasicTurbulenceModel >.

Definition at line 80 of file nonlinearEddyViscosity.C.

Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().

Here is the caller graph for this function:

Foam::tmp< Foam::volSymmTensorField > devRhoReff ( ) const
virtual

Return the effective stress tensor.

Reimplemented from linearViscousStress< BasicTurbulenceModel >.

Definition at line 93 of file nonlinearEddyViscosity.C.

References nonlinearEddyViscosity< BasicTurbulenceModel >::divDevRhoReff().

Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::tmp< Foam::fvVectorMatrix > divDevRhoReff ( volVectorField U) const
virtual

Return the source term for the momentum equation.

Reimplemented from linearViscousStress< BasicTurbulenceModel >.

Definition at line 107 of file nonlinearEddyViscosity.C.

References Foam::fvc::div().

Referenced by nonlinearEddyViscosity< BasicTurbulenceModel >::devRhoReff(), and nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::tmp< Foam::fvVectorMatrix > divDevRhoReff ( const volScalarField rho,
volVectorField U 
) const
virtual

Return the source term for the momentum equation.

Reimplemented from linearViscousStress< BasicTurbulenceModel >.

Definition at line 122 of file nonlinearEddyViscosity.C.

References Foam::fvc::div().

Here is the call graph for this function:

Member Data Documentation

volSymmTensorField nonlinearStress_
protected

Definition at line 63 of file nonlinearEddyViscosity.H.


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