# Average of a Value over a Region in Mesh as a PostProcessing Measure

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

 April 22, 2013, 09:27 Average of a Value over a Region in Mesh as a PostProcessing Measure #1 New Member   Christoph Kratzsch Join Date: Nov 2011 Location: Freiberg Posts: 27 Rep Power: 6 Hi everybody, as i can see in many threads in the forum (f.e. Average of Scalar of a cellset during the calculation for each time step), it is possible to evaluate a average of a value regionwise by using swak4foam with the simpleFunctionObjects to address a cellSource, cellSet etc. . Other possibilities, like introducing a new field in createFields and including the evaluation (averaging) inside the solver can also work as i read in some threads. So now my question is: Is it possible to calculate these regionwise averages by a postprocessing procedure? I have just little openfoam-programming experience, so i could need a hint . Best regards.

April 23, 2013, 19:47
#2
Assistant Moderator

Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,934
Rep Power: 41
Quote:
 Originally Posted by PonchO Hi everybody, as i can see in many threads in the forum (f.e. Average of Scalar of a cellset during the calculation for each time step), it is possible to evaluate a average of a value regionwise by using swak4foam with the simpleFunctionObjects to address a cellSource, cellSet etc. . Other possibilities, like introducing a new field in createFields and including the evaluation (averaging) inside the solver can also work as i read in some threads. So now my question is: Is it possible to calculate these regionwise averages by a postprocessing procedure? I have just little openfoam-programming experience, so i could need a hint . Best regards.
funkyDoCalc which is part of swak4Foam allows you to do similar calculations as the swak-functionObjects on data that is written to disk
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

 April 26, 2013, 03:25 #3 New Member   Christoph Kratzsch Join Date: Nov 2011 Location: Freiberg Posts: 27 Rep Power: 6 Exactly what i am searching for . Thank you very much! Best Regards!

 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 florian_krause OpenFOAM 110 April 21, 2016 11:54 everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41 Doginal CFX 2 January 12, 2014 07:21 Kryo OpenFOAM Native Meshers: snappyHexMesh and Others 8 September 13, 2012 09:28 adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19

All times are GMT -4. The time now is 04:32.