CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   average pressure of a volume area (https://www.cfd-online.com/Forums/openfoam/70036-average-pressure-volume-area.html)

sven82 November 12, 2009 10:25

average pressure of a volume area
 
hi foamers,

for a simulation of a channel flow I like to
calculate the average the pressure of a specific area.

For patch are simple, like this
(gSum(phi.boundaryField()[1]))
but when I got a cube, not a patch, in the channel ????.

Is there any opportunity to create a sphere like in setFields and
calculate the pressure value of this area?

best regards
sven


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