|
[Sponsors] |
September 11, 2015, 03:48 |
ideal gas or not?
|
#1 |
New Member
Join Date: Jul 2015
Posts: 4
Rep Power: 10 |
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. |
|
September 11, 2015, 07:08 |
|
#2 |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12 |
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.
|
|
September 11, 2015, 07:38 |
|
#3 |
New Member
Join Date: Jul 2015
Posts: 4
Rep Power: 10 |
I've tried that. it diverges the moment I use ideal-gas.
|
|
September 11, 2015, 08:23 |
|
#4 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Quote:
|
||
September 11, 2015, 08:36 |
|
#5 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66 |
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. |
|
September 11, 2015, 08:37 |
|
#6 |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Btw you can set incompressible ideal gas low for density in material prop.
|
|
|
|
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 |