Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,710 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
Originally Posted by: dacts is it possible to run it on ubuntu 17.10 using mono?, I can't get it to work, when I try to evaluate "CoolProp_get_global_param_string("version" " I just get a little yellow message under the command that reads "CoolProp_x64", or do I need to compile the coolprop binaries ins some specific folder or is it a standalone plugin-extension? The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones); according to this issue, it should be possible if you compile the coolprop library (the core) in your machine and then you replace the one shared within this plugin. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Updated.
Changes: refactored. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: uni Updated. Changes: refactored. I just started playing with this tool, so please be patient with my ignorance. Updated to what? The version on my system is 6.1.0; however, the CoolProp website is on 6.4.1 I've also noticed that some of the description paramater names fail. In addition, off of other threads, there appears to be "commands" that are no longer valid. An example would be FProp here.. Please advise. I'm still searching for information as to what the other functions do (e.g. CoolProp_get_param_index)
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Originally Posted by: Davide Carpi The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones) The plugin consists of two parts: a wrapper and a library. I didn't change the library, I just updated the wrapper source code. It is possible to update the library version. I don't know where the documentation is and how the set of parameters changes depending on the version. Edited by user 11 February 2021 14:31:22(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: uni Originally Posted by: Davide Carpi The plug-in it's composed by 3 files, the SMath wrapper plus 2 coolprop libraries (one for x86 systems, the other for x64 ones) The plugin consists of two parts: a wrapper and a library. I didn't change the library, I just updated the wrapper source code. It is possible to update the library version. I don't know where the documentation is and how the set of parameters changes depending on the version. What is the correct location for the wrapper? From the 1st post, these are invalid Quote:Official SMath wrapper (you have to build it by yourself, instructions in his documentation) I may take a crack at compiling the newer version
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
I can update the whole plugin including the library if you need. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Originally Posted by: ElSid On another post (by you), there seemed to be a relation with MathCad. In Sourceforge, MathCad and Prime are compiled by the CoolProp group. Could those files be used so we can just update the few dll files? Yes, you can use these libraries, but this is not a good idea. Better to use direct way. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Updated. Please try. Changes: - CoolProp library updated to 6.4.1; - refactored. Originally Posted by: ElSid What is the correct location for the wrapper? From the 1st post, these are invalid Code:%appdata%\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f
Edited by user 12 February 2021 09:05:15(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 21/11/2018(UTC) Posts: 4 Location: Langley, BC Was thanked: 1 time(s) in 1 post(s)
|
I am now getting the following error when using the CoolProp incompressible fluids library call Initialize failed for backend: "?", fluid: "INCOMP::MEG-50%" fractions "[1.0000000 ]"; error: key [INCOMP::MEG-50%] was not found in string_to_index_map in JSONFluidLibrary : PropsSI("D","T",288.15,"P",101325.3532,"INCOMP::MEG-50%" ) This call was working March of this year. Any suggestions on what may be causing this issue? Using: CoolProp Wrapper Plugin 6.1.7713.14622 Smath Version: Smath Studio Desktop 64-bit, 0.99 (build: 7822) CoolProp Version: CoolProp_v6.4.1.0 Edited by user 19 June 2021 02:13:50(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
|
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 21/11/2018(UTC) Posts: 4 Location: Langley, BC Was thanked: 1 time(s) in 1 post(s)
|
App Version: "0.99.7822.147" Windows 10 Pro 64-bit
Issue: CoolProp Plugin functions not recognized by Smath
What I've tried: - Adding/removing CoolProp Plugin (through the Extensions Manager in Smath Studio Desktop) - re-installed SMATH Studio; deleting plugin folder after uninstall - Re-installing CoolProp
Could you please provide guidance on what may be causing this issue?
|
1 user thanked bbate for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
The reason for this behavior has not yet been clarified. Use this library for now, replacing the original one (\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\x.x.x.x\). CoolPropWrapper-6.4.7910.17946.zip (2,606kb) downloaded 18 time(s).Edited by user 28 August 2021 08:06:12(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 21/11/2018(UTC) Posts: 4 Location: Langley, BC Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: uni The reason for this behavior has not yet been clarified. Use this library for now, replacing the original one (\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\x.x.x.x\). CoolPropWrapper-6.4.7910.17946.zip (2,606kb) downloaded 18 time(s). I've downloaded the .dll you provided and placed it in the plugins folder. I get the following error message when I open Smath: [img=https://ibb.co/mXxrqD6]PluginError[/img] Edited by user 02 September 2021 23:13:53(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
You need to place it here: Code:%appdata%\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\6.4.7910.14793\
The last numbers may vary. This is the plugin folder. After replacing the file (CoolPropWrapper.dll), everything should work. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Plugin updated. Changes: - all function's classes now marked as public. It should work now. You can update the plugin. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,473 Was thanked: 925 time(s) in 588 post(s)
|
Originally Posted by: uni Plugin updated. Changes: - all function's classes now marked as public. It should work now. You can update the plugin. Hi Viacheslav, thanks, it works. But there are an small issue with the unicode strings Best regards. Alvaro.
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,619 Was thanked: 1381 time(s) in 806 post(s)
|
Okay, you caught me. Plugin updated. Try now. Edited by user 03 September 2021 21:35:08(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,473 Was thanked: 925 time(s) in 588 post(s)
|
Hi. Great! Now the demo file in the first post works perfect.
Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/12/2017(UTC) Posts: 66 Was thanked: 3 time(s) in 3 post(s)
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.