A 3+1 formalism for self-similar expanding grids in computational relativistic and Newtonian magnetohydrodynamics
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.
Create a lesson
Metadata
- Categories
- astro-ph.HE, gr-qc
- Comments
- 10 pages, 5 figures, Submitted to A&A
Related papers
Sound of Keplerian binaries in a homogeneous Newtonian fluid background
Shared title terminologyastro-ph.HEYan Cao, Mu-Chun Chen
Probing for relativistic outflows in the Ultraluminous X-ray pulsar RX J0209.6-7427
Shared title terminologyastro-ph.HEF. Barra, C. Pinto, T. di Salvo et al.
Detection of GRB 261010A with GRID-11B
Shared title terminologyastro-ph.HEChenyu Wang, Longhao Li, Xiaofan Pan et al.
Nonlinearly Causal General-Relativistic Superfluid Hydrodynamics: Simulating Vortex Dynamics in Neutron-Star Interiors
Shared title terminologyastro-ph.HEYuan Feng, Elias R. Most, Lorenzo Gavassino
Relativistic tidal excitation of g- and i-modes in neutron star binaries
Shared title terminologyastro-ph.HEBinyu Zhong, Zhiqiang Miao, Zhen Pan et al.
Impact of the Initial Lorentz Factor on Kinetic Instabilities, Magnetic-Field Evolution, and Particle Acceleration in Relativistic Jets
Shared title terminologyastro-ph.HERam Chandra Pageni, Kenichi Nishikawa, Athina Meli et al.