1. Numerical generation of vector potentials from specified magnetic fields.
- Author
-
Silberman, Zachary J., Adams, Thomas R., Faber, Joshua A., Etienne, Zachariah B., and Ruchlin, Ian
- Subjects
- *
MAGNETIC fields , *DATA transformations (Statistics) , *LINEAR algebra , *SIMULATION methods & models , *ALGORITHMS - Abstract
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 , and others evolve the magnetic field B = ∇ × A directly. Given that these codes possess unique strengths, sometimes it is desirable to start a simulation using a code that evolves B and complete it using a code that evolves 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. Highlights • Our solution consists of a numerical implementation of the "inverse curl" operator. • We use two different methods that have different strengths and weaknesses. • The cell-by-cell technique is very fast and scales with the number of gridpoints. • The global linear algebra method is slower but has better symmetry properties. [ABSTRACT FROM AUTHOR]
- Published
- 2019
- Full Text
- View/download PDF