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

Pressure drop over tube, to low

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Woud

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2021, 10:05
Default Pressure drop over tube, to low
  #1
New Member
 
Join Date: Aug 2021
Posts: 4
Rep Power: 5
Woud is on a distinguished road
Hi,

A couple of weeks ago i started with Openfoam, playing with the tutorials and watching Youtube videos. Now I am aiming to calculate the pressure drop over a section of pipe, which I will use later to calculate the pressure drop over some custom headers and bends (all PVC).

After the simulation using simpleFoam (starting from the squareBend tutorial) I ran the following two commands to determine the pressure loss:

Code:
postProcess -func "patchAverage(name=inlet,p)" -time 400
and
Code:
postProcess -func "patchAverage(name=outlet,p)" -time 400
resulting in 0.00331228 and 0.0 respectively. I know that I have to multiply this value with the density of the fluid (water) to get the actual pressure. This results in about 3.3 Pa of pressure drop over the pipe which is 2m long and 25mm in diameter and has an inlet flow of 0.1m/s.

Using http://www.pressure-drop.com/Online-Calculator/ i found that the pressure drop should be around 0.59Bar which is a massive difference.

I tried the refine the mesh but this didn't help. There are two directions I am not sure about, defining the roughness of the wall and the corresponding initial conditions and which solution schemes to use.

I attached the case, which hopefully helps with pushing me in the right direction.

btw, I am using Openfoam v2012
Attached Files
File Type: zip roundTube25.zip (21.6 KB, 7 views)
zyliao likes this.
Woud is offline   Reply With Quote

Old   August 6, 2021, 04:16
Default
  #2
Member
 
Daniel
Join Date: Jan 2021
Posts: 39
Rep Power: 5
DevilX is on a distinguished road
Hey Woud,


i wans´t able to calculate your case myself, because my pc is running all time with my simulations.


My guess is, that your calculation on the website is wrong. I checked it with water and attached you find the screenshot with your geometry. Then the droop is 0,19 mbar, which sounds much better for me, because 0.59 bar pressure drop through a normal pipe ist really heavy.
Attached Images
File Type: png drop.PNG (14.9 KB, 28 views)
DevilX is offline   Reply With Quote

Old   August 7, 2021, 09:01
Default
  #3
Senior Member
 
shinji nakagawa
Join Date: Mar 2009
Location: Japan
Posts: 113
Blog Entries: 1
Rep Power: 18
snak is on a distinguished road
Hi,


Quote:
pipe which is 2m long and 25mm in diameter
Is this correct? In your case, the diameter of pipe is about 200 mm. (It is estimated from a STL file.)


As Daniel pointed out, the pressure drop you obtained from the website will be incorrect. It will be the same order of your simulation.
snak is offline   Reply With Quote

Old   August 7, 2021, 17:07
Default
  #4
New Member
 
Join Date: Aug 2021
Posts: 4
Rep Power: 5
Woud is on a distinguished road
Good evening,

Thank you Daniel for pointing out that I made an error in the pressure drop calculator, it should be 0.19mbar indeed.

@snak You are right as well, I tried to calculate the pressure drop simulation with a 200mm pipe first. (since this is closer to my final application) But after playing around with that and being about 30% off the value I expected I tried a smaller diameter. Now it seems like I did not delete the old .stl file properly, running my simulation with the 200mm pipe.

I corrected the mistakes and now I have a pressure drop of 47mbar, which is already much better and in the correct range of magnitude. However, it is still more than twice the value expected.
Should I learn to life with that or can I improve with choosing another solver or tweaking some of the conditions?
Woud is offline   Reply With Quote

Old   August 9, 2021, 08:25
Default
  #5
Member
 
Daniel
Join Date: Jan 2021
Posts: 39
Rep Power: 5
DevilX is on a distinguished road
Well try to reduce the limitation factor in your schemes, maybe then you accuracy rises.
Twice the difference is still huge. Try the schemes and also make your Mesh finer (Just a try - the computational time should not be a problem here). Furthermore, you can try differnent Turbulence schemes as well. Also try to verify your pressure drop theoretically for yourself (pipe roughness f.e.).
DevilX is offline   Reply With Quote

Old   August 16, 2021, 07:10
Default
  #6
New Member
 
Join Date: Aug 2021
Posts: 4
Rep Power: 5
Woud is on a distinguished road
Oke, I found some time to work with your suggestions.
Starting with the easiest thing first, refining the mesh. Which didn't help at all.

During one of my google searches I noticed that i think that my problem is a steady state problem, however the turbulent behaviour can introduce vortexes which makes the problem transient? Therefore, simpleFoam is not the right solver.

Furthermore,
- I verified the pressure drop with some basic calculations resulting in similar pressure drops as from the online calculator. Since I am in the transition region between laminair and turbulent the friction factor gives a significant difference (laminar dP = 22.4Pa and turbulent dP = 44Pa).
- I changed the length of the pipe from 2 to 5 meters, to have a bit more significant pressure drop to work with.

I have been playing with some of the schemes and limitation factors, but I am not sure what I am doing.
Therefore, I added my case again. Hopefully some of you can push me a bit more in the right direction
Attached Files
File Type: zip roundTubeLong.zip (46.8 KB, 4 views)
Woud is offline   Reply With Quote

Reply

Tags
drop, openfoam, pressure, simplefoam


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
Low pressure drop in duct compared to experimental values firestone9x FLUENT 20 August 6, 2021 15:58
viscosity udf don't use correct temperature and strain rate rezvani Fluent UDF and Scheme Programming 8 May 27, 2021 06:40
Pressure drop tube luzmartinez Main CFD Forum 1 July 31, 2017 02:35
Pressure drop using Fan type BC Alexis Sack OpenFOAM Running, Solving & CFD 2 September 22, 2014 10:18
How to study pressure drop of continous phase in VOF model sajeesh FLUENT 4 February 5, 2014 23:01


All times are GMT -4. The time now is 16:27.