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

ideal gas or not?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2015, 03:48
Default ideal gas or not?
  #1
New Member
 
Join Date: Jul 2015
Posts: 4
Rep Power: 10
heng03313 is on a distinguished road
I am trying to model a real world situation. It is a 140+ meters long pipe with the inlet having a fan blowing air at 1.8bars gauge and the outlet to atmospheric. The resultant velocity, from what I know, is of (single digit) m/s around the inlet, to about 20 m/s at the outlet. These values suggest that the Mach number is less than 0.3. However, the pressure difference at the inlet and outlet is so big, that the density varies from about 3.2 kg/m^3 at the inlet to 1.225 at the outlet.

So the question is, do I ignore compressibility effects (since M<0.3) and use constant density, or do i use an ideal gas formulation to account for the density? I've tried using ideal gas, but the solution for a steady state calculation can never converge. And a constant density formulation just doesn't make sense.

Could anyone help me bounce off ideas on why an ideal gas formulation doesn't converge? Might it be due to the Mach number being too low? Resulting in diverging oscillations? Or could it be due to mesh size? Due to the length of the pipe, I am using 2cm cell size (compared to 35cm pipe diameter), before my computer blows up having too many cells.

I have been using constant density for now, using the average value of the inlet and outlet, with no issues. However, using constant density means getting velocity results which are (fairly) constant too? I am getting about 18-20 m/s throughout the pipe, from inlet to outlet.
heng03313 is offline   Reply With Quote

Old   September 11, 2015, 07:08
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12
Bruno Machado is on a distinguished road
can you solve it for an incompressible condition and use it as an initial condition for a compressible one? than you can compare and see if the difference is significant for your purpose or not.
Bruno Machado is offline   Reply With Quote

Old   September 11, 2015, 07:38
Default
  #3
New Member
 
Join Date: Jul 2015
Posts: 4
Rep Power: 10
heng03313 is on a distinguished road
I've tried that. it diverges the moment I use ideal-gas.
heng03313 is offline   Reply With Quote

Old   September 11, 2015, 08:23
Default
  #4
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by heng03313 View Post
I am trying to model a real world situation. It is a 140+ meters long pipe with the inlet having a fan blowing air at 1.8bars gauge and the outlet to atmospheric. The resultant velocity, from what I know, is of (single digit) m/s around the inlet, to about 20 m/s at the outlet. These values suggest that the Mach number is less than 0.3. However, the pressure difference at the inlet and outlet is so big, that the density varies from about 3.2 kg/m^3 at the inlet to 1.225 at the outlet.

So the question is, do I ignore compressibility effects (since M<0.3) and use constant density, or do i use an ideal gas formulation to account for the density? I've tried using ideal gas, but the solution for a steady state calculation can never converge. And a constant density formulation just doesn't make sense.

Could anyone help me bounce off ideas on why an ideal gas formulation doesn't converge? Might it be due to the Mach number being too low? Resulting in diverging oscillations? Or could it be due to mesh size? Due to the length of the pipe, I am using 2cm cell size (compared to 35cm pipe diameter), before my computer blows up having too many cells.

I have been using constant density for now, using the average value of the inlet and outlet, with no issues. However, using constant density means getting velocity results which are (fairly) constant too? I am getting about 18-20 m/s throughout the pipe, from inlet to outlet.
So how you specify boundary conditions?
Antanas is offline   Reply With Quote

Old   September 11, 2015, 08:36
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I've had similar convergence problems on very long domain when using ideal gas / real gas equation of state. For large domains you need a very good initial guess or the solution can diverge rather easily. For small domains, the initial conditions get washed out pretty fast but for large domains they can persist for many iterations and cause problems.

The fix for me was to play with the under-relaxation factors and reduce them just enough to get a stable simulation and slowly increase them to default values. I usually started with the energy equation, as properties tend to depend more on temperature than pressure. But, for large domains the pressure can also have a significant influence. Is your density change dominated by temperature or pressure changes? If pressure effects are also significant, I had better experience using the coupled p-v solver rather than SIMPLE or PISO, but still with reduced urf's for initial iterations.
ghost82 likes this.
LuckyTran is offline   Reply With Quote

Old   September 11, 2015, 08:37
Default
  #6
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Btw you can set incompressible ideal gas low for density in material prop.
Antanas is offline   Reply With Quote

Reply


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
error message cuteapathy CFX 14 March 20, 2012 06:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


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