Closed GoogleCodeExporter closed 9 years ago
Support for converting Chemkin-format mechanisms with plog and Chebyshev
reaction types is provided in the new 'ck2cti.py' script. The older ck2cti
executable does not support these reaction types, and will be removed in a
future version of Cantera.
As for the reaction number, Cantera is written in C++, which starts counting at
0...
Original comment by yarmond
on 11 Jul 2012 at 3:18
Original comment by yarmond
on 12 Jul 2012 at 6:49
$ which ck2cti /usr/local/bin/ck2cti
$ ck2cti -?
ck2cti: convert a CK-format reaction mechanism file to Cantera input format.
D. G. Goodwin, Caltech Version 1.0, August 2003.
options: -i -t
-tr
-id
-d print debugging output
The results are written to the standard output.
Pressure-dependent "PLOG" form:
SPC(63)=CH2CHO(55)+OH(26) 2.200e+17 -0.42 44.62 PLOG / 1.0 2.00e+35 -6.7 47.45 / PLOG / 10.0 1.10e+28 -4.15 46.19 / PLOG / 50.0 2.80e+26 -3.5 46.34 /
Pressure-dependent Chebyshev form:
O(25)+CH3Oj(16)(+m)=CH3OO(35)(+m) 1.0E0 0.0 0.0
TCHEB / 300.0 3000.0 / PCHEB / 0.009869232667160128 98.69232667160128 / CHEB / 4 4 / CHEB / 9.9454000e+00 1.9824000e+00 -1.2138000e-02 -6.6165000e-03 / CHEB / -1.4728000e-01 -1.5385000e-03 -1.0221000e-03 -5.2309000e-04 / CHEB / -3.9440000e-01 1.0193000e-02 6.9851000e-03 3.7782000e-03 / CHEB / -1.3597000e-01 2.9251000e-03 1.9940000e-03 1.0688000e-03 /
8 from Cantera import * 9 ---> 10 gas1 = importPhase('chem.cti') 11 print gas1
Original issue reported on code.google.com by
faribas...@gmail.com
on 10 Jul 2012 at 7:27