Commit Graph

4479 Commits

Author SHA1 Message Date
Jorrit Wronski
053448af20 Update release.bsh
An attempt to handle #1469
2017-04-10 00:10:31 +02:00
jfeng08
8485eab3e6 Add low-level interface example (#1467) 2017-04-06 14:27:48 -06:00
Ian Bell
ac96aa48c8 Fix mass density in REFPROP for vapor phase; closes #1466 2017-03-31 18:26:39 -06:00
Ian Bell
95ae6173f0 Fix a few REFPROP functions; closes #1422 (#1464) 2017-03-26 17:40:09 -06:00
Jeff Henning
00f47a30b9 Update Mathcad wrapper to use MathcadAllocate() for returned strings. (#1463) 2017-03-23 20:39:43 -06:00
Ian Bell
eb297d3171 Greatly improve the stability of REFPROP mixture calls at saturation by calling SATT and SATP functions (#1460) 2017-03-18 18:39:55 -06:00
Ian Bell
6762363b6a Add ierr checks to calls to SETKTV (#1457) 2017-03-17 20:13:21 -06:00
Ian Bell
1ea15fd61e Actually set the Twu parameters if provided (#1458) 2017-03-17 20:13:11 -06:00
Ian Bell
a3807b59a5 Call SATTP properly when QT inputs are given (#1459) 2017-03-17 20:13:00 -06:00
Ian Bell
a6c778977a Fix formula for deuterium; see #1396
Add testing script
2017-03-14 19:50:06 -06:00
Ian Bell
1e61aab8ac Fix formulas for dichloroethane and ethylene oxide; closes #1396 2017-03-14 19:46:27 -06:00
Ian Bell
a3610c1cc5 Fix apply_simple_mixing_rule; closes #1455 2017-03-14 19:28:03 -06:00
Ian Bell
333a8ae866 Remove main.cxx - watch out @jowr ; this file should not be committed 2017-03-14 19:10:22 -06:00
Jorrit Wronski
6924b8d6b7 Added the new docker image for manylinux wheels 2017-03-10 21:55:30 +01:00
Jorrit Wronski
b6d01a4e33 More Python 3.6 stuff 2017-03-10 18:09:50 +01:00
Jorrit Wronski
6d9b3c0292 Added Python 3.6 for #1429 2017-03-10 18:03:06 +01:00
Jorrit Wronski
b301db585c Merge pull request #1454 from CoolProp/fix_plotting
Fix plotting
2017-03-10 13:58:10 +01:00
Jorrit Wronski
64fda4cc15 Replaced hardcoded 20 with value from REFPROP header, changed the setters and getters for the composition vectors to yield the correct size, fixes #1452 2017-03-10 13:55:09 +01:00
Jorrit Wronski
414fa7e079 Merge pull request #1453 from CoolProp/feature/trace_isoline
Feature/trace isoline
2017-03-10 13:54:49 +01:00
Jorrit Wronski
7a1ee42b27 More testing of the plotting functions 2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d This seems to be the most sane handling of the guess values 2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00 The guesses do not help much here, unfortunately 2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048 An optimistic approach towards using the guess values 2017-03-10 11:19:41 +01:00
Jorrit Wronski
1fb59957ec Merge branch 'master' into fix_plotting 2017-03-10 11:01:34 +01:00
Jorrit Wronski
25f00a5434 Replaced hardcoded 20 with value from REFPROP header, changed the setters and getters for the composition vectors to yield the correct size, fixes #1452 2017-03-10 11:00:14 +01:00
Jorrit Wronski
5b198f2e9e Added more hacks to handle the critical point 2017-03-10 09:49:04 +01:00
Jorrit Wronski
4cf5c8aef6 Started working on #1440 2017-03-10 09:32:32 +01:00
Jorrit Wronski
ea318e82ec Merge branch 'master' into feature/trace_isoline 2017-03-10 09:31:45 +01:00
Jorrit Wronski
bf73e006c0 Added the guesses to the line tracer 2017-03-10 09:29:18 +01:00
Jorrit Wronski
b59dc8dbe1 This might fix #1449, although the way import are handled here is slightly chaotic :-) 2017-03-10 08:37:38 +01:00
Ian Bell
adf71f3d62 Another attempt at emscripten relocation; see #1449 2017-03-09 19:30:43 -07:00
Ian Bell
d6db7f5809 Move F2K into emscripten_interface.cxx (#1449) 2017-03-09 19:05:51 -07:00
Ian Bell
260ba2489a Fix typo in CoolPropLib.h (#1450) 2017-03-09 19:05:45 -07:00
Jorrit Wronski
f7af136eb1 Added the line tracer to _PropSI_multi 2017-03-09 23:24:01 +01:00
Ian Bell
85ce7d6048 Fix typo in step sizing in ODEIntegrators.cpp; see #1448 2017-03-08 22:52:40 -07:00
Ian Bell
62587fd965 Update the ODE integrator to allow it to integrate backwards (#1448) 2017-03-08 22:34:10 -07:00
Jorrit Wronski
ff960a87b9 Editing main file to include the case generators 2017-03-05 00:36:23 +01:00
Ian Bell
77679f39db Added a few things to the emscripten interface 2017-03-03 20:29:58 -07:00
Jorrit Wronski
6ab19cde99 Added intermediate main to run the tests 2017-03-03 21:46:00 +01:00
Ian Bell
b2fee78b30 Fix dam_dtau for Twu; closes #1439 2017-03-01 22:33:23 -07:00
Jeff Henning
1dce5b9d14 Implemented Limited Error Handling in the Mathcad Wrapper (#1428)
* Added Error Handling for Mathad Wrapper

* Bump IF97 Revision

* Fix typo in Mathcad 15 example docs
2017-02-15 12:41:47 -07:00
Reza Afzalan
c14c6094a6 do not fail if .tables missed (#1433) 2017-02-14 11:39:23 -07:00
JonWel
1e38992541 UNIFAQ compile errors, closes #1426 (#1427) 2017-02-10 08:32:20 -07:00
JonWel
78b953e64c UNIFAQ -> UNIFAC, close #1421 (#1423)
* UNIFAQ -> UNIFAC, close #1421

* UNIFAQ -> UNIFAC, close #1421
Also file names
2017-02-10 00:13:04 -07:00
JonWel
7db398f562 Removes some C4018 warnings, #1413 (#1425)
Should correct most of the remaining C4018
2017-02-10 00:11:42 -07:00
Ian Bell
f318876fc1 Bump IF97 revision again; see #1415 2017-02-09 08:09:46 -07:00
Jeff Henning
9eb865ebc0 Bump IF97 revision (#1415) 2017-02-09 07:55:21 -07:00
JonWel
90487c3240 Set VTPR constants through the set_binary_interaction_parameter function, closes #1311 (#1420)
* Compute pure data less times
X and theta for the pure components are not dependent from temperature nor molar fraction.

* Small changes
Correct a problem where `pure_data[i].lnGamma` was not updated correctly

* Stores interaction parameters and Psi
Allows for some speed improvement

* Some cleaning
Seperate interaction parameter where useless.
The important is to fill the `std::map<std::pair<int, int>, UNIFAQLibrary::InteractionParameters> interaction;` variable correctly.

* Should helps for #1413
And I think it's even a bit faster like this ;)

* Set VTPR constants through the set_binary_interaction_parameter function, closes #1311

for instance, for a mixture with ethene and acetone:
```Julia
AbstractState_set_binary_interaction_double(AS,1, 9, "aij", 433.6)
AbstractState_set_binary_interaction_double(AS,9, 1, "aij", 199)
AbstractState_set_binary_interaction_double(AS,1, 9, "bij", 0.1473)
AbstractState_set_binary_interaction_double(AS,9, 1, "bij", -0.8709)
AbstractState_set_binary_interaction_double(AS,1, 9, "cij", 0)
AbstractState_set_binary_interaction_double(AS,9, 1, "cij", 0)
```
Allows to use Dortmund's parameters instead of Poling's.

* Improve a comment
2017-02-09 07:52:46 -07:00
Ian Bell
0fdc8b2125 Roll back Eigen to 3.3.2 - does that fix it? 2017-02-03 17:51:55 -07:00
Ian Bell
8a9e7cf0bd Bump revision of Eigen submodule; closes #1411 2017-02-03 09:44:37 -07:00