|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Jérémy Bulle
Join Date: Nov 2009
Posts: 93
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Andre Z
Join Date: Dec 2009
Posts: 32
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
Member
Jérémy Bulle
Join Date: Nov 2009
Posts: 93
Rep Power: 5 ![]() |
Ok!!
Thanks a lot for the help
|
|
|
|
|
|
|
|
|
#4 |
|
Member
Jérémy Bulle
Join Date: Nov 2009
Posts: 93
Rep Power: 5 ![]() |
How does the patchAverage utily work? Is it mass flow weighted? Area weighted?
Thanks for the information |
|
|
|
|
|
|
|
|
#5 |
|
Member
Andre Z
Join Date: Dec 2009
Posts: 32
Rep Power: 5 ![]() |
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. |
|
|
|
|
|
|
|
|
#6 |
|
Member
Andre Z
Join Date: Dec 2009
Posts: 32
Rep Power: 5 ![]() |
Ok,
I took a look. Its averaged over the area. |
|
|
|
|
|
|
|
|
#7 |
|
Member
Jérémy Bulle
Join Date: Nov 2009
Posts: 93
Rep Power: 5 ![]() |
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 ...
|
|
|
|
|
|
|
|
|
#8 |
|
Member
Andre Z
Join Date: Dec 2009
Posts: 32
Rep Power: 5 ![]() |
Hi,
that does sound very interesting indeed. I will check it out later today. |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 03:36 |
| specified pressure drop | subhra | Main CFD Forum | 0 | May 29, 2005 12:43 |
| what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |
| Pressure drop calcs | Hanan | Main CFD Forum | 2 | February 16, 2000 10:36 |