Files
CoolProp/wrappers
Ian Bell 7893a7f7d9 Make spinodal accessible to python
See plot:

```
import CoolProp, numpy as np, matplotlib.pyplot as plt
CP = CoolProp.CoolProp
AS = CP.AbstractState('HEOS','Methane&Ethane')
AS.set_mole_fractions([0.5,0.5])

# The spinodal
AS.build_spinodal()
sp = AS.get_spinodal_data()
plt.plot(sp.tau, sp.delta, label='spinodal')

# The phase envelope
AS.build_phase_envelope("none")
pe = AS.get_phase_envelope_data()
plt.plot(AS.T_reducing()/np.array(pe.T), np.array(pe.rhomolar_vap)/AS.rhomolar_reducing(), label='phase envelope')

plt.show()
```
2016-10-13 20:48:10 -06:00
..
2015-09-11 13:51:16 +02:00
2016-08-21 12:34:55 -06:00
2016-08-28 16:44:46 -06:00
2014-11-20 18:48:39 +01:00
2016-10-13 20:48:10 -06:00