|
[Sponsors] |
density of water as some function of temperature |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2008, 07:17 |
density of water as some function of temperature
|
#1 |
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 |
|
June 24, 2008, 13:10 |
Re: density of water as some function of temperatu
|
#2 |
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.
|
|
|
|
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 15:16 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14: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 |