Optimization with Julia: A Practical Guide for Scientists and Engineers

  • Thread starter Thread starter Omega0
  • Start date Start date
AI Thread Summary
CoolProp is recognized as a robust library primarily used for fluid thermodynamics, with applications in teaching and engineering. Users express interest in leveraging it for educational purposes, particularly in demonstrating fluid flow simulations and phase transitions. While some believe its documentation could be improved, others highlight its potential for creating interactive and engaging plots through Python and integration with other software. The discussion also touches on the growing popularity of Julia as a numerical computing language, noting its advantages over Python and MATLAB, and the possibility of using Jupyter notebooks for demonstrations. Overall, CoolProp is seen as a valuable tool for both teaching and engineering applications, despite some concerns about its documentation and usability for students.
Omega0
Messages
215
Reaction score
52
TL;DR Summary
Thermodynamics
Hello,

CoolProp (in my case under Python, http://www.coolprop.org/ ) seems to be pretty interesting to me. I would like to use it mostly for teaching. What is your impression, do you use it? I am just asking because I trust in the physics but I am not convinced from the documentation... what ist your experience?

Cheers
 
  • Like
Likes FluidDroog
Technology news on Phys.org
It looks like a robust library of C++ code used on quite a few projects and via quite a few languages.

With respect to teaching, what would you use it for? fluid flow simulations showing laminar to turbulent transitions? or something else altogether?

These python plots look like the best approach to illustrating what it can do for students:

http://www.coolprop.org/coolprop/python-plotting.html

It has a lot of other great uses for engineers in computing some key thermodynamic value but not so much for students:

https://eng-shady-mohsen.blogspot.com/2014/06/coolprop-fluid-thermodynamic-properties.html

where Coolprop is added as a plugin to Excel
 
  • Like
Likes sysprog
jedishrfu said:
With respect to teaching, what would you use it for? fluid flow simulations showing laminar to turbulent transitions? or something else altogether?
Explanation of phase transitions, triple point, etc., coming from 3D to XY plots.
These python plots look like the best approach to illustrating what it can do for students:
Nope, much better plots possible when you use CoolProp as solver and couple it with other post-processing software, interactivity is then suddenly the keyword.
It has a lot of other great uses for engineers in computing some key thermodynamic value but not so much for students:
https://eng-shady-mohsen.blogspot.com/2014/06/coolprop-fluid-thermodynamic-properties.html
where Coolprop is added as a plugin to Excel
Thank you for the link but I disagree: There has to be a lot of fun for students in diving in thermodynamics. I think CoolProp will be a way to do it.
 
  • Like
Likes jedishrfu
Well, it seems you've already made up your mind so the next step is to go start teaching with it.

One other thing I've noticed is that you can mix Coolprop with Julia:

http://www.coolprop.org/coolprop/wrappers/Julia/index.html

Julia is starting to take the numerical computing field by storm for its speed and cost over other choices like Python and Matlab.

https://julialang.org/

Folks use the Jupyter notebooks to interface with Julia or Python and I suspect that you could demo your Coolprop using a Jupyter notebook though it may take some effort to setup a Jupyter environment on your machine.

Using Anaconda3 distro and Julia with IJulia:

https://quantecon.org/quantecon-jl/
 
  • Like
Likes sysprog
jedishrfu said:
Julia is starting to take the numerical computing field by storm for its speed and cost over other choices like Python and Matlab.
I know Python for 20 years and NumPy/SciPy for about 10 years. I had never anyone speaking about Julia but you but I wll be aware.
 
  • Like
Likes sysprog
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top