Commit Graph

4285 Commits

Author SHA1 Message Date
Jorrit Wronski
a27200e766 Formatted the docs 2016-10-18 22:22:58 +02:00
Jorrit Wronski
07f0b67c70 Fixed typos and changed the binary directory for the installer from "installer" to "Installers", modifies the link posted in #1237 2016-10-18 22:08:41 +02:00
Jorrit Wronski
6f33115a20 Made some more changes to finally close #1237 2016-10-18 20:54:35 +02:00
Jorrit Wronski
7b2429dc43 Added more docs for #1237 and fixed the Excel builder 2016-10-18 20:06:36 +02:00
Jorrit Wronski
13625dc040 Merge branch 'integrate_excel_installer' 2016-10-18 17:16:41 +02:00
Ian Bell
0dbd096a56 Fix logic for Helmholtz evaluation 2016-10-17 21:45:04 -06:00
JonWel
1fd55c9eef Solves a bug in VTPR (#1272)
The value of lnGammag was not cleared, this was creating a sort of caching issue.
(@ibell this solves the issue I was had in Paper1, I finally got it)
2016-10-17 20:07:11 -06:00
Ian Bell
156b3e5cb9 Export spinodal curves in DLL; closes #1273 2016-10-17 20:06:08 -06:00
Ian Bell
ffbba512da Fix indent 2016-10-17 19:56:08 -06:00
Ian Bell
91704a450b Export critical points in DLL; closes #1274 2016-10-17 19:55:25 -06:00
Ian Bell
797f500307 Use powInt instead of pow(double,int) - seems to save about 30% in speed 2016-10-16 13:13:22 -06:00
JonWel
d8225753fe SatL and SatV of type VTPR too (#1269)
The copy was previously creating PengRobinson instances for SatV and SatL, thus calls like "QT_INPUTS" were giving identical results as PR for mixtures.
2016-10-15 18:45:50 -06:00
Ian Bell
521cfc6d78 One more try with the alpha function copying 2016-10-14 23:08:08 -06:00
Ian Bell
afb04bc5fa Set alpha (properly) in SatL and SatV in cubics; closes #1267 2016-10-14 22:51:18 -06:00
Ian Bell
94d2a7a4b7 Calculate molar mass with the VTPR backend too 2016-10-14 20:36:48 -06:00
Ian Bell
d5641856cc Grabbing some bits from #1266
Sorry @JonWel, can't do the fix you propose, so I just took 2/3 of your PR
2016-10-14 20:25:27 -06:00
Ian Bell
06bd66a23c Implement fluid_names for cubic backend; closes #1268 2016-10-14 20:19:24 -06:00
Ian Bell
ec141962f9 Set alpha in SatL and SatV in cubics; closes #1267 2016-10-14 20:09:15 -06:00
Jorrit Wronski
930debd741 Added some docs for #1237 and removed a duplicate rst for Excel 2016-10-14 15:07:28 +02:00
Ian Bell
9149341821 Make psi_plus public; closes #1240 2016-10-13 21:15:30 -06:00
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
Ian Bell
a4a8eaa5ae Rename SpinodalValues to SpinodalData to mirror phase envelope 2016-10-13 20:30:25 -06:00
Ian Bell
b948f44dd8 Implement in C++ the calculation of the spinodal 2016-10-13 20:18:28 -06:00
Ian Bell
18b4316d6c Update initialization for VTPR; closes #1264 2016-10-13 19:38:21 -06:00
Ian Bell
c929e92b3d Build/retrieve phase envelope through high-level DLL; closes #1158 2016-10-13 19:35:36 -06:00
Jorrit Wronski
1ca6bc57e1 Removed the double compilation of the cdecl dll, make Excel use the standard dlls, added the vba code to source control 2016-10-13 18:46:49 +02:00
Ian Bell
92f4c58525 Set alpha function in JSON (#1262)
* First cut at adding the ability to set alpha function from external code

Quite a bit of refactoring...

* First cut at adding the ability to set alpha function from external code

Quite a bit of refactoring...

* Fix setting of alpha function for VTPR
2016-10-12 22:44:37 -06:00
mmoelle1
3b8040f43d Update CMakeLists.txt (#1261)
Fixed bug with missing CMAKE_DL_LIBS variable under Mac OSX.
2016-10-12 21:35:27 -06:00
JonWel
1fb9925baa Solves a bug with cubic and mixtures (#1258)
The transient_pure_state has no mole fractions when created, this was triggering a CoolProp: `Mole fractions must be set` error.

I guess it's because that transient state is supposed to be pure, but this fix allows to get the answer.
Is there something more elegant to do?
2016-10-11 12:59:19 -06:00
Babak Samareh
146710677d Update iPhone compilation docs (#1257) 2016-10-11 12:51:33 -06:00
Jorrit Wronski
89fd68abaf Modified CMakeLists.txt to include other files in the installer 2016-10-07 14:49:49 +02:00
Jorrit Wronski
8719b795b5 Merge branch 'master' into integrate_excel_installer 2016-10-07 14:23:11 +02:00
Ian Bell
09ec50fa4e Try to help compilation on OSX; see #1248 2016-10-05 22:13:42 -06:00
Ian Bell
7071bf5923 Set all parameters in one shot ( a bit faster ) 2016-10-05 21:36:35 -06:00
Ian Bell
c3184a67f5 Implement set_double_array2D; closes #1252 2016-10-05 21:33:04 -06:00
Ian Bell
a4d54687fe Implement coefficient derivatives of dYr_dxi in reducing function; closes #1250 2016-10-04 23:16:32 -06:00
Ian Bell
e8c7eb6a0c Try to fix the 7zipping of example for Java and C# ; fixed sphinx builds? 2016-10-02 17:20:39 -06:00
Ian Bell
f90e75c1af Add docs for using CoolProp on OSX in Excel; closes #989 2016-10-01 20:41:42 -06:00
Ian Bell
8946a2399a Update docs for location of xlam; closes #1180 2016-10-01 20:28:41 -06:00
Ian Bell
22f79e471b main.cxx is ignored now, as should be 2016-09-30 00:54:28 -06:00
Ian Bell
84a00830b1 Slightly nicer error message 2016-09-30 00:54:28 -06:00
Ian Bell
fd1fe626b2 Merge branch 'master' of https://github.com/CoolProp/coolprop 2016-09-30 00:42:24 -06:00
Ian Bell
5b9e66c2c1 lots of small updates to get VxWorks to build properly 2016-09-30 00:41:24 -06:00
Ian Bell
f0b350e81b Add -fpermissive flag to VxWorks build 2016-09-30 00:37:19 -06:00
Ian Bell
7d5ad27f1b Couple of small typos in VxWorks docs 2016-09-29 22:23:50 -06:00
Ian Bell
953e77856a Missing semicolon ... 2016-09-29 22:09:27 -06:00
Ian Bell
51575cd2dd Add inline modifier to old format function 2016-09-29 22:07:15 -06:00
Ian Bell
138911523b Really turn off cppformat for VxWorks 2016-09-29 22:05:27 -06:00
Ian Bell
317e37504c Disable cppformat for VxWorks 2016-09-29 22:03:45 -06:00
Ian Bell
746e9bb730 Updating build system for vxWorks 2016-09-29 21:39:39 -06:00