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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2023, 17:40
Default How to extract data from a specific layer of the grid?
  #1
New Member
 
Elena Espana
Join Date: Aug 2021
Location: Texas
Posts: 19
Rep Power: 4
reespanau is on a distinguished road
Hi Foamers,

I have a very simple question. I ran a channel flow simulation with 950*150*25 grids in streamwise (x), vertical (y), and spanwise (z) direction. After the simulation, I would like to extract the velocity fields at a specific 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?

Thanks!
__________________
University of Texas
reespanau 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
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 9 May 20, 2020 20:06
[General] Want to extract specific time steps from unstructured grid timeseries using paraview awa5114 ParaView 0 February 26, 2018 04:21
[General] How to extract time series data at a specific point location using paraview script Jack001 ParaView 0 April 7, 2016 10:05
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 13:32
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 16:17.