dbirch997 / cantera

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

Problems with microsoft visual C++ when I run a kinetic examplel with other system of reactions. #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I Install cantera and run perfect the example of kinetic1.cpp with gri30 into 
the visual studio 2008 and matlab, but when I change the gri30.xml for another 
.xml that have other system of reactions with other species and change the 
initial conditions, in visual studio the program stoped in the line 76 
(sim.advance(tm);) and appear a window of Microsoft Visual C++ Debug Library 
with a error of Debug assertion Failed! (vector subscript out of range); and in 
matlab, in the line 31 (advance(network, t);) matlab stopped.

I don't know what is the problem then I want to know if anyone have the 
solution for this problem.

Thanks

Original issue reported on code.google.com by dagarcia...@gmail.com on 7 Jul 2011 at 2:33

GoogleCodeExporter commented 9 years ago
I think that the problem is the number of reactions, because when I change the 
number of reaction in gri30.xml appear the same error that I said in the 
previous post, but I don't know where I can fix this problem, I need a little 
help with this, thanks.

Original comment by dagarcia...@gmail.com on 31 Jul 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Can you provide the mechanism xml file and the Matlab script you used?

Original comment by yarmond on 15 Mar 2012 at 11:06

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 9 Apr 2012 at 11:56

GoogleCodeExporter commented 9 years ago
I'm assuming this is the same problem with mechanisms lacking third body or 
falloff reactions. If you still have this error using the current development 
version, please create a new issue.

Original comment by yarmond on 12 Apr 2012 at 3:23