|
[Sponsors] |
March 8, 2010, 09:34 |
How to calculate pressure drop
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 16 |
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 |
|
March 8, 2010, 10:28 |
|
#2 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
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 |
|
March 8, 2010, 11:01 |
|
#3 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 16 |
Ok!!
Thanks a lot for the help |
|
March 10, 2010, 12:37 |
|
#4 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 16 |
How does the patchAverage utily work? Is it mass flow weighted? Area weighted?
Thanks for the information |
|
March 11, 2010, 05:00 |
|
#5 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
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. |
|
March 11, 2010, 05:34 |
|
#6 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
Ok,
I took a look. Its averaged over the area. |
|
March 13, 2010, 08:44 |
|
#7 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 16 |
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 ... |
|
March 15, 2010, 04:01 |
|
#8 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
Hi,
that does sound very interesting indeed. I will check it out later today. |
|
January 21, 2020, 04:48 |
|
#9 |
Member
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7 |
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 So how can i monitor the total pressure field value using postProcess command at that patches ? Thank you in advance Vishsel |
|
|
|
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 |