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

Boundary conditions at inlet/outlet of a pipe with compressible flow

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2015, 06:04
Exclamation Boundary conditions at inlet/outlet of a pipe with compressible flow
  #1
New Member
 
Join Date: Nov 2015
Posts: 10
Rep Power: 10
nicola_78 is on a distinguished road
Hi Gentlemen,

a question for you:

I have a compressible gas flowing in a pipe (with in the middle of it a valve), I'm trying to impose the boundary coinditions at the inlet/outlet of the pipe, but something is wrong.

Operating conditions:

- 29.6 bar
- 30 °C
- 20.96 kg/m3 (@ 29.6 bar and 30 °C)
- 5694 m3/h (@ 29.6 bar and 30 °C)

I'm imposing for the INLET CONDITION a static pressure of 29.6 bar with 30 °C, and for the OUTLET CONDITION a mass flow rate (20.96*5694).

The results are completely wrong, it results a velocity of 400 m/s, etc..

What is wrong? Where is the mistake?

Can someone please help me?

Thanks
nicola_78 is offline   Reply With Quote

Old   November 19, 2015, 07:14
Default
  #2
Senior Member
 
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12
laurentD is on a distinguished road
Hi Nicola (Yvelines?),
you speak about wrong results, but what tool are you using to obtain these results ?
Laurent
laurentD is offline   Reply With Quote

Old   November 19, 2015, 07:32
Default
  #3
New Member
 
Join Date: Nov 2015
Posts: 10
Rep Power: 10
nicola_78 is on a distinguished road
I'm using, not by choice, Flow Works (SolidWorks).

Results have no sense, I know that, for example, velocity should be around 10/20 m/s and not 400 m/s.
Maybe there's some initial wrong setting.

I also tried another way to resolve the problem:
I imposed a mass flow rate at the INLET and a pressure of about 0 bar (1*^(-10)) at the OUTLET, but using a fluid with the properties calculated at my operating conditions (@29.6 bat and 30 °C)
nicola_78 is offline   Reply With Quote

Old   November 19, 2015, 08:12
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
compressible, unsteady subsonic flows require special care in setting the BC.s.
You need to take into account the role of the characteristic curves (defined for inviscid flows) that say you have one BC at inlet coming from the interior.
Similar care must be taken for the outlet where not all the BC.s can be taken from the interior but one has to be fixed.
Many textbooks and papers illustrate the correct BC.s
FMDenaro is offline   Reply With Quote

Old   November 19, 2015, 08:30
Default
  #5
New Member
 
Join Date: Nov 2015
Posts: 10
Rep Power: 10
nicola_78 is on a distinguished road
I took care about the things you said.
nicola_78 is offline   Reply With Quote

Old   November 19, 2015, 09:30
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
If you fix p and T at inlet you are also fixing the BC.s for the density = p /RT.
What about the condition you let from the interior, velocity?
FMDenaro is offline   Reply With Quote

Old   November 19, 2015, 10:03
Default
  #7
New Member
 
Join Date: Nov 2015
Posts: 10
Rep Power: 10
nicola_78 is on a distinguished road
I didn't impose any velocity, shouldn't it be automatically evaluated if I impose a boundary at the outlet?
nicola_78 is offline   Reply With Quote

Old   November 19, 2015, 11:49
Default
  #8
New Member
 
Sarang
Join Date: Oct 2015
Posts: 22
Rep Power: 11
Sarang V is on a distinguished road
Since your velocity is so high. The first thing that I would check it that the diameter of the pipe is in the right units.
Sarang V is offline   Reply With Quote

Old   November 19, 2015, 12:15
Default
  #9
New Member
 
Join Date: Nov 2015
Posts: 10
Rep Power: 10
nicola_78 is on a distinguished road
The diamensions are correct
nicola_78 is offline   Reply With Quote

Old   November 19, 2015, 12:18
Default
  #10
New Member
 
Sarang
Join Date: Oct 2015
Posts: 22
Rep Power: 11
Sarang V is on a distinguished road
What is the numerical value of the area with units ?
Sarang V is offline   Reply With Quote

Old   November 19, 2015, 12:20
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Maybe I have not fully understand how your code set the BC.s, I did some simple evaluation:

fixind the static pressure p, assuming a crude approximation in terms of energy you have that the total pressure p0 and the kinetic energy are not prescribed individually but only their difference.
Therefore, your solution can get any level of kinetic energy (and therefore of velocity magnitude) according to your setting
shakabrade and Sarang V like this.
FMDenaro is offline   Reply With Quote

Reply

Tags
boundary, compressible, gas, pipe, pressure


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Radiation interface hinca CFX 15 January 26, 2014 18:11
Compressible Flow - Boundary Conditions Marc FLUENT 1 July 20, 2007 12:04
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


All times are GMT -4. The time now is 22:21.