[FLASH-USERS] Reading HDF5 output from FLASH

Yingchao Lu yingchao.lu at gmail.com
Mon Sep 2 19:21:32 EDT 2019


HI Nitish,

The covering grid in YT can convert dataset from AMR to a fixed resolution
array.
https://yt-project.org/doc/examining/low_level_inspection.html#examining-grid-data-in-a-fixed-resolution-array

Best,
Yingchao

On Mon, Sep 2, 2019 at 5:05 PM Acharya, Nitish <nachary2 at ur.rochester.edu>
wrote:

> Hello flash users,
>
> I'd like to do a bit of post processing of FLASH HDF5 output using Python.
> It's a 2D cylindrical LaserSlab Simulation data. I've managed to read the
> HDF5 file and it's datasets in Python and am trying to do the mesh
> reconstruction.
>
> 1) It seems like I can retrieve the data of variables at each cell centers
> but HDF5 seems to provide only the coordinates of the block centers and not
> the cells centers.
>
> 2) I'm using AMR Grid with Paramesh. If problem 1 is solved, what could be
> the best approach to smoothly interpolate the data from such non-uniform
> grids to an equally spaced uniform 2D grid generated in Python (I guess I
> wont be able to use a bilinear interpolation unless it's an uniform grid in
> FLASH)?
>
> Thanks,
> Nitish
>
> ---------------------------
>
> Nitish Acharya
>
> PhD Student
>
> Department of Mechanical Engineering
>
> University of Rochester
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190902/619f6785/attachment.htm>


More information about the flash-users mailing list