makeReactions.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2012-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "reactionTypes.H"
29 #include "makeReaction.H"
30 
31 #include "ArrheniusReactionRate.H"
32 #include "infiniteReactionRate.H"
35 
37 #include "JanevReactionRate.H"
39 
40 #include "FallOffReactionRate.H"
42 #include "SRIFallOffFunction.H"
43 #include "TroeFallOffFunction.H"
44 
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 #define makeReactions(Thermo, Reaction) \
49  \
50  defineTemplateTypeNameAndDebug(Reaction, 0); \
51  defineTemplateRunTimeSelectionTable(Reaction, dictionary); \
52  \
53  makeIRNReactions(Thermo, ArrheniusReactionRate) \
54  makeIRNReactions(Thermo, infiniteReactionRate) \
55  makeIRNReactions(Thermo, LandauTellerReactionRate) \
56  makeIRNReactions(Thermo, thirdBodyArrheniusReactionRate) \
57  \
58  makeIRReactions(Thermo, JanevReactionRate) \
59  makeIRReactions(Thermo, powerSeriesReactionRate) \
60  \
61  makePressureDependentReactions \
62  ( \
63  Thermo, \
64  ArrheniusReactionRate, \
65  LindemannFallOffFunction \
66  ) \
67  \
68  makePressureDependentReactions \
69  ( \
70  Thermo, \
71  ArrheniusReactionRate, \
72  TroeFallOffFunction \
73  ) \
74  \
75  makePressureDependentReactions \
76  ( \
77  Thermo, \
78  ArrheniusReactionRate, \
79  SRIFallOffFunction \
80  )
81 
82 
83 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84 
85 namespace Foam
86 {
87  // sensible enthalpy based reactions
91  (
94  )
99  (
102  )
104 
105 
109  (
112  )
117  (
120  )
122 }
123 
124 // ************************************************************************* //
thirdBodyArrheniusReactionRate.H
FallOffReactionRate.H
ArrheniusReactionRate.H
infiniteReactionRate.H
LandauTellerReactionRate.H
SRIFallOffFunction.H
makeReaction.H
Macros for instantiating reactions on given thermo packages.
ChemicallyActivatedReactionRate.H
powerSeriesReactionRate.H
TroeFallOffFunction.H
Foam::sutherlandTransport
Transport package using Sutherland's formula.
Definition: sutherlandTransport.H:59
Foam::constTransport
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
Definition: constTransport.H:53
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
makeReactions
#define makeReactions(Thermo, Reaction)
Definition: makeReactions.C:48
JanevReactionRate.H
Foam::polynomialTransport
Transport package using polynomial functions for mu and kappa.
Definition: polynomialTransport.H:98
LindemannFallOffFunction.H
Foam::Reaction
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
Definition: Reaction.H:56
reactionTypes.H
Type definitions for reactions.