Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >:
Collaboration graph
[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 HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is)
 Construct from Istream. More...
 
 IrreversibleReaction (const speciesTable &species, const HashPtrTable< 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 ()
 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 55 of file IrreversibleReaction.H.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 38 of file IrreversibleReaction.C.

Referenced by IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::IrreversibleReaction().

Here is the caller graph for this function:

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

Construct as copy given new speciesTable.

Definition at line 94 of file IrreversibleReaction.C.

IrreversibleReaction ( const speciesTable species,
const HashPtrTable< ReactionThermo > &  thermoDatabase,
Istream is 
)

Construct from Istream.

Definition at line 56 of file IrreversibleReaction.C.

References IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::IrreversibleReaction().

Here is the call graph for this function:

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

Construct from dictionary.

Definition at line 75 of file IrreversibleReaction.C.

References IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::IrreversibleReaction().

Here is the call graph for this function:

virtual ~IrreversibleReaction ( )
inlinevirtual

Member Function Documentation

TypeName ( "irreversible"  )

Runtime type information.

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

Construct and return a clone.

Definition at line 122 of file IrreversibleReaction.H.

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

Construct and return a clone with new speciesTable.

Definition at line 137 of file IrreversibleReaction.H.

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

Forward rate constant.

Definition at line 118 of file IrreversibleReaction.C.

References IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::write().

Referenced by IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::~IrreversibleReaction().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const
virtual

Write.

Definition at line 136 of file IrreversibleReaction.C.

References write().

Referenced by IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::kf(), and IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::~IrreversibleReaction().

Here is the call graph for this function:

Here is the caller graph for this function:


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