Public Member Functions | Protected Attributes | List of all members
ReactingPhaseModel< BasePhaseModel, ReactionType > Class Template Reference

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

Inheritance diagram for ReactingPhaseModel< BasePhaseModel, ReactionType >:
Inheritance graph
[legend]
Collaboration diagram for ReactingPhaseModel< BasePhaseModel, ReactionType >:
Collaboration graph
[legend]

Public Member Functions

 ReactingPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~ReactingPhaseModel ()
 Destructor. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual tmp< fvScalarMatrixR (volScalarField &Yi) const
 Return the species fraction equation. More...
 
virtual tmp< volScalarFieldQdot () const
 Return heat release rate. More...
 

Protected Attributes

autoPtr< ReactionType > reaction_
 Reaction model. More...
 

Detailed Description

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

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

Source files

Definition at line 50 of file ReactingPhaseModel.H.

Constructor & Destructor Documentation

◆ ReactingPhaseModel()

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

◆ ~ReactingPhaseModel()

virtual ~ReactingPhaseModel ( )
virtual

Destructor.

Member Function Documentation

◆ correctThermo()

virtual void correctThermo ( )
virtual

Correct the thermodynamics.

◆ R()

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

Return the species fraction equation.

◆ Qdot()

virtual tmp<volScalarField> Qdot ( ) const
virtual

Return heat release rate.

Member Data Documentation

◆ reaction_

autoPtr<ReactionType> reaction_
protected

Reaction model.

Definition at line 59 of file ReactingPhaseModel.H.


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