linearViscousStress< BasicTurbulenceModel > Class Template Referenceabstract

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

Inheritance diagram for linearViscousStress< BasicTurbulenceModel >:
[legend]
Collaboration diagram for linearViscousStress< BasicTurbulenceModel >:
[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 ()=default
 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 53 of file linearViscousStress.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 60 of file linearViscousStress.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 61 of file linearViscousStress.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 62 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 36 of file linearViscousStress.C.

◆ ~linearViscousStress()

virtual ~linearViscousStress ( )
virtualdefault

Destructor.

Member Function Documentation

◆ read()

bool read ( )
pure virtual

Re-read model coefficients if they have changed.

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

Definition at line 64 of file linearViscousStress.C.

◆ devRhoReff()

◆ divDevRhoReff() [1/2]

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

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

◆ correct()

void correct ( )
pure virtual

Solve the turbulence equations and correct the turbulence viscosity.

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

Definition at line 125 of file linearViscousStress.C.


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