5386 Commits

Author SHA1 Message Date
Jorrit Wronski
880d0b6bd1 A simple limiter does not solve the problems with #2333 2023-12-07 10:38:53 +01:00
Jorrit Wronski
87fa52efa6 Included the example from #2333 2023-12-07 10:20:59 +01:00
Ian Bell
ffa5a278ab Fix the triple points densities for R-1336mzz(E) (#2329) 2023-12-06 14:08:13 +01:00
Jorrit Wronski
72e0baae5c Rename R1336mzz(E).json_disabled to R1336mzz(E).json
Prepare for merging #2329
2023-12-06 14:08:00 +01:00
Jorrit Wronski
85f76845be Bump the version number and include mathcad in the release files 2023-11-29 16:19:50 +01:00
Jorrit Wronski
ba21c74fd1 Updated the release description and include the cache handling for GitHub actions v6.6.0 2023-11-29 13:50:35 +01:00
Jorrit Wronski
337526d056 Temporarily remove R1336mzz(E) from the list of fluids until #2309 is fixed 2023-11-29 13:42:16 +01:00
Jorrit Wronski
0979216ec6 Prepare for v6.6.0 2023-11-29 11:22:21 +01:00
Jorrit Wronski
3c0b215b7c Do not force C++14 since some of the Python builders only support C++11 2023-11-29 11:05:24 +01:00
Jorrit Wronski
12a784a541 Skip the C++ standard compile flag for macOS 2023-11-29 10:48:05 +01:00
Jorrit Wronski
fd7badac89 Update the C++ standard to 14 2023-11-29 10:17:27 +01:00
Jorrit Wronski
ce1277fc81 Use lazy initialization and avoid static objects (#2213)
* Use lazy initialization and getter functions to avoid problems with the order of initialization when linking statically.
* Use const ref as suggested by @ibell
2023-11-29 08:55:40 +01:00
Jorrit Wronski
e83c7160d3 Actions for Mathcad (#2322)
Added the Mathcad module to the GitHub actions
2023-11-29 08:35:13 +01:00
Jorrit Wronski
abe3a1b51b Incompresible versions of CoolProp fluids Acetone, Ethanol, Hexane as well as gaseous air
Use an existing CoolProp installation to create data sets for Acetone, Ethanol, Hexane as well as gaseous air. These fluids are added to the list of incompressible fluids for simplified calculations.
2023-11-29 08:34:13 +01:00
Jorrit Wronski
78b4f0e7b5 Fix base temperature and composition problems for incompressible fluids (#2324)
use interpolation to avoid the division by zero when calculating incompressible fluid properties exactly at the base temperature or composition, closes #2295
2023-11-29 08:30:45 +01:00
Jorrit Wronski
cbd53f344b Reformatted the code from #2317 and moved out of the deprecated section. Maybe @CSchulzeTLK can add the doxygen documentation? That would be awesome :-) 2023-11-28 11:21:23 +01:00
Christian Schulze
2cbcc5e236 New C Interface Functions (#2317)
* add more interface functions

* fix phase data type, "const*const"->"const*"
2023-11-28 11:15:33 +01:00
Jorrit Wronski
7bc07f2473 Food properties as incompressible liquids + ice (#2320)
* Directly include the food properties using the coefficients from Choi and Okos (1986)
---------

Co-authored-by: Martin Ryhl Kærn <mrk@ipu.dk>
2023-11-28 11:10:30 +01:00
Jonas Freißmann
ce9c3e57e4 Addition of EoS JSON of R1336mzz(E) from Akasaka-IJT-2023 (#2309)
* Add EOS JSON for R1336mzz(E) from Akasaka-IJT-2023.

* Add BibTeX entry for Akasaka-IJT-2023.

* Add BibTeX_EOS label in R1336mzz(E).json.

* Update R1336mzz(E).json

Fix the triple point liquid density, without it, VLE calculations fail

---------

Co-authored-by: Ian Bell <ian.h.bell@gmail.com>
2023-11-27 21:32:20 -05:00
Ian Bell
4e39188a8f Another new Cython permitted 2023-11-03 19:09:27 -04:00
Ian Bell
03922dfd5c Oops wrong script
See #2310
2023-11-03 18:41:10 -04:00
Ian Bell
cafcd9d92d Hello again pybind11
Needed for #2310
2023-11-03 18:28:26 -04:00
Ian Bell
91a7108359 Goodbye pybind11 (for now) 2023-11-03 18:27:56 -04:00
Ian Bell
b54caf55d9 Bump cibuildwheel to turn on python 3.12
See #2310
2023-11-03 18:25:07 -04:00
Juan F. Coronel
416f608251 App name change: CuadernoDeProblemas -> pSolver, Update index.rst (#2306)
We have changed the name of the app

CuadernoDeProblemas -> pSolver.

pSolver can be used on English and Spanish
2023-10-15 18:28:06 -04:00
Jeff Henning
edbb4920b8 Mathcad Wrapper README Formatting (#2296)
* Mathcad wrapper README formatting fix

* Rename MATHCADPrime.rst to MathcadPrime.rst

Was failing to build TOCtree
2023-09-24 07:41:46 -04:00
Jeff Henning
e1dde6cbff Update Mathcad docs for pre-compiled and discontinuation of Legacy Mathcad [skip-ci] (#2294)
* Update docs for Mathcad Prime install and Legacy Mathcad deprecation
2023-09-20 19:29:02 -04:00
pkirkham
097130daca Fix Missing SWIG Wrapper (#2275)
* Fix Missing SWIG Wrapper

Added pass-through function to CoolProp.cpp for apply_simple_mixing_rule which was not recognised by SWIG and included in wrappers. Had to rename original function to apply_basic_mixing rule to avoid naming conflict. Using a similar approach as CoolProp::add_fluids_as_JSON and keeping the same function name failed to compile. Also added HumidAirProp.h to the SWIG_DEPENDENCIES so that these functions are included in the wrapper.

* Include SWIG wrapper without changing function names

Instead of changing function names, applied same approach as used with add_fluids_as_JSON to implement the passthrough function. apply_simple_mixing_rule is called in MixtureParameters.cpp using a namespace. This means that SWIG wraps the function and the underlying function names are not touched.

* Addressed review comment

Reverted all previous changes to code as per request from code review. This version has no namespace changes and pass-through wrapping of missing function. Only change is to modify CoolProp.i for SWIG to ensure that the missing function, and that function only, is included when SWIG creates the wrapped code.
2023-09-18 21:03:52 -04:00
chrishauptmannAtEsiGroup
c525537175 Added second_partial_deriv and first_two_phase_deriv (#2291)
* Added AbstractState_second_partial_deriv and AbstractState_first_two_phase_deriv to CoolProp.dll

* added functions:  first_two_phase_deriv_splined, second_two_phase_deriv

---------

Co-authored-by: Chris Hauptmann <chn@esi-group.com>
2023-09-15 07:17:14 -04:00
Juan F. Coronel
7dd339147e App name change: CuadernoDeProblemas -> pSolver, Update index.rst (#2292)
We have changed the name of the app

CuadernoDeProblemas -> pSolver.

pSolver can be used on English and Spanish
2023-09-13 03:17:18 -04:00
chris-hampel-CA
36d91f178d Add fugacity functions needed for compatability with CoolProp.jl pkg (#2286)
* attempt to add fugacity functions needed for CoolProp.jl

* address first round of PR edits

change std:size_t to long
remove get_fugacity_coefficients
add .def exports

* remove fugacity refs in CoolPropLib.def
2023-09-07 21:09:50 -04:00
Ian Bell
c4108e5a57 Fix order of initialization 2023-08-28 20:54:20 -04:00
Ian Bell
3cab04a678 format_as should be inline, not static 2023-08-28 20:54:05 -04:00
Jorrit Wronski
43f1e96ce2 Skip the need for bash to evaluate shell variables 2023-08-11 10:32:42 +02:00
Jorrit Wronski
edbd9027a6 Add the different 32bit Windows builds to the CI jobs 2023-08-11 10:23:18 +02:00
Jorrit Wronski
d486ff8401 Add javascript to the release script (#2279)
* Added a Javascript builder
* Updated the docs
2023-08-10 15:51:21 +02:00
Jorrit Wronski
c127739042 Typo in the version number 2023-08-09 14:38:13 +02:00
Jorrit Wronski
a9def39cfb Bump the version number 2023-08-08 22:03:45 +02:00
Jorrit Wronski
40f9dc1a6d A lot of work only to strip the "v" from the version number on SourceForge 2023-08-08 21:54:10 +02:00
Jorrit Wronski
bafdea1f39 Update the changelog for v6.5.0 v6.5.0 2023-08-08 16:27:41 +02:00
Jorrit Wronski
fbbcc7e921 Typo in the workflow file 2023-08-08 15:21:30 +02:00
Jorrit Wronski
4f48e49cab Simplify the full rebuild detection - did not work before 2023-08-08 15:14:47 +02:00
Jorrit Wronski
698ea7b2e2 Avoid killing the script with invalid inputs 2023-08-08 14:34:31 +02:00
Jorrit Wronski
f00c36a9ce Support act to run local debugging sessions of the github actions 2023-08-08 14:34:00 +02:00
Jorrit Wronski
a88d1669df Added a comment in the release docs about the expensive builds, manually set the timeout for the documentation build to 2 hours as 1 hour seems to be the default. 2023-08-07 14:14:56 +02:00
Ian Bell
d3e15b10e1 Add missing year for bibtex entry 2023-08-06 12:59:34 -04:00
Ian Bell
69db8c5e54 Prepare for version 6.5.0 2023-08-06 12:51:47 -04:00
Ian Bell
f0258a8d15 Prepare for cython 3.0
There is a bug in cython 3.0 with module-level dicts it seems
2023-08-06 11:56:09 -04:00
Ian Bell
de38f085cb Turn off the shared_ptr hacks 2023-08-06 11:55:05 -04:00
Ian Bell
f5c26f0db0 Escaping needed for <3 2023-08-06 11:52:47 -04:00