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 { whitespace: prewrap; } $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 ! 
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 
Hi Francois,
did you find a solution for that? I'm interested in something similar. Sebastian 
really late solution
So I'm guessing you probably sorted this out, but just for the sake of anyone else who is looking into this, I found this solution:
https://cmake.org/pipermail/paraview...st/013201.html So if you integrate over a surface with the integrate variables filter and then divide by the total area that will give you an area weighted average 
Quote:

All times are GMT 4. The time now is 15:16. 