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

Post-processing of curved regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2010, 19:18
Default Post-processing of curved regions
  #1
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16
SD@TUB is on a distinguished road
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
}
}
in a subset to grab them afterwards and reading data of interest. What would be a kind way of performing such iteration. I noticed that cellSet works via dictionary. Is it possible to adopt some functionality?


/Stefan
SD@TUB is offline   Reply With Quote

Old   April 11, 2010, 10:47
Default
  #2
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16
SD@TUB is on a distinguished road
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
SD@TUB is offline   Reply With Quote

Reply

Tags
circular, cylindrical, plane, region


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
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


All times are GMT -4. The time now is 15:47.