Commit Graph

1074 Commits

Author SHA1 Message Date
JonWel
d08c9ebfa3 Add calc_rhomolar_critical closes #748 2015-07-27 11:13:15 +02:00
Ian Bell
ce669aee6e Fix unit conversion for internal energy for HAPropsSI 2015-07-26 13:59:08 -06:00
Ian Bell
06e3149167 Error out for mixtures for dipole moment for REFPROP 2015-07-26 13:57:01 -06:00
Ian Bell
58e7edd1dc Move fluid_param_string into backends, allowing access to CAS for REFPROP; closes #678 2015-07-26 13:35:39 -06:00
Ian Bell
3ebeadbc54 Correct calculations of cv for humid air; see #693 2015-07-26 12:27:12 -06:00
Ian Bell
0bd20b8798 Implement access to dipole moment from REFPROP; closes #725 2015-07-26 12:05:08 -06:00
Ian Bell
d1c8e77dd6 Updates to flash routines for speed and reliability
Closes #656
Closes #741
Closes #742
2015-07-26 11:45:35 -06:00
Ian Bell
8adb159a0e Unspecify the phase when using Halley's method with P+Y flash 2015-07-22 00:43:48 -06:00
Ian Bell
2149643575 P + H,S,U is now ~2 times faster in single-phase regions. Not sure about stability 2015-07-22 00:02:36 -06:00
Ian Bell
7a0140e76c Fix most of the bugs in #739 2015-07-21 21:50:46 -06:00
Ian Bell
5ba74b5e80 Fix bug in phase specification 2015-07-21 01:09:56 -06:00
Ian Bell
96178b7ec8 For pure fluids, only use one saturation pressure curve, pS, instead of pL and pV in json files; closes #711 2015-07-20 20:34:26 -06:00
Ian Bell
fb10d74f7b Don't crash if binary mixture cannot be loaded; closes #710 2015-07-20 20:15:10 -06:00
Ian Bell
2d8b672e25 Fix getting of F parameter for binary pairs for docs; closes #734 2015-07-20 19:54:13 -06:00
Ian Bell
0b9cbadf04 when wet bulb is given and dry air, decrease max temperature in solver; closes #727 2015-07-20 19:28:59 -06:00
Ian
26d7b263b2 Clean up includes; closes #705
Also clean up some more clang warnings
2015-07-19 23:49:24 -06:00
Ian
b14b5b68a2 Bunch of small changes to code to make Xcode happier 2015-07-19 22:39:55 -06:00
Ian Bell
2be9b2ea82 Implemented internal energy and cv at outputs to HAPropsSI; see #693 2015-07-14 20:52:09 -06:00
Ian Bell
a52dfea7f2 Fix HAPropsSI bugs
Closes #702
Closes #703
2015-07-14 20:34:42 -06:00
Ian Bell
a6382478f1 Fix bug with predefined mixtures; closes #722 2015-07-14 19:33:31 -06:00
Ian Bell
3c0fc7e0b4 Fix access to Gibbs function; closes #724 2015-07-13 18:54:06 -06:00
Ian Bell
b6b73192f9 Expose saturation derivatives through PropsSI; closes #712 2015-07-07 22:37:36 -06:00
Ian Bell
11417d3589 Fix saturation calls for tabular backends for PQ and QT inputs; closes #713 2015-07-07 22:19:37 -06:00
Ian Bell
a53f3cd7cb Fix isobaric_expansion_coefficient; closes #714
Also implement missing python implementation
2015-07-07 21:56:16 -06:00
Ian Bell
111371df98 Implement fugacity through low-level interface; closes #699 2015-06-30 22:04:08 -06:00
Ian Bell
074b6ec242 Get Tsat working again in a not so super nice way. 2015-06-30 19:34:06 -06:00
Ian Bell
89c7100c54 Fixed second_saturation_deriv names; closes #691
I hope this fixes it finally
2015-06-28 19:00:00 -06:00
Ian Bell
514ecef023 Implement some things for bicubic backend 2015-06-28 17:39:34 -06:00
Ian Bell
fa1720e512 Don't fail if tables need to be built 2015-06-28 13:48:19 -06:00
Ian Bell
c0f230e5d5 Move bicubic coefficients into the tabular dataset as well in order to remove copying and control memory required. 2015-06-28 13:25:18 -06:00
Ian Bell
ef929fcd2a Fix cp0 for tabular backends; closes #696 2015-06-28 12:31:09 -06:00
Ian Bell
350004f1c4 Refactored tables to remove nearly all the copying of data
Some bugs remain still
2015-06-27 20:57:12 -06:00
Ian Bell
59f2b0da88 Add code for tabular data management 2015-06-26 22:07:27 -06:00
Ian Bell
b369728912 Fix loading of tables (unsigned char to char copy) 2015-06-18 00:20:28 -06:00
Ian Bell
bb786f1b0a Build tables up to 1.5*Tmax; closes #680 2015-06-11 21:00:54 -06:00
Ian Bell
9b1e881f32 A better error message for setting reference state with T or p out of bounds; closes #695 2015-06-11 18:49:03 -06:00
Ian Bell
90a043bd56 Update include for PhaseEnvelopeRoutines.h
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-06-11 18:18:04 -06:00
Ian Bell
8a37930a8e Make the get function for tables yield a reference, not a copy (huge speedup) 2015-06-11 18:15:23 -06:00
Ian Bell
0f801bf934 Lots of improvements for tabular backends with mixtures
Turn off info about table loading
Fix saturation calls with tabular backends and mixtures
2015-06-11 17:01:02 -06:00
Ian Bell
01ba02ad2b Implement fake cp0 for tabular backends 2015-06-07 23:22:05 -06:00
Ian Bell
8c82c82ada Add some useful diagnostic messages 2015-06-07 23:18:11 -06:00
Ian Bell
afd5fd3247 Don't print out the first part of Jacobian matrix 2015-06-07 23:16:37 -06:00
Ian Bell
995037121b Allow factory to provide debug output 2015-06-07 22:55:16 -06:00
Ian Bell
80ffb49b98 Fixed DmassT and SmassT 2015-06-07 22:53:59 -06:00
Ian Bell
aa55db2d42 Excess function now using cached values in Departure function matrix; closes #689 2015-06-05 00:34:57 -06:00
Ian Bell
9340a6e846 DmassT and SmassT inputs supported for tabular methods 2015-06-04 22:12:01 -06:00
Ian Bell
997fd0d724 Psuedo-pure should fail near saturation with PT; closes #688 2015-06-04 20:56:47 -06:00
Ian Bell
2e8a698e71 Storing critical point properly 2015-06-04 19:58:27 -06:00
Ian Bell
7e3df4f67a First row of Jacobian works; closes #690 2015-06-04 19:36:59 -06:00
Ian Bell
d8cf164220 Implemented (but needs testing) the derivatives for first N-1 rows of M 2015-06-03 23:46:23 -06:00