Ian Bell
23dd866ad6
Fix variable names for second_partial_deriv and calc_second_partial_deriv; see #691
2015-06-12 05:56:25 -06:00
Ian Bell
a58a64658d
Implemented ideal curves at C++ level; see #654
2015-05-29 00:40:28 -06:00
Ian Bell
0987a11480
Disable Tabular backends in high-level interface using PropsSI; closes #617
2015-05-08 20:28:35 -06:00
Ian Bell
01da76f6a0
parameters instead of int for keyed_output and trivial_keyed_output
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-05-08 19:39:52 -06:00
Ian Bell
04897ee1e3
Calculate true critical point using REFPROP backend; closes #652
2015-05-07 21:28:57 -06:00
Ian Bell
dd795aec57
Implement the PIP parameter of Venkatharathnam for HEOS backend through to python and B and C virial coefficients
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-05-06 23:27:23 -06:00
Ian Bell
8f9817b1ae
Export up to 4th order derivatives of the residual Helmholtz energy term
2015-04-23 10:05:11 -06:00
Ian Bell
d190704c3a
REFPROP PHI0dll function seems to be working by some miracle; closes #555
2015-03-26 22:33:07 -06:00
Ian Bell
927a394b88
Added snippets/HighLevelLowLevel.cxx
...
Fixed bug with rhomass for Tabular methods
2015-03-17 21:27:55 -06:00
Ian Bell
ea214085c1
Merge pull request #529 from mikekaganski/master
...
First bunch of Coverity Scan static analysis warning fixes
2015-03-09 07:05:50 +01:00
Ian Bell
7a375952e0
Implement calling a flash routine with guess values provided at the low-level (PQ only for now)
2015-03-06 15:38:25 -07:00
mikekaganski
af3107ed9a
Fix Coverity CID 38616
2015-03-06 22:14:30 +10:00
Ian Bell
716c5a34d0
Merge branch 'master' into tabular
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-24 20:20:00 -07:00
mikekaganski
1068b724c3
CoolPropDbl
...
Introduce CoolPropDbl to replace long doubles. This may help to overcome
possible portability problems, and test for efficiency and precision.
2015-02-24 13:24:51 +10:00
Ian Bell
bea9f8ad6b
Merge branch 'master' into tabular
2015-02-22 23:34:39 -07:00
Ian Bell
aff594bb25
Fix reducing state access for REFPROP; closes #487
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-22 23:11:40 -07:00
Ian Bell
a43693de58
Single-phase HmolarP_INPUTS are working with TTSE
2015-02-22 21:08:32 -07:00
Ian Bell
58519d5fbf
Good progress on tabular interpolation code - single-phase tables can be constructed and written to file and then reloaded
2015-02-22 02:27:13 -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
ad978bf294
Expose second derivatives through AbstractState and add test (passes)
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-04 00:34:45 -05:00
Ian Bell
9e5c3d6035
Preliminary work on two-phase derivatives and splines
...
Added two-phase derivative, works!
Spline for drho/dh|p works
Spline for drho/dh|p NOT WORKING
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-01 22:58:05 -05:00
Ian Bell
50b611bd4a
Move predefined mixture parsing to HelmholtzEOS initializer function; Closes #373
...
Renamed functions for Helmholtz backend for getting const or non-const reference to mole fractions
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-31 18:06:12 -05:00
Ian Bell
733cf60b31
Call clear() in instantiator for AbstractState
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-30 23:04:03 -05:00
Ian Bell
9c05e93fd6
Refactor AbstractState::factory to take vector of strings
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-30 16:06:07 -05:00
Ian Bell
6dc00552e4
Implement the Prandtl number. Closes #372
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-27 00:38:37 -05:00
Ian Bell
a8375c3912
Added saturated_liquid_keyed_output and saturated_vapor_keyed_output functions to get access to internals for saturation state
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-26 22:24:25 -05:00
Ian Bell
884a3ff8ff
Implemented second saturation derivatives with respect to p; Closes #238
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-19 17:39:47 -06:00
Ian Bell
19353c764c
Merge branch 'master' into refprop_derivative_support
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:39:00 -05:00
Ian Bell
751a92232a
Implemented second partial derivatives in the AbstractState class
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:37:04 -05:00
Ian Bell
fe1e41f0eb
Expose fluid names through the AbstractState. Closes #322
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:05:55 -05:00
Ian Bell
1a9f0a4e32
Derivatives are working, seems like a bug in REFPROP PHI0dll function is the only remaining problem
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-09 18:55:52 -05:00
Ian Bell
32fa56108d
Implemented rhomass_critical function in AbstractState. Closes https://github.com/CoolProp/CoolProp/issues/303
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-08 18:22:01 -05:00
Ian Bell
43c24d66c0
Implemented first saturation derivatives
...
See https://github.com/CoolProp/CoolProp/issues/238
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-05 17:59:20 -05:00
Ian Bell
f706657072
Implemented conformal state solver for ECS
...
Closes https://github.com/CoolProp/CoolProp/issues/185
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-23 23:37:31 -05:00
Ian Bell
cf6f2f0c22
Add T_freeze as an output for incompressibles
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-23 20:43:50 -05:00
Ian Bell
383b045bb1
Exposes values for minimum and maximum fractions for incompressibles
...
Closes https://github.com/CoolProp/CoolProp/issues/233
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-23 20:18:39 -05:00
Ian Bell
6eb303d134
Get reducing state works properly - now virtual
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-20 18:59:59 -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
cfcd50bffc
Fixed evaluation AT the critical point
...
Closes https://github.com/CoolProp/CoolProp/issues/178
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-16 00:12:46 +02:00
Ian Bell
c0157c0814
Added the ability to set/unset the phase for the abstract state class
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 16:17:01 +02:00
Ian Bell
1d940ec8bf
Removed old melting line functions
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 15:00:41 +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
92299092a4
Updated python wrappers of both Abstract State and old kSI based state class
...
Fixed cp0
Works again with PDSim
Closes https://github.com/CoolProp/CoolProp/issues/134
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-09 14:30:42 +02:00
Ian Bell
cdc21e38e8
PhaseEnvelopeData can be extracted using the get_phase_envelope_data function from the AbstractState
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-06 21:41:14 +02:00
Ian Bell
799422fe40
Implemented generalized second derivative, seems to work, implemented at PropsSI level too
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-24 17:26:46 +02:00
Ian Bell
cd8ee9eb52
Added code and tests for saturation ancillaries (p, rho', rho'')
...
Closes https://github.com/CoolProp/CoolProp/issues/75
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-23 13:01:56 +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
881a6c4616
Added handling for first partial derivative as a string - added tests - they pass
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-19 00:34:26 +02:00
Ian Bell
39a99e183c
Removed _forceSinglePhase, _forceTwoPhase (not used), specify_phase() should be used instead
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-18 19:25:25 +02:00
Ian Bell
61bc24e7b1
phases is now an enum, added (non-working) critical region VLE solver
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-15 17:13:00 +02:00