|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Aug 2012
Posts: 33
Rep Power: 10 ![]() |
Dear FOAMers,
can you confirm me that the function object below in ControlDict is the correct and fastest way to calculate average over cutting planes in a 3D simulation during runtime? it seems to work but I'm not 100% sure about the results... Code:
functions { cuttingplane_average { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; // Output to log&file (true) or to file only log true; // Output field values as well valueOutput false; //true; // Type of source: patch/faceZone/sampledSurface source sampledSurface; sampledSurfaceDict { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (0 0 0); normalVector (0 0 1); } source cells; // sample cells or boundaryFaces interpolate true; } // Operation: areaAverage/sum/weightedAverage ... operation areaAverage; fields ( p U ); } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Federico Agustín Caccia
Join Date: Jun 2015
Location: Buenos Aires, Argentina
Posts: 55
Rep Power: 7 ![]() |
was it right?
|
|
![]() |
![]() |
![]() |
Tags |
areaaverage, cuttingplane, openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
plane cutting complex geometry in the middle | Lilly | FLUENT | 0 | July 27, 2011 09:01 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 12:43 |
average value in any plane | aloise | CFX | 3 | July 26, 2006 15:30 |
average value in any plane | Roy Chen | CFX | 7 | November 14, 2002 11:17 |