linearViscousStress< BasicMomentumTransportModel > Class Template Referenceabstract

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

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

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual bool read ()=0
 Re-read model coefficients if they have changed. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (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 BasicMomentumTransportModel>
class Foam::linearViscousStress< BasicMomentumTransportModel >

Linear viscous stress turbulence model base class.

Source files

Definition at line 47 of file linearViscousStress.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 54 of file linearViscousStress.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 55 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 viscosity viscosity 
)

Construct from components.

Definition at line 34 of file linearViscousStress.C.

◆ ~linearViscousStress()

virtual ~linearViscousStress ( )
inlinevirtual

Destructor.

Definition at line 74 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< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, kOmegaSSTLM< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, v2f< BasicMomentumTransportModel >, lambdaThixotropic< BasicMomentumTransportModel >, kOmegaSSTSato< BasicMomentumTransportModel >, SpalartAllmarasDES< BasicMomentumTransportModel >, SpalartAllmaras< BasicMomentumTransportModel >, kineticTheoryModel, kEpsilonLopesdaCosta< BasicMomentumTransportModel >, kOmegaSSTSAS< BasicMomentumTransportModel >, dynamicKEqn< BasicMomentumTransportModel >, realizableKE< BasicMomentumTransportModel >, SpalartAllmarasIDDES< BasicMomentumTransportModel >, RNGkEpsilon< BasicMomentumTransportModel >, LienCubicKE, kOmega2006< BasicMomentumTransportModel >, LaunderSharmaKE< BasicMomentumTransportModel >, kEpsilon< BasicMomentumTransportModel >, kEpsilon< compressible::momentumTransportModel >, LaheyKEpsilon< BasicMomentumTransportModel >, LienLeschziner, NicenoKEqn< BasicMomentumTransportModel >, continuousGasKEpsilon< BasicMomentumTransportModel >, Smagorinsky< BasicMomentumTransportModel >, qZeta, kOmega< BasicMomentumTransportModel >, SmagorinskyZhang< BasicMomentumTransportModel >, WALE< BasicMomentumTransportModel >, buoyantKEpsilon< BasicMomentumTransportModel >, continuousGasKEqn< BasicMomentumTransportModel >, kEqn< BasicMomentumTransportModel >, ShihQuadraticKE, LamBremhorstKE, phasePressureModel, dynamicLagrangian< BasicMomentumTransportModel >, PDRkEpsilon, generalisedNewtonian< BasicMomentumTransportModel >, Stokes< BasicMomentumTransportModel >, eddyViscosity< BasicMomentumTransportModel >, eddyViscosity< incompressible::RASModel >, eddyViscosity< RASModel< compressible::momentumTransportModel > >, eddyViscosity< RASModel< BasicMomentumTransportModel > >, eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >, eddyViscosity< LESModel< BasicMomentumTransportModel > >, and LESeddyViscosity< BasicMomentumTransportModel >.

Definition at line 60 of file linearViscousStress.C.

Referenced by linearViscousStress< LESModel< BasicMomentumTransportModel > >::~linearViscousStress().

Here is the caller graph for this function:

◆ devTau()

◆ divDevTau() [1/2]

◆ divDevTau() [2/2]

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

Return the source term for the momentum equation.

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

Definition at line 97 of file linearViscousStress.C.

◆ correct()

void correct ( )
pure virtual

Solve the turbulence equations and correct the turbulence viscosity.

Implemented in kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, kOmegaSSTLM< BasicMomentumTransportModel >, v2f< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, kEpsilonLopesdaCosta< BasicMomentumTransportModel >, kineticTheoryModel, qZeta, lambdaThixotropic< BasicMomentumTransportModel >, realizableKE< BasicMomentumTransportModel >, RNGkEpsilon< BasicMomentumTransportModel >, LienCubicKE, SpalartAllmarasDES< BasicMomentumTransportModel >, SpalartAllmaras< BasicMomentumTransportModel >, kOmega2006< BasicMomentumTransportModel >, LaunderSharmaKE< BasicMomentumTransportModel >, kEpsilon< BasicMomentumTransportModel >, kEpsilon< compressible::momentumTransportModel >, kOmegaSSTSato< BasicMomentumTransportModel >, LienLeschziner, dynamicKEqn< BasicMomentumTransportModel >, kOmega< BasicMomentumTransportModel >, ShihQuadraticKE, LamBremhorstKE, phasePressureModel, kEqn< BasicMomentumTransportModel >, dynamicLagrangian< BasicMomentumTransportModel >, LaheyKEpsilon< BasicMomentumTransportModel >, Smagorinsky< BasicMomentumTransportModel >, WALE< BasicMomentumTransportModel >, eddyViscosity< BasicMomentumTransportModel >, generalisedNewtonian< BasicMomentumTransportModel >, eddyViscosity< incompressible::RASModel >, eddyViscosity< RASModel< compressible::momentumTransportModel > >, eddyViscosity< RASModel< BasicMomentumTransportModel > >, eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >, eddyViscosity< LESModel< BasicMomentumTransportModel > >, PDRkEpsilon, and Stokes< BasicMomentumTransportModel >.

Definition at line 111 of file linearViscousStress.C.

Referenced by linearViscousStress< LESModel< BasicMomentumTransportModel > >::~linearViscousStress().

Here is the caller graph for this function:

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