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

How to calculate pressure drop

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By LVDH

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2010, 09:34
Default How to calculate pressure drop
  #1
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
Hello,

I have a channel solved with simplefoam and I would like to calculate the pressure drop ... How can I do that?

Thanks for the help
Gearb0x is offline   Reply With Quote

Old   March 8, 2010, 10:28
Default
  #2
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16
LVDH is on a distinguished road
Hi,
after the calculations you have you calculate the total pressure.
Then you should calculate the average over the boundaries you are analyzing. I do not know how to automatically calculate the difference using openfoam utilities, so you will either have to write your own program to do this or use your calculator (or brain).
Here are the commands you need:
Code:
ptot
patchAverage ptot inlet
patchAverage ptot outlet
I assumed you named our boundaries "inlet" and "outlet".
mizzou and hogsonik like this.
LVDH is offline   Reply With Quote

Old   March 8, 2010, 11:01
Default
  #3
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
Ok!!

Thanks a lot for the help
Gearb0x is offline   Reply With Quote

Old   March 10, 2010, 12:37
Default
  #4
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
How does the patchAverage utily work? Is it mass flow weighted? Area weighted?

Thanks for the information
Gearb0x is offline   Reply With Quote

Old   March 11, 2010, 05:00
Default
  #5
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16
LVDH is on a distinguished road
I am not sure.
but as far as I know the massflow is the phi-field. When you execute yPlus it calculates phi. When you execute patchAverage it does not. So I think one can say that the patchAverage utility does not use the massflow.

You could take a look into the source code. I do not have the time for that right now but it should be easy to understand.
LVDH is offline   Reply With Quote

Old   March 11, 2010, 05:34
Default
  #6
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16
LVDH is on a distinguished road
Ok,
I took a look.
Its averaged over the area.
LVDH is offline   Reply With Quote

Old   March 13, 2010, 08:44
Default
  #7
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
A big big thanks for the help!!
I've found something interesting on the wiki :

http://openfoamwiki.net/index.php/Co...unctionObjects

But I can't make it work. I don't know how to use it. Maybe I have to run the case to make it work and you cannot use a command tu run it after solving the problem ...
Gearb0x is offline   Reply With Quote

Old   March 15, 2010, 04:01
Default
  #8
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16
LVDH is on a distinguished road
Hi,
that does sound very interesting indeed.
I will check it out later today.
LVDH is offline   Reply With Quote

Old   January 21, 2020, 04:48
Default
  #9
Member
 
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7
Vishsel is on a distinguished road
Hi everyone,

To monitor total pressure at boundary conditions while using OpenFOAM V2.3, i have ran this commands,
Code:
ptot
patchAverage ptot massflow-inlet
Now i am upgraded to OpenFOAM 5.x.
So how can i monitor the total pressure field value using postProcess command at that patches ?

Thank you in advance
Vishsel
Vishsel 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
Pressure drop? Munni FLUENT 4 March 25, 2010 15:21
Pressure drop match praveen.jpk FLUENT 3 September 11, 2009 04:36
specified pressure drop subhra Main CFD Forum 0 May 29, 2005 13:43
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13
Pressure drop calcs Hanan Main CFD Forum 2 February 16, 2000 11:36


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