reespanau |
January 10, 2023 17:38 |
How to extract data from a specific layer of the grid?
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!
|