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

Adequate boundary conditions for compressible pipe flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2016, 13:54
Default Adequate boundary conditions for compressible pipe flow
  #1
New Member
 
Chris Volkmar
Join Date: Jun 2016
Posts: 1
Rep Power: 0
chrisvolkmar is on a distinguished road
Dear community,

I am struggling with my SIMPLE implementation. First of all, I implemented the method on a staggered grid for 2D axisymmetric coordinates. However, my problem also occurs when going to a 1D problem.
I would like to simulate the flow in a pipe (nothing fancy, I know) with a defined set of input parameters like inflow velocity and mass flow into the system. I followed the implementation rules from Versteeg's book and I'm pretty sure that at least the inflow cell and the interior cells and their respective momentum equations are implemented correctly. However, concerning the outflow boundary and the corresponding pressure (or better density) correction, I accumulated some problems - which is why I seek your advice.
First of all, what I actually want to know is the development of velocity and density throughout the pipe/nozzle. I cannot, however, state that the density at the outflow boundary is fixed. In my problem the temperature is constant throughout the domain but the density is assumed to change since I simulate a gaseous flow. I tried to implement the zero velocity gradient boundary condition at the outlet but there seems to be a big misunderstanding or wrong implementation because the resulting velocity field iteratively decays to zero (except the inflow velocity which is fixed). Maybe I was mistaken when substituting the pressure in the momentum and continuity equation by the density (using the ideal gas law p=nkT). Because now, even if I know that the outlet pressure will be 0 Pa (the outlet is in a vacuum), I cannot say that the density at the outlet will be zero because the temperature in the vacuum also has an effect. I hope you understand my problem...
In other words: the flow I want to simulate is known at the inlet, unknown at the outlet and expected to have variable density but constant temperature. Can anyone comment on appropriate boundary conditions for this setup? I would deeply appreciate any help or hints. I will gladly provide more information if needed.

Thanks in advance,
Chris
chrisvolkmar is offline   Reply With Quote

Reply

Tags
boundary conditions, compressible flow, simple algorithm


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Boundary conditions at inlet/outlet of a pipe with compressible flow nicola_78 Main CFD Forum 10 November 19, 2015 12:20
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Boundary conditions Poiseuille flow, Y pipe, 3D geometry Guenda OpenFOAM Pre-Processing 0 April 4, 2013 18:33


All times are GMT -4. The time now is 16:50.