# Outlet boundary conditions for unsteady flow

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 10, 2006, 04:24 Outlet boundary conditions for unsteady flow #1 Bjorn B Guest   Posts: n/a Hi all, I'm currently constructing a C++ program that's supposed to simulate onedimensional pipe flow (turbulent) of liquid helium. I use a finite volume approach and follow the SIMPLE algorithm outlined in the book "Numerical heat transfer and fluid flow" by Patankar. I think I've got the steady simulation to work. There I used the inlet temperature, inlet velocity and outlet pressure as boundary conditions (I was planning to use the inlet pressure instead but for some reason it didn't work, any ideas why not?). Quantities that was not specified at a boundary (for example outlet temperature & outlet velocity)I calculated by setting the gradient to zero. Now, my question is about the case of unsteady flow. Can I still use the boundary conditions of zero gradient for non specified quantities? I've heard that this can cause problems when used at unsteady simulations. Can anyone suggest a better boundary condition? Thanx in advance, Bjorn Backman

 January 10, 2006, 07:01 Re: Outlet boundary conditions for unsteady flow #2 TITAN Algorithms, Staff Guest   Posts: n/a Bjorn, The typical selection of boundary conditions for subsonic incompressible flow can lead to a variety of stability related issues. In general, a reasonable application is to apply a fixed Dirichlet P boundary at the outlet and a zero velocity Neumann gradient boundary, i.e. GRAD(V) * en = 0. The inlet is defined by a fixed velocity BC with a floating Neumann BC for pressure (pressure at the inlet adusts via the Neumann BC. The fixed outlet pressure boundary will tend to minimize pressure wave reflections (numerical) which are traversing the system. The continuative or Neumann velocity BC, while destablizing, will allow unsteady flows to be simulated. The following model demonstrates this. I have created a simple example that demonstrates vortex sheading. The BCs do in fact support the unsteady flow. See the example posted at the following link (top of page) http://cfd.titanalgorithms.com/ Kind Regards, DSS www.TITANAlgorithms.com

 January 10, 2006, 08:49 Re: Outlet boundary conditions for unsteady flow #3 Bjorn B Guest   Posts: n/a OK, thanx a lot for your reply. The flow is subsonic alright, but what I forgot to mention is that I simulate compressible flow NOT incompressible (since Helium is very much compressible). How does this affect the boundary conditions for unsteady simulation? And in the case of steady state, do the boundary conditions I use (fixed inlet velocity & temperature, fixed outlet pressure + zero gradients elsewhere) go well together with compressible flow? I hope so since I have managed to find a steady solution that doesn't look too bad to me... Thanx in advance, Bjorn Backman