jcaiuwyo / cantera

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

[Cython] Use properties X and Y to get and set mole/mass fractions on Sim1D boundaries #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently it is possible to set the mole fraction on a Sim1D boundary and to 
obtain its mass fractions by the properties X and Y. However, this is not 
possible vice versa.
I looked into that a little bit. It appears that this is a lot more challenging 
than it sounds, and I'm not familiar with the strategy of storing mass 
fractions or mole fractions.
I guess it would be easier to temporarily convert one to each other when 
calling the function in onedim.pyx:Boundary1D:X and Y.

But I guess this is far down on the to do list;)

Original issue reported on code.google.com by thetruet...@googlemail.com on 7 Feb 2013 at 6:51

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 8 Feb 2013 at 2:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2182.

Original comment by yarmond on 4 Mar 2013 at 5:31