SPHRAY: A Smoothed Particle Hydrodynamics Ray Tracer for Radiative Transfer
arXiv:0802.3698 · doi:10.1111/j.1365-2966.2008.13212.x
Abstract
We introduce SPHRAY, a Smoothed Particle Hydrodynamics (SPH) ray tracer designed to solve the 3D, time dependent, radiative transfer (RT) equations for arbitrary density fields. The SPH nature of SPHRAY makes the incorporation of separate hydrodynamics and gravity solvers very natural. SPHRAY relies on a Monte Carlo (MC) ray tracing scheme that does not interpolate the SPH particles onto a grid but instead integrates directly through the SPH kernels. Given initial conditions and a description of the sources of ionizing radiation, the code will calculate the non-equilibrium ionization state (HI, HII, HeI, HeII, HeIII, e) and temperature (internal energy/entropy) of each SPH particle. The sources of radiation can include point like objects, diffuse recombination radiation, and a background field from outside the computational volume. The MC ray tracing implementation allows for the quick introduction of new physics and is parallelization friendly. A quick Axis Aligned Bounding Box (AABB) test taken from computer graphics applications allows for the acceleration of the raytracing component. We present the algorithms used in SPHRAY and verify the code by performing all the test problems detailed in the recent Radiative Transfer Comparison Project of Iliev et. al. The Fortran 90 source code for SPHRAY and example SPH density fields are made available on a companion website (www.sphray.org).
17 pages, 16 figures, submitted to MNRAS, comments welcome. source code, high res. figures and examples can be found at http://www.sphray.org
References in corpus (4)
- Modelling discontinuities and Kelvin-Helmholtz instabilities in SPH
- Early Cosmological HII/HeIII Regions and Their Impact on Second-Generation Star Formation
- Radiation-induced large-scale structure during the reionization epoch: the autocorrelation function
- The Impact of AMR in Numerical Astrophysics and Cosmology
Cited by in corpus (9)
- HeII Reionization and its Effect on the IGM
- Astrophysical Smooth Particle Hydrodynamics
- Driving Turbulence and Triggering Star Formation by Ionizing Radiation
- The simulated 21 cm signal during the epoch of reionization : full modeling of the Ly-alpha pumping
- iVINE - Ionization in the parallel tree/SPH code VINE: First results on the observed age-spread around O-stars
- An implementation of radiative transfer in the cosmological simulation code GADGET
- CRASH2: colored packets and other updates
- Radiation-induced large-scale structure during the reionization epoch: the autocorrelation function
- Regulated star formation in forming disk galaxies under ultraviolet radiation background