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-------------------------------------------------------------------------------
10License
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
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
85namespace Foam
86{
87 // sensible enthalpy based reactions
91 (
94 )
99 (
104
105
109 (
117 (
122}
123
124// ************************************************************************* //
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
Definition: Reaction.H:73
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
Transport package using polynomial functions for mu and kappa.
Transport package using Sutherland's formula.
Macros for instantiating reactions on given thermo packages.
#define makeReactions(Thermo, Reaction)
Definition: makeReactions.C:48
Namespace for OpenFOAM.
Type definitions for reactions.