CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Surface weighted average

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

Like Tree2Likes
  • 2 Post By seanread

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2010, 09:23
Default Surface weighted average
  #1
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 142
Rep Power: 9
francois is on a distinguished road
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 is offline   Reply With Quote

Old   September 23, 2010, 11:22
Default
  #2
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 142
Rep Power: 9
francois is on a distinguished road
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
francois is offline   Reply With Quote

Old   May 16, 2012, 08:38
Default
  #3
Member
 
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 9
sebastian is on a distinguished road
Hi Francois,

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

Sebastian
sebastian is offline   Reply With Quote

Old   January 31, 2016, 23:57
Default really late solution
  #4
Member
 
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 4
seanread is on a distinguished road
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.
seanread is offline   Reply With Quote

Old   November 30, 2016, 11:06
Default
  #5
New Member
 
elham usefi
Join Date: Apr 2016
Location: tabriz,iran
Posts: 9
Rep Power: 2
elham usefi is on a distinguished road
Quote:
Originally Posted by seanread View Post
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
elham usefi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 October 22, 2015 11:05
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 23 August 5, 2015 02:09
Average Facet, Surface Vertex or Area-Weighted Emmanuel FLUENT 2 February 4, 2012 23:04
boundaries with gmshToFoam‏ ouafa Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 May 21, 2010 12:43
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 07:03.