hkmoffat / cantera

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

Mixture Equilibrium calculations at constant Volume #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For mixture equilibrium calculations (using python, mixture.py) only HP, TP and 
SP are implemented. Is there any reason, why constant volume calculations are 
not also implemented (UV, SV, HV, TV)?
It would be nice if this could also be included.  Thanks!

Original issue reported on code.google.com by Burak.At...@gmail.com on 18 Sep 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Despite what the documentation says, 'TV' is also implemented.

This is not a limitation of the Python interface, but a reflection of what is 
actually implemented in the C++ core. The underlying equilibrium method for 
multiphase mixtures works by finding the equilibrium condition at constant T 
and P. The HP, SP, and TV methods are implemented with a modified Newton's 
method in one variable. The other methods (UV, SV, HV, etc.) would require 
doing Newton's method with two unknowns, which isn't currently implemented.

Original comment by yarmond on 26 Sep 2012 at 5:27