OpenFOAM
dev
The OpenFOAM Foundation
makeReactions.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2012-2026 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
\*---------------------------------------------------------------------------*/
25
26
#include "
makeReaction.H
"
27
28
#include "
ArrheniusReactionRate.H
"
29
#include "
LandauTellerReactionRate.H
"
30
#include "
thirdBodyArrheniusReactionRate.H
"
31
32
#include "
JanevReactionRate.H
"
33
#include "
powerSeriesReactionRate.H
"
34
35
#include "
FallOffReactionRate.H
"
36
#include "
ChemicallyActivatedReactionRate.H
"
37
#include "
LindemannFallOffFunction.H
"
38
#include "
SRIFallOffFunction.H
"
39
#include "
TroeFallOffFunction.H
"
40
41
#include "
MichaelisMentenReactionRate.H
"
42
#include "
LangmuirHinshelwoodReactionRate.H
"
43
#include "
fluxLimitedLangmuirHinshelwoodReactionRate.H
"
44
#include "
surfaceArrheniusReactionRate.H
"
45
46
#include "
forGases.H
"
47
#include "
forLiquids.H
"
48
49
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51
namespace
Foam
52
{
53
forCoeffGases
(
defineReaction
, nullArg);
54
forCoeffLiquids
(
defineReaction
, nullArg);
55
56
// Irreversible/reversible/non-equilibrium-reversible reactions
57
forCoeffGases
(
makeIRNReactions
,
ArrheniusReactionRate
);
58
forCoeffLiquids
(
makeIRNReactions
,
ArrheniusReactionRate
);
59
forCoeffGases
(
makeIRNReactions
,
LandauTellerReactionRate
);
60
forCoeffLiquids
(
makeIRNReactions
,
LandauTellerReactionRate
);
61
forCoeffGases
(
makeIRNReactions
,
thirdBodyArrheniusReactionRate
);
62
forCoeffLiquids
(
makeIRNReactions
,
thirdBodyArrheniusReactionRate
);
63
64
// Irreversible/reversible reactions
65
forCoeffGases
(
makeIRReactions
,
JanevReactionRate
);
66
forCoeffLiquids
(
makeIRReactions
,
JanevReactionRate
);
67
forCoeffGases
(
makeIRReactions
,
powerSeriesReactionRate
);
68
forCoeffLiquids
(
makeIRReactions
,
powerSeriesReactionRate
);
69
70
// Irreversible/reversible fall-off reactions
71
forCoeffGases
72
(
73
makeIRTemplate2Reactions
,
74
FallOffReactionRate
,
75
ArrheniusReactionRate
,
76
LindemannFallOffFunction
77
);
78
forCoeffLiquids
79
(
80
makeIRTemplate2Reactions
,
81
FallOffReactionRate
,
82
ArrheniusReactionRate
,
83
LindemannFallOffFunction
84
);
85
forCoeffGases
86
(
87
makeIRTemplate2Reactions
,
88
FallOffReactionRate
,
89
ArrheniusReactionRate
,
90
TroeFallOffFunction
91
);
92
forCoeffLiquids
93
(
94
makeIRTemplate2Reactions
,
95
FallOffReactionRate
,
96
ArrheniusReactionRate
,
97
TroeFallOffFunction
98
);
99
forCoeffGases
100
(
101
makeIRTemplate2Reactions
,
102
FallOffReactionRate
,
103
ArrheniusReactionRate
,
104
SRIFallOffFunction
105
);
106
forCoeffLiquids
107
(
108
makeIRTemplate2Reactions
,
109
FallOffReactionRate
,
110
ArrheniusReactionRate
,
111
SRIFallOffFunction
112
);
113
114
// Irreversible/reversible chemically activated reactions
115
forCoeffGases
116
(
117
makeIRTemplate2Reactions
,
118
ChemicallyActivatedReactionRate
,
119
ArrheniusReactionRate
,
120
LindemannFallOffFunction
121
);
122
forCoeffLiquids
123
(
124
makeIRTemplate2Reactions
,
125
ChemicallyActivatedReactionRate
,
126
ArrheniusReactionRate
,
127
LindemannFallOffFunction
128
);
129
forCoeffGases
130
(
131
makeIRTemplate2Reactions
,
132
ChemicallyActivatedReactionRate
,
133
ArrheniusReactionRate
,
134
TroeFallOffFunction
135
);
136
forCoeffLiquids
137
(
138
makeIRTemplate2Reactions
,
139
ChemicallyActivatedReactionRate
,
140
ArrheniusReactionRate
,
141
TroeFallOffFunction
142
);
143
forCoeffGases
144
(
145
makeIRTemplate2Reactions
,
146
ChemicallyActivatedReactionRate
,
147
ArrheniusReactionRate
,
148
SRIFallOffFunction
149
);
150
forCoeffLiquids
151
(
152
makeIRTemplate2Reactions
,
153
ChemicallyActivatedReactionRate
,
154
ArrheniusReactionRate
,
155
SRIFallOffFunction
156
);
157
158
// Michaelis-Menten Reactions
159
forCoeffLiquids
(
makeIReactions
,
MichaelisMentenReactionRate
);
160
161
// Langmuir-Hinshelwood Reactions
162
forCoeffGases
(
makeIRReactions
,
LangmuirHinshelwoodReactionRate
);
163
forCoeffLiquids
(
makeIRReactions
,
LangmuirHinshelwoodReactionRate
);
164
165
// Flux-limited Langmuir-Hinshelwood Reactions
166
forCoeffGases
167
(
168
makeGeneralReaction
,
169
IrreversibleReaction
,
170
fluxLimitedLangmuirHinshelwoodReactionRate
171
);
172
173
// Surface-Arrhenius Reactions
174
forCoeffGases
175
(
176
makeGeneralReaction
,
177
IrreversibleReaction
,
178
surfaceArrheniusReactionRate
179
);
180
forCoeffLiquids
181
(
182
makeGeneralReaction
,
183
IrreversibleReaction
,
184
surfaceArrheniusReactionRate
185
);
186
}
187
188
189
// ************************************************************************* //
ArrheniusReactionRate.H
ChemicallyActivatedReactionRate.H
FallOffReactionRate.H
JanevReactionRate.H
LandauTellerReactionRate.H
LangmuirHinshelwoodReactionRate.H
LindemannFallOffFunction.H
MichaelisMentenReactionRate.H
SRIFallOffFunction.H
TroeFallOffFunction.H
Foam::ArrheniusReactionRate
Arrhenius reaction rate given by:
Definition:
ArrheniusReactionRate.H:60
Foam::ChemicallyActivatedReactionRate
General class for handling chemically-activated bimolecular reactions.
Definition:
ChemicallyActivatedReactionRate.H:64
Foam::FallOffReactionRate
General class for handling unimolecular/recombination fall-off reactions.
Definition:
FallOffReactionRate.H:63
Foam::IrreversibleReaction
Extension of Reaction to handle irreversible reactions.
Definition:
IrreversibleReaction.H:52
Foam::JanevReactionRate
Janev, Langer, Evans and Post reaction rate.
Definition:
JanevReactionRate.H:59
Foam::LandauTellerReactionRate
Landau-Teller reaction rate.
Definition:
LandauTellerReactionRate.H:58
Foam::LangmuirHinshelwoodReactionRate
Langmuir-Hinshelwood reaction rate for gaseous reactions on surfaces.
Definition:
LangmuirHinshelwoodReactionRate.H:65
Foam::LindemannFallOffFunction
Lindemann fall-off function.
Definition:
LindemannFallOffFunction.H:55
Foam::MichaelisMentenReactionRate
Michaelis-Menten reaction rate for enzymatic reactions.
Definition:
MichaelisMentenReactionRate.H:63
Foam::SRIFallOffFunction
The SRI fall-off function.
Definition:
SRIFallOffFunction.H:55
Foam::TroeFallOffFunction
The Troe fall-off function.
Definition:
TroeFallOffFunction.H:55
Foam::fluxLimitedLangmuirHinshelwoodReactionRate
Langmuir-Hinshelwood reaction rate for gaseous reactions on surfaces including the optional flux limi...
Definition:
fluxLimitedLangmuirHinshelwoodReactionRate.H:77
Foam::powerSeriesReactionRate
Power series reaction rate.
Definition:
powerSeriesReactionRate.H:59
Foam::surfaceArrheniusReactionRate
A modified Arrhenius reaction rate given by:
Definition:
surfaceArrheniusReactionRate.H:65
Foam::thirdBodyArrheniusReactionRate
Arrhenius reaction rate enhanced by third-body interaction.
Definition:
thirdBodyArrheniusReactionRate.H:59
fluxLimitedLangmuirHinshelwoodReactionRate.H
forGases.H
forLiquids.H
makeReaction.H
Macros for instantiating reactions on given thermo packages.
makeGeneralReaction
#define makeGeneralReaction(ReactionType, ReactionRate, ThermoPhysics)
Definition:
makeReaction.H:80
defineReaction
#define defineReaction(nullArg, ThermoPhysics)
Definition:
makeReaction.H:45
makeIRTemplate2Reactions
#define makeIRTemplate2Reactions(ReactionRate, Param1, Param2, ThermoPhysics)
Definition:
makeReaction.H:154
makeIRNReactions
#define makeIRNReactions(ReactionRate, ThermoPhysics)
Definition:
makeReaction.H:112
makeIReactions
#define makeIReactions(ReactionRate, ThermoPhysics)
Definition:
makeReaction.H:101
makeIRReactions
#define makeIRReactions(ReactionRate, ThermoPhysics)
Definition:
makeReaction.H:106
Foam
Namespace for OpenFOAM.
Definition:
atmosphericBoundaryLayer.C:32
Foam::forCoeffLiquids
forCoeffLiquids(defineReaction, nullArg)
Foam::forCoeffGases
forCoeffGases(defineReaction, nullArg)
powerSeriesReactionRate.H
surfaceArrheniusReactionRate.H
thirdBodyArrheniusReactionRate.H
src
thermophysicalModels
chemistryModel
reaction
makeReactions.C
Generated by
1.9.1