Commit Graph

714 Commits

Author SHA1 Message Date
Ian Bell
81db79758b Updated units for T_freeze
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-17 19:09:50 -05:00
Ian Bell
e05e64b22d Fix aliases for Hha and Hda
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-17 15:50:10 -07:00
Ian Bell
dedcbbe886 Sanitized return values from HAPropsSI; see #468
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-15 10:53:48 -07:00
Ian Bell
70d076afe3 Initialize fluids in HAProps_Aux; Closes #469
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-15 10:17:42 -07:00
Ian Bell
cafc269050 Returning Prandtl number works; closes #466
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-15 10:00:56 -07:00
Ian Bell
f60a76e025 Re-implement CP as output for HAPropsSI; Closes #467
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-15 09:57:38 -07:00
Jorrit Wronski
49a609ebcc Added more tests for the incompressible backend 2015-02-11 15:18:47 +01:00
Jorrit Wronski
2ad7381f2c Normal update does not change the reference state 2015-02-11 14:52:19 +01:00
Jorrit Wronski
9738503e0c Moved reference state from fluid to state object, incompressibles do internal caching now. 2015-02-11 14:48:04 +01:00
Ian Bell
f2b31faffc Fail appropriately when two-phase inputs are given for pseudo-pure; Closes #459
Fix is_pure() function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-10 18:55:24 -07:00
Ian Bell
102e2a8cb4 Merge branch 'master' of https://github.com/coolprop/coolprop 2015-02-10 18:04:15 -07:00
Ian Bell
8ae3205f68 Fixed bug with getting output quality for REFPROP flashes; Closes #460
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-10 18:03:39 -07:00
Jorrit Wronski
de5d7a46f0 Fixed tests and docs to handle #454 properly 2015-02-10 17:52:34 +01:00
Jorrit Wronski
c9c29eadd1 Added partial derivatives for incompressible fluids. Tests need to be updated and the docs are outdated... 2015-02-10 16:43:29 +01:00
Ian Bell
f81ac8fec2 Wetbulb solver T,B,P works better now; Closes #419 and #427
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-09 22:03:35 -07:00
Ian Bell
a02d973aad Mixtures can have two zero mole fractions; Closes #452
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-09 21:16:02 -07:00
Ian Bell
e8b02d48a6 REFPROP abstract state classes work properly again; Closes #431
Probably quite a bit slower since it always has to check if fluid is the same as the one loaded in REFPROP

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-09 19:30:12 -07:00
Ian Bell
d7bb83d8ae More useful error message when conformal state solver fails for some reason; Closes #450
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-09 18:28:25 -07:00
Ian Bell
183868dee2 Implement acentric factor through AbstractState and Props1SI; closes #448
Fix all instances of accentric->acentric in fluid files and codebase.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-03 17:37:53 -05:00
Ian Bell
40a499b3cf Add check for invalid input pair caused by Props1SI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 21:12:26 -05:00
Ian Bell
62808e6434 Check REFPROP trivial inputs; Closes #409
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 20:31:04 -05:00
Ian Bell
b2018a4abc Do not evaluate flash call if inputs are all in outputs; see #409
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 20:20:43 -05:00
Ian Bell
6d3181b7f9 Add tests for phase; Closes #80
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 14:12:31 -05:00
Ian Bell
6c1e1ca1c0 Merge branch 'master' of https://github.com/coolprop/coolprop 2015-02-02 14:01:41 -05:00
Ian Bell
23912165fc Added highly approximate methods for conductivity and viscosity for mixtures; Closes #307
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 14:01:12 -05:00
Ian Bell
2a7165f9af Remove some stdout for splines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 13:23:56 -05:00
Ian Bell
f9223dd30d Merge branch 'master' into two_phase_derivatives_and_splines 2015-02-02 12:23:12 -05:00
Ian Bell
3886850095 Use updated VLE values; Progress on #434
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-30 12:45:45 -06:00
Ian Bell
0064728b56 Fix bug with CoolPropLib.cpp int key scope
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-30 05:07:06 -07:00
Ian Bell
2495df75ed Catch exceptions in High-Level API; Closes #441
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-30 05:00:31 -07:00
Ian Bell
c8bbfad784 Re-enable all the ignored SWIG+MATLAB enums
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-28 22:15:03 -07:00
Ian Bell
f5739e3354 Fixed bug with 3 character long fluid names
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-28 19:34:04 -07:00
Ian Bell
575643938c Fix predefined mixtures in REFPROP; Closes #437
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-28 18:52:18 -07:00
Jorrit Wronski
792c466c3d I hope this is the last commit to fix #429 and to fix #413 2015-01-27 20:44:05 +01:00
Ian Bell
f39763f056 Do not require fluid files to be in c:\Program Files\REFPROP on windows; Closes #428
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-26 19:30:17 -07:00
Ian Bell
233de91417 Merge branch 'master' of https://github.com/coolprop/coolprop 2015-01-26 19:00:25 -07:00
Ian Bell
29bd12f94d Add humid air properties back to the SWIG wrapper; Closes #430
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-26 18:59:46 -07:00
Jorrit Wronski
33d9e2e833 More stupid mistakes in the incompressibles fixed, thanks to Luke Erickson for reporting #429, which is fixed now. 2015-01-26 22:00:41 +01:00
Jorrit Wronski
9ac0426f9a Added a default concentration of 0.0 for incomperssible pure fluids. 2015-01-20 18:41:15 +01:00
Jorrit Wronski
2a325ab6e6 still issues with #413 2015-01-20 12:36:26 +01:00
Jorrit Wronski
104175dfa1 Trying to fix #413 2015-01-20 11:01:34 +01:00
Ian Bell
4ebe23ed95 Comment out the HAPropsSI code consistency test
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-19 17:28:54 -07:00
Ian Bell
de2105fafb Add tests for HAPropsSI
Also, if an output is the same as the input, return the input directly

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-19 16:34:24 -07:00
Ian Bell
9140325926 Merge branch 'master' of https://github.com/coolprop/coolprop
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-15 20:04:43 -07:00
Ian Bell
df9bd25145 Evidently I did not commit the changes to HAPropsSI. Oops.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-15 19:55:19 -07:00
Ian Bell
41982f7e63 Phase envelope should only be able to build for pure fluids; closes #410
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-15 19:53:49 -07:00
Jorrit Wronski
3102ec9656 Fixes #406 , just a typo. 2015-01-15 17:54:57 +01:00
Ian Bell
0bb60b6ed9 Refactored HAPropsSI to handle better weird inputs
Closes #400
Closes #398
Closes #403

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-12 23:38:29 -07:00
Ian Bell
5208b32995 Fixed bug with different output for different order of inputs to HAPropsSI; Closes #399
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-12 21:58:40 -07:00
Ian Bell
12db11cbde Merge branch 'master' into HaPropsSI_bugs 2015-01-12 21:49:29 -07:00