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

Calculate field and patch averages in multiple zones, large mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2015, 09:34
Default Calculate field and patch averages in multiple zones, large mesh
  #1
Member
 
Join Date: Jan 2011
Posts: 45
Rep Power: 15
buffi is on a distinguished road
I have a case with a very large mesh (~ 50 million cells) and I want to calculate average data from patches and fields (wall heat flux, T, U). How should I approach this?

For smaller meshes I simply created a number of cellSets, called subsetMesh for each set and used simple OF tools to calculate those quantities. In this case, however, creating the sets would take a lot of time, because the whole mesh must be loaded for each set. The resulting mesh subsets would occupy a lot of disk space.

Is there a way to make these calculations in one go, or do I have to create and validate my own utility that basically will do what all the simple tool already do well? swak4foam doesn't sound like the right thing here, because I want to separate post-processing from actual solving.

Regards

Christoph
buffi is offline   Reply With Quote

Old   July 20, 2022, 02:57
Default Were you able to solve this problems
  #2
New Member
 
Deepak V
Join Date: Nov 2021
Location: Chennai
Posts: 4
Rep Power: 5
deepakvil is on a distinguished road
I am stuck with similar problem
deepakvil is offline   Reply With Quote

Old   July 21, 2022, 06:45
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by deepakvil View Post
I am stuck with similar problem

If the averaging is over patches, you could just use surfaceFieldValue with patch selection.
olesen 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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 14:48
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 18:48.