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

Pressure boundary condition

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

Like Tree2Likes
  • 1 Post By C-H Kuo
  • 1 Post By John C. Chien

Reply
 
LinkBack Thread Tools Display Modes
Old   August 27, 1998, 09:59
Default Pressure boundary condition
  #1
C-H Kuo
Guest
 
Posts: n/a
I am new here, I hope the following question is also new. For a inlet-outlet flow problem, if only pressure is imposed on both in/out boundary, can we get a convergent or unique solution?

I asked this question to many, and most answers are positive. There should be a solution for the imposed pressure drop across the flow domain.

I do not agree with it, but I am not confident with myself and it is in my mind for long. Here, I found a place to make it clear.

My point is that if no velocity constraint is imposed on either in or out boundary, there is no convergence or the solutions have infinite sets. 1.Pressure gradient is a driving force for the momentum, it should drive whatever given velocity at inlet and render a certain velocity at outlet. If no velocity constraint at in or out boundary, target is missing. 2.Usually, up to my knowledge, at pressure boundary a zero normal gradient (or similar) B.C. is internally set to velocity field in order to solve the momentum equation. This leads the momentum equation to a situation similar to the Pressure Poisson equation of segregated solution method. 3. Possibly, some equation may be used to calculate velocity at in or out boundary based on a pre-calculated pressure field. Would this fix the velocity?
sepidehkavousi likes this.
  Reply With Quote

Old   August 27, 1998, 11:18
Default Re: Pressure boundary condition
  #2
John C. Chien
Guest
 
Posts: n/a
For incompressible flow, you can specify the pressure at one location only in the computational domain. Normally, this pressure value is specified at the inlet ( one point only). This will give you the freedom to specify the inlet velocity distribution. For the compressible flow ( where the density is related to the equation of state, or the similar equation), you can set the pressure at the inlet and the outlet. Be careful not to over-specify your boundary conditions. In the incompressible flow, when you specify the inlet velocity distribution and the pressure at one point, your whole problem is fixed. You can not specify the exit velocity ( possible violation of continuity equation) or exit pressure . In the compressible flow, the density will adjust itself to fit the pressure conditions.
  Reply With Quote

Old   August 27, 1998, 11:53
Default Re: Pressure boundary condition
  #3
C-H Kuo
Guest
 
Posts: n/a
Thanks for your comments; it makes me relaxed. Indeed, I believe that in most commercial codes, pressure boundary condition has internal or user specified flexibility to adjust pressure values at each boundary node or face.

If I fix my question on putting only pressure (static) on in/out boundaries, and no velocity is specified, would this make a solution? Incompressible flow should fail in this B.C.

Is there any way for compressible flow to fix the velocity? I know stagnation at inlet can confine the velocity, which actually fix the total pressure and flow direction, and thus a limitation for the inflow velocity magnitude. My experience is limited to finite volume code. Is there any other way out?
  Reply With Quote

Old   August 27, 1998, 12:29
Default Re: Pressure boundary condition
  #4
John C. Chien
Guest
 
Posts: n/a
For laminar , incompressible fully-developed constant diameter pipe flow , the velocity profile is second-order parabolic profile. The pressure drop (between inlet and the exit ) is a function of the flow rate ( or the mean velocity ) and the viscosity. So if you specify the pressures at the inlet and the exit, the pressure drop is known. The flow rate is also known. Thus the velocity profile is known. You are not allowed to change ( or specify) the velocity in this case. You can specify the velocity at the inlet for subsonic flow. You must specify the velocity at the inlet for the supersonic flow ( the inlet condition for supersonic flow has to be fixed .) But, you can not over specify the inlet conditions. The stagnation condition at the inlet is just a local derived condition, that is , it is just an algebraic relationship between other flow variables. Let's say A, and B are two flow variables ( or thermodynamic variables), you can defined a new flow variable C = A + B. You can use A and B, or C and B, or C and A.

  Reply With Quote

Old   August 27, 1998, 13:18
Default Re: Pressure boundary condition
  #5
andy
Guest
 
Posts: n/a
Imposing a constant pressure drop and allowing the mass flow to adjust is probably the most common inlet/outlet boundary condition for simple LES predictions. The inlet/outlet velocity boundary condition is periodic as is the inlet/outlet pressure condition plus a constant for the pressure drop. The flow adjusts until the wall shear stress balances the imposed pressure drop.

The same would hold true for a RANS prediction. There will be no problems so long as the net mass flux is exactly zero when the pressure correction equation is solved and there is only one exit (otherwise the split would have to be specified). The inlet and outlet velocity profiles would have to be adusted together at the end of each time step. The obvious thing to do would be to integrate the forces on the solution domain and use the imbalance to adjust the momentum flow (depending on assumed velocity profile shapes/angles etc...). I am not sure if you can do this with commercial codes? It would be disappointing if you could not.
  Reply With Quote

Old   August 27, 1998, 14:35
Default Re: Pressure boundary condition
  #6
C-H Kuo
Guest
 
Posts: n/a
thanks for your comments. Indeed, I missed the point of force balance. I need to correct my previous statement that "infinite set of velocity" was wrong. From your explanations, we should have the shear stress and velocity/turbulence well correlated so that they will converge consistently.

Actually, you gave me a good point to start with. Is there any stability or consistency trap hide in your approach?
  Reply With Quote

Old   August 27, 1998, 15:47
Default Re: Pressure boundary condition
  #7
andy
Guest
 
Posts: n/a
Not in an LES prediction with periodic boundary conditions and a time step below the Courant number. For an implicit RANS prediction it is likely the boundary treatment would be explicit so it may be wise (necessary) to add relaxation. I am uncertain quite what you mean by consistency (and I would hestitate to make absolute statements about coupled non-linear equations) but in my experience if the treatment is based on sound physical reasoning there should be no problems. I would suggest a force balance fits into this category.
  Reply With Quote

Old   August 27, 1998, 20:46
Default Re: Pressure boundary condition
  #8
Philip Zwart
Guest
 
Posts: n/a
There is nothing wrong with specifying pressure at both the inflow and outflow; many systems require just that. But specifying only pressure at an inflow leads to an underconstrained system and poor convergence. The commercial code I know (CFX-TASCflow) requires flow direction to also be specified at pressure inflows; I have tried this also with my research code and it works well.

Hope this helps,

phil
  Reply With Quote

Old   August 28, 1998, 03:31
Default Re: Pressure boundary condition
  #9
laliong
Guest
 
Posts: n/a
I agree with you. Since only the gradient of pressure is contains in the incompressible NS equation, the absolute value is not necessary to be specified.
  Reply With Quote

Old   August 28, 1998, 12:07
Default Re: Pressure boundary condition
  #10
John C. Chien
Guest
 
Posts: n/a
When using someone else's code ( a commercial code, a research code, a modified code or ....), if you are not sure of the boundary conditions required, the best approach is to check the final computed results in the area of boundary conditions against the boundary conditions you specified. If the computed result is different from your input condition, or if there is a sudden change in the smoothness of solution at the inlet, exit, or boundary locations, then you may have over-specified boundary condition problem. This is especially true, when the code was streamlined by non-CFD programmer. ( it happens from time to time.) In the modified version, sometimes you are asked to provide all the information at the inlet. So be careful.
Fine likes this.
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 34 October 16, 2014 05:27
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 2 August 14, 2014 09:07
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Pressure Boundary condition abishek FLUENT 1 July 28, 2008 08:14
Pressure Boundary Condition chiseung FLUENT 1 June 19, 2001 21:05


All times are GMT -4. The time now is 02:41.