Ian Bell
1f1acc45b3
keep going with REFPROP file endings
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-02 12:25:42 -05:00
Ian Bell
2068210cb8
Fixed fluid loading problems on *nix
2014-12-02 18:13:21 +01:00
Ian Bell
a5d94a0426
Fixed(?) REFPROP loading issues on linux
2014-12-02 17:01:20 +01:00
Ian Bell
f3dbb45249
Silence the remaining debug for Catch tests for REFPROP
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-01 23:35:35 -05:00
Ian Bell
ddbf954934
Fix bug with initialization of the ierr for REFPROP backend on linux
2014-12-02 02:37:11 +01:00
Ian Bell
5c28e1761c
Reset loaded fluid name for REFPROP when unloading
...
Also, skip code when fluid is the same
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-01 18:03:26 -05:00
Ian Bell
89859c85ee
squelch huge amount of debug output
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-01 15:10:42 -05:00
Jorrit Wronski
a707ac744f
REFPROP: Added some more debugging output and changed the fluid detection. Before, setup was called like crazy...
2014-12-01 19:12:23 +01:00
Jorrit Wronski
46ee467f4c
REFPROP: SETUPdll got called each time, the string was not updated. This might fix some issues.
2014-12-01 19:12:23 +01:00
Ian Bell
872e0a3057
Better catching of errors for refprop inputs in tests
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-29 15:13:35 -05:00
Ian Bell
e9b609055e
More useful debugging message for failing REFPROP tests
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-29 11:24:56 -05:00
Ian Bell
2e7309be3b
Relaxed some test passing criteria
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-28 22:57:08 -05:00
Ian Bell
1fc6fabc54
Relax convergence criteria for comparisons with REFPROP data in Catch test
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-24 18:27:51 -05:00
Ian Bell
3bcc83a3e4
convert assert to cassert to make VxWorks happier
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 22:14:16 -05:00
Ian Bell
8327d54ea2
Replaced all tabs with spaces (finally) in C++ files
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 12:16:14 -05:00
Ian Bell
1b91d51ae6
Updates to make VxWorks play nicely with CMake using cross-compilation
2014-11-13 05:33:49 +01:00
Ian Bell
5dcf810f0b
Added cp0 and dpdT|rho for REFPROP backend for use in PDSim
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-18 19:16:52 +02:00
Ian Bell
58556c6e14
Expose mole fractions of liquid and vapor through python
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-11 02:12:44 +02:00
Ian Bell
f6a4f7e239
Added tests for new outputs
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-26 13:30:41 +02:00
Ian Bell
12d62b076b
Added critical point values for REFPROP to close https://github.com/CoolProp/CoolProp/issues/117
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-26 13:14:17 +02:00
Ian Bell
d3261395bf
Replaced all fabs() with std::abs()
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-23 14:56:07 +02:00
Ian Bell
5bb399b22d
Fixed bug with REFPROP fluid loading (REFPROP bug?)
2014-08-22 09:13:16 +02:00
Ian Bell
0dcdf7ef5d
Implemented PQ for pseudo-pure to close https://github.com/CoolProp/CoolProp/issues/92
...
* As a consequence, made update function take CoolProp::input_pairs enum as first input (thanks @jowr for the idea)
* Decoupled the pre_update and post_update functions in order to allow for more creative update functions using guess values, etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-20 21:44:13 +02:00
Ian Bell
3e0864e620
Ncomp is now a std::size_t
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-15 17:11:25 +02:00
Ian Bell
b7bd58d986
More work on flash routines, number of failures is rapidly decreasing - still have problems for low pressure sat_p calcs
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 11:21:12 +02:00
Ian Bell
79eca1d58e
check both versions of REFPROP on windows always
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 08:50:14 +02:00
Ian Bell
7203107b67
Can use pseudo-pure fluids again with REFPROP backend
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-10 16:15:43 +02:00
Ian Bell
1a6e516eb0
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-08-09 13:59:48 +02:00
Ian Bell
adc207685d
First check the empty file extension in REFPROP
2014-08-09 13:57:49 +02:00
Ian Bell
a7f0c8b580
Fixed REFPROP on *nix (forgot to init ierr=0)
2014-08-09 12:57:38 +02:00
Ian Bell
0cb9923b70
More debugging output for TQ inputs with REFPROP for *nix
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-09 12:41:32 +02:00
Ian Bell
faf530d588
Fixed melting curves, PY flash works for subcritical cases
2014-08-09 11:07:21 +02:00
Ian Bell
2e38caec17
Fixed TQ function for REFPROP - how did that ever compile before?
2014-08-07 19:43:56 +02:00
Ian Bell
5dac38ec1a
Fixed REFPROP on *nix?
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-06 22:23:50 +02:00
Ian Bell
2c844597c9
Calculate pressure and temperature limits for HEOS and REPFPROP backends
...
Closes https://github.com/CoolProp/CoolProp/issues/83
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-06 10:23:10 +02:00
Ian Bell
3c9b02bba1
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-07-25 11:06:58 -04:00
Ian Bell
ff8a364a89
Fix condition to check for enthalpies being the same
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-23 12:27:31 -04:00
jowr
6360e84a54
Added some new functions to handle volume fractions, hope this does not cause any trouble other places
2014-07-22 17:29:01 +02:00
Ian Bell
3e4d431318
Fix REFPROP wrapper to allow use of pseudo-pure fluids
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-12 15:08:28 -04:00
Ian Bell
7157ae1ba2
Removed std::tr1 from REFPROP
2014-07-06 20:40:33 +02:00
Ian Bell
4810f8256e
REFPROP backend can calculate molar mass
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-30 17:10:52 +02:00
Ian Bell
ca7fc30a58
Added saturation spline to the AbstractState and REFPROP interfaces
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-11 15:38:49 +02:00
Ian Bell
cb497b443c
Added crossplatform_shared_ptr to allow shared_ptr cleanly on all architectures without needing variable namespace definition
2014-06-03 20:58:24 +02:00
Ian Bell
71c8875df4
Added tests for the reference states for fluids in REFPROP
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 15:38:38 +02:00
Ian Bell
17bffeb91f
Added failing tests for same reference state between REFPROP and Coolprop for enthalpy and entropy
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 12:54:57 +02:00
Ian Bell
c63b0e95e2
Implemented conductivity for CO2 from Scalabrin. All CO2 tests pass now.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-05-30 15:16:32 +02:00
Ian Bell
5eb527e730
REFPROP backend can handle pseudo-pure fluids
2014-05-22 22:01:03 +02:00
Ian bell
e32b074fc6
Reorganized backends folder
...
Signed-off-by: Ian bell <ian.h.bell@gmail.com >
2014-05-14 13:09:36 +02:00