CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Cannot validate simple pipe flow using simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2013, 06:08
Default Cannot validate simple pipe flow using simpleFoam
  #1
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 13
inf.vish is on a distinguished road
Hi all,

I am new to OpenFOAM and I am required to validate the simple case of a flow through a pipe. The boundary conditions are
U - fixedvalue at inlet, zerogradient at outlet and fixedvalue zero at walls
p - zerogradient at inlet and wall, fixedvalue zero at outlet.

The solution shows two peaks in pressure at the inlet corners. I am using Poiseuille's law and the pressure difference i calculate is not even close to that is shown by openfoam.

I am attaching my case files here. 2D_pipe_vel_driven.zip
inf.vish is offline   Reply With Quote

Old   August 6, 2013, 06:43
Default
  #2
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17
laurentb is on a distinguished road
Hi,

For a 2d axisymmetric case you should use the WEDGE type for your mesh.
Have a look to : http://www.somogyibence.hu/documents.../Cornell1.html
laurentb is offline   Reply With Quote

Old   August 6, 2013, 07:21
Default
  #3
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 13
inf.vish is on a distinguished road
Why can't i just normally solve it?
inf.vish is offline   Reply With Quote

Old   August 6, 2013, 07:33
Default
  #4
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 13
inf.vish is on a distinguished road
The results match now. Can you explain me why the normal approach doesn't work and the wedge approach works?
inf.vish is offline   Reply With Quote

Old   August 6, 2013, 08:32
Default
  #5
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 13
inf.vish is on a distinguished road
Okay, so i understand why the problem was there. Wedge is a part of a circle and a 2D rectangle (which openfoam converts to 3D block) would represent a pipe with rectangular cross section.

There is however one more problem. I should get correct results if i make a 3D pipe of circular cross section and run the simulation. My results are not conforming with Poiseuille's Law.

The mesh file is too big to upload over here. It was meshed on Fluent. 10mm dia and 100mm length.
inf.vish is offline   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
Pipe flow with obstacle - HELP Min FLUENT 6 January 31, 2017 15:28
[GAMBIT] meshing in GAMBIT, a flow through a pipe having complex inflow geometry mazhar1613 ANSYS Meshing & Geometry 1 January 12, 2012 00:18
simple pipe flow question arkur CFX 1 July 11, 2008 17:32
some weird results about a simple pipe flow: Ning FLUENT 2 March 11, 2007 14:23
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


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