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

Opening Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By FMDenaro
  • 1 Post By Jonas Holdeman
  • 1 Post By Jonas Holdeman

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2013, 05:53
Default Opening Boundary Condition
  #1
New Member
 
Xingyuan Chen
Join Date: Feb 2011
Location: Darmstadt
Posts: 10
Rep Power: 15
andreachan is on a distinguished road
Hello,

I want to simulate a flow domain having such a boundary, where the pressure value is known, and the fluid can flow into or out of the domain at this boundary. It means this boundary can be an inlet or outlet boundary conditions with fixed pressure value.

I am wondering how to treat the pressure and velocity on this boundary, since the flow direction can be both in and out. Is it correct that I treat the boundary as normal inlet pressure static BC when the fluid flows in and as normal outlet pressure static BC when the fluid flows out?

I have found such a boundary condition in the software CFX, which is called Opening Boundary Condition.

I am wondering the principle and mathematical background of this boundary condition. However, I could not find any details in the CFX manual.

Could anyone tell me some papers or books about this kind of boundary condition?

Thanks.
andreachan is offline   Reply With Quote

Old   March 18, 2013, 09:00
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I don't understand your flow problem...what about your computational domain and the forces driving the main flow?
FMDenaro is offline   Reply With Quote

Old   March 18, 2013, 09:30
Default
  #3
New Member
 
Xingyuan Chen
Join Date: Feb 2011
Location: Darmstadt
Posts: 10
Rep Power: 15
andreachan is on a distinguished road
There is a movable part in the domain, which makes the volume of the whole domain changeable. When the volume decreases, the fluid flows out through this 'opening boundary'. When the volume increases, the fluid flows in through this 'opening boundary'.

Quote:
Originally Posted by FMDenaro View Post
I don't understand your flow problem...what about your computational domain and the forces driving the main flow?
andreachan is offline   Reply With Quote

Old   March 18, 2013, 11:00
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by andreachan View Post
There is a movable part in the domain, which makes the volume of the whole domain changeable. When the volume decreases, the fluid flows out through this 'opening boundary'. When the volume increases, the fluid flows in through this 'opening boundary'.
if the flow is modelled as incompressible, you can set also some bc. on the velocity instead of pressure, for example setting a vanishing second derivative. If the flow is fully compressible, you need some more complex non-reflecting bc.s.
FMDenaro is offline   Reply With Quote

Old   March 18, 2013, 13:54
Default
  #5
New Member
 
Xingyuan Chen
Join Date: Feb 2011
Location: Darmstadt
Posts: 10
Rep Power: 15
andreachan is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
if the flow is modelled as incompressible, you can set also some bc. on the velocity instead of pressure, for example setting a vanishing second derivative. If the flow is fully compressible, you need some more complex non-reflecting bc.s.
Thanks Filippo for your advise.
I am simulating an incompressible fluid. But I wondering why we can set a vanishing second derivative of the velocity as a boundary condition. What is the physical meaning of it?
andreachan is offline   Reply With Quote

Old   March 18, 2013, 14:01
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by andreachan View Post
Thanks Filippo for your advise.
I am simulating an incompressible fluid. But I wondering why we can set a vanishing second derivative of the velocity as a boundary condition. What is the physical meaning of it?
you have to distinguish between the correct mathematical BC and its consequent physical meaning.
For incompressible flows you can prescribe either velocity or pressure to have the problem well posed. What the physics says you about the inlet/outle? I don't think you know the velocity profile or the pressure gradient in time ... therefore some "free condition" on the velocity is better to let the flow to go in and out. You cna also prescribe some fixed pressure value if you have two large tank at the end...
What is really required is that you enforce correctly the divergence-free constraint
aero_head likes this.
FMDenaro is offline   Reply With Quote

Old   March 19, 2013, 00:05
Default Open boundary condition
  #7
Senior Member
 
Jonas T. Holdeman, Jr.
Join Date: Mar 2009
Location: Knoxville, Tennessee
Posts: 128
Rep Power: 18
Jonas Holdeman is on a distinguished road
Quote:
Originally Posted by andreachan View Post
Hello,

I have found such a boundary condition in the software CFX, which is called Opening Boundary Condition.

I am wondering the principle and mathematical background of this boundary condition. However, I could not find any details in the CFX manual.

Could anyone tell me some papers or books about this kind of boundary condition?

Thanks.
Attached is an FEM example using "open boundary conditions" or "do-nothing" b.c. This involves a benchmark problem, the simplified backward facing step, where the inlet throat is omitted with the assumption that the entrance flow has a parabolic profile. I have used Re=800. There are primary and secondary recirculation bubbles. The first mesh length (7 x channel height) is chosen so that the exit passes through the second bubble. The fluid is flowing both in and out and clearly it is not the case that the derivative is zero on exit boundary. In the second image the mesh was truncated through the first recirculation bubble with mesh length 3 x channel height and is seen to be consistent with the longer mesh. There is, of course, a truncation boundary layer, but it is very small as seen from the figures.
Attached Images
File Type: jpg BS4T7a.jpg (94.6 KB, 62 views)
File Type: jpg BS4T3a.jpg (64.7 KB, 53 views)
aero_head likes this.
Jonas Holdeman is offline   Reply With Quote

Old   March 19, 2013, 07:11
Default
  #8
Senior Member
 
