A 3+1 formalism for self-similar expanding grids in computational relativistic and Newtonian magnetohydrodynamics

Astrophysical systems frequently undergo spatial expansion during their evolution. Simulating these systems with standard conservative codes for hydrodynamics and magnetohydrodynamics using fixed grids is challenging, particularly when attempting to preserve high resolution across vast changes in physical scale. While moving or expanding meshes, or adapting mesh refinement, can address this issue, they introduce computational complexity and are notoriously difficult to implement robustly. We aim to overcome these barriers by providing an easily implementable strategy that empowers the community to achieve high-fidelity results and establishes expanding-grid approaches as a highly accessible standard practice. Leveraging the gauge freedom of the 3+1 formalism for MHD on curved manifolds, a foundation common to all general relativistic fluid dynamics codes, we demonstrate how an expanding coordinate system can be implemented purely through a simple modification of the underlying metric. This requires zero modifications to the numerical mesh or the core structure of the code, and the necessary addition or modification of metric terms can be easily accomplished even in Newtonian MHD. We apply this framework to standard test problems in both relativistic and Newtonian hydrodynamics and MHD, directly comparing the results of fixed and expanding coordinates. Our tests demonstrate the full consistency, accuracy, and robustness of this metric-based expansion approach, as the original conservative formulations is fully preserved. Through a simple coordinate transformation and a re-definition of the metric tensor, any general relativistic MHD code can be effortlessly transformed into an expanding-grid code. This approach elegantly guarantees both fundamental conservation properties and the solenoidal condition for the magnetic field, and can be readily extended to include non-ideal effects.

Authors

Institutions

Publication Details

Journal
arXiv (Cornell University)
Published
2026-11-16
DOI
https://doi.org/10.48550/arxiv.2611.20865
Primary Topic
Computational Fluid Dynamics and Aerodynamics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A 3+1 formalism for self-similar expanding grids in computational relativistic and Newtonian magnetohydrodynamics

Bucciantini N., L. Del Zanna
arXiv (Cornell University)
Computational Fluid Dynamics and Aerodynamics
preprint

A 3+1 formalism for self-similar expanding grids in computational relativistic and Newtonian magnetohydrodynamics

Bucciantini N., L. Del Zanna
preprint en

Abstract

Astrophysical systems frequently undergo spatial expansion during their evolution. Simulating these systems with standard conservative codes for hydrodynamics and magnetohydrodynamics using fixed grids is challenging, particularly when attempting to preserve high resolution across vast changes in physical scale. While moving or expanding meshes, or adapting mesh refinement, can address this issue, they introduce computational complexity and are notoriously difficult to implement robustly. We aim to overcome these barriers by providing an easily implementable strategy that empowers the community to achieve high-fidelity results and establishes expanding-grid approaches as a highly accessible standard practice. Leveraging the gauge freedom of the 3+1 formalism for MHD on curved manifolds, a foundation common to all general relativistic fluid dynamics codes, we demonstrate how an expanding coordinate system can be implemented purely through a simple modification of the underlying metric. This requires zero modifications to the numerical mesh or the core structure of the code, and the necessary addition or modification of metric terms can be easily accomplished even in Newtonian MHD. We apply this framework to standard test problems in both relativistic and Newtonian hydrodynamics and MHD, directly comparing the results of fixed and expanding coordinates. Our tests demonstrate the full consistency, accuracy, and robustness of this metric-based expansion approach, as the original conservative formulations is fully preserved. Through a simple coordinate transformation and a re-definition of the metric tensor, any general relativistic MHD code can be effortlessly transformed into an expanding-grid code. This approach elegantly guarantees both fundamental conservation properties and the solenoidal condition for the magnetic field, and can be readily extended to include non-ideal effects.

arXiv (Cornell University)
University of Florence (IT), National Institute for Astrophysics (IT)
Computational Fluid Dynamics and Aerodynamics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon