Commit Graph

501 Commits

Author SHA1 Message Date
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
Ian Bell
e05d58efa3 Hack AbstractState and its SWIG wrapper to expose the liquid and vapor mole fractions; see #824 2015-09-30 23:21:01 -06:00
Ian Bell
915416d47c Added support for building .so for Android 2015-09-28 23:41:18 -06:00
Ian Bell
96f0ccc240 Fix #810 on all platforms 2015-09-05 20:28:53 -06:00
Ian Bell
da015ffb68 Add the ability to access all the critical points in C++ and python; closes #807 2015-09-03 22:28:46 -06:00
Ian Bell
1523ee30d8 Include missing config variable; see #804 2015-09-01 18:59:00 -06:00
Ian Bell
3ee7edb607 Add ability to get contributions to conductivity and viscosity; closes #800 2015-08-29 21:56:20 -06:00
Ian Bell
00a9b756ad Fix long double and double confusion in guesses structure 2015-08-29 21:26:29 -06:00
Ian Bell
eb1c140ca9 Add access to conformal state in AbstractState; closes #799 2015-08-29 17:27:57 -06:00
Ian Bell
2a1cae6f5a Add ability to set BIP for HEOS and REFPROP with common interface; closes #793
Serious problem remains with the setting/getting of betaT and betaV in REFPROP since asymmetry not taken into account
2015-08-28 22:59:33 -06:00
Ian Bell
6cb6b29b81 Fix initialization of cached elements in Helmholtz terms 2015-08-23 21:27:42 -06:00