OpenFOAM: API Guide
v2006
The open source CFD toolbox
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
"
33
#include "
LandauTellerReactionRate.H
"
34
#include "
thirdBodyArrheniusReactionRate.H
"
35
36
#include "
ChemicallyActivatedReactionRate.H
"
37
#include "
JanevReactionRate.H
"
38
#include "
powerSeriesReactionRate.H
"
39
40
#include "
FallOffReactionRate.H
"
41
#include "
LindemannFallOffFunction.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
88
makeReactions
(
constGasHThermoPhysics
,
constGasHReaction
)
89
makeReactions
(
gasHThermoPhysics
,
gasHReaction
)
90
makeReactions
91
(
92
constIncompressibleGasHThermoPhysics
,
93
constIncompressibleGasHReaction
94
)
95
makeReactions
(
incompressibleGasHThermoPhysics
,
incompressibleGasHReaction
)
96
makeReactions
(
icoPoly8HThermoPhysics
,
icoPoly8HReaction
)
97
makeReactions
(
constFluidHThermoPhysics
,
constFluidHReaction
)
98
makeReactions
99
(
100
constAdiabaticFluidHThermoPhysics
,
101
constAdiabaticFluidHReaction
102
)
103
makeReactions
(
constHThermoPhysics
,
constHReaction
)
104
105
106
makeReactions
(
constGasEThermoPhysics
,
constGasEReaction
)
107
makeReactions
(
gasEThermoPhysics
,
gasEReaction
)
108
makeReactions
109
(
110
constIncompressibleGasEThermoPhysics
,
111
constIncompressibleGasEReaction
112
)
113
makeReactions
(
incompressibleGasEThermoPhysics
,
incompressibleGasEReaction
)
114
makeReactions
(
icoPoly8EThermoPhysics
,
icoPoly8EReaction
)
115
makeReactions
(
constFluidEThermoPhysics
,
constFluidEReaction
)
116
makeReactions
117
(
118
constAdiabaticFluidEThermoPhysics
,
119
constAdiabaticFluidEReaction
120
)
121
makeReactions
(
constEThermoPhysics
,
constEReaction
)
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.
src
thermophysicalModels
specie
reaction
reactions
makeReactions.C
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.