Cantera  2.5.1
reaction_defs.h
Go to the documentation of this file.
1 /**
2  * @file reaction_defs.h
3  * This file defines some constants used to specify reaction types.
4  */
5 
6 // This file is part of Cantera. See License.txt in the top-level directory or
7 // at https://cantera.org/license.txt for license and copyright information.
8 
9 #ifndef CT_RXN_DEFS_H
10 #define CT_RXN_DEFS_H
11 
12 #include "cantera/base/ct_defs.h"
13 
14 namespace Cantera
15 {
16 
17 const int INVALID_RXN = 0;
18 const int NONE = 0;
19 
20 /// @name Reaction Types
21 
22 //@{
23 
24 //! A reaction with a rate coefficient that depends only on temperature and voltage
25 //! that also obeys mass-action kinetics.
26 /*!
27  * Here mass-action kinetics is defined as the reaction orders being equal to
28  * the reaction's stoichiometry.
29  *
30  * temperature. Example: O + OH <-> O2 + H
31  */
32 const int ELEMENTARY_RXN = 1;
33 
34 /**
35  * A gas-phase reaction that requires a third-body collision partner. Example:
36  * O2 + M <-> O + O + M
37  */
38 const int THREE_BODY_RXN = 2;
39 
40 /**
41  * The general form for a gas-phase association or dissociation reaction, with a
42  * pressure-dependent rate. Example: CH3 + H (+M) <-> CH4 (+M)
43  */
44 const int FALLOFF_RXN = 4;
45 
46 /**
47  * A pressure-dependent rate expression consisting of several Arrhenius rate
48  * expressions evaluated at different pressures. The final rate is calculated
49  * by logarithmically interpolating between the two rates that bracket the
50  * current pressure.
51  */
52 const int PLOG_RXN = 5;
53 
54 /**
55  * A general gas-phase pressure-dependent reaction where k(T,P) is defined in
56  * terms of a bivariate Chebyshev polynomial.
57  */
58 const int CHEBYSHEV_RXN = 6;
59 
60 /**
61  * A chemical activation reaction. For these reactions, the rate falls
62  * off as the pressure increases, due to collisional stabilization of
63  * a reaction intermediate. Example: Si + SiH4 (+M) <-> Si2H2 + H2
64  * (+M), which competes with Si + SiH4 (+M) <-> Si2H4 (+M).
65  */
66 const int CHEMACT_RXN = 8;
67 
68 /**
69  * A reaction occurring on a surface.
70  * NOTE: This is a bit ambiguous, and will be taken out in the future
71  * The dimensionality of the interface is a separate concept from the type
72  * of the reaction.
73  */
74 const int SURFACE_RXN = 20;
75 
76 //! A reaction occurring on an interface, e.g a surface or edge.
77 const int INTERFACE_RXN = 20;
78 
79 //! This is a surface reaction that is formulated using the Butler-Volmer
80 //! formulation and using concentrations instead of activity concentrations
81 //! for its exchange current density formula.
82 //! @deprecated To be removed after Cantera 2.5.
84 
85 //! This is a surface reaction that is formulated using the Butler-Volmer
86 //! formulation. Note the B-V equations can be derived from the forward
87 //! and reverse rate constants for a single step reaction. However, there
88 //! are some advantages to using the formulation directly.
89 //! @deprecated To be removed after Cantera 2.5.
90 const int BUTLERVOLMER_RXN = 26;
91 
92 //! This is a surface reaction that is formulated using the affinity
93 //! representation, common in the geochemistry community.
94 //! This is generally a global non-mass action reaction with an additional functional
95 //! form dependence on delta G of reaction.
96 //! @deprecated To be removed after Cantera 2.5.
97 const int SURFACEAFFINITY_RXN = 27;
98 
99 /**
100  * A reaction occurring at a one-dimensional interface between two surface phases.
101  * NOTE: This is a bit ambiguous, and will be taken out in the future
102  * The dimensionality of the interface is a separate concept from the type
103  * of the reaction.
104  */
105 const int EDGE_RXN = 22;
106 
107 /**
108  * A global reaction. These may have non-mass action reaction orders,
109  * and are not allowed to be reversible.
110  * @deprecated To be removed after Cantera 2.5.
111  */
112 const int GLOBAL_RXN = 30;
113 
114 //@}
115 
116 /** @name Rate Coefficient Types
117  * These types define the supported rate coefficient types for
118  * elementary reactions. Any of these may also be used as the high and
119  * low-pressure limits of falloff and chemical activation reactions.
120  *
121  * Note that not all of these are currently implemented!
122  * @todo Finish implementing reaction rate types.
123  *
124  * Magic numbers
125  * @deprecated To be removed after Cantera 2.5.
126  */
127 //@{
128 
129 const int ARRHENIUS_REACTION_RATECOEFF_TYPE = 1;
130 const int LANDAUTELLER_REACTION_RATECOEFF_TYPE = 2;
131 const int TSTRATE_REACTION_RATECOEFF_TYPE = 3;
132 const int SURF_ARRHENIUS_REACTION_RATECOEFF_TYPE = 4;
133 const int ARRHENIUS_SUM_REACTION_RATECOEFF_TYPE = 5;
134 const int EXCHANGE_CURRENT_REACTION_RATECOEFF_TYPE = 6;
135 const int PLOG_REACTION_RATECOEFF_TYPE = 7;
136 const int CHEBYSHEV_REACTION_RATECOEFF_TYPE = 8;
137 
138 //@}
139 
140 /** @name Falloff Function Types
141  *
142  * Magic numbers
143  * @deprecated To be removed after Cantera 2.5.
144  */
145 //@{
146 const int SIMPLE_FALLOFF = 100;
147 const int TROE_FALLOFF = 110;
148 const int SRI_FALLOFF = 112;
149 //@}
150 }
151 
152 #endif
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264
const int BUTLERVOLMER_NOACTIVITYCOEFFS_RXN
This is a surface reaction that is formulated using the Butler-Volmer formulation and using concentra...
Definition: reaction_defs.h:83
const int CHEBYSHEV_RXN
A general gas-phase pressure-dependent reaction where k(T,P) is defined in terms of a bivariate Cheby...
Definition: reaction_defs.h:58
const int PLOG_RXN
A pressure-dependent rate expression consisting of several Arrhenius rate expressions evaluated at di...
Definition: reaction_defs.h:52
const int SURFACE_RXN
A reaction occurring on a surface.
Definition: reaction_defs.h:74
const int BUTLERVOLMER_RXN
This is a surface reaction that is formulated using the Butler-Volmer formulation.
Definition: reaction_defs.h:90
const int GLOBAL_RXN
A global reaction.
const int EDGE_RXN
A reaction occurring at a one-dimensional interface between two surface phases.
const int THREE_BODY_RXN
A gas-phase reaction that requires a third-body collision partner.
Definition: reaction_defs.h:38
const int ELEMENTARY_RXN
A reaction with a rate coefficient that depends only on temperature and voltage that also obeys mass-...
Definition: reaction_defs.h:32
const int INTERFACE_RXN
A reaction occurring on an interface, e.g a surface or edge.
Definition: reaction_defs.h:77
const int SURFACEAFFINITY_RXN
This is a surface reaction that is formulated using the affinity representation, common in the geoche...
Definition: reaction_defs.h:97
const int CHEMACT_RXN
A chemical activation reaction.
Definition: reaction_defs.h:66
const int FALLOFF_RXN
The general form for a gas-phase association or dissociation reaction, with a pressure-dependent rate...
Definition: reaction_defs.h:44