jcaiuwyo / cantera

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

unknown transport model in ctmethods of MATLAB #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.gas=GRI30;
2.flame = FreeFlame(gas);
3.

What is the expected output? What do you see instead?
What appears:
Error using ctmethods

************************************************
                Cantera Error!
************************************************

Procedure: setTransport
Error:   unknown transport model.

Error in domain_methods (line 12)
    v = ctmethods(90, n, job, a, b, c, d);

Error in Domain1D (line 29)
            d.dom_id = domain_methods(0, 1, thermo_hndl(b), kinetics_hndl(b), ...

Error in FreeFlame (line 7)
m = Domain1D(1, gas, 2);

Error in Test (line 2)
flame = FreeFlame(gas);

What version of the product are you using? On what operating system?

Cantera 2.1, Python 3.3.2, Numpy 1.8.0, Matlab R2013a on a 64 bit Windows 8 
system.

Please provide any additional information below.

I am a completely beginner to Cantera and failed right at the beginning with 
creating a FreeFlame.

Original issue reported on code.google.com by k-quadra...@gmx.de on 16 Dec 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Your error is that you did not specify a transport property set for GRI30. You 
should put either "gas = GRI30('Mix');" or "gas = GRI30('Multi');" depending on 
which diffusion modeling you want (mixture-averaged or mulit-component).

P.S. There is a User's Group at 
https://groups.google.com/forum/#!forum/cantera-users that more people look at, 
so you might get faster answers.

Hope that helps!
Bryan

Original comment by bryan.w....@gmail.com on 16 Dec 2013 at 1:00

GoogleCodeExporter commented 9 years ago
Bryan is correct. This isn't a bug in Cantera.

Also note that the FreeFlame class does not work in Matlab. You should use the 
Python interface if you need to simulate freely-propagating flames.

Original comment by yarmond on 18 Dec 2013 at 5:50