LaheyKEpsilon< BasicMomentumTransportModel > Class Template Reference

Continuous-phase k-epsilon model including bubble-generated turbulence. More...

Inheritance diagram for LaheyKEpsilon< BasicMomentumTransportModel >:
Collaboration diagram for LaheyKEpsilon< BasicMomentumTransportModel >:

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from kEpsilon< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from linearViscousStress< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 TypeName ("LaheyKEpsilon")
 Runtime type information. More...
 
 LaheyKEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 LaheyKEpsilon (const LaheyKEpsilon &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~LaheyKEpsilon ()
 Destructor. More...
 
virtual bool read ()
 Read model coefficients if they have changed. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
void operator= (const LaheyKEpsilon &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from kEpsilon< BasicMomentumTransportModel >
 TypeName ("kEpsilon")
 Runtime type information. More...
 
 kEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 kEpsilon (const kEpsilon &)=delete
 Disallow default bitwise copy construction. 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...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate. More...
 
void operator= (const kEpsilon &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
 eddyViscosity (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 ~eddyViscosity ()
 Destructor. 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< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. 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 viscosity &viscosity)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

virtual void correctNut ()
 
tmp< volScalarFieldbubbleG () const
 
tmp< volScalarFieldphaseTransferCoeff () const
 
virtual tmp< fvScalarMatrixkSource () const
 
virtual tmp< fvScalarMatrixepsilonSource () const
 

Protected Attributes

dimensionedScalar alphaInversion_
 
dimensionedScalar Cp_
 
dimensionedScalar C4_
 
dimensionedScalar Cmub_
 
- Protected Attributes inherited from kEpsilon< BasicMomentumTransportModel >
dimensionedScalar Cmu_
 
dimensionedScalar C1_
 
dimensionedScalar C2_
 
dimensionedScalar C3_
 
dimensionedScalar sigmak_
 
dimensionedScalar sigmaEps_
 
volScalarField k_
 
volScalarField epsilon_
 
- Protected Attributes inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
volScalarField nut_
 

Detailed Description

template<class BasicMomentumTransportModel>
class Foam::RASModels::LaheyKEpsilon< BasicMomentumTransportModel >

Continuous-phase k-epsilon model including bubble-generated turbulence.

Reference:

    Lahey Jr, R. T. (2005).
    The simulation of multidimensional multiphase flows.
    Nuclear Engineering and Design, 235(10), 1043-1060.

The default model coefficients are

    LaheyKEpsilonCoeffs
    {
        Cmu             0.09;
        C1              1.44;
        C2              1.92;
        C3              0;
        C4              1.92;
        sigmak          1.0;
        sigmaEps        1.3;
        Cp              0.25;
        Cmub            0.6;
        alphaInversion  0.3;
    }
Source files

Definition at line 75 of file LaheyKEpsilon.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 114 of file LaheyKEpsilon.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 115 of file LaheyKEpsilon.H.

Constructor & Destructor Documentation

◆ LaheyKEpsilon() [1/2]

LaheyKEpsilon ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

Construct from components.

Definition at line 42 of file LaheyKEpsilon.C.

References Foam::type().

Here is the call graph for this function:

◆ LaheyKEpsilon() [2/2]

LaheyKEpsilon ( const LaheyKEpsilon< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~LaheyKEpsilon()

virtual ~LaheyKEpsilon ( )
inlinevirtual

Destructor.

Definition at line 141 of file LaheyKEpsilon.H.

Member Function Documentation

◆ correctNut()

void correctNut
protectedvirtual

◆ bubbleG()

tmp< volScalarField > bubbleG
protected

◆ phaseTransferCoeff()

tmp< volScalarField > phaseTransferCoeff
protected

Definition at line 219 of file LaheyKEpsilon.C.

References alpha(), momentumTransportModel::epsilon(), momentumTransportModel::k(), Foam::max(), Foam::min(), rho, and U.

Here is the call graph for this function:

◆ kSource()

tmp< fvScalarMatrix > kSource
protectedvirtual

Reimplemented from kEpsilon< BasicMomentumTransportModel >.

Definition at line 237 of file LaheyKEpsilon.C.

References alpha(), momentumTransportModel::k(), rho, and Foam::fvm::Sp().

Here is the call graph for this function:

◆ epsilonSource()

tmp< fvScalarMatrix > epsilonSource
protectedvirtual

Reimplemented from kEpsilon< BasicMomentumTransportModel >.

Definition at line 256 of file LaheyKEpsilon.C.

References alpha(), momentumTransportModel::epsilon(), rho, and Foam::fvm::Sp().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "LaheyKEpsilon< BasicMomentumTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Read model coefficients if they have changed.

Reimplemented from kEpsilon< BasicMomentumTransportModel >.

Definition at line 116 of file LaheyKEpsilon.C.

◆ correct()

void correct
virtual

Solve the turbulence equations and correct the turbulence viscosity.

Reimplemented from kEpsilon< BasicMomentumTransportModel >.

Definition at line 274 of file LaheyKEpsilon.C.

References kEpsilon< BasicMomentumTransportModel >::correct().

Here is the call graph for this function:

◆ operator=()

void operator= ( const LaheyKEpsilon< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ alphaInversion_

dimensionedScalar alphaInversion_
protected

Definition at line 97 of file LaheyKEpsilon.H.

◆ Cp_

dimensionedScalar Cp_
protected

Definition at line 98 of file LaheyKEpsilon.H.

◆ C4_

dimensionedScalar C4_
protected

Definition at line 99 of file LaheyKEpsilon.H.

◆ Cmub_

dimensionedScalar Cmub_
protected

Definition at line 100 of file LaheyKEpsilon.H.


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