CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to calculate Pressure Difference (https://www.cfd-online.com/Forums/openfoam-solving/81502-how-calculate-pressure-difference.html)

Perkele October 28, 2010 11:19

How to calculate Pressure Difference
 
Hello Foamers,

I'm searching for a tool to calculate pressure differences between two or more eligible areas in the flow (Mainly two areas). So not only for inlet and outlet, but also for other interesting areas like a pile-up ahead of a barrier.

Has anyone a solution for me?

Thanks in advance.
Bernhard

Ohbuchi October 28, 2010 20:24

Hi,

If that area consist of boundary patch, you can use patchAverage for all area,
then calculate difference by hand. And If that area is non-patch arbitrary cut surface,
you would use paraview's filter function "Integrate Variables".

Perkele October 29, 2010 09:29

Hi Ohbuchi,

thank you very much for your quick and helpful answer. Both ways work wonderfully!

Have a good weekend.
Bernhard

subhkirti October 29, 2010 09:50

Calculate pressure difference
 
Quote:

Originally Posted by Ohbuchi (Post 281270)
Hi,

If that area consist of boundary patch, you can use patchAverage for all area,
then calculate difference by hand. And If that area is non-patch arbitrary cut surface,
you would use paraview's filter function "Integrate Variables".

Hi Ohbuchi and Bernhard,

Can you explain how to use 'IntegrateVariables' in paraview to calculate the pressure difference. I used it, but it does not seem to generate the correct values.


All times are GMT -4. The time now is 18:09.