simesh: A Python Framework for Quantitative Analysis of Native AMR Data from MPI-AMRVAC
Abstract
Adaptive mesh refinement (AMR) is widely used in large-scale astrophysical simulations, but the resulting multilevel data are challenging to analyze quantitatively. We present simesh, an independent Python framework for quantitative analysis of cell-centered fields on block-structured AMR meshes. The current implementation targets three-dimensional Cartesian datasets from MPI-AMRVAC and compatible AGILE snapshots, preserving the native AMR hierarchy and connecting complementary scientific diagnostics within a common numerical representation. The framework combines Python workflow interfaces with compiled Cython kernels, supporting efficient analysis on AMR meshes. We compare native AMR analysis with a VTK point-data conversion and uniform-grid resampling, which shows that changes in data association, interpolation support, and differentiation scale affect both sampled magnetic fields and derived current densities. Small differences in the sampled primary field can become more pronounced in derivative-based quantities, particularly near coarse-fine interfaces. The applications combine field diagnostics, tracing, regional statistics, and line-of-sight integration on the same native AMR representation. simesh makes these operations available through reusable Python interfaces for reproducible analysis of multiscale simulation data.
Related
- IViS: Interferometric Visibility-domain inversion Software. A GPU-accelerated Python framework for joint deconvolution with ASKAP
- SGN: A python framework for stream-processing pipelines
- rapidsim: A Python interface and cross-platform distribution framework for the RAPID protoplanetary disc simulation code
- specwizard: A Public Python Framework for Creating Synthetic Absorption Spectra from Hydrodynamical Simulations
- SPECWIZARD : A Public Python Framework for Creating Synthetic Absorption Spectra from Hydrodynamical Simulations
BibTeX
@misc{wu2026simesh,
title = {{simesh: A Python Framework for Quantitative Analysis of Native AMR Data from MPI-AMRVAC}},
author = {Hao Wu and Jinhan Guo and Rony Keppens and Yang Guo},
howpublished = {arXiv},
year = {2026},
month = oct,
doi = {10.48550/arxiv.2610.29333},
eprint = {2610.29333},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2610.29333},
note = {CC BY-NC-SA 4.0},
}
RIS
TY - UNPB
TI - simesh: A Python Framework for Quantitative Analysis of Native AMR Data from MPI-AMRVAC
AU - Hao Wu
AU - Jinhan Guo
AU - Rony Keppens
AU - Yang Guo
PY - 2026
DA - 2026/10/22
PB - arXiv
DO - 10.48550/arxiv.2610.29333
UR - https://arxiv.org/abs/2610.29333
AB - Adaptive mesh refinement (AMR) is widely used in large-scale astrophysical simulations, but the resulting multilevel data are challenging to analyze quantitatively. We present simesh, an independent Python framework for quantitative analysis of cell-centered fields on block-structured AMR meshes. The current implementation targets three-dimensional Cartesian datasets from MPI-AMRVAC and compatible AGILE snapshots, preserving the native AMR hierarchy and connecting complementary scientific diagnostics within a common numerical representation. The framework combines Python workflow interfaces with compiled Cython kernels, supporting efficient analysis on AMR meshes. We compare native AMR analysis with a VTK point-data conversion and uniform-grid resampling, which shows that changes in data association, interpolation support, and differentiation scale affect both sampled magnetic fields and derived current densities. Small differences in the sampled primary field can become more pronounced in derivative-based quantities, particularly near coarse-fine interfaces. The applications combine field diagnostics, tracing, regional statistics, and line-of-sight integration on the same native AMR representation. simesh makes these operations available through reusable Python interfaces for reproducible analysis of multiscale simulation data.
ER -