Public Member Functions | List of all members
PDRkEpsilon Class Reference

Standard k-epsilon turbulence model with additional source terms corresponding to PDR basic drag model (basic.H) More...

Inheritance diagram for PDRkEpsilon:
Inheritance graph
[legend]
Collaboration diagram for PDRkEpsilon:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("PDRkEpsilon")
 Runtime type information. More...
 
 PDRkEpsilon (const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const fluidThermo &thermophysicalModel, const word &turbulenceModelName=turbulenceModel::typeName, const word &modelName=typeName)
 Construct from components. More...
 
virtual ~PDRkEpsilon ()
 Destructor. More...
 
void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
bool read ()
 Read turbulenceProperties dictionary. More...
 
- Public Member Functions inherited from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >
 kEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Construct from components. More...
 
 TypeName ("kEpsilon")
 Runtime type information. More...
 
virtual ~kEpsilon ()
 Destructor. More...
 
tmp< volScalarFieldDkEff () const
 Return the effective diffusivity for k. More...
 
tmp< volScalarFieldDepsilonEff () const
 Return the effective diffusivity for epsilon. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate. More...
 
- Public Member Functions inherited from eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >
 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...
 
volScalarFieldevNut ()
 Return non-const access to the turbulence viscosity. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
- Public Member Functions inherited from linearViscousStress< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >
 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< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 
- Public Member Functions inherited from RASModel< EddyDiffusivity< compressible::turbulenceModel > >
 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...
 
 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))
 
virtual ~RASModel ()
 Destructor. More...
 
const dimensionedScalarkMin () const
 Return the lower allowable limit for k (default: SMALL) More...
 
dimensionedScalarkMin ()
 Allow kMin to be changed. More...
 
const dimensionedScalarepsilonMin () const
 Return the lower allowable limit for epsilon (default: SMALL) More...
 
dimensionedScalarepsilonMin ()
 Allow epsilonMin to be changed. More...
 
const dimensionedScalaromegaMin () const
 Return the lower allowable limit for omega (default: SMALL) More...
 
dimensionedScalaromegaMin ()
 Allow omegaMin to be changed. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity. More...
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 Return the effective viscosity on patch. More...
 
