Eddy viscosity turbulence model base class. More...
Public Types | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Types inherited from linearViscousStress< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::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) | |
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 > | sigma () const |
Return the Reynolds stress tensor [m^2/s^2]. 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< BasicMomentumTransportModel > | |
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 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... | |
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 BasicMomentumTransportModel::alphaField alphaField |
Definition at line 70 of file eddyViscosity.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 71 of file eddyViscosity.H.
typedef BasicMomentumTransportModel::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 | ||
) |
Construct from components.
Definition at line 34 of file eddyViscosity.C.
|
inlinevirtual |
Destructor.
Definition at line 91 of file eddyViscosity.H.
|
protectedpure virtual |
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, v2f< BasicMomentumTransportModel >, SpalartAllmarasDES< BasicMomentumTransportModel >, SpalartAllmaras< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, kEpsilonLopesdaCosta< BasicMomentumTransportModel >, LienCubicKE, dynamicKEqn< BasicMomentumTransportModel >, realizableKE< BasicMomentumTransportModel >, kOmega2006< BasicMomentumTransportModel >, RNGkEpsilon< BasicMomentumTransportModel >, LienLeschziner, LaunderSharmaKE< BasicMomentumTransportModel >, LaheyKEpsilon< BasicMomentumTransportModel >, kEpsilon< BasicMomentumTransportModel >, kEpsilon< compressible::momentumTransportModel >, NicenoKEqn< BasicMomentumTransportModel >, qZeta, Smagorinsky< BasicMomentumTransportModel >, SmagorinskyZhang< BasicMomentumTransportModel >, kOmega< BasicMomentumTransportModel >, ShihQuadraticKE, continuousGasKEpsilon< BasicMomentumTransportModel >, WALE< BasicMomentumTransportModel >, LamBremhorstKE, kEqn< BasicMomentumTransportModel >, and dynamicLagrangian< BasicMomentumTransportModel >.
|
pure virtual |
Re-read model coefficients if they have changed.
Implements linearViscousStress< BasicMomentumTransportModel >.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, kOmegaSSTLM< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, v2f< 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 >, PDRkEpsilon, and LESeddyViscosity< BasicMomentumTransportModel >.
Definition at line 73 of file eddyViscosity.C.
Referenced by eddyViscosity< LESModel< BasicMomentumTransportModel > >::~eddyViscosity().
|
inlinevirtual |
Return the turbulence viscosity.
Definition at line 101 of file eddyViscosity.H.
|
inlinevirtual |
Return the turbulence viscosity on patch.
Definition at line 107 of file eddyViscosity.H.
|
pure virtual |
Return the turbulence kinetic energy.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, v2f< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, kineticTheoryModel, kEpsilonLopesdaCosta< BasicMomentumTransportModel >, SpalartAllmarasDES< BasicMomentumTransportModel >, SpalartAllmaras< BasicMomentumTransportModel >, qZeta, realizableKE< BasicMomentumTransportModel >, RNGkEpsilon< BasicMomentumTransportModel >, LienCubicKE, kOmega2006< BasicMomentumTransportModel >, LaunderSharmaKE< BasicMomentumTransportModel >, kEpsilon< BasicMomentumTransportModel >, kEpsilon< compressible::momentumTransportModel >, LienLeschziner, dynamicKEqn< BasicMomentumTransportModel >, kOmega< BasicMomentumTransportModel >, ShihQuadraticKE, LamBremhorstKE, Smagorinsky< BasicMomentumTransportModel >, phasePressureModel, WALE< BasicMomentumTransportModel >, dynamicLagrangian< BasicMomentumTransportModel >, and kEqn< BasicMomentumTransportModel >.
Referenced by eddyViscosity< LESModel< BasicMomentumTransportModel > >::nut().
|
virtual |
Return the Reynolds stress tensor [m^2/s^2].
Reimplemented in kineticTheoryModel, continuousGasKEpsilon< BasicMomentumTransportModel >, phasePressureModel, nonlinearEddyViscosity< BasicMomentumTransportModel >, and nonlinearEddyViscosity< incompressible::RASModel >.
Definition at line 81 of file eddyViscosity.C.
Referenced by eddyViscosity< LESModel< BasicMomentumTransportModel > >::nut().
|
virtual |
Validate the turbulence fields after construction.
Update turbulence viscosity and other derived fields as requires
Reimplemented in kkLOmega.
Definition at line 112 of file eddyViscosity.C.
Referenced by eddyViscosity< LESModel< BasicMomentumTransportModel > >::nut().
|
pure virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements linearViscousStress< BasicMomentumTransportModel >.
Implemented in kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >, kkLOmega, kOmegaSSTLM< BasicMomentumTransportModel >, v2f< BasicMomentumTransportModel >, mixtureKEpsilon< BasicMomentumTransportModel >, kineticTheoryModel, kEpsilonLopesdaCosta< 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 >, and PDRkEpsilon.
Definition at line 119 of file eddyViscosity.C.
Referenced by LamBremhorstKE::correct(), ShihQuadraticKE::correct(), LienLeschziner::correct(), LienCubicKE::correct(), qZeta::correct(), kkLOmega::correct(), and eddyViscosity< LESModel< BasicMomentumTransportModel > >::nut().
|
protected |
Definition at line 60 of file eddyViscosity.H.
Referenced by eddyViscosity< LESModel< BasicMomentumTransportModel > >::nut().