Ian Bell
|
6b601adb10
|
PropsSImulti takes vector of strings as inputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-30 16:07:19 -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
|
323eed808c
|
Merge branch 'master' into vectorize_PropsSI
|
2014-12-30 14:32:11 -05:00 |
|
Ian Bell
|
287208b972
|
Use numerical differentiation by default to build the Jacobian for Newton ND
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-27 12:22:56 -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
|
2285e3b8c9
|
Removed some more functions
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-26 22:23:01 -05:00 |
|
Ian Bell
|
c9ad1f7e59
|
Removed unneeded overloads of PropsSI function, leaving only PropsSI and PropsSImulti
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-26 01:45:03 -05:00 |
|
Ian Bell
|
a40fee3bbe
|
Add PropsSImulti which allows for vectorization of input values and output keys
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-26 00:28:21 -05:00 |
|
Ian Bell
|
c2047e4162
|
Define get_mixture_binary_pair_data as extern in DataStructures.h in order to allow linking CoolProp and PDSim
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-24 11:17:14 -05:00 |
|
Ian Bell
|
1310af00bd
|
Allow access to gas constant through PropsSI/Props1SI; Closes #366
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-22 15:30:17 -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
|
d064baf230
|
Fix bug with PhaseSI function (at DLL level) taking Output parameter as first parameter
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-18 18:18:45 -06:00 |
|
Jorrit Wronski
|
04c26a7ebe
|
New reference state calculations seem to work fine and employ fewer calls to property functions
|
2014-12-17 13:08:21 +01:00 |
|
Jorrit Wronski
|
f594136451
|
Fixed the docs, changed the calculation of the reference state, we are half - does not work properly
|
2014-12-17 11:23:43 +01:00 |
|
Jorrit Wronski
|
9708284c60
|
cleaned up and added some gitignore files
|
2014-12-17 10:39:16 +01:00 |
|
Ian Bell
|
7cdf05cb32
|
Hide getter/setter from SWIG as well.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-12 18:51:11 -05:00 |
|
Ian Bell
|
93726173b8
|
Try to hide rapidjson header to swig for some wrappers that get confused
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-10 23:39:17 -05:00 |
|
Ian Bell
|
4f52e5242a
|
handle name mangling properly in REFPROP shared library
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-10 12:13:01 -05:00 |
|
Ian Bell
|
6b312b7fa7
|
Expose the configuration functions through SWIG - closes #326
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-10 01:25:43 -05: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
|
bab22184c9
|
Fixed handling of string configuration keys
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-09 13:19:38 -05:00 |
|
Ian Bell
|
0115553119
|
Allow user to specify the REFPROP root path for fluids and mixtures
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-09 12:21:32 -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
|
e84274367d
|
Add a better error message if fluid does not have thermal conductivity or viscosity model
See https://github.com/CoolProp/CoolProp/issues/285
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-05 14:22:48 -05:00 |
|
Ian Bell
|
0cb02a3e2f
|
Predefined mixtures working in PropsSI now
Added Catch test
``` python
In [1]: import CoolProp
In [2]: CoolProp.CoolProp.PropsSI('D','P',101325,'T',300,'Air.mix')
Out[2]: 1.1766975266680577
```
Closes https://github.com/CoolProp/CoolProp/issues/287
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-05 11:24:29 -05:00 |
|
Ian Bell
|
44a4a4d8b5
|
Improve docs for Helmholtz terms.
Closes https://github.com/CoolProp/CoolProp/issues/277
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-03 20:32:53 -05:00 |
|
Ian Bell
|
febe1b5bb6
|
Expose p_reducing
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 12:19:20 -05:00 |
|
Ian Bell
|
bd28f0829e
|
Handle multiple solutions in the critical splines better
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 10:31:01 -05:00 |
|
Ian Bell
|
f3b96109fd
|
By default, temperatures within 1 uK of the critical point will now be treated as the critical point
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 15:37:54 -05:00 |
|
Ian Bell
|
41fc9b1144
|
saturation ancillaries are now exposed through the high-level API
Closes https://github.com/CoolProp/CoolProp/issues/225
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-24 13:06:37 -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
|
a73cfd4c49
|
I'm not sure why, but this fixes VS2012+
Closes https://github.com/CoolProp/CoolProp/issues/230
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-23 21:48:24 -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
|
919d155602
|
Fixed functions in the dll export to require the length of the output string to be supplied
See https://github.com/CoolProp/CoolProp/issues/228
Should be fixed now
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-20 18:39:33 -05:00 |
|
Ian Bell
|
5c3d31d011
|
Add function to check if fluid name is valid
Closes https://github.com/CoolProp/CoolProp/issues/204
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-20 13:31:47 -05:00 |
|
Ian Bell
|
babae66294
|
Fix typo in header
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 23:07:33 -05:00 |
|
Ian Bell
|
ec3f4033f4
|
Try to fix __assert linking problem on VxWorks according to https://rowley.zendesk.com/entries/46176--Undefined-reference-to-assert-error-message
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 23:04:17 -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
|
09bdf671c7
|
Added generate_update_pair function to python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 13:21:08 -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
|
82faac7a14
|
Improve docs for DLL
See https://github.com/CoolProp/CoolProp/issues/222
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 12:00:26 -05:00 |
|
Ian Bell
|
be69e81916
|
configuration now works with the X() macros of http://www.drdobbs.com/the-new-c-x-macros/184401387
This is a very nice solution, though a bit confusing at first.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 00:11:20 -05:00 |
|
Ian Bell
|
6f4a4fcc93
|
getting/setting configuration values from python works
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-18 23:33:32 -05:00 |
|