s-amouyal12 / cantera

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

Converting Chemkin Files to Cantera Formats #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear All,

Please I am trying to convert my chemkin mechanism and thermo file to their 
cantera (cti) formats, though the mech is converted, I cannot get the thermo 
file for cti. 

ubuntu@ip-10-185-8-233:~/cantera/ChemicalKinetics_Inputs$ /usr/local/bin/ck2cti 
--input=chemkin_kinetic.inp --thermo=chemkin_thermo.dat --permissive --debug    

Wrote CTI mechanism file to 'chemkin_kinetic.cti'.
Mechanism contains 10 species and 42 reactions.

I am using cantera 2.1 and python 2.7. I could not enable the python3 after 
following the instructions.

See the files created:

ubuntu@ip-10-185-8-233:~/cantera/ChemicalKinetics_Inputs$ ls -al
total 32
drwxrwxr-x  2 ubuntu ubuntu 4096 Jul  6 08:17 .
drwxrwxr-x 19 ubuntu ubuntu 4096 Jul  5 18:22 ..
-rw-rw-r--  1 ubuntu ubuntu  875 Jul  5 18:23 chemkin_chemicalboundary.inp
-rw-rw-r--  1 ubuntu ubuntu 9927 Jul  6 08:39 chemkin_kinetic.cti
-rw-rw-r--  1 ubuntu ubuntu 3887 Jul  5 18:23 chemkin_kinetic.inp
-rw-rw-r--  1 ubuntu ubuntu 3271 Jul  5 18:23 chemkin_thermo.dat

There is no cti for the thermo file.

Please find attached the mech and thermo files. I also wish to say that the 
conversion did not work until I used the --permissive option.

Any help is appreciated.

Regards

Original issue reported on code.google.com by gglgot...@gmail.com on 6 Jul 2014 at 8:43

Attachments:

GoogleCodeExporter commented 9 years ago
Please any help is appreciated.

Original comment by gglgot...@gmail.com on 6 Jul 2014 at 8:45

GoogleCodeExporter commented 9 years ago
The CTI file produced by ck2cti contains both the thermo and kinetics data.

Original comment by yarmond on 7 Jul 2014 at 6:37