Loading...
Searching...
No Matches
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 )
83// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84
85namespace Foam
86{
87 // sensible enthalpy based reactions
92 (
95 )
103 )
105
106
111 (
114 )
119 (
122 )
124}
125
126// ************************************************************************* //
Macros for instantiating reactions on given thermo packages.
#define makeReactions(Thermo, Reaction)
Namespace for OpenFOAM.
Reaction< constGasEThermoPhysics > constGasEReaction
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleEnthalpy >, 8 > icoPoly8HThermoPhysics
Reaction< constFluidHThermoPhysics > constFluidHReaction
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleEnthalpy > > constFluidHThermoPhysics
Reaction< constIncompressibleGasHThermoPhysics > constIncompressibleGasHReaction
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
Reaction< constGasHThermoPhysics > constGasHReaction
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleEnthalpy > > constAdiabaticFluidHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > incompressibleGasHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< PengRobinsonGas< specie > >, sensibleInternalEnergy > > PengRobinsonGasEThermoPhysics
Reaction< icoPoly8HThermoPhysics > icoPoly8HReaction
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleInternalEnergy >, 8 > icoPoly8EThermoPhysics
Reaction< incompressibleGasHThermoPhysics > incompressibleGasHReaction
Reaction< PengRobinsonGasEThermoPhysics > PengRobinsonGasEReaction
constTransport< species::thermo< eConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
Reaction< constAdiabaticFluidHThermoPhysics > constAdiabaticFluidHReaction
Reaction< gasHThermoPhysics > gasHReaction
Reaction< PengRobinsonGasHThermoPhysics > PengRobinsonGasHReaction
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy > > gasEThermoPhysics
Reaction< constIncompressibleGasEThermoPhysics > constIncompressibleGasEReaction
Reaction< constEThermoPhysics > constEReaction
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > constIncompressibleGasHThermoPhysics
Reaction< incompressibleGasEThermoPhysics > incompressibleGasEReaction
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
Reaction< constAdiabaticFluidEThermoPhysics > constAdiabaticFluidEReaction
Reaction< constFluidEThermoPhysics > constFluidEReaction
sutherlandTransport< species::thermo< janafThermo< PengRobinsonGas< specie > >, sensibleEnthalpy > > PengRobinsonGasHThermoPhysics
constTransport< species::thermo< eConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
constTransport< species::thermo< eConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
Reaction< constHThermoPhysics > constHReaction
Reaction< icoPoly8EThermoPhysics > icoPoly8EReaction
Reaction< gasEThermoPhysics > gasEReaction
constTransport< species::thermo< eConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleEnthalpy > > constGasHThermoPhysics
constTransport< species::thermo< eConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
Type definitions for reactions.