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

Extracting cell size (deltaX deltaY deltaZ) as a post processing tool

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2018, 15:31
Default 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
rohitsaini@y7mail.com is on a distinguished road
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
rohitsaini@y7mail.com is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 13:46.