CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Question about Boundary Conditions in a pipe flow

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

Like Tree2Likes
  • 2 Post By bscphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2014, 09:07
Question Question about Boundary Conditions in a pipe flow
  #1
Member
 
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 15
hfsf is on a distinguished road
Hello all,

I'm sorry for such a beginner's question, but what's the guideline to define velocity and pressure boundary conditions (BC) in simple pipe flows using OPENFOAM?

Afeter some research, I realized that the major papers describe such situation as follows:

At the inlet, the boundary conditions are 0 for pressure (for icoFoam solvers, at last) and a prescribed velocity. At the outlet, the BC are a zero gradient for velocity and pressure.

My question is: Defining zero gradient to velocity don't make the system to stay closed, I mean, if there's no flux at the outlet, the natural tendency is the increase of pressure. I would appreciate some guidance in such effort.

Thanks in advance.

Last edited by hfsf; January 15, 2014 at 09:18. Reason: Wrong title
hfsf is offline   Reply With Quote

Old   January 16, 2014, 02:42
Default
  #2
Member
 
Join Date: Jun 2011
Posts: 53
Rep Power: 15
blacksquirrel is on a distinguished road
For a simple case I would suggest:
velocity: INLET fixedValue; OUTLET zeroGradient
pressure: INLET zeroGradient; OUTLET fixedValue
blacksquirrel is offline   Reply With Quote

Old   January 16, 2014, 02:45
Default
  #3
New Member
 
bscphil's Avatar
 
Phillip
Join Date: Mar 2012
Location: Germany
Posts: 27
Rep Power: 15
bscphil is on a distinguished road
Hello Hanniel,

the first and frequently-used option for simulating pipe flow is to define:
-> mass flow (or volumetric flow rate or velocity) at your inlet
-> static pressure at outlet as ambient pressure
the boundary conditions must be self-stabilized, this is why you have to define:
-> U:
inlet: type fixedValue; value uniform (Ux Uy Uz);
outlet: type zeroGradient;
-> p:
inlet: type zeroGradient;
outlet: type fixedValue; value uniform 0;

A other option is to define pressure-driven boundary conditions, but i think this was not your question!? I hope this helps? Best greetz, Phillip
hydroRussian and B_Shree like this.
bscphil is offline   Reply With Quote

Old   January 16, 2014, 07:06
Question Boundary conditions in pipe flow
  #4
Member
 
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 15
hfsf is on a distinguished road
Thak you guys for the quick answers.

I was wondering the numerical reasons behind such boundary conditions.
The BC for pressure at the outlet is fixedValue 0. The only way it would make sense is if he pressure solved in icoFoam was only the dynamic one, and given the fact that in the outlet the total pressure is the ambient, the dynamic is zero. But I can't figure out the reason behind the definition of the velocity outlet BC as zeroGradient.

Any recommendations of literature that might help understanding the boundary condition determination would be higly appreciated.

Thanks in advance!
hfsf is offline   Reply With Quote

Old   January 16, 2014, 08:07
Default
  #5
New Member
 
bscphil's Avatar
 
Phillip
Join Date: Mar 2012
Location: Germany
Posts: 27
Rep Power: 15
bscphil is on a distinguished road
Quote:
Originally Posted by hfsf View Post

Any recommendations of literature that might help understanding the boundary condition determination would be higly appreciated.

Thanks in advance!
See e.g.: Computational Methods for Fluid Dynamics by J.H. Ferziger and M. Peric, @ chapter 7.7: Solution of the Navier-Stokes Equations, Boundary Conditions for the Navier-Stokes Equations
bscphil is offline   Reply With Quote

Old   September 3, 2015, 04:41
Default pipe flow geometry
  #6
New Member
 
Join Date: Jun 2015
Posts: 1
Rep Power: 0
aryan789 is on a distinguished road
Hi,
I have to draw a t shaped circular pipe in ansys workbench where the vertical pipe diameter is larger than the horizontal one.I tried to merge and connect them by selecting their faces..but proper joining doesn't occur..flat surface is present..suggest what to do
aryan789 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] Simple Symmetry Mesh Question - Flow around Bluff Body Matlab69 ANSYS Meshing & Geometry 20 April 23, 2012 09:55
Simple question about pipe flow husker Main CFD Forum 1 February 29, 2012 03:40
Yes-No question about poiseuille flow amin144 OpenFOAM 8 January 10, 2012 06:10
VERY SIMPLE question from people works on unsteady flow amin144 Main CFD Forum 9 December 9, 2011 04:18
Question about Couette Flow Tiger Main CFD Forum 1 March 23, 2006 23:16


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