CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Read real thermophysical properties from CoolProp library

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By baptisteSrdll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2023, 09:49
Post Read real thermophysical properties from CoolProp library
  #1
New Member
 
Join Date: Jun 2023
Posts: 1
Rep Power: 0
baptisteSrdll is on a distinguished road
Hello,

I am currently trying to implement real thermodynamic fluid properties (rho, Hs, Cp, Cv, Mu and kappa), and I would like to read these properties directly from a validated library, such as in CoolProp library /REFPROP.

However, I don't know how to do it, and I need your help/advices with that.

I tried at first to read all these properties in self-made tables, (using tabulated, htabulated and rhoTabulated in my thermoType), but they are not enough accurate, this is why I would like to read them from available datasets. Recently, I installed the CoolProp wrapper for Linux environnement, but I don't know how to make my openFoam code to read its data.

I was at first inspired by this article CoolFOAM: The CoolProp wrapper for OpenFOAM, but it is not explicit about how they manage to do it (or I don't understand it).
There is also this tool (https://github.com/cbunge/coolPropTa...or/tree/master), but it is only available for openFoam 5.x, and I am working with openFoam 9.

If you might help me with this problem,
Thank you in advance.

PS: I am new to openFoam and this forum, so don't hesitate to indicate me any issues with my post so that I can correct them
raj kumar saini and HengLiu like this.
baptisteSrdll is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
UDF velocity profile willroca Fluent UDF and Scheme Programming 2 January 10, 2016 03:13
Non-linear equation system (DEFINE_source) Laexzzz Fluent UDF and Scheme Programming 4 February 11, 2015 16:11
Problems in air flow udf - divergence PJT Fluent UDF and Scheme Programming 0 May 28, 2013 10:01
view factor yoollooz Fluent UDF and Scheme Programming 0 March 1, 2013 00:44


All times are GMT -4. The time now is 16:56.