Abstract

ABSTRACT Radiative transfer is a key component in almost all astrophysical and cosmological simulations. We present magritte: a modern open-source software library for 3D radiative transfer. It uses a deterministic ray-tracer and formal solver, i.e. it computes the radiation field by tracing rays through the model and solving the radiative transfer equation in its second-order form along a fixed set of rays originating from each point. magritte can handle structured and unstructured input meshes, as well as smoothed-particle hydrodynamics (SPH) particle data. In this first paper, we describe the numerical implementation, semi-analytic tests and cross-code benchmarks for the non-LTE line radiative transfer module of magritte. This module uses the radiative transfer solver to self-consistently determine the populations of the quantized energy levels of atoms and molecules using an accelerated Lambda iteration (ALI) scheme. We compare magritte with the established radiative transfer solvers ratran (1D) and lime (3D) on the van Zadelhoff benchmark and present a first application to a simple Keplerian disc model. Comparing with lime, we conclude that magritte produces more accurate and more precise results, especially at high optical depth, and that it is faster.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call