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

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 "src/thermophysicalModels/specie/reaction/Reactions_/Reaction/Reaction.H"
#include "src/thermophysicalModels/specie/reaction/Reactions_/IrreversibleReaction/IrreversibleReaction.H"
#include "src/thermophysicalModels/specie/reaction/Reactions_/ReversibleReaction/ReversibleReaction.H"
#include "src/thermophysicalModels/specie/reaction/Reactions_/NonEquilibriumReversibleReaction/NonEquilibriumReversibleReaction.H"
#include "src/thermophysicalModels/specie/thermo/specieThermo/specieThermo.H"
#include "src/thermophysicalModels/specie/transport/sutherland/sutherlandTransport.H"
#include "src/thermophysicalModels/specie/thermo/janaf/janafThermo.H"
#include "src/thermophysicalModels/specie/equationOfState/perfectGas/perfectGas.H"
#include "src/thermophysicalModels/specie/transport/polynomial/polynomialTransport.H"
#include "src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.H"
#include "src/thermophysicalModels/specie/equationOfState/icoPolynomial/icoPolynomial.H"
#include "src/OpenFOAM/db/runTimeSelection/addToRunTimeSelectionTable.H"
Include dependency graph for makeReactionThermo.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Defines

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

Define 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_()                                             \
      + ReactionRate::type()                                                  \
      + 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.