Eddy viscosity turbulence model base class. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Types inherited from linearViscousStress< BasicTurbulenceModel > | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
eddyViscosity (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 | ~eddyViscosity () |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const =0 |
Return the turbulence kinetic energy. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Public Member Functions inherited from linearViscousStress< BasicTurbulenceModel > | |
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 () |
Destructor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
Protected Member Functions | |
virtual void | correctNut ()=0 |
Protected Attributes | |
volScalarField | nut_ |
Eddy viscosity turbulence model base class.
Definition at line 49 of file eddyViscosity.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 70 of file eddyViscosity.H.
typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 71 of file eddyViscosity.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 72 of file eddyViscosity.H.
eddyViscosity | ( | 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 34 of file eddyViscosity.C.
|
inlinevirtual |
Destructor.
Definition at line 92 of file eddyViscosity.H.
|
protectedpure virtual |
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kkLOmega, v2f< BasicTurbulenceModel >, SpalartAllmarasDES< BasicTurbulenceModel >, SpalartAllmaras< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, kEpsilonLopesdaCosta< BasicTurbulenceModel >, LienCubicKE, dynamicKEqn< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, LienLeschziner, LaheyKEpsilon< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, NicenoKEqn< BasicTurbulenceModel >, qZeta, Smagorinsky< BasicTurbulenceModel >, SmagorinskyZhang< BasicTurbulenceModel >, kOmega< BasicTurbulenceModel >, ShihQuadraticKE, continuousGasKEpsilon< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, LamBremhorstKE, kEqn< BasicTurbulenceModel >, and dynamicLagrangian< BasicTurbulenceModel >.
|
pure virtual |
Re-read model coefficients if they have changed.
Implements linearViscousStress< BasicTurbulenceModel >.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kOmegaSSTLM< BasicTurbulenceModel >, kkLOmega, mixtureKEpsilon< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, kOmegaSSTSato< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, SpalartAllmarasDES< BasicTurbulenceModel >, SpalartAllmaras< BasicTurbulenceModel >, kEpsilonLopesdaCosta< BasicTurbulenceModel >, kOmegaSSTSAS< BasicTurbulenceModel >, dynamicKEqn< BasicTurbulenceModel >, LienCubicKE, LaheyKEpsilon< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, NicenoKEqn< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, Smagorinsky< BasicTurbulenceModel >, SpalartAllmarasIDDES< BasicTurbulenceModel >, LienLeschziner, SmagorinskyZhang< BasicTurbulenceModel >, continuousGasKEpsilon< BasicTurbulenceModel >, phasePressureModel, qZeta, kOmega< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, phasePressureModel, buoyantKEpsilon< BasicTurbulenceModel >, continuousGasKEqn< BasicTurbulenceModel >, kEqn< BasicTurbulenceModel >, ShihQuadraticKE, LamBremhorstKE, PDRkEpsilon, dynamicLagrangian< BasicTurbulenceModel >, and LESeddyViscosity< BasicTurbulenceModel >.
Definition at line 75 of file eddyViscosity.C.
Referenced by eddyViscosity< RASModel< BasicTurbulenceModel > >::~eddyViscosity().
|
inlinevirtual |
Return the turbulence viscosity.
Definition at line 102 of file eddyViscosity.H.
|
inlinevirtual |
Return the turbulence viscosity on patch.
Definition at line 108 of file eddyViscosity.H.
|
pure virtual |
Return the turbulence kinetic energy.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kkLOmega, v2f< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, kEpsilonLopesdaCosta< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, SpalartAllmarasDES< BasicTurbulenceModel >, qZeta, SpalartAllmaras< BasicTurbulenceModel >, LienCubicKE, realizableKE< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, LienLeschziner, dynamicKEqn< BasicTurbulenceModel >, kOmega< BasicTurbulenceModel >, phasePressureModel, ShihQuadraticKE, LamBremhorstKE, phasePressureModel, Smagorinsky< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, dynamicLagrangian< BasicTurbulenceModel >, and kEqn< BasicTurbulenceModel >.
Referenced by eddyViscosity< RASModel< BasicTurbulenceModel > >::nut().
|
virtual |
Return the Reynolds stress tensor.
Reimplemented in kineticTheoryModel, kineticTheoryModel, phasePressureModel, phasePressureModel, continuousGasKEpsilon< BasicTurbulenceModel >, nonlinearEddyViscosity< BasicTurbulenceModel >, and nonlinearEddyViscosity< incompressible::RASModel >.
Definition at line 83 of file eddyViscosity.C.
Referenced by eddyViscosity< RASModel< BasicTurbulenceModel > >::nut().
|
virtual |
Validate the turbulence fields after construction.
Update turbulence viscosity and other derived fields as requires
Reimplemented in kkLOmega.
Definition at line 114 of file eddyViscosity.C.
Referenced by eddyViscosity< RASModel< BasicTurbulenceModel > >::nut().
|
pure virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements linearViscousStress< BasicTurbulenceModel >.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kkLOmega, kOmegaSSTLM< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, kEpsilonLopesdaCosta< BasicTurbulenceModel >, qZeta, kOmegaSSTSato< BasicTurbulenceModel >, SpalartAllmarasDES< BasicTurbulenceModel >, LienCubicKE, SpalartAllmaras< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, dynamicKEqn< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, kOmega< BasicTurbulenceModel >, LienLeschziner, phasePressureModel, phasePressureModel, ShihQuadraticKE, LamBremhorstKE, LaheyKEpsilon< BasicTurbulenceModel >, Smagorinsky< BasicTurbulenceModel >, kEqn< BasicTurbulenceModel >, dynamicLagrangian< BasicTurbulenceModel >, WALE< BasicTurbulenceModel >, and PDRkEpsilon.
Definition at line 121 of file eddyViscosity.C.
Referenced by LamBremhorstKE::correct(), ShihQuadraticKE::correct(), LienLeschziner::correct(), LienCubicKE::correct(), qZeta::correct(), kkLOmega::correct(), and eddyViscosity< RASModel< BasicTurbulenceModel > >::nut().
|
protected |
Definition at line 60 of file eddyViscosity.H.
Referenced by eddyViscosity< RASModel< BasicTurbulenceModel > >::nut().