simesh: A Python Framework for Quantitative Analysis of Native AMR Data from MPI-AMRVAC
Hao Wu, Jinhan Guo, Rony Keppens, Yang Guo
Key points
From the paper's conclusion- We present simesh, an independent Python framework for quantitative analysis of cell-centered fields on block-structured AMR meshes.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- IViS: Interferometric Visibility-domain inversion Software. A GPU-accelerated Python framework for joint deconvolution with ASKAPAstronomy & Astrophysics · 2026
- ParaBMG: A Parallel Block Multigrid Framework for Large-Scale Evolving Sparse Systems on Unstructured MeshesarXiv · 2026
- Asynchronous Concurrent Multiply-Add Split Vectorized Heterogeneous SpMV Algorithm on MT3000Computers · 2026
- JAX-AMG: A GPU-accelerated differentiable sparse linear solver library for JAX.SoftwareX · 2026
- SWAP-INR: Implicit Neural Representation with Switchable Attention Paths for Time-varying Multivariate Scientific Data CompressionarXiv · 2026
- MyMesh: General purpose, implicit, and image-based meshing in PythonThe Journal of Open Source Software · 2026