Commit Graph

642 Commits

Author SHA1 Message Date
Ian Bell
9b8f866e5e Remove from source control PC-SAFT data headers 2020-05-11 20:35:44 -04:00
Zach Baird
feec37f2d8 Fix pcsaft flash (#1913)
* fixing PC-SAFT flashes

* minor fixes from review

* corrections requested in review
2020-04-09 12:14:15 -04:00
ian
9a02b4564c Fix string for critical point stability key 2020-03-30 11:50:19 -04:00
ian
242105e76b Fix missing ; 2019-12-13 18:49:39 -07:00
ian
39f7f88eb0 Fix shared_ptr once and for all... ? 2019-12-13 18:43:21 -07:00
ian
86c01b8842 Seems like maybe we can remove all the references to std::tr1::shared_ptr 2019-12-12 23:22:22 -07:00
ian
1d7f6eeeff Fix header guard 2019-12-12 23:11:27 -07:00
ian
d84774d099 another try with shared_ptr 2019-12-12 23:01:53 -07:00
ian
029dffac8a Another try with shared_ptr header 2019-12-12 22:52:39 -07:00
ian
24425aea8e Fix PC-SAFT JSON files (remove trailing semicolons) 2019-12-12 21:15:41 -07:00
Zach Baird
8108b4b80b Adding PC-SAFT EOS (#1877)
* initial commit

* got pressure unit tests working

* Added density solver and tests

* Added enthalpy function

* Added unit tests for S and G

* partial addition of flash

* PCSAFT backend implemented

* added missing semicolon

* added missing semicolon
2019-12-12 20:49:22 -07:00
ian
c12ebbd6ea Add new EOS for ammonia 2019-11-06 20:18:05 -07:00
ian
1e5f31d773 More useful schema validation information 2019-10-06 00:04:32 -06:00
ian
38713b3c5c Return default delimiter to a , 2019-09-19 22:29:20 -06:00
ian
ebff29a7d2 Remove get_config_integer 2019-08-11 22:07:57 -06:00
ian
84dcbda935 Allow REFPROP error threshold to be changed; closes #1847 2019-08-11 21:43:29 -06:00
DGSEM
0c78491c6c fixes in doxygen docu for fundamental derivative (#1842) 2019-07-28 10:37:19 -06:00
Ian Bell
c5549822d2 Allow list delimiter to be changed, important for fluids like 1,1,2-trifluoroethane with commas in them (#1838) 2019-07-26 21:42:59 -06:00
Ian Bell
590cc7c817 Fix resetting of mole mass; closes #1815 2019-04-06 11:30:47 -06:00
Ian Bell
3c07cf89be Maybe fix shared_ptr for VS2008 2019-03-31 10:43:54 -06:00
Thomas Beutlich
936939b8ab Use std::shared_ptr if available in VS (#1810)
Fix compilation with VS2017, where std::tr1 is no longer enabled by default
2019-03-25 19:44:32 -06:00
Ian Bell
cb8cb0be62 Make ND solver capable of being relaxed 2019-02-21 10:17:02 -07:00
Jorrit Wronski
75c32a5153 Added isentropic expansion coefficient (#1791) 2019-01-15 10:09:06 -07:00
Ian Bell
5ce0b4ef97 Fix bug with name with incomp backend; closes #1707 2019-01-12 17:06:30 -07:00
Ian Bell
a73e447f92 Revert changes for FMT; should have been done in branch (sorry @jowr) 2019-01-11 21:27:56 -07:00
Ian Bell
7410947713 Fix some windows build failures 2019-01-11 20:27:46 -07:00
Ian Bell
b1fd926ef3 First attempt at moving FMTLIB away from header-only; speed up builds maybe? 2019-01-11 20:01:01 -07:00
Ian Bell
502bf0b506 Reduce the number of includes from DataStructures.h 2019-01-10 20:45:44 -07:00
Ian Bell
30b0aea348 Add some more pure-virtual destructors 2019-01-10 14:58:13 -07:00
Jeff Henning
4b1ace160e Throw sensible error message for single-phase surface tension (#1755) 2018-10-29 09:08:54 +01:00
Ian Bell
a68eb19a7e Fix integer comparison 2018-10-08 22:49:26 +02:00
Jorrit Wronski
514ee59e27 Updated external submodules (#1727)
This change is somewhat related to #1604 .

* Catch is now at v2.3.0
* Eigen is now at v3.3.5
* FindMathemaica is now at v3.2.4
* fmtlib (formerly cppformat) is now at v4.1.0 (v5.x.x is not compatible with our code).
* msgpack-c is now at v3.0.1
* pybind11 is now at v2.2.3    
* All the other submodules have been moved to the latest master commit
* All submodules are sorted alphabetically
2018-08-30 10:36:27 +02:00
luzpaz
93f4a986e2 Misc. typos (#1726)
Found via `codespell -i 3 -w -I ../coolprop-word-whitelist.txt` whereby whitelist consists of:
```
cas
formate
hel
nd
te
tim
ue
uint
```
2018-08-14 23:06:49 -06:00
Ian Bell
8b7fb6abd4 Implement get/set_fluid_parameter_double in C++ and python 2018-03-25 17:09:56 -06:00
Ian Bell
a2d72e5f7d I think that setting of departure functions for copied states works properly, but more testing needed 2018-03-17 13:13:50 -06:00
Ian Bell
ac84d0ddaf Remove explicit need for locale, just use the punctuation character 2018-03-11 18:33:37 -06:00
Ian Bell
774ee0c567 Make string->float conversion aware of the locale (#1666)
* Make string->float conversion aware of the locale as specified by configuration variable.

Cannot use the system-default locale because some things (matplotlib) change the system locale and it cannot be relied upon to be stable.

* Also add locale header

* Also requires the use of c_str, std::string overload is c++11
2018-03-10 13:48:24 -07:00
Jeff Henning
abcd91a9a7 Update PropsSI() to Parse Imposed Phase Strings on Input Keys (#1660)
* PropsSI enhancement to allow imposed phase on Input key string

* Update PropsSI documentation for imposing phase [skip ci]
2018-03-07 21:51:41 -07:00
Ian Bell
945f82e90e Fix the default values to assume that l and m are double, not int 2018-03-03 17:13:00 -07:00
Ian Bell
44d8a9ecb0 Allow abiliy to always reload library; closes #1648 2018-02-15 21:53:35 -07:00
Ian Bell
034a2d4612 Add include guard for ODEIntegrators.h 2017-12-03 16:18:35 -07:00
Jeff Henning
b8abf167b3 Patch PT_flash() to update _phase with imposed phase, in case it changed (#1606)
Also makes phase_lookup_string(phases Phase) available through CoolProp.h header for use in debug, warning, and error messages.
2017-12-03 18:02:36 -05:00
Ian Bell
d56cea1d21 Hack to get Catch tests to run properly. See #1530. Not the right solution... 2017-08-06 19:16:15 -06:00
Ian Bell
76a91b4412 Refactor the helmholtz evaluations 2017-06-02 21:31:05 -06:00
Ian Bell
17612bbdef Configuration variable for assuming that the critical points is stable and skipping stability analysis (#1485) 2017-05-03 14:23:47 -06:00
Jorrit Wronski
96ba75e640 Initialize ChemSpider id to fix coverity/143810 2017-04-21 19:42:17 +02:00
Jorrit Wronski
4efe01d593 Feature/refprop paths (#1477)
Explicitly specify a REFPROP library and some convenience functions to handle paths on different platforms.
2017-04-21 12:28:25 +02:00
Ian Bell
dbf729af17 Roll back somewhat to get compilation to work for MSVC2008 2017-04-21 00:32:49 -06:00
Ian Bell
27778abafe Avoid the double-free by a convenience class that is statically initialized that passes the generator 2017-04-17 22:53:10 -06:00
Ian Bell
6641efba59 Switch backend registration to the use of static generators added to a backend library
Allows for easier removal of backends by just not adding their source files
2017-04-17 21:35:42 -06:00