ReactingPhaseModel< BasePhaseModel > Class Template Reference

Class which represents phases with volumetric reactions. Returns the reaction rate and heat. More...

Inheritance diagram for ReactingPhaseModel< BasePhaseModel >:
Collaboration diagram for ReactingPhaseModel< BasePhaseModel >:

Public Member Functions

 ReactingPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~ReactingPhaseModel ()
 Destructor. More...
 
virtual void correctReactions ()
 Correct the reaction rates. More...
 
virtual tmp< volScalarField::InternalR (const label speciei) const
 Return the consumption rate for a specie. More...
 
virtual tmp< fvScalarMatrixR (volScalarField &Yi) const
 Return consumption rate matrix for a specie. More...
 
virtual tmp< volScalarFieldQdot () const
 Return heat release rate. More...
 

Protected Attributes

autoPtr< combustionModelreaction_
 Reaction model. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::ReactingPhaseModel< BasePhaseModel >

Class which represents phases with volumetric reactions. Returns the reaction rate and heat.

Source files

Definition at line 52 of file ReactingPhaseModel.H.

Constructor & Destructor Documentation

◆ ReactingPhaseModel()

ReactingPhaseModel ( const phaseSystem fluid,
const word phaseName,
const bool  referencePhase,
const label  index 
)

Definition at line 35 of file ReactingPhaseModel.C.

◆ ~ReactingPhaseModel()

Destructor.

Definition at line 51 of file ReactingPhaseModel.C.

Member Function Documentation

◆ correctReactions()

void correctReactions
virtual

Correct the reaction rates.

Definition at line 58 of file ReactingPhaseModel.C.

◆ R() [1/2]

Foam::tmp< Foam::volScalarField::Internal > R ( const label  speciei) const
virtual

Return the consumption rate for a specie.

Definition at line 68 of file ReactingPhaseModel.C.

◆ R() [2/2]

Foam::tmp< Foam::fvScalarMatrix > R ( volScalarField Yi) const
virtual

Return consumption rate matrix for a specie.

Definition at line 76 of file ReactingPhaseModel.C.

◆ Qdot()

Return heat release rate.

Definition at line 84 of file ReactingPhaseModel.C.

Member Data Documentation

◆ reaction_

autoPtr<combustionModel> reaction_
protected

Reaction model.

Definition at line 61 of file ReactingPhaseModel.H.


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