Linear viscous stress turbulence model base class. More...
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< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (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... | |
Linear viscous stress turbulence model base class.
Definition at line 47 of file linearViscousStress.H.
typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 54 of file linearViscousStress.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 55 of file linearViscousStress.H.
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.
|
inlinevirtual |
Destructor.
Definition at line 74 of file linearViscousStress.H.
|
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.
|
virtual |
Return the effective stress tensor.
Reimplemented in nonlinearEddyViscosity< BasicMomentumTransportModel >, nonlinearEddyViscosity< incompressible::RASModel >, phasePressureModel, and kineticTheoryModel.
Definition at line 69 of file linearViscousStress.C.
References Foam::dev(), Foam::fvc::grad(), GeometricField< Type, PatchField, GeoMesh >::New(), nuEff, and Foam::twoSymm().
|
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.
|
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.
|
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().