CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

syncing ansys cfx and refprop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2018, 03:50
Question syncing ansys cfx and refprop
  #1
New Member
 
Moosarreza Shokati
Join Date: Mar 2018
Posts: 2
Rep Power: 0
Moosarreza is on a distinguished road
Hi!
I wanna know that how can I have the results of cfx analysis,which was driven by refprop?
Moosarreza is offline   Reply With Quote

Old   March 6, 2018, 14:54
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
You can't just link the two. There are many options for material properties in CFX, too many too list.
The closest thing I can think of for "linking the two" would be to create a taskflow rgp file from the refprop .fld file, and use that. This is a bit of work though.
Or you could input the real gas properties and an equation of state.
Or type in the values/expressions yourself for a particular range.

But no, you can't just link the two together.
evcelica is offline   Reply With Quote

Old   March 6, 2018, 16:01
Default
  #3
New Member
 
Moosarreza Shokati
Join Date: Mar 2018
Posts: 2
Rep Power: 0
Moosarreza is on a distinguished road
Thanks a lot for your answering...
But could you tell more precise about the 1st and 3rd solution?
For the 3rd,the cfx codes should be changed?
There is a matlab code,which is based on refprop outcomes,is it available to link the code and cfx?
Moosarreza is offline   Reply With Quote

Old   March 8, 2018, 10:15
Default
  #4
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
1.) Taskflow fgp file.
I use a fortran program named "NISTtoRGP" which is set up to do nitrogen by default. I couldn't figure out how to change to another fluid, so...
Copy the .fld files from Refprop, put them in NIST_to_RGP fluids folder.
Change contents of nitrogen.fld to the fluid you need the rgp file for. (meaning copy and paste the text from any .fld file into nitrogen.fld file)
In CFX, upload the RGP file for your material, the component name will be "N2VAP" for the vapor/supercritical gas part. define component as a gas in CFX materials if it is a Gas.


3.) For typing in your own values for fluid properties, this can be done many ways. Expressions, functions, and more, just explore the materials options.
evcelica 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



All times are GMT -4. The time now is 13:23.