CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Variable Density Function

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2011, 12:51
Default Variable Density Function
New Member
Ryan Z. Davis
Join Date: Mar 2010
Location: Idaho Falls, Idaho, United States
Posts: 11
Rep Power: 15
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


ryzd is offline   Reply With Quote

Old   August 25, 2011, 14:16
NormalVector's Avatar
Join Date: Oct 2010
Posts: 71
Rep Power: 14
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


density udf, natural convection

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:42
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27
Warning 097- AB Siemens 6 November 15, 2004 04:41
Density of liquid Sapphire as function of temp. J.W.Ryu FLUENT 0 September 8, 2003 02:24

All times are GMT -4. The time now is 10:47.