hkmoffat / cantera

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

ck2cti format conversion problem #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I want to use C1-C3 chemical kinetics mechanism, thermodynamic data, 
transport properties data into cantera format (.cti) which are presently in 
chemkin format (available on internet).
2. I converted these files from .txt format to other formats such as: chemical 
kinetics into .inp file, thermodynamic data into .DAT and thermodynamic data 
also into .DAT files. Then I imported these files into MATLAB required folder. 
3. After that I used matlab ck to cti files convert utility program (e.g. f = 
ck2cti('creckMech.inp')
      f = ck2cti('creckMech.inp', 'creckThermo.dat')
      f = ck2cti('creckMech.inp', 'creckThermo.dat',
'creckTransport.dat','creckSpecies.dat')    

What is the expected output? What do you see instead?
The input file should work but an error in the ck2cti log appears as: no THERMO 
section in input file. And, a list of species are still undefined.  

What version of the product are you using? On what operating system?
Cantera 1.8
Matlab 2011b
Operating system

Please provide any additional information below.
Hello Cantera users, 
Could you please tell how can I solve the problem of converting chemkin format 
files to cantera files? Everytime catera read an error:
Procedure: convert_ck
Error:   error encountered in input file creckMech.inp
see file ck2cti.log for more information.

Error in ==> ck2cti at 44
iok = ctmethods(0,1, infile, thermo, transport, idtag, debug, validate);

Your help would really be appreciated.

Thank you.

Regards,
Mandeep 

Original issue reported on code.google.com by mandeeps...@gmail.com on 10 Aug 2012 at 3:27

GoogleCodeExporter commented 9 years ago
These are the details of product version and operating system:
Product:
Cantera- 1.8.r444-x86.msi
Numpy- 1.6.0-win32-superpack-python2.6.exe
python 2.6
Matlab 2011b

Operating system: 
Windows XP 32-bit

Original comment by mandeeps...@gmail.com on 10 Aug 2012 at 3:32

GoogleCodeExporter commented 9 years ago
That beta version of Cantera 1.8 is no longer supported. You should uninstall 
it and upgrade to Cantera 2.0. If you still encounter problems after upgrading, 
please post the input files you're using so the issue can be reproduced.

Original comment by yarmond on 10 Aug 2012 at 5:48

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 11 Sep 2012 at 12:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello Cantera users,
I'm trying to convert the mechanism number 6 of detchem website 
http://www.detchem.com/ (Surface reactions: Reforming and oxidation of methane 
on nickel), from ck to cti. I'm not sure if I'm doing it right, so I have some 
questions and your help will be really appreciate:
1) Do I need both the mechanism and the thermodynamic data?
2) ck2cti command returns an error and ck2cti.log reports that there are no 
elements. How can I convert the file rightly?

Really thanks to everyone
Nicola

Original comment by nicola.m...@gmail.com on 6 Nov 2012 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Note: I'm using Matlab and Cantera 2.0

Nicola

Original comment by nicola.m...@gmail.com on 6 Nov 2012 at 4:17