antioch-0.4.0
kinetics_enum.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // Antioch - A Gas Dynamics Thermochemistry Library
5 //
6 // Copyright (C) 2014-2016 Paul T. Bauman, Benjamin S. Kirk,
7 // Sylvain Plessis, Roy H. Stonger
8 //
9 // Copyright (C) 2013 The PECOS Development Team
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the Version 2.1 GNU Lesser General
13 // Public License as published by the Free Software Foundation.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
23 // Boston, MA 02110-1301 USA
24 //
25 //-----------------------------------------------------------------------el-
26 
27 #ifndef ANTIOCH_KINETICS_ENUM_H
28 #define ANTIOCH_KINETICS_ENUM_H
29 
52 namespace Antioch
53 {
54  namespace KineticsModel
55  {
56 
57  enum KineticsModel { CONSTANT = 0, // A
58  HERCOURT_ESSEN, // A * T^beta
59  BERTHELOT, // A * exp(D*T)
60  ARRHENIUS, // A * exp(-Ea/T)
61  BHE, // A * T^beta * exp(D*T)
62  KOOIJ, // A * T^beta * exp(-Ea/T)
63  VANTHOFF, // A * T^beta * exp(-Ea/T + D*T)
64  PHOTOCHEM }; // int_0^\infty f(\lambda)\sigma(\lambda) d\lambda = const(T)
65 
66  template<typename CoeffType>
67  CoeffType Tref()
68  {
69  return 1.0; // this HAS to stay this way because it is hard-coded for performances (see eq. above)
70  }
71 
72  enum Parameters{ NOT_FOUND = 0,
73  A,
74  B,
75  E,
76  D,
81  // now for the falloff, we need to know if we want
82  // the low-pressure limit or HIGH
85  };
86 
87  } // end namespace KineticsModel
88 
89 } // end namespace Antioch
90 
91 #endif // ANTIOCH_REACTION_ENUM_H
The parameters are reduced parameters.

Generated on Thu Jul 7 2016 11:09:45 for antioch-0.4.0 by  doxygen 1.8.8