CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Surface weighted average (http://www.cfd-online.com/Forums/openfoam-post-processing/80320-surface-weighted-average.html)

 francois September 22, 2010 09:23

Surface weighted average

Hi all,

Is there an utility with openFOAM or Paraview to compute the surface weighted average of a quantity such as temperature:
p, li { white-space: pre-wrap; }

$T_{mean}=\frac{\int_{A}T\vec{u}.d\vec{A}}{\int_{A }\vec{u}.d\vec{A}}$

where $A$ is the surface area ( a plane here) and $\vec{u}$ the velocity field.

Any help could be useful.
Thanks !

 francois September 23, 2010 11:22

I've found something that could be used on patches:

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

but I have to calculate those values on arbitrary locations.
Any ideas ?

Thanks

 sebastian May 16, 2012 08:38

Hi Francois,

did you find a solution for that? I'm interested in something similar.

Sebastian