Ian Bell
c3508c3f55
Added parallel evaluation of residual helmholtz terms
...
Should in the end only slow down by 1.2x, but calculate at least up to second order derivatives all at once, so net speedup of 5 if calculating all first and second order partials !!
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-15 15:42:47 +02:00
Ian Bell
a84edcdb57
Implemented saturation P 1D solver for low pressure for some fluids like n-Propane
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-13 11:24:27 +02:00
Ian Bell
f7c0cb0b06
Relaxed some pressure domain checks and pass state by reference
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 23:40:16 +02:00
Ian Bell
36620cdc94
Fixed parameters in AbstractState header - SWIG is not pleased
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 22:25:24 +02:00
Ian Bell
8f9c6ca438
Added hs_anchor test (passing) and function get_state to allow to get access to states stored in the backends
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 21:17:34 +02:00
Ian Bell
e4c8d3f061
Python wrapper is more or less back in action completely. Additional testing is required.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 16:25:33 +02:00
Ian Bell
802495cad3
Last commit before rename of python module to CoolProp
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 15:07:57 +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
36d601490f
Lots more work on melting curves, can now make pretty phase diagram for water including the melting line
2014-08-10 19:28:04 +02:00
Ian Bell
c3cc696080
P,Y now works if P > pc
...
Add supercritical_gas and supercritical_liquid phase flags for a bit finer granularity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-09 15:10:09 +02:00
Ian Bell
801aa61485
Implemented psat_max and Tsat_max for pseudo-pure fluids to close https://github.com/CoolProp/CoolProp/issues/89
2014-08-09 12:17:44 +02:00
Ian Bell
faf530d588
Fixed melting curves, PY flash works for subcritical cases
2014-08-09 11:07:21 +02:00
Ian Bell
8e3f4f183b
Moved ancillaries into their own header
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-09 10:56:21 +02:00
Ian Bell
1aec75df85
PY subcrit superheated tests pass
...
There was a typo in umass() function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-08 11:26:35 +02:00
Ian Bell
dedbd3dccb
Updated shared_ptr header to allow it to be used with clang on linux independent of runtime library
2014-08-07 19:45:01 +02:00
Ian Bell
a3a122c6eb
Finally comprehensively fixed the shared_ptr header - more cleaning can be done I guess, but most cases are covered here I think.
2014-08-07 02:52:14 +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
d5ad1e371b
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-08-04 18:58:30 +02:00
Ian Bell
138135f5b7
Added Tmin and Tmax
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-04 18:58:13 +02:00
jowr
4f9df69c96
No problems compiling and running the tests...
2014-08-04 17:14:35 +02:00
Ian Bell
23337e4035
Update crossplatform_shared_ptr.h
2014-08-04 01:15:36 +02:00
Ian Bell
3f8e91d86f
Think I fixed OSX shared_ptr bug
2014-08-04 01:02:29 +02:00
Ian Bell
79d7a4965a
Added triple point temperature
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 23:58:16 +02:00
Ian Bell
17458261b5
Modifications to saturation routines (work great now)
...
Including:
adding critical pressure parameter
Adding relaxation parameter for NR sat_T
Only evaluate correction step if not near critical temp
Fixed bug with fluids like "n-Propane" that was getting interpreted as an incompressible fluid
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 23:36:22 +02:00
Ian Bell
a2f45e29da
Added functionality for trivial outputs
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 18:55:52 +02:00
Ian Bell
d1c3a19d24
Fixed include for OSX hopefully
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 16:39:24 +02:00
Ian Bell
a2abbec1c8
Fixed (?) shared_ptr header
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 16:20:25 +02:00
Ian Bell
18899a5cc3
Fixed files to compile for python on OSX
2014-08-03 14:29:07 +02:00
Ian Bell
df17eaf6cc
python wrapper builds with vs2008 (fixed bug in Eigen)
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-03 11:37:17 +02:00
Ian Bell
d9fcb2eb00
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-08-01 16:38:47 +02:00
jowr
165298d41e
Renamed the enumeration and still no luck
2014-08-01 15:44:02 +02:00
jowr
eddeee54e0
Added more fitting stuff, still some problems with the enumerations in C++
2014-08-01 15:15:35 +02:00
jowr
8ff8332e77
Added some reporting to Python. Untested changes in C++
2014-08-01 15:13:48 +02:00
Ian Bell
90103b50e2
Added two-phase enthalpy and entropy calculations based on vapor quality weighting of saturation properties. Fixed some bugs associated with that.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-01 14:16:59 +02:00
Ian Bell
de8c4e1b86
Added linspace function
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-01 14:15:55 +02:00
Ian Bell
412504a4d9
When changing reference state, hs_anchor is updated, and ancillary curves still work!! woohoo
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-01 10:50:47 +02:00
Ian Bell
ea3ceeccfe
H & S Ancillaries use value minus value at anchor state
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-01 10:34:13 +02:00
Ian Bell
195bf6bb97
SimpleState values init to _HUGE
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-01 10:00:23 +02:00
Ian Bell
f12d7c0def
PH and PS for single phase basically works now, still need to determine guess values
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-31 22:07:08 +02:00
Ian Bell
fc7eb55ca2
Added code for liquid enthalpy ancillary for Propane - proof of principle.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-31 19:39:24 +02:00
Ian Bell
3c9b02bba1
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-07-25 11:06:58 -04:00
Ian Bell
74449b5151
Reorganized MatrixMath.h header file
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-23 12:26:34 -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
jowr
6be83b1ad3
Tried pointers, but LiBr still does not work. Somnehow the object gets converted to the base class.
2014-07-17 16:34:35 +02:00
jowr
8e66da5d09
Added LiBr and some more fitting scripts
2014-07-17 15:27:40 +02:00
jowr
2bb3e182e5
Fitting works, some tests do not pass.
2014-07-17 11:52:12 +02:00
jowr
e946d84dec
Incompressible library and backend work, still need to convert the coefficients from v4.
2014-07-16 13:18:45 +02:00
jowr
cd5873e24a
Merge branch 'master' into eigenPolynomials
2014-07-14 17:01:51 +02:00
jowr
79beb6fddc
The incompressibles pass the first tests and concentration inputs are read properly
2014-07-14 14:54:09 +02:00
jowr
943eb86d2e
Added some more tests and prepared the backend. Example fluids load properly, but there are some bugs. Calculations work, but give wrong results.
2014-07-13 21:04:11 +02:00