Public Types | Public Member Functions | List of all members
linearViscousStress< BasicTurbulenceModel > Class Template Referenceabstract

Linear viscous stress turbulence model base class. More...

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

Public Types

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

Public Member Functions

 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...
 
virtual bool read ()=0
 Re-read model coefficients if they have changed. 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...
 
virtual void correct ()=0
 Solve the turbulence equations and correct the turbulence viscosity. More...
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::linearViscousStress< BasicTurbulenceModel >

Linear viscous stress turbulence model base class.

Source files

Definition at line 50 of file linearViscousStress.H.

Member Typedef Documentation

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 57 of file linearViscousStress.H.

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 58 of file linearViscousStress.H.

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 59 of file linearViscousStress.H.

Constructor & Destructor Documentation

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.

Definition at line 34 of file linearViscousStress.C.

virtual ~linearViscousStress ( )
inlinevirtual

Destructor.

Definition at line 79 of file linearViscousStress.H.

Member Function Documentation

bool read ( )
pure virtual

Re-read model coefficients if they have changed.

Implemented in kOmegaSST< BasicTurbulenceModel >, kkLOmega, mixtureKEpsilon< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, kOmegaSSTSato< BasicTurbulenceModel >, SpalartAllmarasDES< BasicTurbulenceModel >, SpalartAllmaras< BasicTurbulenceModel >, kOmegaSSTSAS< BasicTurbulenceModel >, dynamicKEqn< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, LienCubicKE, LaheyKEpsilon< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, NicenoKEqn< BasicTurbulenceModel >, Smagorinsky< BasicTurbulenceModel >, SpalartAllmarasIDDES< BasicTurbulenceModel >, SmagorinskyZhang< BasicTurbulenceModel >, continuousGasKEpsilon< BasicTurbulenceModel >, LienLeschziner, WALE< BasicTurbulenceModel >, buoyantKEpsilon< BasicTurbulenceModel >, continuousGasKEqn< BasicTurbulenceModel >, qZeta, kEqn< BasicTurbulenceModel >, kOmega< BasicTurbulenceModel >, LamBremhorstKE, ShihQuadraticKE, dynamicLagrangian< BasicTurbulenceModel >, laminar< BasicTurbulenceModel >, LESeddyViscosity< BasicTurbulenceModel >, eddyViscosity< BasicTurbulenceModel >, eddyViscosity< incompressible::RASModel >, eddyViscosity< LESModel< BasicTurbulenceModel > >, and eddyViscosity< RASModel< BasicTurbulenceModel > >.

Definition at line 62 of file linearViscousStress.C.

References Foam::read().

Referenced by linearViscousStress< RASModel< BasicTurbulenceModel > >::~linearViscousStress().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return the effective stress tensor.

Reimplemented in nonlinearEddyViscosity< BasicTurbulenceModel >, and nonlinearEddyViscosity< incompressible::RASModel >.

Definition at line 70 of file linearViscousStress.C.

References Foam::dev(), linearViscousStress< BasicTurbulenceModel >::divDevRhoReff(), Foam::fvc::grad(), and Foam::twoSymm().

Referenced by linearViscousStress< RASModel< BasicTurbulenceModel > >::~linearViscousStress().

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 in nonlinearEddyViscosity< BasicTurbulenceModel >, and nonlinearEddyViscosity< incompressible::RASModel >.

Definition at line 94 of file linearViscousStress.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvc::laplacian(), and T.

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

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 in nonlinearEddyViscosity< BasicTurbulenceModel >, and nonlinearEddyViscosity< incompressible::RASModel >.

Definition at line 109 of file linearViscousStress.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvc::laplacian(), and T.

Here is the call graph for this function:

void correct ( )
pure virtual

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