Commit Graph

2935 Commits

Author SHA1 Message Date
Ian Bell
3d4e940de9 Implement docs for MATLAB calling of low-level interface; closes #670 2015-05-13 23:42:42 -06:00
Ian Bell
8c131017ed Add some docs for derivatives for two phase derivatives 2015-05-13 23:25:11 -06:00
Ian Bell
437c84befb Fix some more coverity warnings 2015-05-12 22:19:22 -06:00
Ian Bell
05abba2dda Fixed a bunch of coverity warnings; still quite a few to go 2015-05-12 20:23:28 -06:00
Ian Bell
9c91238590 Merge branch 'master' of https://github.com/coolprop/coolprop 2015-05-12 19:58:56 -06:00
Ian Bell
6168b05379 Fall back to SATP or SATT for QT and PQ inputs when saturated; closes #663 2015-05-12 19:58:32 -06:00
Jorrit Wronski
bf6bfb99ae Merge pull request #667 from postmath/do-not-overwrite-cmake-build-type
If -DCMAKE_BUILD_TYPE is set on the cmake command line, do not overwr…
2015-05-12 19:06:20 +02:00
Erik Postma
5c3561a8d8 If -DCMAKE_BUILD_TYPE is set on the cmake command line, do not overwrite it.
Currently, there is some logic that says if COOLPROP_VERSION_REVISION is "dev",
then the build type is set to Debug by default, otherwise to Release. With
this change, that logic will only trigger if CMAKE_BUILD_TYPE was not set
already (e.g. on the command line with a -D option). The behaviour is
overridden by the COOLPROP_RELEASE and COOLPROP_DEBUG variables.

This makes it easier to integrate the CoolProp build into Maplesoft's build
system.
2015-05-12 12:00:06 -04:00
Ian Bell
594f995b42 Fix bug in string conversion 2015-05-10 18:19:58 -06:00
Ian Bell
0067f116b4 Fix triple point for mixtures with REFPROP and fixed predefined mixtures for tabular backends; closes #664 and #661 2015-05-10 17:52:13 -06:00
Ian Bell
ce6d55596f Add PIP as string parameter; closes #659 2015-05-10 16:41:20 -06:00
Ian Bell
98567db67d Implement PT flash with guesses in HEOS backend 2015-05-10 16:31:24 -06:00
Ian Bell
e5a25a1cc0 Add rhomolar in the guesses copy 2015-05-10 16:28:24 -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
cb909edda7 Fixed typo in REFPROP example 2015-05-08 19:22:14 -06:00
Ian Bell
8e3863729e More information on REFPROP in low- and high-level interfaces; closes #657 2015-05-08 19:10:20 -06:00
Ian Bell
eaef80989c Fix typo in example generator; see #657 2015-05-08 19:00:36 -06:00
Ian Bell
8ba4d01333 Add some REFPROP examples; see #657 2015-05-08 18:53:03 -06:00
Ian Bell
a4981443a5 Implement PIP for REFPROP; closes #658 2015-05-08 17:50:41 -06:00
Ian Bell
ddc0fb3fcd Do HS flash using TS and iterating on T; closes #630 2015-05-07 22:31:16 -06:00
Ian Bell
3936bb59f7 Implement PT with guess for rho for REFPROP backend; closes #653
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-07 22:16:29 -06:00
Ian Bell
04897ee1e3 Calculate true critical point using REFPROP backend; closes #652 2015-05-07 21:28:57 -06:00
Ian Bell
0dea8a4dd8 Added back examples for MATLAB for sphinx; closes #650
Maybe fixed highlighting for c# too
2015-05-07 19:50:01 -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
b36d451206 Add B,C virial coefficients to python wrapper 2015-05-06 23:04:09 -06:00
Ian Bell
5ff80367db Some updates to docs; see #648 2015-05-06 22:42:09 -06:00
Ian Bell
5dc98bbc14 Fix hs_anchor state for HeavyWater
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-05 21:21:47 -06:00
Ian Bell
b672ea191e fix REFPROP PATH for fluids on *nix 2015-05-05 21:19:29 -06:00
Ian Bell
ae66a3f042 update REFPROP headers 2015-05-05 20:50:54 -06:00
Ian Bell
877223753f Use the new REFPROP header; closes #647 2015-05-05 20:41:46 -06:00
Ian Bell
f712d20d2e Added B,C virials for REFPROP backend; closes #646 2015-05-05 20:14:56 -06:00
Ian Bell
a20824b5df Support mass and molar inputs to TTSE and BICUBIC; see #634
Added test as well
2015-05-05 20:02:32 -06:00
Ian Bell
fc4d9c2aeb Force REFPROP tests to output the offset in helmholtz energy required
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-04 22:24:07 -06:00
Ian Bell
537e5af103 Goodbye melting line for heavy water 2015-05-04 22:04:02 -06:00
Ian Bell
03df3c7098 Repaired two of the tests for splined two phase derivatives 2015-05-04 22:00:41 -06:00
Ian Bell
3cd7cc2af7 Fix to R407C max_sat_T state 2015-05-04 21:53:21 -06:00
Ian Bell
7c23fc02fb Test that HS are the same for all fixed state points and reference states; closes #627 2015-05-04 20:53:58 -06:00
Ian Bell
d42f896e0e Tidy up some typos in low-level interface code; closes #626 2015-05-04 08:48:20 -06:00
Ian Bell
840c497fdf Enable some additional debugging for HelmholtzEOSBackend 2015-05-03 23:16:38 -06:00
Ian Bell
dc1d434e76 Fixed typo in LL API; see #626 2015-05-03 23:13:58 -06:00
Ian Bell
12779b6c96 A first attempt at #626 2015-05-03 23:00:10 -06:00
Ian Bell
5958e05682 Implemented two_phase_deriv for TTSE and BICUBIC and updated tests (pass); closes #644 2015-05-03 19:33:05 -06:00
Ian Bell
8c7e47c83d Add derivative along saturation curve for Tabular backends; closes #635 2015-05-03 18:14:57 -06:00
Ian Bell
3957dee130 Support PQ_INPUTS for TTSE backend 2015-05-03 18:13:24 -06:00
Ian Bell
8969eb5a24 Implemented viscosity and conductivity for heavy water; closes #638 2015-05-01 22:47:45 -06:00
Ian Bell
28ef66212b Merge branch 'master' of https://github.com/coolprop/coolprop 2015-05-01 21:29:04 -06:00
Ian Bell
40e7844912 Install psyrc file; closes #641 2015-05-01 21:28:29 -06:00
Jorrit Wronski
e2b7043ce4 Make Ttriple aware of mixtures, but disable it because it is not part of REFPROP. 2015-05-01 16:49:36 +02:00
Jorrit Wronski
7ac318b094 Fixed triple point from REFPROP, should improve #411 and fixes #642 2015-05-01 11:36:48 +02:00