MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel > Class Template Reference

Templated abstract base class for turbulence models. More...

Inheritance diagram for MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel >:
Collaboration diagram for MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel >:

Public Types

typedef Alpha alphaField
 
typedef Rho rhoField
 
typedef TransportModel transportModel
 

Public Member Functions

 declareRunTimeNewSelectionTable (autoPtr, MomentumTransportModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport),(alpha, rho, U, alphaRhoPhi, phi, transport))
 
 MomentumTransportModel (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
 Construct. More...
 
 MomentumTransportModel (const MomentumTransportModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~MomentumTransportModel ()
 Destructor. More...
 
const alphaFieldalpha () const
 Access function to phase fraction. More...
 
const transportModeltransport () const
 Access function to incompressible transport model. More...
 
void operator= (const MomentumTransportModel &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< MomentumTransportModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
 Return a reference to the selected turbulence model. More...
 

Protected Attributes

const alphaFieldalpha_
 
const transportModeltransport_
 

Detailed Description

template<class Alpha, class Rho, class BasicMomentumTransportModel, class TransportModel>
class Foam::MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel >

Templated abstract base class for turbulence models.

Source files

Definition at line 57 of file MomentumTransportModel.H.

Member Typedef Documentation

◆ alphaField

typedef Alpha alphaField

Definition at line 64 of file MomentumTransportModel.H.

◆ rhoField

typedef Rho rhoField

Definition at line 65 of file MomentumTransportModel.H.

◆ transportModel

typedef TransportModel transportModel

Definition at line 66 of file MomentumTransportModel.H.

Constructor & Destructor Documentation

◆ MomentumTransportModel() [1/2]

MomentumTransportModel ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport 
)

Construct.

Definition at line 46 of file MomentumTransportModel.C.

◆ MomentumTransportModel() [2/2]

MomentumTransportModel ( const MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~MomentumTransportModel()

virtual ~MomentumTransportModel ( )
inlinevirtual

Destructor.

Definition at line 130 of file MomentumTransportModel.H.

Member Function Documentation

◆ declareRunTimeNewSelectionTable()

declareRunTimeNewSelectionTable ( autoPtr  ,
MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel >  ,
dictionary  ,
(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport ,
(alpha, rho, U, alphaRhoPhi, phi, transport  
)

◆ New()

static autoPtr<MomentumTransportModel> New ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport 
)
static

Return a reference to the selected turbulence model.

◆ alpha()

const alphaField& alpha ( ) const
inline

Access function to phase fraction.

Definition at line 137 of file MomentumTransportModel.H.

Referenced by ThermophysicalTransportModel< Foam::PhaseCompressibleMomentumTransportModel, transportThermoModel >::alpha().

Here is the caller graph for this function:

◆ transport()

const transportModel& transport ( ) const
inline

Access function to incompressible transport model.

Definition at line 143 of file MomentumTransportModel.H.

Referenced by forces::mu().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const MomentumTransportModel< Alpha, Rho, BasicMomentumTransportModel, TransportModel > &  )
delete

Disallow default bitwise assignment.

Referenced by MomentumTransportModel< volScalarField, geometricOneField, incompressibleMomentumTransportModel, TransportModel >::transport().

Here is the caller graph for this function:

Member Data Documentation

◆ alpha_

◆ transport_


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