Cantera / enhancements

Repository for proposed and ongoing enhancements to Cantera
11 stars 5 forks source link

Mixture Equilibrium calculations at constant Volume #1

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

a-jp commented 5 years ago

Hi, Could I ask whether this is planned (or if I'm lucky within 2.4)? Specifically, I'd like to be able to do UV on a MultiPhase object via cxx. Thanks, Andy