jcaiuwyo / cantera

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

Change of pressure in demo npflame1 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the python demo flames/npflame1, the pressure setting as it is right now 
does not work: You can define a pressure in line 17, but this value is never 
used afterwards.

Solution: Include the line
 gas.setPressure(p)
after line 53.

So far, I don't get converging solutions for higher pressures (and pure H2/O2), 
but at least the pressure setting seems to work...

Original issue reported on code.google.com by thetruet...@googlemail.com on 19 Apr 2011 at 2:28

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 27 May 2011 at 11:57

GoogleCodeExporter commented 9 years ago
Fixed by r832.

Original comment by yarmond on 14 Dec 2011 at 1:37