- Public Member Functions inherited from EddyDiffusivity< compressible::turbulenceModel >
 EddyDiffusivity (const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
 Construct. More...
 
virtual ~EddyDiffusivity ()
 Destructor. More...
 
virtual tmp< volScalarFieldalphat () const
 Return the turbulent thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalphat (const label patchi) const
 Return the turbulent thermal diffusivity for enthalpy for a patch. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Return the effective turbulent thermal diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff () const
 Return the effective turbulent thermal diffusivity for enthalpy. More...
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for enthalpy. More...
 
virtual void correctEnergyTransport ()
 Correct the turbulence thermal diffusivity for energy transport. More...
 
- Public Member Functions inherited from ThermalDiffusivity< BasicTurbulenceModel >
 ThermalDiffusivity (const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
 Construct. More...
 
virtual ~ThermalDiffusivity ()
 Destructor. More...
 
virtual tmp< volScalarFieldkappa () const
 Return the thermal diffusivity for temperature [J/m/s/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const
 Return the laminar thermal diffusivity for temperature on patch. More...
 
virtual tmp< volScalarFieldalpha () const
 Return the laminar thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalpha (const label patchi) const
 Return the laminar thermal diffusivity for enthalpy on patch. More...
 

Additional Inherited Members

- Public Types inherited from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >
typedef EddyDiffusivity< compressible::turbulenceModel >::alphaField alphaField
 
typedef EddyDiffusivity< compressible::turbulenceModel >::rhoField rhoField
 
typedef EddyDiffusivity< compressible::turbulenceModel >::transportModel transportModel
 
- Public Types inherited from eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::alphaField alphaField
 
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::rhoField rhoField
 
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::transportModel transportModel
 
- Public Types inherited from linearViscousStress< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::alphaField alphaField
 
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::rhoField rhoField
 
typedef RASModel< EddyDiffusivity< compressible::turbulenceModel > >::transportModel transportModel
 
- Public Types inherited from RASModel< EddyDiffusivity< compressible::turbulenceModel > >
typedef EddyDiffusivity< compressible::turbulenceModel >::alphaField alphaField
 
typedef EddyDiffusivity< compressible::turbulenceModel >::rhoField rhoField
 
typedef EddyDiffusivity< compressible::turbulenceModel >::transportModel transportModel
 
- Public Types inherited from EddyDiffusivity< compressible::turbulenceModel >
typedef compressible::turbulenceModel::alphaField alphaField
 
typedef compressible::turbulenceModel::rhoField rhoField
 
typedef compressible::turbulenceModel::transportModel transportModel
 
- Public Types inherited from ThermalDiffusivity< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef volScalarField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Static Public Member Functions inherited from RASModel< EddyDiffusivity< compressible::turbulenceModel > >
static autoPtr< RASModelNew (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...
 
- Static Public Member Functions inherited from ThermalDiffusivity< BasicTurbulenceModel >
static autoPtr< ThermalDiffusivityNew (const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected turbulence model. More...
 
static autoPtr< ThermalDiffusivityNew (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected turbulence model. More...
 
- Protected Member Functions inherited from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >
virtual void correctNut ()
 
virtual tmp< fvScalarMatrixkSource () const
 
virtual tmp< fvScalarMatrixepsilonSource () const
 
- Protected Member Functions inherited from RASModel< EddyDiffusivity< compressible::turbulenceModel > >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 
- Protected Attributes inherited from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >
dimensionedScalar Cmu_
 
dimensionedScalar C1_
 
dimensionedScalar C2_
 
dimensionedScalar C3_
 
dimensionedScalar sigmak_
 
dimensionedScalar sigmaEps_
 
volScalarField k_
 
volScalarField epsilon_
 
- Protected Attributes inherited from eddyViscosity< RASModel< EddyDiffusivity< compressible::turbulenceModel > > >
volScalarField nut_
 
- Protected Attributes inherited from RASModel< EddyDiffusivity< compressible::turbulenceModel > >
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...
 
- Protected Attributes inherited from EddyDiffusivity< compressible::turbulenceModel >
dimensionedScalar Prt_
 
volScalarField alphat_
 

Detailed Description

Standard k-epsilon turbulence model with additional source terms corresponding to PDR basic drag model (basic.H)

The default model coefficients correspond to the following:

    PDRkEpsilonCoeffs
    {
        Cmu         0.09;
        C1          1.44;
        C2          1.92;
        C3          -0.33;  // only for compressible
        C4          0.1;
        sigmak      1.0;    // only for compressible
        sigmaEps    1.3;
        Prt         1.0;    // only for compressible
    }

The turbulence source term $ G_{R} $ appears in the $ \kappa-\epsilon $ equation for the generation of turbulence due to interaction with unresolved obstacles.

In the $ \epsilon $ equation $ C_{1} G_{R} $ is added as a source term.

In the $ \kappa $ equation $ G_{R} $ is added as a source term.

Source files

Definition at line 78 of file PDRkEpsilon.H.

Constructor & Destructor Documentation

PDRkEpsilon ( const geometricOneField alpha,
const volScalarField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const fluidThermo thermophysicalModel,
const word turbulenceModelName = turbulenceModel::typeName,
const word modelName = typeName 
)

Construct from components.

virtual ~PDRkEpsilon ( )
virtual

Destructor.

Member Function Documentation

TypeName ( "PDRkEpsilon"  )

Runtime type information.

void correct ( )
virtual

Solve the turbulence equations and correct the turbulence viscosity.

Reimplemented from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >.

bool read ( )
virtual

Read turbulenceProperties dictionary.

Reimplemented from kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >.


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