dbirch997 / cantera

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

ctmethods error while executing tut6.m and ck2ctml.m #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. tut6.m
2. ck2ctml.m

What is the expected output? What do you see instead?
1. I expect to see the thermal conductivity calculated and output to the 
command window.
2. I expect the ctmethods to produce the new .xml file

What version of the product are you using? On what operating system?
Cantera 2.1 with Python 3.3 and Matlab 8.1.0.604 (R2013a)

Please provide any additional information below.
1. Here is the command window output for the first problem:
Error using ctmethods
************************************************
                Cantera Error!
************************************************
Procedure: Transport Base Class
Error:
**** Method electricalConductivity not implemented in model 200 ****
(Did you forget to specify a transport model?)
Error in trans_get (line 5)
    v = ctmethods(50, n, job);
Error in Transport/thermalConductivity (line 3)
v = trans_get(a.id, 2);
Error in tut6 (line 44)
lambda = [thermalConductivity(g1), thermalConductivity(g2)]

2. Here is the output for the second problem:
Error using ctmethods
Wrong number of inputs.

Error in ck2ctml (line 40)
iok = ctmethods(0, 1, infile, thermo, transport, outfile, idtag);

Error in SanDiego (line 17)
f2 = ck2ctml('chem.inp', 'therm.dat', 'tran.dat');

Original issue reported on code.google.com by steven.g...@gmail.com on 2 Dec 2013 at 5:01

GoogleCodeExporter commented 9 years ago
I am attaching the scripts and files that I used to produce the second error. I 
believe both are related by the ctmethods disfunction.

Original comment by steven.g...@gmail.com on 3 Dec 2013 at 12:38

Attachments:

GoogleCodeExporter commented 9 years ago
The issue with thermalConductivity was already fixed in r2571.

The issue with ck2ctml is resolved by r2581. Note that the resolution is to 
remove the ck2ctml function, as it is redundant. You can use ck2cti to generate 
the CTI file. Importing the phase from the CTI file will automatically generate 
the XML file.

Original comment by yarmond on 6 Dec 2013 at 11:18