English

Numerical generation of vector potentials from specified magnetic fields

Computational Physics 2019-01-30 v1 Instrumentation and Methods for Astrophysics General Relativity and Quantum Cosmology

Abstract

Many codes have been developed to study highly relativistic, magnetized flows around and inside compact objects. Depending on the adopted formalism, some of these codes evolve the vector potential A\mathbf{A}, and others evolve the magnetic field B=×A\mathbf{B}=\nabla\times\mathbf{A} directly. Given that these codes possess unique strengths, sometimes it is desirable to start a simulation using a code that evolves B\mathbf{B} and complete it using a code that evolves A\mathbf{A}. Thus transferring the data from one code to another would require an inverse curl algorithm. This paper describes two new inverse curl techniques in the context of Cartesian numerical grids: a cell-by-cell method, which scales approximately linearly with the numerical grid, and a global linear algebra approach, which has worse scaling properties but is generally more robust (e.g., in the context of a magnetic field possessing some nonzero divergence). We demonstrate these algorithms successfully generate smooth vector potential configurations in challenging special and general relativistic contexts.

Keywords

Cite

@article{arxiv.1803.10207,
  title  = {Numerical generation of vector potentials from specified magnetic fields},
  author = {Zachary J. Silberman and Thomas R. Adams and Joshua A. Faber and Zachariah B. Etienne and Ian Ruchlin},
  journal= {arXiv preprint arXiv:1803.10207},
  year   = {2019}
}

Comments

20 pages, 9 figures

R2 v1 2026-06-23T01:06:42.783Z