hkmoffat / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

ck2cti-different definitions of "duplicate" #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

1. We were using ck2cti (new version Cantera 2.0 in Python, but it also holds 
for the old ck2cti.exe file). Using Chemkin the (large) mechanism was running 
without problems, while ck2cti gives an error message, telling that there are 
undeclared duplicate reactions (using the debug mode, otherwise it crashes!). I 
included the word "DUPLICATE" twice into the Chemkin-Mechanism file and it 
works now, but this is an inconsistency between Chemkin and Cantera.

It is about the following two reactions (taken from ck2cti.log):

reaction 6729
   C6H4CH3 + NPBENZ => C7H8 + C2H4 + C7H7
   rate coeff:  A, n, E = (40600, 2, 2025.57)
   declared duplicate reaction. See reaction 6889.
reaction 6889
   C6H4CH3 + NPBENZ => C7H8 + C6H4CH3 + C2H4
   rate coeff:  A, n, E = (135300, 2, 5307.08)
   declared duplicate reaction. See reaction 6729.

Obviously Cantera checks only the reactants for irreversible reactions, while 
Chemkin check reactants and products. You may want to revise this?
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Burak.At...@gmail.com on 26 Jul 2012 at 7:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Cantera checks both reactants and products when checking for duplicate 
reactions.

I can't reproduce this with either the Python or .exe version of ck2cti. Can 
you attach your original mechanism file, or (preferably) a subsection of it 
that demonstrates this problem?

Original comment by yarmond on 26 Jul 2012 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 12 Aug 2012 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 27 Aug 2012 at 6:17