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
 
typedef BasicMomentumTransportModel::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)
 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.

◆ transportModel

typedef BasicMomentumTransportModel::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 
)

Construct from components.

Definition at line 34 of file linearViscousStress.C.

◆ ~linearViscousStress()

virtual ~linearViscousStress ( )
inlinevirtual

Destructor.

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

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: