FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

IrreversibleReaction< ReactionThermo, ReactionRate > Class Template Reference

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

#include <specie/IrreversibleReaction.H>


Detailed Description

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

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

Source files

Definition at line 51 of file IrreversibleReaction.H.

Inheritance diagram for IrreversibleReaction< ReactionThermo, ReactionRate >:
Collaboration diagram for IrreversibleReaction< ReactionThermo, ReactionRate >:

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 40 of file IrreversibleReaction.C.

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

Construct as copy given new speciesTable.

Definition at line 67 of file IrreversibleReaction.C.

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

Construct from Istream.

Definition at line 53 of file IrreversibleReaction.C.

virtual ~IrreversibleReaction (  ) [inline, virtual]

Definition at line 127 of file IrreversibleReaction.H.


Member Function Documentation

TypeName ( "irreversible"    )

Runtime type information.

virtual autoPtr<Reaction<ReactionThermo> > clone (  ) const [inline, virtual]

Construct and return a clone.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 100 of file IrreversibleReaction.H.

virtual autoPtr<Reaction<ReactionThermo> > clone ( const speciesTable &   species  ) const [inline, virtual]

Construct and return a clone with new speciesTable.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 110 of file IrreversibleReaction.H.

scalar kf ( const scalar   T,
const scalar   p,
const scalarField &   c  
) const [virtual]

Forward rate constant.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 81 of file IrreversibleReaction.C.

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 93 of file IrreversibleReaction.C.

References token::SPACE, and Reaction< ReactionThermo >::write().


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