All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
linearViscousStress< BasicTurbulenceModel > Class Template Referenceabstract

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

Inheritance diagram for linearViscousStress< BasicTurbulenceModel >:
Collaboration diagram for linearViscousStress< BasicTurbulenceModel >:

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 47 of file linearViscousStress.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 54 of file linearViscousStress.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 55 of file linearViscousStress.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 56 of file linearViscousStress.H.

Constructor & Destructor Documentation

◆ linearViscousStress()

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.

◆ ~linearViscousStress()

virtual ~linearViscousStress ( )
inlinevirtual

Destructor.

Definition at line 76 of file linearViscousStress.H.

Member Function Documentation

◆ read()

bool read ( )
pure virtual

Re-read model coefficients if they have changed.

Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kOmegaSSTLM< BasicTurbulenceModel >, kkLOmega, mixtureKEpsilon< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, kOmegaSSTSato< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, SpalartAllmarasDES< BasicTurbulenceModel >, SpalartAllmaras< BasicTurbulenceModel >, kEpsilonLopesdaCosta< BasicTurbulenceModel >, kOmegaSSTSAS< BasicTurbulenceModel >, dynamicKEqn< BasicTurbulenceModel >, LienCubicKE, LaheyKEpsilon< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, NicenoKEqn< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, Smagorinsky< BasicTurbulenceModel >, SpalartAllmarasIDDES< BasicTurbulenceModel >, LienLeschziner, SmagorinskyZhang< BasicTurbulenceModel >, continuousGasKEpsilon< BasicTurbulenceModel >, phasePressureModel, qZeta, kOmega< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, phasePressureModel, buoyantKEpsilon< BasicTurbulenceModel >, continuousGasKEqn< BasicTurbulenceModel >, kEqn< BasicTurbulenceModel >, ShihQuadraticKE, LamBremhorstKE, PDRkEpsilon, dynamicLagrangian< BasicTurbulenceModel >, generalizedNewtonian< BasicTurbulenceModel >, Stokes< BasicTurbulenceModel >, eddyViscosity< BasicTurbulenceModel >, eddyViscosity< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, eddyViscosity< incompressible::RASModel >, eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, eddyViscosity< LESModel< BasicTurbulenceModel > >, eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, eddyViscosity< RASModel< BasicTurbulenceModel > >, and LESeddyViscosity< BasicTurbulenceModel >.

Definition at line 62 of file linearViscousStress.C.

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

Here is the caller graph for this function:

◆ devRhoReff()

◆ divDevRhoReff() [1/2]

◆ divDevRhoReff() [2/2]

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 99 of file linearViscousStress.C.

◆ correct()

void correct ( )
pure virtual

Solve the turbulence equations and correct the turbulence viscosity.

Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kkLOmega, kOmegaSSTLM< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, kEpsilonLopesdaCosta< BasicTurbulenceModel >, qZeta, kOmegaSSTSato< BasicTurbulenceModel >, SpalartAllmarasDES< BasicTurbulenceModel >, LienCubicKE, SpalartAllmaras< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, dynamicKEqn< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, kOmega< BasicTurbulenceModel >, LienLeschziner, phasePressureModel, phasePressureModel, ShihQuadraticKE, LamBremhorstKE, LaheyKEpsilon< BasicTurbulenceModel >, Smagorinsky< BasicTurbulenceModel >, kEqn< BasicTurbulenceModel >, dynamicLagrangian< BasicTurbulenceModel >, generalizedNewtonian< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, Stokes< BasicTurbulenceModel >, eddyViscosity< BasicTurbulenceModel >, eddyViscosity< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, eddyViscosity< incompressible::RASModel >, eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, eddyViscosity< LESModel< BasicTurbulenceModel > >, eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, eddyViscosity< RASModel< BasicTurbulenceModel > >, and PDRkEpsilon.

Definition at line 113 of file linearViscousStress.C.

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

Here is the caller graph for this function:

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