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

space average in Openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2013, 15:44
Question space average in Openfoam
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Dear All,

In openfoam, is it possible to do a space averaging? For example, for a 3D cylindrical computational domain of a jet, it is axi-symmetric. So I would like to do an averaging with respect to the plane crossing the axis. How can this be realized in openfoam? Thank you very much.
openfoammaofnepo is offline   Reply With Quote

Old   November 10, 2013, 17:20
Default
  #2
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
You can do it with paraview : create a slice of your cross section then use "intergrate variable" and divide by the cross section surface.

Best,
Cyp
Cyp is offline   Reply With Quote

Old   November 10, 2013, 18:56
Question
  #3
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Thank you very much for your help. I tried this method but my target is as follows:

The computational domain is 3D cylindrical, and the streamwise corresponds to the axis. Since the flow is axi-symmetrical, I would like to do an averaging along the circumferential direction. In other words, I need to make lots of streamwise planes and then average the physical quantities with the same radius. It seems that the IntegrateVariable only give me the mean quantity just for that surface.

I really appreciate if you could give me some details. Thank you very much.

Quote:
Originally Posted by Cyp View Post
You can do it with paraview : create a slice of your cross section then use "intergrate variable" and divide by the cross section surface.

Best,
Cyp
openfoammaofnepo is offline   Reply With Quote

Old   November 10, 2013, 19:23
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
You might be able to use one of these:
http://openfoamwiki.net/index.php/Co...unctionObjects
http://www.cfd-online.com/Forums/ope...g-runtime.html
jherb is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Modeling the Earth's Mantle: is OpenFOAM a good candidate? decapitor OpenFOAM Running, Solving & CFD 4 January 18, 2012 19:13
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 10:29.