Cantera  2.3.0
mix_defs.h
Go to the documentation of this file.
1 //! @file mix_defs.h
2 //! @deprecated All of the constants defined in this header are no longer used.
3 //! To be removed after Cantera 2.3.
4 #ifndef CT_MIX_DEFS_H
5 #define CT_MIX_DEFS_H
6 
7 namespace Cantera
8 {
9 
10 /**
11  * This generic id is used as the default in virtual base classes that employ
12  * id's. It is used to indicate the lack of an inherited class that would define
13  * the id.
14  */
15 const int cNone = 0;
16 
17 // species thermo types
18 const int cNASA = 1;
19 const int cShomate = 2;
20 const int cNASA96 = 3;
21 const int cHarmonicOsc = 4;
22 
23 /**
24  * Equation of state types:
25  *
26  * These types are used in the member function eosType() of the virtual base
27  * class ThermoPhase. They are used to distinguish different types of equation
28  * of states. Also, they may be used for upcasting from the ThermoPhase class.
29  * Their id's should be distinct.
30  *
31  * Users who wish to define their own equation of states which derive from
32  * ThermoPhase should define a unique id which doesn't conflict with those
33  * listed below. The Cantera Kernel however, will not be know about the class
34  * and will therefore not be able to initialize the class within its "factory"
35  * routines.
36  * @deprecated To be removed after Cantera 2.3.
37  */
38 const int cIdealGas = 1; // IdealGasPhase in IdealGasPhase.h
39 const int cIncompressible = 2; // ConstDensityThermo in ConstDensityThermo.h
40 /// A surface phase. Used by class SurfPhase.
41 const int cSurf = 3;
42 
43 /// A metal phase.
44 const int cMetal = 4; // MetalPhase in MetalPhase.h
45 const int cStoichSubstance = 5; // StoichSubstance.h
46 const int cSemiconductor = 7;
47 
48 const int cMineralEQ3 = 8; // MineralEQ3 in MineralEQ3.h
49 const int cMetalSHEelectrons = 9; // SHE electrode electrons
50 
51 const int cLatticeSolid = 20; // LatticeSolidPhase.h
52 const int cLattice = 21; //LatticePhase.h
53 
54 // pure fluids with liquid/vapor eqs of state
55 const int cPureFluid = 10;
56 
57 /// An edge between two 2D surfaces
58 const int cEdge = 6;
59 
60 //! Stoichiometric compound with a constant chemical potential
61 const int cFixedChemPot = 70;
62 
63 /// Constant partial molar volume solution IdealSolidSolnPhase.h
64 const int cIdealSolidSolnPhase = 5009;
65 
66 const int cMaskellSolidSolnPhase = 5010;
67 
68 //! HMW - Strong electrolyte using the Pitzer formulation
69 const int cHMW = 40;
70 
71 //! DebyeHuckel - Weak electrolyte using various Debye-Huckel formulations
72 const int cDebyeHuckel = 50;
73 
74 //! IdealMolalSoln - molality based solution with molality-based act coeffs of 1
75 const int cIdealMolalSoln = 60;
76 
77 const int cIdealSolnGasVPSS = 500;
78 const int cIdealSolnGasVPSS_iscv = 501;
79 
80 //! Fugacity Models
81 const int cMixtureFugacityTP = 700;
82 const int cRedlichKwongMFTP = 701;
83 
84 const int cMargulesVPSSTP = 301;
85 
86 const int cRedlichKisterVPSSTP = 303;
87 
88 const int cMolarityIonicVPSSTP = 401;
89 const int cMixedSolventElectrolyte = 402;
90 
91 const int cPhaseCombo_Interaction = 305;
92 
93 const int cIonsFromNeutral = 2000;
94 
95 //! Variable Pressure Standard State ThermoPhase objects
96 const int cVPSS_IdealGas = 1001;
97 const int cVPSS_ConstVol = 1002;
98 const int cVPSS_PureFluid = 1010;
99 const int cVPSS_HMW = 1040;
100 const int cVPSS_DebyeHuckel = 1050;
101 const int cVPSS_MolalSoln = 1060;
102 
103 //! Types of PDSS's
104 //! @deprecated Unused. To be removed after Cantera 2.3.
106  cPDSS_UNDEF = 100,
107  cPDSS_IDEALGAS,
108  cPDSS_CONSTVOL,
109  cPDSS_SSVOL,
110  cPDSS_MOLAL_CONSTVOL,
111  cPDSS_WATER,
112  cPDSS_MOLAL_HKFT,
113  cPDSS_IONSFROMNEUTRAL
114 };
115 
116 //! enum for VPSSMgr types that are responsible for calculating the species
117 //! standard state and reference-state thermodynamic properties.
118 //! @deprecated Unused. To be removed after Cantera 2.3.
120  cVPSSMGR_UNDEF = 1000,
121  //! Variable pressures SS calculator for ideal gas phases
123  //! Variable pressure SS calculate for phases consisting all species having
124  //! a constant molar volume property. This fits most solids.
126  cVPSSMGR_PUREFLUID,
127  //! Variable pressure SS calculate for phases consisting of real water
128  //! as the first species and species having a constant molar volume property
130  //! Variable pressure SS calculate for phases consisting of real water
131  //! as the first species and species obeying the HKFT standard state
133  //! Variable pressure SS calculate for phases consisting of completing
134  //! general representations
136 };
137 
138 
139 // kinetic manager types
140 // @deprecated To be removed after Cantera 2.3.
141 const int cGasKinetics = 2;
142 const int cInterfaceKinetics = 4;
143 const int cLineKinetics = 5;
144 const int cEdgeKinetics = 6;
145 const int cSolidKinetics = 7;
146 const int cAqueousKinetics = 8;
147 }
148 
149 #endif
Variable pressure SS calculate for phases consisting of real water as the first species and species o...
Definition: mix_defs.h:132
Variable pressure SS calculate for phases consisting of completing general representations.
Definition: mix_defs.h:135
Variable pressure SS calculate for phases consisting of real water as the first species and species h...
Definition: mix_defs.h:129
VPSSMgr_enumType
enum for VPSSMgr types that are responsible for calculating the species standard state and reference-...
Definition: mix_defs.h:119
const int cSurf
A surface phase. Used by class SurfPhase.
Definition: mix_defs.h:41
const int cFixedChemPot
Stoichiometric compound with a constant chemical potential.
Definition: mix_defs.h:61
const int cMixtureFugacityTP
Fugacity Models.
Definition: mix_defs.h:81
PDSS_enumType
Types of PDSS's.
Definition: mix_defs.h:105
Variable pressure SS calculate for phases consisting all species having a constant molar volume prope...
Definition: mix_defs.h:125
const int cMetal
A metal phase.
Definition: mix_defs.h:44
const int cVPSS_IdealGas
Variable Pressure Standard State ThermoPhase objects.
Definition: mix_defs.h:96
const int cEdge
An edge between two 2D surfaces.
Definition: mix_defs.h:58
const int cIdealMolalSoln
IdealMolalSoln - molality based solution with molality-based act coeffs of 1.
Definition: mix_defs.h:75
Variable pressures SS calculator for ideal gas phases.
Definition: mix_defs.h:122
const int cHMW
HMW - Strong electrolyte using the Pitzer formulation.
Definition: mix_defs.h:69
const int cDebyeHuckel
DebyeHuckel - Weak electrolyte using various Debye-Huckel formulations.
Definition: mix_defs.h:72
Namespace for the Cantera kernel.
Definition: application.cpp:29
const int cIdealGas
Equation of state types:
Definition: mix_defs.h:38
const int cNone
This generic id is used as the default in virtual base classes that employ id's.
Definition: mix_defs.h:15
const int cIdealSolidSolnPhase
Constant partial molar volume solution IdealSolidSolnPhase.h.
Definition: mix_defs.h:64