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

2D hagen poiseuille flow validation using icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2019, 09:34
Default 2D hagen poiseuille flow validation using icoFoam
  #1
Member
 
HouKen
Join Date: Jul 2011
Posts: 67
Rep Power: 14
houkensjtu is on a distinguished road
Hello everyone !
I'm trying to validate the result from icoFoam with the theoretical solution of hagen poiseuille flow. https://en.wikipedia.org/wiki/Hagen%...uille_equation


My mesh is a simple axisymmetric 2D pipe with a radius of 0.05m and 1m long. I defined a 10 degree wedge shape pipe, applied symmetry condition on the axis and "wedge" condition on the front and back surface. (As described in the openfoam user guide : https://cfd.direct/openfoam/user-guide/v6-boundaries/)


In order to avoid the flow bending at the entrance, I applied zeroGradient boundary condition for U at the Inlet and Outlet. For the pressure, I applied a fixedGradient at the Inlet and a fixed value at the Outlet so that the pressure won't float to random value.


I used the OpenFOAM foundation version of OpenFOAM (http://openfoam.org/) and the version is 5.x. The solver I used is normal icoFoam.


According to the theoretical solution, the pressure gradient I applied on the pipe should result in a parabolic velocity profile with a peak value of exactly 2m/s.


However, even after tried to increase the number of mesh or decrease the size of time step, I end up getting a velocity profile with a maximum value of around 1.98m/s . Although this 1% error might not be serious issue, I think such a simple laminar case should yield a more accurate solution.


I attached my case file if you would kindly have a look. Please suggest what might be wrong in my case. Thanks!


================================================== =============================================


UPDATE:


It seems that if I reduce the angle of the wedge model, the velocity profile gets closer to the theoretical solution. If I reduce the angle to less than 2 degree, the maximum velocity is now 1.99m/s.
But I still wonder, did I do everything correct in the modeling?
Attached Files
File Type: zip Axis_Hagen.zip (4.0 KB, 24 views)

Last edited by houkensjtu; February 22, 2019 at 13:41.
houkensjtu 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
Oscillating flow over a cavity validation case Sparow89 FLUENT 0 June 2, 2016 15:18
Open channel flow with icoFoam solver in openFoam yash lakhani Main CFD Forum 0 May 23, 2016 08:03
Laminar Poiseuille Flow using rhoSimplecFoam DavidOuellette OpenFOAM Running, Solving & CFD 0 February 19, 2013 22:34
OpenFoam validation of 3D Poiseuille Solution alinve OpenFOAM 6 August 16, 2012 00:09
Yes-No question about poiseuille flow amin144 OpenFOAM 8 January 10, 2012 06:10


All times are GMT -4. The time now is 15:50.