|
[Sponsors] |
June 23, 2015, 05:15 |
areaAverage of arbitary plane
|
#1 |
New Member
Chris
Join Date: Jun 2015
Posts: 3
Rep Power: 11 |
Hi,
My problem is that there were allready some simulations running in the past and I'm supposed to collect some data out of it. For this I need to get the areaAverage velocity, areaAverage pressure and areaIntegrated shearstresses inside a fluid on some planes (the positions are not known, the position of the plane should be variable). I allready managed to collect all the field-data using sampleSurfaces. You know, that's a huge amount of numbers... so are there any comfortable ways (allready build tools) to get the areaAverages? If possible, I would like to integrate everything into a script which does all the analysis for me. (I got some basic programming knowledge in python, matlab and java, but unfortunally not yet in c++) It would be great if someone could tell me how to execute this runtime processing function in a postprocess (this function is taken from controllDict): Code:
pAverageCuttingPlane1 { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; // 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.065 0 0.0015); normalVector (0 0 1); } source cells; // sample cells or boundaryFaces interpolate true; } // Operation: areaAverage/sum/weightedAverage ... operation areaAverage; fields ( p U ); } Thanks and regards, Chris Last edited by LilumDaru; June 23, 2015 at 05:48. Reason: added a question. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using a Plane id in Fluent UDF | cdf_user | Fluent UDF and Scheme Programming | 13 | October 17, 2023 01:06 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
Plane stress and plane strain cases for stress analysis | Sargam05 | OpenFOAM | 0 | May 3, 2013 19:16 |
Meshing a Mixing Plane using ICEM | Will Anderson | FLUENT | 0 | November 6, 2010 18:08 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 13:43 |