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< fvScalarMatrixR (volScalarField &Yi) const
 Return the fuel consumption rate matrix. 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 34 of file ReactingPhaseModel.C.

◆ ~ReactingPhaseModel()

Destructor.

Definition at line 50 of file ReactingPhaseModel.C.

Member Function Documentation

◆ correctReactions()

void correctReactions
virtual

Correct the reaction rates.

Definition at line 57 of file ReactingPhaseModel.C.

◆ R()

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

Return the fuel consumption rate matrix.

Definition at line 66 of file ReactingPhaseModel.C.

◆ Qdot()

Return heat release rate.

Definition at line 77 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: