Commit Graph

5380 Commits

Author SHA1 Message Date
Jorrit Wronski
3b107cc0a6 Merge branch 'master' into feature/static_init_order 2023-11-29 08:51:04 +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
Jorrit Wronski
36d831ee10 Merge remote-tracking branch 'origin/master' into feature/static_init_order 2023-11-21 11:48:20 +01: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
Jorrit Wronski
76f69b1f08 Merge remote-tracking branch 'origin/master' into feature/static_init_order 2023-09-08 18:49:02 +02: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
Ian Bell
c8f437dc6b Fix missing namespace for get_debug_level 2023-08-06 11:43:20 -04:00
Ian Bell
81261ee85b sdist should also use old Cython 2023-08-06 10:57:55 -04:00
Ian Bell
39b5519ddb Make the AbstractState owned by State class public 2023-08-03 20:23:19 -04:00
Ian Bell
37c18d5006 Allow predefined mixtures to be added at runtime 2023-07-27 10:04:51 -04:00
Ian Bell
1c5f1768e5 Fix copying of State object with mixtures
need to keep phase imposed
2023-07-26 22:43:50 -04:00
Ian Bell
8066bc0a38 Fix two bugs in phase imposition for State class
The string comparison for phase will always fail because comparison is between bytes and str and phase setting should happen before update
2023-07-26 22:43:09 -04:00
Arnab Mahanti
db1b0953cd Revert "Fix failing python_cibuildwheel workflows" and update (#2271)
* Revert "Switch to older cython version (#2270)"

This reverts commit 3a16339a8c.

* updated to cython<3.0
2023-07-26 12:08:33 -04:00
Arnab Mahanti
826e77f122 implemented VISC LAESECK-JPCRD-2017-CO2 (#2268) 2023-07-26 10:53:06 -04:00
Arnab Mahanti
3a16339a8c Switch to older cython version (#2270) 2023-07-26 10:51:05 -04:00