CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Boundary conditions of laminar flow in pipe

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

Like Tree2Likes
  • 2 Post By romant

LinkBack Thread Tools Display Modes
Old   July 22, 2011, 07:59
Default Boundary conditions of laminar flow in pipe
New Member
alireza golzari
Join Date: Jun 2011
Posts: 3
Rep Power: 6
alireza.glz is on a distinguished road
Hi dear foamers
I'm a new user of openfoam and I'm trying to run my first case.
My case involves heating process of a power-law fluid in a circular pipe.
The simulation involves the entrance region of the pipe, so the momentum boundary layer and thermal boundary layer are developing simultaneously.
the fluid enters the pipe with a flat velocity and temperature profiles and reaches fully developed conditions at the end.
But I don't know what boundary conditions should I use for pressure and velocity in pipe wall, centerline, pipe inlet and outlet.

Can anybody here help me
Thanks in advance

Last edited by alireza.glz; July 22, 2011 at 12:04.
alireza.glz is offline   Reply With Quote

Old   July 25, 2011, 13:29
Default Inlet boundary conditions
Senior Member
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 178
Blog Entries: 1
Rep Power: 7
Linse is on a distinguished road
Dear Alireza,

unfortunately I cannot give you a complete answer. But what I tried for a beginning (and what seems to give reasonable results) was:
Inlet for any condition:
type fixedValue;
value uniform (.....);

For the walls I tried the same at first with a value uniform (0 0 0) for the velocity, but obviously I am not yet happy with it. I will try to find better boundary conditions there the next days.
For the outlet up to now I am using a mixture of fixedValue-type and zeroGradient-type boundary conditions. The profile does develop reasonably well. But still, I am not completely happy with the wall conditions and my results with a simple Bernoulli equation are far from what I get in the simulations (yet).

Hope that helps?

Maybe someone can tell us the thread where the different wall-BCs are well-explained, especially concerning setting parameters and so on? ;-)

Thanks in advance already!
Linse is offline   Reply With Quote

Old   July 26, 2011, 08:56
Default wall boundary conditions
Senior Member
romant's Avatar
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 364
Rep Power: 12
romant is on a distinguished road

for the wall boundary for pressure you should set it to
buoyanytPressure , the velocity should have 0 at the wall given by the fixedValue boundary condition.

At the outlet, your velocity can be set to pressureInletOutletVelocity , which
makes the velocity completely dependent on the pressure at that point. The pressure should thenbe set to fixedValue.

I assume that you are dealing with incompressible flow. This means that you can set your pressure fixed value to 0. In case of compressible flow, you need to set it to the actual pressure, otherwise you might divide by 0.

Depending on what kind of problem you deal with for your heat (constant wall temperature or constant heat flux) you might want to consider fixedValue boundary condition at all walls and the inlet, and zeroGradient boundary at the outlet.

In case you need more boundary conditions, especially for the turbulence properties. Try taking a look into the folders of the respective solvers that you are using.
Mojtaba.a and czhao86 like this.
romant is offline   Reply With Quote


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
boundary conditions for 2D flow around a circle abcdef123 Main CFD Forum 0 April 21, 2010 02:26
Proper Pressure Boundary Conditions for Buoyant Flow mchurchf OpenFOAM 0 March 25, 2010 13:16
Laminar field as initial state for turbulent two phase pipe flow kjetil OpenFOAM Running, Solving & CFD 3 July 21, 2009 09:15
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18
Laminar Pipe Flow Simulation/Help Please Colin FLUENT 3 May 6, 2003 23:07

All times are GMT -4. The time now is 07:40.