Commit Graph

611 Commits

Author SHA1 Message Date
Ian Bell
61caa8902e Fix include for msgpack-c; see #994 2016-03-19 21:13:03 -07:00
Ian Bell
137a850b49 Where possible, remove include paths
Can't do so for Eigen.

closes #994
2016-03-19 21:08:30 -07:00
Ian Bell
2160b02985 Implement 95% of the BIP setting/getting
See #1000
2016-03-19 20:39:40 -07:00
Ian Bell
913c6188a2 Allow ability to adjust the fineness of the refinement of the phase envelope from the high-level 2016-03-18 22:46:28 -07:00
Ian Bell
470514a8e3 Refactor phase envelope packaging with msgpack to remove external msgpack-c include
Also, don't package msgpack or rapidjson with CoolProp.  Doesn't seem necessary now
2016-03-18 21:37:49 -07:00
Ian Bell
18954facc5 Also add the configuration key 2016-03-18 21:30:58 -07:00
Ian Bell
545cbab36c Kill min and max macros to close #995 2016-03-13 10:43:45 -07:00
Ian Bell
59470d005b Added two headers that might help with #995 2016-03-12 17:33:27 -07:00
Jorrit Wronski
b498d8b287 Added the generated cubic header to the ignore files 2016-03-09 10:08:51 +01:00
Ian Bell
5da7326e31 Massive improvements to stability of flash routines. Nitrogen now has 0 failures. 2016-02-27 19:27:23 -07:00
Ian Bell
e7319b8190 One more try with header refactor 2016-02-21 22:38:49 -07:00
Ian Bell
11d952ff61 Fix _HUGE and accumulate errors 2016-02-21 22:21:36 -07:00
Ian Bell
423d08ae50 Update DBL_EPSILON 2016-02-21 22:13:33 -07:00
Ian Bell
42e414556a Break up tools headers into pieces that make more sense, allowing for potentially smaller binaries and faster compilation 2016-02-21 21:36:56 -07:00
Ian Bell
1c43a644ce Update critical point evaluation routines and remove some double-calculations of critical matrices 2016-02-17 17:34:26 -07:00
Ian Bell
525557f230 Add ability to get/set kij for cubics by overloading set/set_binary_interaction_double 2016-02-16 19:50:55 -07:00
Jorrit Wronski
3f1dd9f3d3 Added cppformat as external library, see #952 and #907. Does https://github.com/CoolProp/CoolProp/blob/master/dev/codelite/coolprop.project need updating? 2016-02-17 01:08:23 +01:00
Ian Bell
a58c9268a4 Added PT flash for cubic EOS 2016-02-14 12:41:18 -07:00
Ian Bell
d35330e0b7 Switch rapidjson over to using git submodule - for use with schema 2016-02-13 17:15:45 -07:00
Ian Bell
154bafed14 Try to remap CoolProp to always be a double 2016-02-01 16:32:43 -07:00
Ian Bell
0afd2f4400 Switch string formatting to use the cppformat library; see #907 2016-02-01 15:57:33 -07:00
Ian Bell
1273c2fe57 Fix duplicate copies of the same critical point; closes #885 2016-01-31 18:11:04 -07:00
Ian Bell
3d455b678d Add Smolar_residual to high-level API 2016-01-28 06:33:25 -07:00
Ian Bell
74e36aceac Prepare for CoolPropDbl->double; see #931 2016-01-18 19:46:18 -07:00
Ian Bell
8aac0656ad Add ability to get starting values for water mixture VLE iteration from Henry's law 2016-01-16 21:47:52 -07:00
Ian Bell
dce9e5ea0e Fix a bunch of doxygen comments 2016-01-09 14:26:20 -07:00
Ian Bell
a4b46b3738 Implement tangent plane distance; closes #808 2016-01-09 13:23:30 -07:00
Ian Bell
d81cf7c71b Try to improve speed for psychrometric calcs using mixture model; not a great success 2016-01-08 16:15:04 -07:00
Ian Bell
7aed0ccf30 One more try at #886 with absolute paths 2016-01-06 23:26:15 -07:00
Ian Bell
2dd5a90ab7 Add the ability to change the EOS for a given pure fluid 2015-12-26 13:38:50 -07:00
Ian Bell
48b9fc5f8b Add generalized model of Xiang & Deiters 2015-12-26 12:13:38 -07:00
Ian Bell
fcf641ee64 Expose enough of the AbstractState API in order to generate phase envelopes - works!; closes #819 2015-12-19 18:36:12 -07:00
Ian Bell
ac122890d1 Fix speed of sound for XXX&REFPROP backends for mixtures; see #899 2015-12-17 22:57:12 -07:00
Ian Bell
3a2b602d11 Implemented viscosity correlations and conductivity correlations for pentanes; closes #786 2015-12-13 22:06:14 -07:00
Ian Bell
4f0b5ca06a Implement cp,cv,mu,cond for mixture tabular backends based on REFPROP; closes #871 2015-12-13 13:52:51 -07:00
Ian Bell
240165006a Add an accessor function to DLL to allow for getting multiple outputs at once from low-level interface
see #888
see #880
2015-12-13 00:15:24 -07:00
Ian Bell
116cafcd8a Fixed a few things that coverity didn't like 2015-12-12 13:29:01 -07:00
Ian Bell
8478a0036c Fixed a lot of small bugs that coverity didn't like. Perhaps that fixes some other problems? 2015-12-11 22:48:21 -07:00
Ian Bell
1d48b8bcea Move mass_to_molar_inputs into AbstractState base class 2015-12-06 14:59:56 -07:00
Ian Bell
e119cbca29 Fix remove row and column functions 2015-11-14 21:46:45 -07:00
Ian Bell
2b1c932488 Fix bug with transport properties caused by caching of residual HE 2015-11-14 18:10:41 -07:00
Ian Bell
bbd9cd09e5 Use standard values for SRK and improve docs 2015-11-12 20:45:11 +01:00
Ian Bell
a4ab6dbaeb Fix compilation of HelmholtzDerivatives class 2015-11-10 07:25:30 +01:00
Ian Bell
bb06d44323 Major refactor to allow for replacement of model for alphar 2015-11-10 00:22:55 +01:00
Ian Bell
048aa079d8 Implement SRK to Helmholtz translation and documentation 2015-11-09 00:09:05 +01:00
Ian Bell
e6a46dbfa2 Add SRK translation -> Helmholtz for pure fluids 2015-11-08 22:50:01 +01:00
Ian Bell
37f75ddc23 Added DQ as input pair; closes #822 2015-10-23 13:36:01 +02:00
Ian Bell
108f3c4289 Added get_mass_fractions function to AbstractState; see #812
Also added get_mass_fractions to python wrapper
2015-10-23 12:22:45 +02:00
Ian Bell
aebe9015b9 Implement ALTERNATIVE_TABLES_DIRECTORY configuration variable; closes #838 2015-10-17 14:21:55 +02:00
Ian Bell
4b8bd14d93 Add first_saturation_deriv to high-level interface around AbstractState; closes #835 2015-10-16 14:37:02 +02:00