FreeFOAM The Cross-Platform CFD Toolkit
makeReactionThermo.H File Reference

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


Detailed Description

Macros for instantiating reactions on given thermo packages.

InClass Foam::makeReactionThermo

Definition in file makeReactionThermo.H.

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

Go to the source code of this file.

Namespaces

namespace  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)

Macro Definition Documentation

#define makeReaction (   Thermo,
  ReactionType,
  ReactionRate 
)
Value:
\
typedef Reaction<Thermo> Reaction##Thermo; \
\
typedef ReactionType<Thermo, ReactionRate> \
ReactionType##Thermo##ReactionRate; \
\
template<> \
const word ReactionType##Thermo##ReactionRate::typeName \
( \
ReactionType::typeName_() \
+ Reaction##Thermo::typeName_() \
); \
\
addToRunTimeSelectionTable \
( \
Reaction##Thermo, \
ReactionType##Thermo##ReactionRate, \
Istream \
);

Definition at line 60 of file makeReactionThermo.H.

#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 makeReactionThermo.H.

#define makeIRReactions (   Thermo,
  ReactionRate 
)
Value:
\
makeReaction(Thermo, IrreversibleReaction, ReactionRate) \
makeReaction(Thermo, ReversibleReaction, ReactionRate)

Definition at line 96 of file makeReactionThermo.H.

#define makeIRNReactions (   Thermo,
  ReactionRate 
)
Value:
\
makeIRReactions(Thermo, ReactionRate) \
makeReaction(Thermo, NonEquilibriumReversibleReaction, ReactionRate)

Definition at line 103 of file makeReactionThermo.H.

#define makePressureDependentReactions (   Thermo,
  ReactionRate,
  FallOffFunction 
)

Definition at line 110 of file makeReactionThermo.H.