CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   Surface weighted average (

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:

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


sebastian May 16, 2012 08:38

Hi Francois,

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


All times are GMT -4. The time now is 02:56.