SMath is not using the latest version of CoolProp on my PC

SMath is not using the latest version of CoolProp on my PC - Query: How to Update CoolProp for SMath - Сообщения

#1 Опубликовано: 11.11.2025 12:50:49
Gerard Lardner

Gerard Lardner

0 сообщений из 5 понравились пользователям.

Группа: User

SMath on my PC is showing version 6.4.1 but Excel shows the latest (nightly) version 7.1.1. Somehow, despite updating CoolProp to v7.1.0 and then to the nightly 7.1.1, SMath is still using an older version.

The files Coolprop_x32.dll and Coolprop_x64.dll in %USERPROFILE%\AppData\Roaming\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\6.4.8214.13502 show the date and time when Coolprop was updated.

SMath is also the latest version, 1.3.0.9126, updated a few weeks/months ago.

- How can I make SMath use the latest installed version of CoolProp?
- Where does the SMath Coolprop Wrapper look for links to the current version of CoolProp?
- And maybe how can I find and safely remove the older versions of CoolProp?


Отредактировано 11.11.2025 13:06:53
#2 Опубликовано: 13.11.2025 09:05:05
Davide Carpi

Davide Carpi

1 434 сообщений из 2 911 понравились пользователям.

Группа: Moderator

Hi,

the Coolprop_x##.dll libraries are by default the ones provided within the SMath "Extensions Manager" CoolpropWrapper plugin (there is a GitHub version too, but I think it is several iterations behind).

You can try to replace them manually following the instructions here (point 4 of README.md) but it is not guaranteed that the plugin will still works as intended or at all, since the Wrapper wasn't developed nor tested for the new libraries.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 13.11.2025 10:34:36
Gerard Lardner

Gerard Lardner

0 сообщений из 5 понравились пользователям.

Группа: User

Ah, OK. I hadn't understood that. I was simply confused that Excel showed a newer version of CoolProp than SMath (and Maple Flow has another version).

Thank you for the instructions for manually updating CoolProp in SMath. I may not try it, since you say the wrapper is tied to the library version, and the current version of CoolProp is a major version number step from the version in the wrapper.
Отредактировано 13.11.2025 10:35:20
#4 Опубликовано: 13.11.2025 12:08:17
Вячеслав Мезенцев

Вячеслав Мезенцев

1 526 сообщений из 1 836 понравились пользователям.

Группа: Moderator

You can try Mathcad Custom Functions plugin

image.png

image.png

Links:

1. https://sourceforge.net/projects/coolprop/files/CoolProp/nightly/MathcadPrime/
2. https://www.smath.com/ru-RU/forum/topic/DaKGEh/Mathcad-Custom-Functions

Userefi path: %appdata%\SMath\extensions\plugins\91a20d24-c30b-4774-9b1b-4d502a80420f\1.1.8035.3236\userefi

You must copy CoolPropMathcadWrapper.dll there.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Опубликовано: 14.11.2025 00:12:58
Gerard Lardner

Gerard Lardner

0 сообщений из 5 понравились пользователям.

Группа: User

I think I am awfully stupid, but that's not working for me. I downloaded CoolPropMathcadWrapper.dll from the link above and copied it to the userefi folder as indicated. But SMath does not see it; the functions beginning get_fluid_param_string() are not working.

If I use CoolProp_get_fluid_param_string("version"), I still see v6.4.1, but I guess that's using CoolPropWrapper, not CoolPropMathcadWrapper. (As I noted before, Excel returns v7.2.1 for the Coolprop version)

Can you suggest where I might be going wrong?
  • Новые сообщения
  • Нет новых сообщений