Commit Graph

4770 Commits

Author SHA1 Message Date
Ian Bell
4f500ba4bf Add the ability to force the bitness to be the native bitness for cross-compilation for Raspberry PI (and other targets) 2017-12-12 20:53:56 -07:00
Ian Bell
7ea50a832f Implement calc_name and calc_fluid_names for tabular backends; closes #1616 2017-12-12 20:43:38 -07:00
Matthis Thorade
0711a2e66f only clone the last 5 commits (#1610) 2017-12-12 08:32:58 -07:00
Matthis Thorade
526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00
Ian Bell
33dff0be6d Bump REFPROP-headers 2017-12-05 23:25:13 -07:00
Ian Bell
42231068da Bump REFPROP-headers 2017-12-05 20:15:19 -07:00
Ian Bell
491d432ce1 Bump REFPROP-headers 2017-12-05 09:36:55 -07:00
Ian Bell
d2a142a4e3 Add some residual pass-through convenience functions 2017-12-03 17:57:56 -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
614834abb9 Add residual versions of psi derivatives 2017-12-02 13:24:20 -07:00
Ian Bell
9a604420e3 First step of reducing the number of calls for alpha0 2017-12-02 12:42:59 -07:00
Ian Bell
1bb6fccec5 Pre-calcaulate common exp(theta[i]*tau) terms 2017-12-02 11:00:35 -07:00
Jorrit Wronski
fa88860fbb Updated REFRPROP-headers 2017-12-01 14:44:16 +01:00
Jorrit Wronski
c1e0f12595 Update CMakeLists.txt
Added `CMAKE_DL_LIBS` to library builds
2017-11-26 13:26:40 +01:00
Jorrit Wronski
a5309a3ecb Added 'name' output to HEOS fluid_param_string 2017-11-22 14:13:01 +01:00
Ian Bell
3b40b6f00c Add GuessesStructure to pybind11 interface 2017-11-20 22:04:25 -07:00
Ian Bell
a0e7c7680d Disable the MATLAB examples 2017-11-19 22:35:11 -07:00
Ian Bell
71a0723e1e Fix ideal curves in pybind11 interface 2017-11-19 22:26:42 -07:00
Ian Bell
23c607d66a Update MSVC for Catch windows build 2017-11-17 21:42:23 -07:00
Ian Bell
c065cacd8a Set the departure function in both ij and ji pairs 2017-11-17 21:24:20 -07:00
Ian Bell
3ef8042ce8 Remove all the remaining MATLAB builders; switch to python for MATLAB 2017-11-17 21:23:15 -07:00
Jeff Henning
52efc9b5b4 Fix slight memory leak when replacing fluid jSON. (#1596) 2017-11-17 17:45:25 -05:00
Ian Bell
7fb71a366b Removed some buildbot builders that are no longer needed 2017-11-15 22:19:21 -07:00
Ian Bell
62fda6f174 Add ability to specify the departure functions as JSON 2017-11-15 00:16:25 -07:00
Ian Bell
51b38ddd21 Add hybrid exponential + gaussian departure terms 2017-11-14 22:17:51 -07:00
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