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

density of water as some function of temperature

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 12, 2008, 06:17
Default density of water as some function of temperature
  #1
danish
Guest
 
Posts: n/a
Hi I am working on water tank and i need to capture natural convection in the tank.I dont want to use boussinesq model, as the temperature range(5 C~ 30 C) is large. To make the density of water as fuction of local temperature in the domain,I tried adding expression for density as some function of temperature through the expression tab provided near the density window in the material property.However my solver fails. I have been trying to solve this for long time,can anyone help me in setting this problem

Danish
  Reply With Quote

Old   June 24, 2008, 12:10
Default Re: density of water as some function of temperatu
  #2
hsr
Guest
 
Posts: n/a
Use a limited temperature within your expression something like maxVal(minVal(T,303[K]),278[K]) otherwise the expression might evaluate to a negative density for certain types of equations. You can also try to limit the table generation of the fluid properties to a minimium and maximum temperature. 'Table generation' can be found in the 'Material Properties' tab when defining a non-constant property fluid.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53
Variable Density Function ryzd FLUENT 1 August 25, 2011 14:16
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Temperature wall function for incompressible solver Hagen OpenFOAM 0 December 27, 2010 10:25
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59


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