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

Variable Density Function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2011, 13:51
Default Variable Density Function
  #1
New Member
 
Ryan Z. Davis
Join Date: Mar 2010
Location: Idaho Falls, Idaho, United States
Posts: 11
Rep Power: 16
ryzd is on a distinguished road
Hi all,

I'm having trouble using the variable density function in FLUENT. I'm doing a simple differentially heated natural convection cavity (2D) and I'm defining density as a function of temperature. When I perform the simulation with air as the working fluid the density does not calculate correctly. During post processing I plot the data for temperature and density and when I perform hand calculations for density (based on the temperature given) I get a different density than what FLUENT calculates. Does FLUENT use any other factors when calculating the density of a fluid? Am I doing something incorrectly? The density function I use is given below.

rho = (0.000013491 x (T^2)) - (0.0046555 x T) + 1.12881

Thanks,

Ryan
ryzd is offline   Reply With Quote

Old   August 25, 2011, 15:16
Default
  #2
Member
 
NormalVector's Avatar
 
NormalVector
Join Date: Oct 2010
Posts: 71
Rep Power: 16
NormalVector is on a distinguished road
You may have already figured this problem out as it has been a few months since your post but I'll have a go at it:

Make sure that you're entering the polynomial into FLUENT correctly. The boxes are for the coefficients increasing from 0. So, the first box is for the coefficient of T^0, the second for T^1, etc.
NormalVector is offline   Reply With Quote

Reply

Tags
density udf, natural convection


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
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
Warning 097- AB Siemens 6 November 15, 2004 05:41
Density of liquid Sapphire as function of temp. J.W.Ryu FLUENT 0 September 8, 2003 03:24


All times are GMT -4. The time now is 03:20.