SearcharxivSearch

arXiv subjects

David F. Bambague

Publications and source records attributed to David F. Bambague.

2 recordsLinked to original sources

TARTARUS: A High-Performance Python Code for Ray Tracing in Curved Spacetimes

The recent observations of the supermassive black holes M87* and Sagittarius A* by the Event Horizon Telescope collaboration (EHT) have shown the need for robust, efficient, and accessible numerical tools to model light propagation in strongly curved spacetimes. Comparing theoretical accretion models with observational data relies heavily on ray-tracing algorithms that calculate the trajectories of photons traveling from a source plasma to a distant observer. In this paper, we present TARTARUS (Tracer for Astrophysical Ray Trajectories Around Relativistic Ultra-compact Sources), a new, highly modular, and extensible Python-based framework for computing null geodesics around compact objects. By leveraging Just-In-Time (JIT) compilation via Numba, TARTARUS bridges the gap between Python's high-level accessibility and the execution speed of compiled languages like C++ or FORTRAN. The code supports multiple native solvers (including adaptive embedded Runge-Kutta pairs, a Bulirsch-Stoer extrapolator, and a Verlet scheme), event-detection mechanics for handling structural intersections (e.g. event horizons and accretion disks), and support for both analytical and numerically generated background metrics. We demonstrate the code's physical accuracy and computational efficiency through some tests, including the evaluation of the Hamiltonian constraint conservation and ray-tracing of the shadow and the Novikov-Thorne thin accretion disks around a Kerr black hole.

gr-qc

A post-hypercritical accretion small-scale dynamo in newborn neutron stars

Hypercritical fallback accretion can advect the surface magnetic field of a newborn neutron star into the newly accreted outer layers. Before this material joins the solid crust and enters the Hall-Ohmic regime, part of it may remain hot, dense, and liquid, allowing turbulent magnetic amplification. We investigate whether a small-scale dynamo (SSD) can operate under these conditions using six local 3D resistive MHD simulations performed with FLASH 4.7 in a periodic domain with externally forced subsonic turbulence. We explore magnetic Reynolds numbers from about 700 to 3700 and examine the effects of the equation of state, neutrino cooling, and numerical resolution. The magnetic field grows exponentially from an initial strength of 1e12 G and saturates at about (3-7)e13 G within milliseconds. The saturated magnetic energy remains below equipartition, with magnetic-to-kinetic energy ratios of about 0.2-0.3, consistent with SSD behavior for magnetic Prandtl number near unity. The reference simulations at 128^3 and 256^3 resolution agree within a few percent. Neutrino cooling has little effect over the simulated times, while the equation of state only weakly modifies the dynamo properties. These results indicate that a local SSD can efficiently amplify magnetic fields in the liquid post-hypercritical accretion layer and support scenarios for magnetic field reemergence in newborn neutron stars.

astro-ph.HE