|
[Sponsors] |
![]() |
![]() |
#1 |
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 |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
Hello Ellen,
not directly but you can use piecewise-linear to fit your tabulated date. cheers Max |
|
![]() |
![]() |
![]() |
#3 |
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. |
|
![]() |
![]() |
![]() |
#4 |
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 |
|
![]() |
![]() |
![]() |
#5 |
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 |
|
![]() |
![]() |
![]() |
#6 |
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 |
|
![]() |
![]() |
![]() |
#7 |
Guest
Posts: n/a
|
I'll give it a try right now. Really appreciate your help!
Ellen |
|
![]() |
![]() |
![]() |
#8 | |
New Member
Sajad Dehghani
Join Date: May 2023
Posts: 1
Rep Power: 0 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Density based solver in Fluent | Bart Horsten | FLUENT | 4 | November 4, 2007 05:45 |
Density condition in Fluent | Parag Gadgil | Main CFD Forum | 1 | September 28, 2007 06:38 |
How to read tabulated data in Fluent | Siddhartha Pal | FLUENT | 0 | August 30, 2007 05:18 |
Fluent Vs CFX, density and pressure | Omer | CFX | 9 | June 28, 2007 04:13 |
Tabulated data | selim | CFX | 4 | June 19, 2007 18:24 |