Replies: 1 comment
-
You can do a lot of things with Python using yt. There are examples of yt scripts reading Pele pltfile in here: Note however that computing gradients on multi-level AMR grids is not straightforward because pltfiles do not contain ghost cells, such that stencil-based operations will have issues at coarse/fine boundaries. Pele provides a set of C++ analysis tools PeleAnalysis that use the AMReX machinery to add and fill ghost cells in order to do this type of operations when needed. In particular the |
Beta Was this translation helpful? Give feedback.
-
I would like to perform post-processing on plt files, but I am having trouble understanding the data storage format within these files.
Specifically, I want to extract the temperature field and calculate the temperature gradient using Python. Is it possible to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions