IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > Class Template Reference

Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics. More...

Inheritance diagram for IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >:
[legend]
Collaboration diagram for IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >:
[legend]

Public Member Functions

 TypeName ("irreversible")
 Runtime type information. More...
 
 IrreversibleReaction (const ReactionType< ReactionThermo > &reaction, const ReactionRate &reactionRate)
 Construct from components. More...
 
 IrreversibleReaction (const IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > &, const speciesTable &species)
 Construct as copy given new speciesTable. More...
 
 IrreversibleReaction (const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< Reaction< ReactionThermo > > clone () const
 Construct and return a clone. More...
 
virtual autoPtr< Reaction< ReactionThermo > > clone (const speciesTable &species) const
 Construct and return a clone with new speciesTable. More...
 
virtual ~IrreversibleReaction ()=default
 Destructor. More...
 
virtual scalar kf (const scalar p, const scalar T, const scalarField &c) const
 Forward rate constant. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

template<template< class > class ReactionType, class ReactionThermo, class ReactionRate>
class Foam::IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >

Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.

Source files

Definition at line 61 of file IrreversibleReaction.H.

Constructor & Destructor Documentation

◆ IrreversibleReaction() [1/3]

IrreversibleReaction ( const ReactionType< ReactionThermo > &  reaction,
const ReactionRate &  reactionRate 
)

Construct from components.

Definition at line 41 of file IrreversibleReaction.C.

◆ IrreversibleReaction() [2/3]

IrreversibleReaction ( const IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > &  irr,
const speciesTable species 
)

Construct as copy given new speciesTable.

Definition at line 78 of file IrreversibleReaction.C.

◆ IrreversibleReaction() [3/3]

IrreversibleReaction ( const speciesTable species,
const ReactionTable< ReactionThermo > &  thermoDatabase,
const dictionary dict 
)

Construct from dictionary.

Definition at line 59 of file IrreversibleReaction.C.

◆ ~IrreversibleReaction()

virtual ~IrreversibleReaction ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "irreversible"  )

Runtime type information.

◆ clone() [1/2]

virtual autoPtr<Reaction<ReactionThermo> > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 120 of file IrreversibleReaction.H.

◆ clone() [2/2]

virtual autoPtr<Reaction<ReactionThermo> > clone ( const speciesTable species) const
inlinevirtual

Construct and return a clone with new speciesTable.

Definition at line 135 of file IrreversibleReaction.H.

◆ kf()

Foam::scalar kf ( const scalar  p,
const scalar  T,
const scalarField c 
) const
virtual

Forward rate constant.

Definition at line 102 of file IrreversibleReaction.C.

References Foam::constant::universal::c, p, and T.

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 120 of file IrreversibleReaction.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

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