Numerical generation of vector potentials from specified magnetic fields

Zachary J. Silberman, Thomas R. Adams, Joshua A. Faber, Zachariah B. Etienne, Ian Ruchlin
3/27/2018
physics.comp-phastro-ph.IMgr-qc

Official code: zsilberman/Inverse-Curl (4 stars, C, GPL-3.0, last commit 2025-02-23).

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 $\mathbf{A}$, and others evolve the magnetic field $\mathbf{B}=\nabla\times\mathbf{A}$ directly.

Show full abstract

Given that these codes possess unique strengths, sometimes it is desirable to start a simulation using a code that evolves $\mathbf{B}$ and complete it using a code that evolves $\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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Codes to calculate the inverse curl of a vector quantity

43CMar 22, 20181 years agoGPL-3.0

Similar Papers

Cite this paper

@article{silberman2018numerical,
  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},
  year   = {2018},
  eprint = {1803.10207},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.10207}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1803.10207.svg)](https://codeofpaper.com/paper/1803.10207)

Discussion