andy
Join Date: May 2009
Posts: 308
Rep Power: 18
andy_ is on a distinguished road
Quote:
Originally Posted by andreachan View Post
There is a movable part in the domain, which makes the volume of the whole domain changeable. When the volume decreases, the fluid flows out through this 'opening boundary'. When the volume increases, the fluid flows in through this 'opening boundary'.
Setting physically reasonable boundary conditions for 'open' inflows can be tricky and require a bit of experimentation. Simply fixing the static pressure can be OK if the flow is gently flapping about but if there is a significant dynamic pressure in the backflow then some form of total pressure condition is likely to be more physically reasonable.

I am not familiar with the current set of CFX boundary conditions and so can offer little help here.
andy_ is offline   Reply With Quote

Old   March 19, 2013, 07:14
Default
  #9
New Member
 
Xingyuan Chen
Join Date: Feb 2011
Location: Darmstadt
Posts: 10
Rep Power: 15
andreachan is on a distinguished road
Quote:
Originally Posted by Jonas Holdeman View Post
Attached is an FEM example using "open boundary conditions" or "do-nothing" b.c. This involves a benchmark problem, the simplified backward facing step, where the inlet throat is omitted with the assumption that the entrance flow has a parabolic profile. I have used Re=800. There are primary and secondary recirculation bubbles. The first mesh length (7 x channel height) is chosen so that the exit passes through the second bubble. The fluid is flowing both in and out and clearly it is not the case that the derivative is zero on exit boundary. In the second image the mesh was truncated through the first recirculation bubble with mesh length 3 x channel height and is seen to be consistent with the longer mesh. There is, of course, a truncation boundary layer, but it is very small as seen from the figures.
Thanks Jonas for your detailed explanation with figures.

Do you also know the mathematical description of such boundary condition?
andreachan is offline   Reply With Quote

Old   March 19, 2013, 07:20
Default
  #10
New Member
 
Xingyuan Chen
Join Date: Feb 2011
Location: Darmstadt
Posts: 10
Rep Power: 15
andreachan is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
you have to distinguish between the correct mathematical BC and its consequent physical meaning.
For incompressible flows you can prescribe either velocity or pressure to have the problem well posed. What the physics says you about the inlet/outle? I don't think you know the velocity profile or the pressure gradient in time ... therefore some "free condition" on the velocity is better to let the flow to go in and out. You cna also prescribe some fixed pressure value if you have two large tank at the end...
What is really required is that you enforce correctly the divergence-free constraint
If I set a fixed value of pressure on this boundary. Should I do something on the velocity components from the numerical point of view? E.g. setting a zero gradient of the velocity on this boundary.
andreachan is offline   Reply With Quote

Old   March 19, 2013, 11:08
Default open boundary condition
  #11
Senior Member
 
Jonas T. Holdeman, Jr.
Join Date: Mar 2009
Location: Knoxville, Tennessee
Posts: 128
Rep Power: 18
Jonas Holdeman is on a distinguished road
I thought about this a little more and did a Google search on open boundary conditions. Most of the hits seemed to involve atmospheric or oceanic flows and radiation, and the methods seem mostly heuristic. My examples involve a specific method, but perhaps there are general considerations.

Quote:
Originally Posted by andreachan View Post
Do you also know the mathematical description of such boundary condition?
In my example, mass is strongly conserved. This is done (in 2D) by using modified Hermite elements for the stream function, where the derivative terms are the velocity (it could be called a stream function - velocity method). The velocity elements are the curl of the stream function element and hence are strongly divergence-free. I think it might work when truncating the mesh through a recirculation bubble because any fluid outflow carried out through an open face, say by its momentum, must be replaced by an equal inflow. Perhaps the condition needed is that mass conservation must be strong and independent of what is happening at the outflow.

In my case, the equations for the nodes on the exit face are only partially assembled because here are no elements outside. This may be called a "do nothing" boundary condition. I am not sure why it works, but it does. Any mathematicians out there?

This open condition has further utility. Consider flow over a cylinder. One usually uses a mesh wide enough that the effects of truncation of the space might be neglected. Usually one has to compromise between computational work and accuracy. But suppose you leave the top and bottom of the mesh open as well. Then the fluid could expand outside the mesh near the cylinder, and then re-entering downstream, reducing the influence of truncation without additional work. This is shown for Re=50 in the figure, where the top, bottom and right end are open, but net flow through the top and bottom constrained to be zero.
Attached Images
File Type: jpg CF_sf50.jpg (93.1 KB, 36 views)
aero_head likes this.
Jonas Holdeman is offline   Reply With Quote

Old   March 19, 2013, 17:46
Default
  #12
Senior Member
 
Join Date: Aug 2011
Posts: 272
Rep Power: 16
leflix is on a distinguished road
Quote:
Originally Posted by andreachan View Post
If I set a fixed value of pressure on this boundary. Should I do something on the velocity components from the numerical point of view? E.g. setting a zero gradient of the velocity on this boundary.
Yes zero gradient is an option, from a physical point of view it indicates that the velocity is the same on each side of the boundary. A better one is, as Filippo stated it, second derivative of the velocity =0. In this case you specify that you want to keep the same gradient of the velocity on each side of the boundary. This BC is less constraining for the solution.
leflix is offline   Reply With Quote

Reply

Tags
boundary condition


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
Opening boundary condition sicfred FLUENT 3 May 11, 2012 07:46
Fluent Boundary Condition for Opening rippert42 FLUENT 11 November 9, 2011 13:06
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 07:49
CFX Solver : Sudden crash Hervé CFX 2 June 16, 2008 07:40
boundary condition set for opening Hellen Main CFD Forum 7 June 29, 2005 10:21


All times are GMT -4. The time now is 13:14.