# Surface weighted average

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 22, 2010, 09:23 Surface weighted average #1 Senior Member   Francois Beaubert Join Date: Mar 2009 Location: Lille, France Posts: 144 Rep Power: 10 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 !

 September 23, 2010, 11:22 #2 Senior Member   Francois Beaubert Join Date: Mar 2009 Location: Lille, France Posts: 144 Rep Power: 10 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

 May 16, 2012, 08:38 #3 Member   Sebastian Saegeler Join Date: Nov 2009 Location: Munich Posts: 70 Rep Power: 9 Hi Francois, did you find a solution for that? I'm interested in something similar. Sebastian

 January 31, 2016, 23:57 really late solution #4 Member   sean read Join Date: Sep 2014 Location: Melbourne, Australia Posts: 41 Rep Power: 4 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 tidusuper91 and elham usefi like this.

November 30, 2016, 11:06
#5
New Member

elham usefi
Join Date: Apr 2016
Location: tabriz,iran
Posts: 12
Rep Power: 3
Quote:
 Originally Posted by seanread 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
thank you. it saved me

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 October 22, 2015 11:05 nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 23 August 5, 2015 02:09 Emmanuel FLUENT 2 February 4, 2012 23:04 ouafa Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 May 21, 2010 12:43 Chie Min CFX 5 July 12, 2001 23:19

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