<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Nitish,
<div class=""><br class="">
</div>
<div class="">Since you’re using Python, I highly recommend you to use yt for analyzing and visualizing FLASH dataset: <a href="https://yt-project.org" class="">https://yt-project.org</a></div>
<div class="">
<div class=""><br class="">
Best regards,<br class="">
—<br class="">
Suoqing Ji<br class="">
Sherman Fairchild Fellow<br class="">
TAPIR & Walter Burke Institute for Theoretical Physics<br class="">
California Institute of Technology<br class="">
<a href="http://www.tapir.caltech.edu/~suoqing" class="">http://www.tapir.caltech.edu/~suoqing</a>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 2, 2019, at 4:04 PM, Acharya, Nitish <<a href="mailto:nachary2@ur.rochester.edu" class="">nachary2@ur.rochester.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Hello flash users,</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
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. </div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
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. </div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
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)?</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Thanks,</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Nitish</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div id="Signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt;" class="">---------------------------</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt;" class="">Nitish Acharya</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt;" class="">PhD Student</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt;" class="">Department of Mechanical Engineering</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt;" class="">University of Rochester</span></div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>