Abstract

We introduce the publicly available code sphray, a smoothed particle hydrodynamics (SPH) ray tracer designed to solve the 3D, time-dependent, radiative transfer equation for cosmological 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 on to a grid but instead integrates directly through the SPH kernels. Given an arbitrary (series of) SPH density field(s) and a description of the sources of ionizing radiation, the code will calculate the non-equilibrium ionization and temperature state of hydrogen (H i, H ii) and helium (He i, He ii, He iii). 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 ray-tracing component. We present the algorithms used in sphray and verify the code by performing the test problems detailed in the recent Radiative Transfer Comparison Project of Iliev et. al. The source code for sphray and example SPH density fields are made available on a companion website (http://www.sphray.org).

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.