dbirch997 / cantera

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

ck2cti problem #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to convert chemkin file into cti file. I've taken files from 
https://www-pls.llnl.gov/?url=science_and_technology-chemistry-combustion-nc7h16
_reduced_mechanism site. I'm using matlab2013 version for that I'm using python 
2.7.8 and cantera 2.1.1. Whole thing is 64 bit windows 7. I write this command 
in matlab to convert chemkin file into cti file.
ck2cti -i heptanesymp159_mec.txt -t heptanesymp_therm.txt 
it is showing that error for command ck2cti. too many input arguments. I've put 
those files to documents/matlab folder. I've install everything as given 
insrtuctions at https://code.google.com/p/cantera/wiki/WindowsInstallation. I'm 
new in this field so kindly help me. 

Here I'm attaching the mechanism and nasa files.

Original issue reported on code.google.com by shank160...@gmail.com on 15 Jul 2014 at 11:38

Attachments:

GoogleCodeExporter commented 9 years ago
You are specifying the arguments incorrectly. The proper line should be

ck2cti('chem.inp', 'therm.dat')

When I use the proper line, I get no error messages. In the future, you can 
post support messages on the Cantera User's group at 
https://groups.google.com/forum/#!forum/cantera-users. This site is for bug 
reports in Cantera. In addition, you will probably get a faster response on the 
User's group.

Bryan

Original comment by bryan.w....@gmail.com on 15 Jul 2014 at 2:38

GoogleCodeExporter commented 9 years ago
I have done that too. But it is showing cantera error. for deatils of error 
I've attached snap shot of error. 

Original comment by shank160...@gmail.com on 16 Jul 2014 at 6:28

Attachments:

GoogleCodeExporter commented 9 years ago
I cannot reproduce this error. Rather than posting a screenshot, please post 
the entire text of the error message. As a first guess, make sure that all of 
the software you have installed is the 64-bit version. The default Python 
download is 32-bit, for example. Please double check that everything is the 
correct bitness.

For further help, please post your request on the User Forum that I linked to 
earlier. Many more people will be able to see this post and help you there.

Original comment by bryan.w....@gmail.com on 16 Jul 2014 at 2:39

GoogleCodeExporter commented 9 years ago
I'm getting error in which it is saying that Unexpected token "{0}" in reaction 
expression "{1}".'.format(token, reaction))cantera.ck2cti.InputParseError: 
Unexpected token "H2+2PT(S)" in reaction expression "  2H(S)".So I don't think 
so the problem is in installation. I think the problem is in reading file. I'm 
attaching reaction,thermal and transportation files for reference. 

Original comment by shank160...@gmail.com on 17 Jul 2014 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
ck2cti does not support surface mechanisms, see: 
https://code.google.com/p/cantera/issues/detail?id=76

This is now a completely separate problem with a completely new mechanism, not 
at all related to the original problem report. For further assistance, please 
post your question to the Cantera User's Group 
(https://groups.google.com/forum/#!forum/cantera-users) so that the whole 
community can help you.

When you make your post there, please state 1) The version of Cantera, 2) The 
interface you're using, and 3) The OS. Also attach these files and copy-paste 
the entire error message, not some snippet of it.

If you have already posted a message there, please note that the User's Group 
is a moderated community, which means that your first post there may take some 
short time to appear. Subsequent posts should appear instantly.

Best regards,
Bryan

Original comment by bryan.w....@gmail.com on 17 Jul 2014 at 1:15