|
[Sponsors] |
April 23, 2013, 12:49 |
Air ideal gas wrong density
|
#1 |
Member
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 13 |
Hi guys.
I have a little problem concerning the air ideal gas. The gas should have a density of 1.2 kg/m^3 (calculated by hand, pressure 1 bar, T = 348.4K) Somehow Ansys always gives me a value of 2 kg/m^3 Has anyone a clue why this could be happening? Its a pretty simple case but I cant fix this problem Regards |
|
April 23, 2013, 13:55 |
|
#2 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
I have never noticed this issue. Are you using CFX?
|
|
April 23, 2013, 17:44 |
|
#3 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Check your relative pressure. I bet you set it to 1atm and you didnt account for that in your BC's.
|
|
April 23, 2013, 18:18 |
|
#4 |
Member
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 13 |
Hey i checked everything, i did in fact set it to 1 bar on both domains.
my setup looks like this: - 1d problem - first 50 cell ideal gas with 1 bar and ~350K - Domain interface - second 50 cells 0.1 bar and ~280K so my reference pressure is 1 bar on both sides and my initialization pressure is 1/ 0.1 bar. I dont get how the "air ideal gas" actually works. |
|
April 23, 2013, 18:28 |
|
#5 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Your BCs (and initialization) is relative to the 1bar relative pressure you are specifying. So, in essence, you have a 2 bar region, and the denisty is correct for that pressure.
Either alter your relative pressure to 0 bar (make sure you are really specifying BCs to 0bar relative pressure) or change all your BCs and intializations to account for the 1 bar relative pressure. |
|
April 23, 2013, 18:33 |
|
#6 |
Member
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 13 |
ah alright thanks I see. I thought its really referring to the pressure not adding up on it.
gonna try it out tomorrow thanks for the help edit: it works with a relative pressure of 0 bar. thanks for that Last edited by Badi; April 24, 2013 at 08:23. |
|
May 2, 2013, 13:49 |
|
#7 |
Member
Sebastian
Join Date: Apr 2013
Posts: 31
Rep Power: 13 |
Hey im having a strange problem again.
Im basically still having the same setup but now with water as fluid. On my left side I have 0 bar reference and 1 bar relative pressure. On the right side I have 0 Pa reference and 5000 Pa relative pressure. When i start my transient simulation ill get strange results for for my very first timestep (0). It shows 0 Pa on the left side and -9.5e4 The range is correct but the numbers are wrong. I dont really know where the problem could come from Last edited by Badi; May 2, 2013 at 14:09. |
|
May 2, 2013, 19:52 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Models often need a small timestep to start with if you are modelling the starting transient. So you need a smaller timestep - at least to begin with.
|
|
April 10, 2018, 06:52 |
|
#9 | |
Member
naman doshi
Join Date: Oct 2017
Posts: 35
Rep Power: 9 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Density and compressiblity | Mohsin | FLUENT | 7 | June 7, 2015 23:23 |
Periodic Interface (Ideal Gas) Massflow Control | Zigainer | CFX | 0 | July 25, 2011 12:43 |
question about ideal gas thermal flow | yong | Main CFD Forum | 0 | January 7, 2006 00:58 |
Gas pressure question | Dan Moskal | Main CFD Forum | 0 | October 24, 2002 23:02 |
moist air density | rafat | Main CFD Forum | 5 | June 13, 2001 22:36 |