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

Definition at line 61 of file linearViscousStress.C.

◆ devTau()

◆ divDevTau() [1/2]

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

Return the source term for the momentum equation.

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

Definition at line 82 of file linearViscousStress.C.

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

References Foam::dev2(), Foam::fvc::grad(), Foam::fvm::laplacian(), nuEff, rho, Foam::T(), and U.

Here is the call graph for this function:

◆ correct()

void correct
pure virtual

Solve the turbulence equations and correct the turbulence viscosity.

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

Definition at line 125 of file linearViscousStress.C.

References Foam::MULES::correct().

Here is the call graph for this function:

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