Templated abstract base class for RAS turbulence models. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
TypeName ("RAS") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)) | |
RASModel (const word &type, 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 | ~RASModel () |
Destructor. More... | |
virtual bool | read () |
Read model coefficients if they have changed. More... | |
const dimensionedScalar & | kMin () const |
Return the lower allowable limit for k (default: SMALL) More... | |
const dimensionedScalar & | epsilonMin () const |
Return the lower allowable limit for epsilon (default: SMALL) More... | |
const dimensionedScalar & | omegaMin () const |
Return the lower allowable limit for omega (default: SMALL) More... | |
dimensionedScalar & | kMin () |
Allow kMin to be changed. More... | |
dimensionedScalar & | epsilonMin () |
Allow epsilonMin to be changed. More... | |
dimensionedScalar & | omegaMin () |
Allow omegaMin to be changed. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Static Public Member Functions | |
static autoPtr< RASModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName) |
Return a reference to the selected RAS model. More... | |
Protected Member Functions | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
dictionary | RASDict_ |
RAS coefficients dictionary. More... | |
Switch | turbulence_ |
Turbulence on/off flag. More... | |
Switch | printCoeffs_ |
Flag to print the model coeffs at run-time. More... | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
dimensionedScalar | kMin_ |
Lower limit of k. More... | |
dimensionedScalar | epsilonMin_ |
Lower limit of epsilon. More... | |
dimensionedScalar | omegaMin_ |
Lower limit for omega. More... | |
Templated abstract base class for RAS turbulence models.
Definition at line 49 of file RASModel.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 99 of file RASModel.H.
typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 100 of file RASModel.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 101 of file RASModel.H.
RASModel | ( | const word & | type, |
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 44 of file RASModel.C.
|
inlinevirtual |
Destructor.
Definition at line 160 of file RASModel.H.
|
protectedvirtual |
Print model coefficients.
Definition at line 31 of file RASModel.C.
TypeName | ( | "RAS" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
RASModel< BasicTurbulenceModel > | , | ||
dictionary | , | ||
(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | , | ||
(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName) | |||
) |
|
static |
Return a reference to the selected RAS model.
Definition at line 116 of file RASModel.C.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::RASModel().
|
virtual |
Read model coefficients if they have changed.
Reimplemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kOmegaSSTLM< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, kOmegaSSTSato< BasicTurbulenceModel >, SpalartAllmaras< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, LRR< BasicTurbulenceModel >, kOmegaSSTSAS< BasicTurbulenceModel >, SSG< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, LaheyKEpsilon< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, continuousGasKEpsilon< BasicTurbulenceModel >, phasePressureModel, buoyantKEpsilon< BasicTurbulenceModel >, phasePressureModel, kOmega< BasicTurbulenceModel >, PDRkEpsilon, ReynoldsStress< RASModel< BasicTurbulenceModel > >, eddyViscosity< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, eddyViscosity< RASModel< BasicTurbulenceModel > >, linearViscousStress< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, linearViscousStress< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, and linearViscousStress< RASModel< BasicTurbulenceModel > >.
Definition at line 169 of file RASModel.C.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::~RASModel().
|
inline |
Return the lower allowable limit for k (default: SMALL)
Definition at line 173 of file RASModel.H.
|
inline |
Return the lower allowable limit for epsilon (default: SMALL)
Definition at line 179 of file RASModel.H.
|
inline |
Return the lower allowable limit for omega (default: SMALL)
Definition at line 185 of file RASModel.H.
|
inline |
Allow kMin to be changed.
Definition at line 191 of file RASModel.H.
|
inline |
Allow epsilonMin to be changed.
Definition at line 197 of file RASModel.H.
|
inline |
Allow omegaMin to be changed.
Definition at line 203 of file RASModel.H.
|
inlinevirtual |
Const access to the coefficients dictionary.
Definition at line 209 of file RASModel.H.
|
inlinevirtual |
Return the effective viscosity.
Reimplemented in kineticTheoryModel, kineticTheoryModel, continuousGasKEpsilon< BasicTurbulenceModel >, phasePressureModel, and phasePressureModel.
Definition at line 216 of file RASModel.H.
|
inlinevirtual |
Return the effective viscosity on patch.
Reimplemented in kineticTheoryModel, kineticTheoryModel, phasePressureModel, and phasePressureModel.
Definition at line 229 of file RASModel.H.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Reimplemented in kOmegaSST< eddyViscosity< RASModel< BasicTurbulenceModel > >, BasicTurbulenceModel >, kOmegaSSTLM< BasicTurbulenceModel >, v2f< BasicTurbulenceModel >, mixtureKEpsilon< BasicTurbulenceModel >, kineticTheoryModel, kineticTheoryModel, LRR< BasicTurbulenceModel >, kOmegaSSTSato< BasicTurbulenceModel >, LaunderSharmaKE< BasicTurbulenceModel >, RNGkEpsilon< BasicTurbulenceModel >, kEpsilon< BasicTurbulenceModel >, kOmega< BasicTurbulenceModel >, realizableKE< BasicTurbulenceModel >, kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >, SpalartAllmaras< BasicTurbulenceModel >, SSG< BasicTurbulenceModel >, phasePressureModel, phasePressureModel, LaheyKEpsilon< BasicTurbulenceModel >, ReynoldsStress< RASModel< BasicTurbulenceModel > >, eddyViscosity< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, eddyViscosity< RASModel< BasicTurbulenceModel > >, PDRkEpsilon, linearViscousStress< RASModel< EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > > > >, linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >, linearViscousStress< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >, and linearViscousStress< RASModel< BasicTurbulenceModel > >.
Definition at line 192 of file RASModel.C.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::nuEff().
|
protected |
RAS coefficients dictionary.
Definition at line 59 of file RASModel.H.
|
protected |
Turbulence on/off flag.
Definition at line 62 of file RASModel.H.
|
protected |
Flag to print the model coeffs at run-time.
Definition at line 65 of file RASModel.H.
|
protected |
Model coefficients dictionary.
Definition at line 68 of file RASModel.H.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::coeffDict().
|
protected |
Lower limit of k.
Definition at line 71 of file RASModel.H.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::kMin().
|
protected |
Lower limit of epsilon.
Definition at line 74 of file RASModel.H.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::epsilonMin().
|
protected |
Lower limit for omega.
Definition at line 77 of file RASModel.H.
Referenced by RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::omegaMin().