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

Outlet boundary conditions for unsteady flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2006, 03:24
Default 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
  Reply With Quote

Old   January 10, 2006, 06:01
Default 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
  Reply With Quote

Old   January 10, 2006, 07:49
Default 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

  Reply With Quote

Old   January 11, 2006, 05:42
Default Re: Outlet boundary conditions for unsteady flow
  #4
TITAN Algorithms, Staff
Guest
 
Posts: n/a
Bjorn,

You should be able to apply the local density (evaluated from the EOS in your simulation) that resides next to the control surface you are creating the Neumann pressure boundary condition for.

Example: lower face of the flow field (fixed wall, no slip) has a GRAD(P).en defined by the following:

GRAD(P).en = rho(-GRAD V{V}.en + mu DELTA(V).en + g.en)

en = -ey

DELTA(V).en ~ GRAD^2(V).-ey = - GRAD^2(v) (3 space curvature)

g.en = -gy

-GRAD V{V}.en = 0 (advection term, zero becuase V=0 on wall)

Note that it is generally advisable to apply 3 point forward operators on the curvature terms DELTA(V) and higher order forward first order derivatives.

After you have solved for dP/dy at your control surface, the solver would then update P on the surface based on the first CV into the domain.

(Pi - P_CS) / dy/2 = dP/dy (from notation above)

As indicated, local fluid properties are maintained, just apply the local density (and viscosity values) in the adjoining control volume i.

regards

DSS

www.TITANAlgorithms.com

  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
non reflective boundary conditions for incompresible flow Pascal_doran OpenFOAM Programming & Development 16 August 25, 2015 05:35
Low Speed Flow Boundary Conditions Paul Bateman FLUENT 2 January 10, 2013 13:01
Disturbed flow field at outlet boundary (Multiphase flow through pipe) Michiel CFX 17 April 21, 2010 10:14
VOF Outlet boundary condition in cfd - ace JM Main CFD Forum 0 December 15, 2006 08:07
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18


All times are GMT -4. The time now is 11:48.