|
[Sponsors] |
February 28, 2010, 19:18 |
Post-processing of curved regions
|
#1 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Hello FOAMers,
as long as sample utility and ParaFoam won't provide circular planes (cylindrical region) for post-processing issues, i want to put collected cells by routine Code:
forAll(mesh.cells(),cellI) { // Loop over all the cells in the mesh ++numCells; // Check containment of each cell center const [*definition of sub domain*] if [*cells within subdomain*] { ++numInside; totalVolume += mesh.V()[cellI]; //e.g. volume of collected cells } } /Stefan |
|
April 11, 2010, 10:47 |
|
#2 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
One reply to myself:
The utility cellSet provide curved region via cellSetDict, e.g. cylindrical volumes which could be used to post-process selected cells afterwards. Nevertheless, if anybody has a suggestion to perform such process within code, this would be very helpful! I tried adopting the appropriate code from cellSet.C without success. ~stefan |
|
Tags |
circular, cylindrical, plane, region |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
post processing for KIVA | dirga | Main CFD Forum | 5 | April 23, 2009 11:58 |
Question about post processing | qtian | OpenFOAM Post-Processing | 0 | July 24, 2007 13:44 |
Tecplot for CFX post processing | pantangi goud | CFX | 2 | August 24, 2005 17:42 |
Post Processing in FEM | Abhijit Tilak | Main CFD Forum | 0 | April 26, 2004 12:59 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |