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

Can I use tabulated density data in FLUENT?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2008, 14:06
Default Can I use tabulated density data in FLUENT?
  #1
Ellen
Guest
 
Posts: n/a
Hi, I need to specify a temperature dependent density for a material, but the equation of d(T) is unknown, so can I use tabulated data in FLUENT? The only tabulated data I found for Fluent is the Boundary Profile, but it cannot be used for volumetric properties.

any answers would be appreciated, thank you.

Ellen
  Reply With Quote

Old   October 30, 2008, 03:53
Default Re: Can I use tabulated density data in FLUENT?
  #2
max
Guest
 
Posts: n/a
Hello Ellen,

not directly but you can use piecewise-linear to fit your tabulated date.

cheers Max
  Reply With Quote

Old   October 30, 2008, 09:22
Default Re: Can I use tabulated density data in FLUENT?
  #3
Ellen
Guest
 
Posts: n/a
thanks for your answer, Max, actually I tried curvefit my data using piecewise-polynomial in excel. it gave me perfect fit, but the regression equation doesn't seem correct. (when I fill in data that is in the same data set used for fitting, the result is way off!!) I couldn't figure out the problem.

I'll try fitting with piece-wise linear, but my data curve is kind of complicated.
  Reply With Quote

Old   October 30, 2008, 10:36
Default Re: Can I use tabulated density data in FLUENT?
  #4
max
Guest
 
Posts: n/a
Hi Ellen, i just want to make sure that fluent doesn't require a mathematical expression for piecewise linear. All you have to do is fill in all your discrete rho(T) data pairs. The more points you enter into the better will be the piecewise linear approximation of your actually polynomial density function.

cheers Max
  Reply With Quote

Old   October 30, 2008, 14:26
Default Re: Can I use tabulated density data in FLUENT?
  #5
Ellen
Guest
 
Posts: n/a
I didn't know I can directly fill in the data points! I thought I need a mathematical formula. Thank you so much!

However, what if I have a large quantity of data points, say, 200. It would be too lengthy to manually input. In that case, do I need to use UDF to read in the data table? then how would Fluent interpolate these data? do you have any experience or suggestions on that? Many thanks.

Ellen
  Reply With Quote

Old   October 31, 2008, 04:03
Default Re: Can I use tabulated density data in FLUENT?
  #6
max
Guest
 
Posts: n/a
sometimes a journal makes your life easier. in your case the journal file should look like this.:

/define/materials/change-create "your fluid" yes piecewise-linear 200 T1 rho1 T2 rho2 ...... T200 rho200 n n n n n n n n n n

where "your fluid" is the name of your working fluid and T1 rho1 .. T200 rho200 are your temperature-density data pairs. Create this .jou file with any text editor and read it into Fluent: File/Read-Journal

Max
  Reply With Quote

Old   October 31, 2008, 09:14
Default Re: Can I use tabulated density data in FLUENT?
  #7
ellen
Guest
 
Posts: n/a
I'll give it a try right now. Really appreciate your help!

Ellen
  Reply With Quote

Old   June 24, 2023, 06:31
Default
  #8
New Member
 
Sajad Dehghani
Join Date: May 2023
Posts: 1
Rep Power: 0
SDMA is on a distinguished road
Quote:
Originally Posted by ellen
;154441
I'll give it a try right now. Really appreciate your help!

Ellen
Hello, I have this problem too. Are you succeed to interpolate the data?
SDMA 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
Density based solver in Fluent Bart Horsten FLUENT 4 November 4, 2007 06:45
Density condition in Fluent Parag Gadgil Main CFD Forum 1 September 28, 2007 07:38
How to read tabulated data in Fluent Siddhartha Pal FLUENT 0 August 30, 2007 06:18
Fluent Vs CFX, density and pressure Omer CFX 9 June 28, 2007 05:13
Tabulated data selim CFX 4 June 19, 2007 19:24


All times are GMT -4. The time now is 00:54.