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

How to extract data from a specific layer of the grids?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ripperjack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2014, 00:37
Default How to extract data from a specific layer of the grids?
  #1
Member
 
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 14
ripperjack is on a distinguished road
Hi Foamers,

I have a really simple question. I ran a channel flow simulation with 128*100*128 grids in streamwise (x), vertical (y), and spanwise (z) direction. After the simulation, I would like to extract the temperature fields at a specific channel height, e.g., y=50. How can I do that? I know that "sample" utility can do a simple work, but interpolation is always needed. How can I just give a y index and extract the data from specific vertical layer of the grids? (I used non-uniform grids in vertical direction, so I dont want interpolation, I just want raw data from a specific grid layer). Many thanks!

Regards,
Ripperjack
reespanau likes this.
ripperjack is offline   Reply With Quote

Old   October 29, 2014, 09:57
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Did you find a solution for your problem? Perhaps these links help:
https://github.com/OpenFOAM/OpenFOAM...m/cuttingPlane
http://www.tfd.chalmers.se/~hani/kur...ionObjects.pdf
jherb 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
[snappyHexMesh] SnappyHexMesh - no layer added bejbro OpenFOAM Meshing & Mesh Conversion 5 February 1, 2020 21:05
Turbulent Boundary Layer on a Flat Plate Hoshang Garda FLUENT 1 November 27, 2013 11:24
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
Extract data we want from Techplot to a data file vetnav Main CFD Forum 0 July 28, 2010 21:17
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


All times are GMT -4. The time now is 22:51.