Saved in:
Bibliographic Details
Main Authors: Bard, Chris, Dorelli, John
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.20899
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908362866688000
author Bard, Chris
Dorelli, John
author_facet Bard, Chris
Dorelli, John
contents We present the AGATE simulation code, a Python-based framework developed primarily for solving the magnetohydrodynamics (MHD) equations while maintaining adaptability to other equation sets. The code employs a modular, object-oriented architecture that separates interface specifications from numerical implementations, allowing users to customize numerical methods and physics models. Built on a Godunov-type finite-volume scheme, AGATE currently supports the ideal, Hall, and Chew-Goldberger-Low (CGL) MHD equations, with multiple acceleration options ranging from Numpy to GPU-enabled computation via NVIDIA CUDA. Performance testing demonstrates that our GPU implementations achieve 40-60x speedups over CPU versions. Comprehensive validation through established benchmarks confirms accurate reproduction of both linear and nonlinear phenomena across different MHD regimes. This combination of modularity, performance, and extensibility makes AGATE suitable for multiple applications: from rapid prototyping to production simulations, and from numerical algorithm development to physics education.
format Preprint
id arxiv_https___arxiv_org_abs_2503_20899
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle High-Performance Computational Magnetohydrodynamics with Python
Bard, Chris
Dorelli, John
Plasma Physics
Computational Physics
We present the AGATE simulation code, a Python-based framework developed primarily for solving the magnetohydrodynamics (MHD) equations while maintaining adaptability to other equation sets. The code employs a modular, object-oriented architecture that separates interface specifications from numerical implementations, allowing users to customize numerical methods and physics models. Built on a Godunov-type finite-volume scheme, AGATE currently supports the ideal, Hall, and Chew-Goldberger-Low (CGL) MHD equations, with multiple acceleration options ranging from Numpy to GPU-enabled computation via NVIDIA CUDA. Performance testing demonstrates that our GPU implementations achieve 40-60x speedups over CPU versions. Comprehensive validation through established benchmarks confirms accurate reproduction of both linear and nonlinear phenomena across different MHD regimes. This combination of modularity, performance, and extensibility makes AGATE suitable for multiple applications: from rapid prototyping to production simulations, and from numerical algorithm development to physics education.
title High-Performance Computational Magnetohydrodynamics with Python
topic Plasma Physics
Computational Physics
url https://arxiv.org/abs/2503.20899