Namespaces | Macros
makeReaction.H File Reference

Macros for instantiating reactions on given thermo packages. More...

Include dependency graph for makeReaction.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeReaction(Thermo, ReactionType, ReactionRate)
 
#define makePressureDependentReaction( Thermo, Reaction, PressureDependentReactionRate, ReactionRate, FallOffFunction)
 
#define makeIRReactions(Thermo, ReactionRate)
 
#define makeIRNReactions(Thermo, ReactionRate)
 
#define makePressureDependentReactions(Thermo, ReactionRate, FallOffFunction)
 

Detailed Description

Macros for instantiating reactions on given thermo packages.

Original source file makeReaction.H

InClass Foam::makeReaction

Definition in file makeReaction.H.

Macro Definition Documentation

◆ makeReaction

#define makeReaction (   Thermo,
  ReactionType,
  ReactionRate 
)
Value:
\
typedef Reaction<Thermo> Reaction##Thermo; \
\
typedef ReactionType<Reaction, Thermo, ReactionRate> \
ReactionType##Thermo##ReactionRate; \
\
template<> \
const word ReactionType##Thermo##ReactionRate::typeName \
( \
ReactionType::typeName_() \
+ Reaction##Thermo::typeName_() \
); \
\
addToRunTimeSelectionTable \
( \
Reaction##Thermo, \
ReactionType##Thermo##ReactionRate, \
dictionary \
);
type
Types of root.
Definition: Roots.H:52

Definition at line 60 of file makeReaction.H.

◆ makePressureDependentReaction

#define makePressureDependentReaction (   Thermo,
  Reaction,
  PressureDependentReactionRate,
  ReactionRate,
  FallOffFunction 
)
Value:
\
typedef PressureDependentReactionRate<ReactionRate, FallOffFunction> \
PressureDependentReactionRate##ReactionRate##FallOffFunction; \
\
makeReaction \
( \
Thermo, \
Reaction, \
PressureDependentReactionRate##ReactionRate##FallOffFunction \
)

Definition at line 83 of file makeReaction.H.

◆ makeIRReactions

#define makeIRReactions (   Thermo,
  ReactionRate 
)
Value:
\
makeReaction(Thermo, IrreversibleReaction, ReactionRate) \
makeReaction(Thermo, ReversibleReaction, ReactionRate)
#define makeReaction(Thermo, ReactionType, ReactionRate)
Definition: makeReaction.H:60

Definition at line 103 of file makeReaction.H.

◆ makeIRNReactions

#define makeIRNReactions (   Thermo,
  ReactionRate 
)
Value:
\
makeIRReactions(Thermo, ReactionRate) \
makeReaction(Thermo, NonEquilibriumReversibleReaction, ReactionRate)
#define makeReaction(Thermo, ReactionType, ReactionRate)
Definition: makeReaction.H:60

Definition at line 110 of file makeReaction.H.

◆ makePressureDependentReactions

#define makePressureDependentReactions (   Thermo,
  ReactionRate,
  FallOffFunction 
)

Definition at line 117 of file makeReaction.H.