Magritte, a modern software library for 3D radiative transfer: II. Adaptive ray-tracing, mesh construction and reduction
arXiv:2011.14998 · doi:10.1093/mnras/staa3199
Abstract
Radiative transfer is a notoriously difficult and computationally demanding problem. Yet, it is an indispensable ingredient in nearly all astrophysical and cosmological simulations. Choosing an appropriate discretization scheme is a crucial part of the simulation, since it not only determines the direct memory cost of the model but also largely determines the computational cost and the achievable accuracy. In this paper, we show how an appropriate choice of directional discretization scheme as well as spatial model mesh can help alleviate the computational cost, while largely retaining the accuracy. First, we discuss the adaptive ray-tracing scheme implemented in our 3D radiative transfer library Magritte, that adapts the rays to the spatial mesh and uses a hierarchical directional discretization based on HEALPix. Second, we demonstrate how the free and open-source software library Gmsh can be used to generate high quality meshes that can be easily tailored for Magritte. In particular, we show how the local element size distribution of the mesh can be used to optimise the sampling of both analytically and numerically defined models. Furthermore, we show that when using the output of hydrodynamics simulations as input for a radiative transfer simulation, the number of elements in the input model can often be reduced by an order of magnitude, without significant loss of accuracy in the radiation field. We demonstrate this for two models based on a hierarchical octree mesh resulting from adaptive mesh refinement (AMR), as well as two models based on smoothed-particle hydrodynamics (SPH) data.
arXiv comment12 pages, published in MNRAS
References in corpus (14)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- HEALPix -- a Framework for High Resolution Discretization, and Fast Analysis of Data Distributed on the Sphere
- E pur si muove: Galiliean-invariant cosmological hydrodynamical simulations on a moving mesh
- Phantom: A smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics
- MPI-AMRVAC 2.0 for Solar and Astrophysical Applications
- Adaptive Ray Tracing for Radiative Transfer around Point Sources
- (Sub)stellar companions shape the winds of evolved stars
- 3D-PDR: A new three-dimensional astrochemistry code for treating Photodissociation Regions
- Using hierarchical octrees in Monte Carlo radiative transfer simulations
- Hierarchical octree and k-d tree grids for 3D radiative transfer simulations
- Using 3D Voronoi grids in radiative transfer simulations
- Magritte, a modern software library for 3D radiative transfer: I. Non-LTE atomic and molecular line modelling
- Transport on Adaptive Random Lattices
- Simplified models of stellar wind anatomy for interpreting high-resolution data: Analytical approach to embedded spiral geometries
Cited by in corpus (12)
- MPI-AMRVAC 3.0: updates to an open-source simulation framework
- Evolution and Mass Loss of Cool Ageing Stars: a Daedalean Story
- ATOMIUM: ALMA tracing the origins of molecules in dust forming oxygen rich M-type stars: Motivation, sample, calibration, and initial results
- Is Betelgeuse Really Rotating? Synthetic ALMA Observations of Large-scale Convection in 3D Simulations of Red Supergiants
- 3D simulations of AGB stellar winds -- II. Ray-tracer implementation and impact of radiation on the outflow morphology
- Radiance Cascades: A Novel High-Resolution Formal Solution for Multidimensional Non-LTE Radiative Transfer
- The unusual 3D distribution of NaCl around the AGB star IK Tau
- Radiative Transfer as a Bayesian Linear Regression problem
- SPH modelling of AGB wind morphology in hierarchical triple systems \& comparison to observation of R Aql
- Impact of a binary companion in AGB outflows on CO spectral lines
- A rotational line CO cooling rate prescription for AGB outflows
- A numerically stable comoving frame solver for line radiative transfer