CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

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

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2023, 17:38
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

Old   January 10, 2023, 21:47
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by reespanau View Post
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!
Do not use interpolation, find the nearest value y(j) to 50.
reespanau likes this.
FMDenaro 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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
[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 08:57.