mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Remove unnecessary reaction from ptcombust.cti
The current methods for handling negative species do not have the problem described.
This commit is contained in:
@@ -290,11 +290,3 @@ surface_reaction( "C(S) + O(S) => CO(S) + PT(S)", [3.70000E+21, 0, 62800])
|
||||
|
||||
# Reaction 24
|
||||
surface_reaction( "CO(S) + PT(S) => C(S) + O(S)", [1.00000E+18, 0, 184000])
|
||||
|
||||
# Reaction 25 (12/28/2009 HKM added: This is a fictious rxn that is added for numerical stability.
|
||||
# The issue is that if multiple surface species have a negative concentration, the
|
||||
# Jacobian for the surface problem will go singular due to the way negative concentrations
|
||||
# are truncated within Cantera. Adding in unimolecular desorption rxns with neglibigle real
|
||||
# effects alleviates the problem.)
|
||||
surface_reaction( "C(S) => C + PT(S)", [3.7E7, 0, 62800])
|
||||
|
||||
|
||||
@@ -109,11 +109,3 @@ surface_reaction( "C(S) + O(S) => CO(S) + PT(S)", [3.70000E+21, 0, 62800])
|
||||
|
||||
# Reaction 24
|
||||
surface_reaction( "CO(S) + PT(S) => C(S) + O(S)", [1.00000E+18, 0, 184000])
|
||||
|
||||
# Reaction 25 (12/28/2009 HKM added: This is a fictious rxn that is added for numerical stability.
|
||||
# The issue is that if multiple surface species have a negative concentration, the
|
||||
# Jacobian for the surface problem will go singular due to the way negative concentrations
|
||||
# are truncated within Cantera. Adding in unimolecular desorption rxns with neglibigle real
|
||||
# effects alleviates the problem.)
|
||||
surface_reaction( "C(S) => C + PT(S)", [3.7E7, 0, 62800])
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ TEST(InterfaceReaction, CoverageDependency) {
|
||||
SurfPhase surf("ptcombust.cti", "Pt_surf");
|
||||
std::vector<ThermoPhase*> phases { &gas, &surf };
|
||||
shared_ptr<Kinetics> kin(newKineticsMgr(surf.xml(), phases));
|
||||
ASSERT_EQ(kin->nReactions(), (size_t) 25);
|
||||
ASSERT_EQ(kin->nReactions(), (size_t) 24);
|
||||
|
||||
double T = 500;
|
||||
surf.setState_TP(T, 101325);
|
||||
|
||||
Reference in New Issue
Block a user