Commit Graph

4594 Commits

Author SHA1 Message Date
Jeff Henning
1837540aca Documentation Update (#1589)
* Add misc ignores so dynamic doc content can be built in repository

* Update to documentation Makefile for clean html build on Windows

* Updates to instructions for doc builds on Windows with Anaconda

* Added documentation page for IF97

* Fix errors on documentation page for Fluid_Properties/Mixtures

* Updated HighLevelAPI docs for clarity, IF97 ref, Python 3 support, and typos

* Modify print command to support build on Python 2 or 3

* Update to documentation to compile the Python wrapper with VC++
2017-11-14 04:49:01 -05:00
Jeff Henning
d59c18728b Added Python wrapper CMake generator for vc14 for when default is higher (#1591) 2017-11-10 21:42:06 -05:00
xoviat
0e934e842e [msgpack] update dependency (#1587)
* [msgpack] update

* [tabularBackends] fix msgpack convert

* [tabularBackends] fix convert

* [tabularBackend] fix

* [tabularBackends] fix
2017-11-07 08:37:25 -07:00
Jeff Henning
6e64f8cfd1 Fixes out-of-sync fluids map when replacing a JSON fluid. (#1562)
* Fixes out-of-sync fluids map when replacing a JSON fluid.

* Pop name_vector when replacing JSON fluid to keep it from growing

* Copious commenting on fluid_map add/replace behavior in add_one().
2017-11-05 18:08:58 -07:00
galtieri
628cf09511 Update index.rst (#1580) 2017-11-02 19:10:53 -06:00
Matthis Thorade
921d7265dc Merge pull request #1584 from CoolProp/HA_example_print
print(T)
2017-11-02 10:21:19 +01:00
Matthis Thorade
1830299064 print(T)
invalid syntax here:
http://www.coolprop.org/fluid_properties/HumidAir.html#sample-hapropssi-code
2017-11-02 10:00:25 +01:00
Jorrit Wronski
56d7f78042 Added a new OSX builder, updated commands to handle new buildbot versions, still some work in progress 2017-10-30 09:14:15 +01:00
fsonnino
cf43ff5e04 Update README.rst (#1571)
* Update README.rst

* Update README.rst

* Update README.rst
2017-10-20 08:54:55 -06:00
Alex
adcf526951 Fixed a small bug with EES wrapper (#1566)
Added 'SI' directive to command string to make propssiz function work. Added a demo call to the EES sample file.
2017-10-20 08:54:04 -06:00
fsonnino
4287ad697d Create compile_only_udf.sh (#1567)
This Script only links the udf with the coolprop library, usefull if the coolprop library is already compiled to save compilation time and do a rapid test of the modified udfs
2017-10-19 08:34:02 -06:00
fsonnino
00e1702322 Create CoolProp_Properties_of_Water.c (#1569)
Fluent udf to call the following thermo physical properties of water :
-Density
-Thermal Conductivity
-Viscosity
-Specific Heat

If the user want's to add other properties it should be done in priority with the following entry variables Temperature and Pressure which gives in the udf the generic following statement :
property=PropsSI((char*)"corresponding_property", (char*)"T", temperature, (char*)"P", pressure, (char*)FLUID);
2017-10-19 08:29:45 -06:00
fsonnino
884cdc076a Create CoolProp_Properties_of_Brine.c (#1570)
This udf call the thermal properties of a mixture incompressible fluid. It calls the following properties :

-Density
-Thermal Conductivity
-Viscosity
-Specific Heat

If the user want's to add other properties it should be done in priority with the following entry variables Temperature and Pressure which gives in the udf the generic following statement :
property=PropsSI((char*)"corresponding_property", (char*)"T", temperature, (char*)"P", pressure, (char*)FLUID);
2017-10-19 08:29:35 -06:00
Ian Bell
4734c84c55 Fix typo in derivative for Joule Inversion curve; closes #1555 2017-09-28 22:41:17 -06:00
Ian Bell
0d20f03beb Reset the reducing function when the mole fractions are set 2017-09-19 23:32:57 -06:00
Dev-iL
ad44738d01 Topic 1497 - deprecating the SWIG wrapper for MATLAB in favor of a python-based alternative. (#1543)
* Replaced the old SWIG-based wrapper with a python-based one.

- `PropsSI.m` is now the entry point.
- Added tests.
- Documentation updated.

* Documentation converted from Markdown to reStructredText

Following https://github.com/CoolProp/CoolProp/issues/1497#issuecomment-324845758.

* Further fixes to documentation.

* Further fixes to documentation #2.

Worked around the indentation issue in the numbered list.

* Added handling of arrays with zero dimensions to matpy

* Added a convenience wrapper for the low-level AbstractState API

- Readme updated accordingly.
- Tests updated accordingly.

* Renamd CoolProps to CoolProp
2017-09-03 10:10:10 -06:00
Jericho
94ed79c0cc fix typos (#1542)
Typos in Julia wrapper
2017-08-28 19:36:41 +02:00
Jorrit Wronski
a0625011d1 Enabling the catch test again 2017-08-16 08:44:53 +02:00
Howard Cheung
b547a8858b Solve cmake build error: include\catch.hpp(1938): error C2678: binary '<<': no operator found which takes a left-hand operand of type 'std::ostringstream' (#1535)
* Change variable passing method

* Change & to .str()
2017-08-07 20:33:27 -06:00
Howard Cheung
59421bc2dd Calculation of first-order derivatives of isochoric specific heat, isobaric specific heat and speed of sound (#1528)
* Add derivative formula for cp and cv

* Add derivative formula for speed of sound

* Correct dwdT equation

* Validate Cv derivative calculation

* Fix errors in derivative calcualtion for Cp and speed of sound
2017-08-07 08:15:07 -06:00
Ian Bell
b0f38a40ab Fixed inconsistent alpha0 derivatives for pure fluids; closes #1509 2017-08-06 20:41:12 -06: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
8c3ea5bff2 Fix reducing state for REFPROP backend; closes #1532 2017-07-29 12:32:51 -06:00
Matthis Thorade
82cd40fa91 link to google groups in Readme (#1506)
The link uses a google shortlink, see statistics by appending a +: https://goo.gl/Pa7FBT+
2017-07-25 10:41:28 +02:00
whunter7
acb5686e91 Update PureFluids.py (#1517)
Another, hopefully final, correction to Syltherm 800. The saturation pressure array values are correct, but multiplied by the wrong power of 10. This error likely happened because the wrong units were given in the Dow FluidFile (kPa instead of bar). Dow have been informed!
2017-07-25 10:38:31 +02:00
Howard Cheung
3e1978be98 Change for compiler directive name in Cython 0.26 (#1527)
Cython 0.26 changes its compiler directive name from `embed_signature` to `embedsignature`. Hence an if-statement is added to facilitate compilation of Python wrappers using the new compiler directive name when Cython 0.26 is used. `_profiling_enabled` variable is also handled slightly more elegant.
2017-07-25 10:37:20 +02:00
Ian Bell
90260380d0 Fix rapidjson (#1510)
* Remove rapidjson entirely

* Re-add rapidjson
2017-06-18 16:23:01 -06:00
Ian Bell
ebff6162ab Fix setting of Q in UNIFAC of VTPR
Repairs the pure-fluid limit of the excess Gibbs term - Q was not getting reset in unique_groups
2017-06-18 16:10:45 -06:00
Ian Bell
f33fd98df1 Revert rapidjson to v1.1 2017-06-12 22:49:50 -06:00
Ian Bell
6a50488ab0 Bump rapidjson revision 2017-06-12 22:12:54 -06:00
Matthis Thorade
6d076f9a63 conference paper instead of github repo for HelmholtzMedia (#1504) 2017-06-12 20:15:25 +02:00
Ian Bell
b36119ed9a Cache the reducing state if T_reducing or rhomolar_reducing is called 2017-06-03 11:59:39 -06:00
Ian Bell
47f3fe100c Clear alpha0 just like alphar 2017-06-02 21:33:27 -06:00
Ian Bell
0f1ab3a870 Remove additional slash from VTPR path 2017-06-02 21:33:09 -06:00
Ian Bell
76a91b4412 Refactor the helmholtz evaluations 2017-06-02 21:31:05 -06:00
Jorrit Wronski
787e242c6f Use the shared library for the test builds to include one more source file 2017-05-29 11:21:18 +02:00
whunter7
e9ecbf959f Update PureFluids.py (#1489)
* Update PureFluids.py to fix issues with some incompressible fluids
* Corrected specific_heat and conductivity data for Syltherm 800
* Added DynaleneSF
2017-05-16 15:13:16 +02:00
Ian Bell
2e1300e52e Vtpr change q (#1495)
* Add function to change Q in VTPR

* Add missing declaration of set_Q_k
2017-05-15 15:09:06 -06:00
Ian Bell
17586fdb26 Fix backend name for VTPR backend (#1493) 2017-05-13 12:02:47 -06:00
Ian Bell
2d1df4853c Check if alpha0 is available (for cubics mostly). If not, don't evaluate the enthalpies (#1491) 2017-05-11 22:55:24 -06:00
Ian Bell
8146e980d8 Fix REFPROP mole fraction iterator (#1490) 2017-05-11 22:54:33 -06:00
Bell, Ian (Fed)
8e5aae60df Implement the much faster VTPR fugacity coefficient 2017-05-10 13:53:05 -06:00
Ian Bell
a06b69839e Fix static initialization? Thanks to Tobias Loew (#1488) 2017-05-10 10:46:03 -06:00
Ian Bell
7194db34a7 Add ability to get parameters from the VTPR backend (#1486)
Also set the populated flag (should have been done before)
2017-05-09 19:47:54 -06:00
Ian Bell
d4d36ebd1f Fix alpha0 for VTPR; needed for isochoric thermodynamics (#1484) 2017-05-03 14:23:54 -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
Ian Bell
0f75fa63f3 Improve stability of generate_headers script (git part) 2017-04-28 21:50:53 -06:00
Jeff Henning
5c50e853c8 Bump IF97 revision to include recent patches (#1481)
* Bump IF97 revision to include recent patches

* Fixed MSVC 2008 compatibility issues with externals/IF97
2017-04-28 14:03:06 -04:00
Jeff Henning
cc38d3cd01 Added low-level binary parameter functions to Mathcad wrapper (#1480)
* Added low-level binary parameter functions to Mathcad wrapper

* Updated Mathcad function doc for mixture parameter functions.
2017-04-23 18:33:45 -06:00
Jorrit Wronski
6f14a69811 Added more builders to Travis 2017-04-22 10:09:04 +02:00