I was able to convert the Berkeley files. Code below. You shouldn't have to rename them.
Regards
Helena
>> help ck2cti
CK2CTI - Convert a Chemkin-compatible reaction mechanism file to
Cantera format.
f = ck2cti('chem.inp')
f = ck2cti('chem.inp', 'therm.dat')
f = ck2cti('chem.inp', 'therm.dat', 'tran.dat')
These 3 statements all create a Cantera input file 'chem.cti.' In
the first case, the CK-format file contains all required species
thermo data, while in the second case some or all thermo data is
read from file 'therm.dat.' In the third form, the input file
created will also contain transport property parameters. The
function return value is a string containing the output file
name.
prog = [ctbin,'/ck2cti'];
>> f=ck2cti('abf_mech1bar.dat','abf_thermo.dat','abf_transport.dat')
f =
abf_mech1bar.cti
>> f=ck2cti('abf_mech10bar.dat','abf_thermo.dat','abf_transport.dat')
f =
abf_mech10bar.cti
>> f=ck2cti('abf_mech90torr.dat','abf_thermo.dat','abf_transport.dat')
f =
abf_mech90torr.cti
>>
Date: Wed, 9 Jan 2013 05:54:24 -0800
From:
christianh...@googlemail.comTo:
canter...@googlegroups.comSubject: Re: [cantera-users] Re: Modeling soot formation
Hello again,
and thanks for this hint! I have seen this files before, but when I tried to convert them with ck2cti
ck2cti -i mech.inp -t therm.dat -tr tran.dat -id mymech > mech.cti
it doesn't work. Did you do this before?
I will try ck2cti with the files from MIT. I wonder if I have to rename the .mech files to mech.inp? is this correct?
For example, one of the model files is called mitsootmodellowpsymp2004.mec
Is it necessary to rename it? :
ck2cti -i mitsootmodellowpsymp2004.inp -t therm. dat -tr tran.dat -id mymech > mech.cti
Regards
Chris