https://github.com/CoolProp/CoolProp

sort by:
Revision Author Date Message Commit Date
a78541a Make the artifact files uniquely named 07 September 2024, 15:31:04 UTC
ccbb9d2 Bump action version for QEMU 07 September 2024, 15:30:37 UTC
c40f81d python 3.6 and 3.7 are officially EOL The sdist should still work though in a pinch 07 September 2024, 15:30:12 UTC
08e07a7 Bump the sdist actions 07 September 2024, 15:29:43 UTC
161098f Bump a lot of actions to newer versions 07 September 2024, 14:25:32 UTC
cdf155d Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#2411) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 07 September 2024, 14:12:40 UTC
fe89979 Add a debug command for the Maxwell ancillary repair step To highlight when the JSON contains crazy placeholders, perhaps coming from REFPROP-interop 07 September 2024, 13:48:06 UTC
f86cff9 Fix critical density for cyclopentane Should have also been updated when updating the EOS 29 August 2024, 12:58:12 UTC
873411d Improve Robustness of IF97 Reverse (P,H) and (P,S) Evaluations Along Saturation Curve (#2404) * Bump IF97 * Patch IF97 Backend Reverse Functions for Robustness Near Saturation 11 August 2024, 14:23:26 UTC
56b09a6 Fix InChi string/key for R1233zd(E) Previous values were for the mixture of Z and E isomers 05 August 2024, 18:43:15 UTC
8b26809 Disable checks for model types in REFPROP BIP setting/getting 02 August 2024, 12:15:58 UTC
01b6804 Fix source searching in python build On OSX you get the dreaded .DS_Store files to contend with 01 August 2024, 15:25:06 UTC
d06b84b Add link to `coolprop-mat` repo (#2396) This commit adds a link to a repo that contains information on how to call `CoolProp` through MATLAB's C interface with the `CoolProp` shared library. 29 July 2024, 21:58:40 UTC
8eed959 Fix javascript building (I think) in GH Actions See #2394 06 July 2024, 22:48:31 UTC
4a6c169 Bump the version for checkout to use new node 06 July 2024, 22:31:24 UTC
76da60c Rename dev_cppcheck.yml to dev_cppcheck.yml Disable this action, hasn't been working for ages 06 July 2024, 22:28:10 UTC
0faa2a8 Update release_get_artifact.yml Try to fix the node16 issues bit by bit (see #2394) 06 July 2024, 22:25:13 UTC
ae2284e Fix bug introduced by 443a2fd (#2351) Commit 443a2fd addedsome extra checks for convergence in the Helmholtz PHSU flash routines. However, its checking was more aggressive than the original routine. This caused the routine to raise an exception on several values that had previously been deemed acceptable. This trickled down to cause the TTSE tables to be filled with empty values, making them less robust. This commit allows for a solution to be acceptable if the change is small between iterations as was originally intended. 21 June 2024, 01:19:40 UTC
f6eb037 Copy the viscosity correlation into parahydrogen Paper indicates it is valid for normal H2 and para-H2 Closes #2371 21 April 2024, 13:51:17 UTC
41d449d update Mac docs (#2362) 05 April 2024, 00:05:39 UTC
3c60f82 Bump cibuildwheel version Maybe it fixes the failures? 23 March 2024, 15:56:42 UTC
9144519 Make AbstractStateLibrary class thread-safe (#2210) * Make AbstractStateLibrary thread-safe * Remove global mutex 23 March 2024, 13:55:57 UTC
0f423dc Go back to the correct ancillary function from Gao I had the wrong flag for using_tau_r previously See https://github.com/CoolProp/CoolProp/issues/2356 25 February 2024, 15:27:20 UTC
c50c029 Update CoolPropBibTeXLibrary.bib Mostly small editorial fixes 08 February 2024, 20:08:50 UTC
38caa5a Update CMakeLists.txt (#2347) Fix compilation for Java wrapper on MacOS. 05 February 2024, 22:56:35 UTC
443a2fd Catch singular explosions in saturation_PHSU_pure (#2250) * Catch singular explosions in saturation_PHSU_pure Sometimes, the Akasaka solver has issues. This is usually caught and then it is retried with a new omega. However, sometimes it goes bad because the J matrix is singular, and this is not caught because the error is not recalculated. This commit recalculates the error term to prevent a bad result. * Add comment to explain error check in saturation_PHSU_pure * Add extra update check after saturation_PHSU_pure During saturated PHSU flash calculations, SatL and SatV states have an imposed phase. This is good for stability, but there is a small chance that they can both up up with a matching third variable (e.g., pressure) that is not actually at the saturation point. This commit forces a final DT update without this requirement. If an actual solution has been found, the the error term will still be small. If not, then we throw an exception and try again. This continues work on #2245. * Ensure that saturated phase is specified In saturation_PHSU_pure, we unspecify the phase of SatL and SatV to perform a final check. However, for any future updates, these states *must* be set with specified phase. This commit ensures that no matter what happens (exception, etc.) the phase is always specified again. * Revert "Ensure that saturated phase is specified" This reverts commit c6b650b861fe14d89d9d8f20b0b8a8312b2adcab. The commit caused potential recursive lookups and did not solve the issue at hand. * Update the ammonio saturated rhoV ancillary The rhoV ancillary gave somewhat wrong results. This commit provides a closer fit that prevents errors downstream. 16 January 2024, 00:51:04 UTC
956d949 Update build process for LibreOffice wrapper (#2341) * Fix build of LibreOffice wrapper for LibreOffice SDK >= 7.5 In the LibreOffice SDK version 7.4 the "idlc" and "regmerge" tools were deprecated and replaced by the new UNOIDL compiler "unoidl-write". The old tools have been removed from version 7.5 onwards. Thus, the build process is changed to use the new compiler. - The new binary type libary format produced by "unoidl-write" has already been used internally since LibreOffice 4.1 in 2013, so that extensions built with the new compiler will also run on older office versions. The minimal LibreOffice version for the extension is therefore changed to 4.1 - With the "unoidl-write" compiler some API changes were introduced. Identifiers containing underscores must start with an uppercase letter, as identifiers with underscores and starting with a lowercase letter are reserved for internal purposes. Thus, the naming of some functions used in the extension is changed. * Enable install of CoolProp python package dev versions If the LibreOffice extension was built for a development version, then it should also download the appropriate development version of the CoolProp python package. * Add a builder for LibreOffice wrapper * Add LibreOffice builder to release workflow 11 January 2024, 17:46:33 UTC
1d98aa9 Include stdbool for C interface (#2342) * Include stdbool for C interface * Maintain pre-C99 compatibility 09 January 2024, 17:54:07 UTC
ffa5a27 Fix the triple points densities for R-1336mzz(E) (#2329) 06 December 2023, 13:08:13 UTC
72e0baa Rename R1336mzz(E).json_disabled to R1336mzz(E).json Prepare for merging #2329 06 December 2023, 13:08:00 UTC
85f7684 Bump the version number and include mathcad in the release files 29 November 2023, 15:19:50 UTC
ba21c74 Updated the release description and include the cache handling for GitHub actions 29 November 2023, 12:50:35 UTC
337526d Temporarily remove R1336mzz(E) from the list of fluids until #2309 is fixed 29 November 2023, 12:42:16 UTC
0979216 Prepare for v6.6.0 29 November 2023, 10:22:21 UTC
3c0b215 Do not force C++14 since some of the Python builders only support C++11 29 November 2023, 10:05:24 UTC
12a784a Skip the C++ standard compile flag for macOS 29 November 2023, 09:48:05 UTC
fd7bada Update the C++ standard to 14 29 November 2023, 09:17:27 UTC
ce1277f 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 29 November 2023, 07:55:40 UTC
e83c716 Actions for Mathcad (#2322) Added the Mathcad module to the GitHub actions 29 November 2023, 07:35:13 UTC
abe3a1b 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. 29 November 2023, 07:34:13 UTC
78b4f0e 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 29 November 2023, 07:30:45 UTC
cbd53f3 Reformatted the code from #2317 and moved out of the deprecated section. Maybe @CSchulzeTLK can add the doxygen documentation? That would be awesome :-) 28 November 2023, 10:21:23 UTC
2cbcc5e New C Interface Functions (#2317) * add more interface functions * fix phase data type, "const*const"->"const*" 28 November 2023, 10:15:33 UTC
7bc07f2 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> 28 November 2023, 10:10:30 UTC
ce9c3e5 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> 28 November 2023, 02:32:20 UTC
4e39188 Another new Cython permitted 03 November 2023, 23:09:27 UTC
03922df Oops wrong script See #2310 03 November 2023, 22:41:10 UTC
cafcd9d Hello again pybind11 Needed for #2310 03 November 2023, 22:28:26 UTC
91a7108 Goodbye pybind11 (for now) 03 November 2023, 22:27:56 UTC
b54caf5 Bump cibuildwheel to turn on python 3.12 See #2310 03 November 2023, 22:25:07 UTC
416f608 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 15 October 2023, 22:28:06 UTC
edbb492 Mathcad Wrapper README Formatting (#2296) * Mathcad wrapper README formatting fix * Rename MATHCADPrime.rst to MathcadPrime.rst Was failing to build TOCtree 24 September 2023, 11:41:46 UTC
e1dde6c Update Mathcad docs for pre-compiled and discontinuation of Legacy Mathcad [skip-ci] (#2294) * Update docs for Mathcad Prime install and Legacy Mathcad deprecation 20 September 2023, 23:29:02 UTC
097130d 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. 19 September 2023, 01:03:52 UTC
c525537 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> 15 September 2023, 11:17:14 UTC
7dd3391 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 13 September 2023, 07:17:18 UTC
36d91f1 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 08 September 2023, 01:09:50 UTC
c4108e5 Fix order of initialization 29 August 2023, 00:54:20 UTC
3cab04a format_as should be inline, not static 29 August 2023, 00:54:05 UTC
43f1e96 Skip the need for bash to evaluate shell variables 11 August 2023, 08:32:42 UTC
edbd902 Add the different 32bit Windows builds to the CI jobs 11 August 2023, 08:23:18 UTC
d486ff8 Add javascript to the release script (#2279) * Added a Javascript builder * Updated the docs 10 August 2023, 13:51:21 UTC
c127739 Typo in the version number 09 August 2023, 12:38:13 UTC
a9def39 Bump the version number 08 August 2023, 20:03:45 UTC
40f9dc1 A lot of work only to strip the "v" from the version number on SourceForge 08 August 2023, 19:54:10 UTC
bafdea1 Update the changelog for v6.5.0 08 August 2023, 14:27:41 UTC
fbbcc7e Typo in the workflow file 08 August 2023, 13:21:30 UTC
4f48e49 Simplify the full rebuild detection - did not work before 08 August 2023, 13:14:47 UTC
698ea7b Avoid killing the script with invalid inputs 08 August 2023, 12:34:31 UTC
f00c36a Support act to run local debugging sessions of the github actions 08 August 2023, 12:34:00 UTC
a88d166 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. 07 August 2023, 12:14:56 UTC
d3e15b1 Add missing year for bibtex entry 06 August 2023, 16:59:34 UTC
69db8c5 Prepare for version 6.5.0 06 August 2023, 16:51:47 UTC
f0258a8 Prepare for cython 3.0 There is a bug in cython 3.0 with module-level dicts it seems 06 August 2023, 15:56:09 UTC
de38f08 Turn off the shared_ptr hacks 06 August 2023, 15:55:05 UTC
f5c26f0 Escaping needed for <3 06 August 2023, 15:52:47 UTC
c8f437d Fix missing namespace for get_debug_level 06 August 2023, 15:43:20 UTC
81261ee sdist should also use old Cython 06 August 2023, 14:57:55 UTC
39b5519 Make the AbstractState owned by State class public 04 August 2023, 00:23:19 UTC
37c18d5 Allow predefined mixtures to be added at runtime 27 July 2023, 14:04:51 UTC
1c5f176 Fix copying of State object with mixtures need to keep phase imposed 27 July 2023, 02:43:50 UTC
8066bc0 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 27 July 2023, 02:43:09 UTC
db1b095 Revert "Fix failing python_cibuildwheel workflows" and update (#2271) * Revert "Switch to older cython version (#2270)" This reverts commit 3a16339a8c4d70a8510a461db1feadedaf0d5f4f. * updated to cython<3.0 26 July 2023, 16:08:33 UTC
826e77f implemented VISC LAESECK-JPCRD-2017-CO2 (#2268) 26 July 2023, 14:53:06 UTC
3a16339 Switch to older cython version (#2270) 26 July 2023, 14:51:05 UTC
377bab8 implemented TCX Huber-JPCRD-2016 for CO2 (#2267) * implemented TCX Huber-JPCRD-2016 for CO2 * added CarbonDioxideHuberJPCRD2016 to json file * fixed typo in Huber Eq. 3 22 July 2023, 11:49:23 UTC
3047e04 Create CITATION.bib (#2261) 19 June 2023, 17:42:09 UTC
1ac6ee5 Fix include path for fmtlib 13 May 2023, 13:12:15 UTC
80c70e7 Fix fmtlib include path 13 May 2023, 12:20:14 UTC
7341836 Add missing header 13 May 2023, 11:20:09 UTC
d248c75 Update fmt submodule to 10.0.0 (#2252) * Update fmt submodule to 10.0.0. * Update format wrapper, add format_as overloads. - Every enum that is formatted needs to define a format_as overload in the same namespace. - Add a wrapper for sprintf for fmt versions without ArgList. 13 May 2023, 11:14:01 UTC
5f3223c Update index.rst (#2241) * Update index.rst - Updating the PropiedadesDeFluidos link - Adding a new app 'CuadernoDeProblemas' that uses CoolProp * Update indext.rst with English description PropiedadesDeFluidos and CuadernoDeProblemas link changed with short English description * Update index.rst with English translation Added English translation for the Spanish apps 19 April 2023, 22:23:38 UTC
95ece84 Incomp liqna (#2238) * Liquid sodium properties added in incompressible liquids from range 400 K to 2500 K in steps of 100 K. np.float changed to float in SecCoolFluids.py (Deprecated alias) json file generated and added * a bug in liquid sodium viscosity value corrected * specific heat capacity fit was not proper for liquid sodium. after removing two data points at the high temperature end, the fit is reasonable and is retained as of now. * liquid sodium json file updated * specific heat fit for liq sodium was not satisfactory for full range 400 K to 2300 K. hence the range of values for specific heat of liq sodium reduced to 400 K to 1000 K and new coefficients updated 16 April 2023, 16:32:47 UTC
3b51038 Correct typo in n-Hexane rhoV auxilliary (#2230) The rhoV auxilliary for n-Hexane had accidentally been set to use reduced tau. This commit fixes the typo. This prevents bad guesses for a number of property evaluations which use saturated states. 30 March 2023, 00:31:28 UTC
abcb4a5 update cyclopentane.json (#2225) following the suggestion on #2051 22 March 2023, 02:08:26 UTC
7da86af Topic 2142 (#2223) * Remove R1233zd(E) hL ancillary The R1233zd(E) hL ancillary performs poorly. This can result in a failure to converge when provided inputs (p/h) lie between the ancillary saturation curve and the true saturation curve. Removing the ancillary makes CoolProp fall back to a robust saturation solver. * Add 0.01 K cushion to Tmax in HSU_P_flash Within HSU_P_flash, if an ancillary is used it can have a small error. If the point of interest is near that saturation curve, this error can prevent the solver from converging. Adding a 0.01 K margin account for small ancillary errors and allow the solver to converge. * Correct 0.01K cushion The 0.01K adjustment should increase the potential range of the solver. Previously, the minimum was increased, but it should be decreased. 18 March 2023, 14:07:59 UTC
e77611c Verify that mole fractions are set before using them (#2207) Verify that mole fractions are set before using them by implementing mole fractions as an internal object. This provides a more robust way to check if values have been set. 13 March 2023, 12:25:08 UTC
14c0541 Change links from Google group to GitHub discussions (#2214) As discussed here: https://groups.google.com/g/coolprop-users/c/l_aY4vTT58Q 17 February 2023, 19:14:46 UTC
0ef60d9 Also output the Fluid in State class 04 February 2023, 18:29:18 UTC
319cdbf Provide better feedback for bad DQ inputs (#2203) * Provide better feedback for bad DQ inputs DQ is poorly defined (not unique) for densities above critical density. Provide the user better feedback when they try to do this, but do not give them a non-unique answer that might give them trouble later. * Prevent DQ warning for saturation curves The saturation curves (Q=0, Q=1) are monotonic and invertible, so we should not tell the user otherwise. * Add small tolerance to DQ quality checking Exact checking of floating point values is bad practice, as iterative calculations can introduce small errors. This commit ensures that when the DQ flash routine checks for the saturation curves that it allows for some slop. * Prevent DQ evaluation when D>Dcrit The combination of density and quality inputs are not valid when the density is greater than the critical density and the quality is greater than 0. A small tolerance is added to allow for numeric slop. * Add discussion of Q to DQ warning 26 January 2023, 01:33:45 UTC
back to top