|
[Sponsors] |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
post processing for KIVA | dirga | Main CFD Forum | 5 | April 23, 2009 10:58 |
Question about post processing | qtian | OpenFOAM Post-Processing | 0 | July 24, 2007 12:44 |
Tecplot for CFX post processing | pantangi goud | CFX | 2 | August 24, 2005 16:42 |
Post Processing in FEM | Abhijit Tilak | Main CFD Forum | 0 | April 26, 2004 11:59 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 20:51 |