You should be able to get the positions by accessing the fields "x" and "y". These will be in YTArrays or unyt_arrays, both of which can be converted to different physical units.
On Wed, Aug 26, 2020 at 10:28 AM Thibault Goudal < email@example.com> wrote:
Working on the FLASH code (dynamic mesh refinement), I am looking for how could I get from the HDF5 Outputs the spatial positions (in physical units). Idealy, if I run a 2D simulation, I would like to obtain x and y arrays at a given time. It is not necessarally a YT issue but it is obvious that some modules could help a lot.
Tell me if you have any idea! Thanks
-- Thibault Goudal PhD Student CEA CELIA CNRS UMR5107 laboratory +33664160842 firstname.lastname@example.org _______________________________________________ yt-users mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: email@example.com