|
[Sponsors] |
Extracting cell size (deltaX deltaY deltaZ) as a post processing tool |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 1, 2018, 15:31 |
Extracting cell size (deltaX deltaY deltaZ) as a post processing tool
|
#1 |
New Member
Rohit Saini
Join Date: Jul 2012
Posts: 13
Rep Power: 14 |
Hi all FOAMERS,
I am trying to develop a post-processing tool to extract deltaX deltaY deltaZ for each cell present in the computational domain. It's moreover like a replica of writeCellCenters utility in the OpenFOAM. I followed this thread: Cell size (x,y,z) But I guess this is applicable to write the cell information at every time during the runTime. When I tried developing the tool and compiled it separated in the ~../application/utility/postProcessing/miscellaneous while executing the tool command on the latestTime, it is just giving me first cell information, which I am sure is coming from max and min used in the following command line in the above thread and is showing Zeroes is all other fields. "scalar xDim = Foam::max(pLocal & vector(1,0,0)) - Foam::min(pLocal & vector(1,0,0));" My doubt is how can I loop it so that it will show me deltaX (& deltaY and deltaZ) for each cell? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Development of my own post processing tool | Many | Visualization & Post-Processing | 0 | March 3, 2015 16:59 |
Best free tool for post Processing | mmkr825 | OpenFOAM Post-Processing | 5 | October 30, 2012 13:57 |
NO model vs post processing in coal combustion,CFX | sakalido | CFX | 1 | April 15, 2011 15:07 |
Best post processing tool? | cheche | Main CFD Forum | 0 | January 27, 2011 12:02 |
Post Processing in FEM | Abhijit Tilak | Main CFD Forum | 0 | April 26, 2004 12:59 |