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 (31)
- The cosmological simulation code GADGET-2
- Cosmological SPH simulations: A hybrid multi-phase model for star formation
- Equation of State of the Photoionized Intergalactic Medium
- Fundamental differences between SPH and grid methods
- Direct cosmological simulations of the growth of black holes and galaxies
- Modelling Primordial Gas in Numerical Cosmology
- The Santa Barbara cluster comparison project: a comparison of cosmological hydrodynamics solutions
- Modelling discontinuities and Kelvin-Helmholtz instabilities in SPH
- Cosmological Formation of Low-Mass Objects
- Cosmological Hydrodynamics with Multi-Species Chemistry and Nonequilibrium Ionization and Cooling
- C^2-Ray: A new method for photon-conserving transport of ionizing radiation
- Cosmological Radiative Transfer Codes Comparison Project I: The Static Density Field Tests
- Early Cosmological HII/HeIII Regions and Their Impact on Second-Generation Star Formation
- Comparing AMR and SPH Cosmological Simulations: I. Dark Matter & Adiabatic Simulations
- Fragmentation of gravitationally unstable gaseous protoplanetary disks with radiative transfer
- Photon Conserving Radiative Transfer around Point Sources in multi-dimensional Numerical Cosmology
- CRASH: a Radiative Transfer Scheme
- A New Parallel N-body Gravity Solver: TPM
- The Cosmic Code Comparison Project
- A faster algorithm for smoothed particle hydrodynamics with radiative transfer in the flux-limited diffusion approximation
- Robustness of Cosmological Simulations I: Large Scale Structure
- Smoothed particle hydrodynamics with radiative transfer in the flux-limited diffusion approximation
- Ionizing Radiation in Smoothed Particle Hydrodynamics
- Smoothed Particle Hydrodynamics coupled with Radiation Transfer
- A new algorithm for modelling photoionising radiation in smoothed particle hydrodynamics
- Numerical Simulations of the Lyman-alpha forest - A comparison of Gadget-2 and Enzo
- Fully Threaded Transport Engine: New Method for Multi-Scale Radiative Transfer
- Monte Carlo radiative transfer in SPH density fields
- Radiation-induced large-scale structure during the reionization epoch: the autocorrelation function
- An implicit method for radiative transfer with the diffusion approximation in SPH
- The Impact of AMR in Numerical Astrophysics and Cosmology
Cited by in corpus (52)
- Smoothed Particle Hydrodynamics in Astrophysics
- RAMSES-RT: Radiation hydrodynamics in the cosmological context
- HeII Reionization and its Effect on the IGM
- The Astrophysical Multipurpose Software Environment
- Comparison Of Reionization Models: Radiative Transfer Simulations And Approximate, Semi-Numeric Models
- Enzo+Moray: Radiation Hydrodynamics Adaptive Mesh Refinement Simulations with Adaptive Ray Tracing
- Astrophysical Smooth Particle Hydrodynamics
- Driving Turbulence and Triggering Star Formation by Ionizing Radiation
- Cosmic microwave background constraints on the duration and timing of reionization from the South Pole Telescope
- Detailed Numerical Simulations on the Formation of Pillars around HII-regions
- Reionization simulations powered by GPUs I: the structure of the Ultraviolet radiation field
- The modelling of feedback in star formation simulations
- Reionization on Large Scales I: A Parametric Model Constructed from Radiation-Hydrodynamic Simulations
- 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
- Monte Carlo Radiative Transfer
- An implementation of radiative transfer in the cosmological simulation code GADGET
- Multi-frequency, thermally coupled radiative transfer with TRAPHIC: Method and tests
- CRASH2: colored packets and other updates
- Quasar Ionization Front Lyα Emission in an Inhomogeneous Intergalactic Medium
- Galaxy Formation with local photoionisation feedback I. Methods
- RADAMESH: Cosmological Radiative Transfer for Adaptive Mesh Refinement Simulations
- The Formation of Solar System Analogs in Young Star Clusters
- Dynamic Monte Carlo radiation transfer in SPH. Radiation pressure force implementation
- Radiative transfer of energetic photons: X-rays and helium ionization in C2-Ray
- Urchin: A Reverse Ray Tracer for Astrophysical Applications
- A novel approach for accurate radiative transfer in cosmological hydrodynamic simulations
- Magritte, a modern software library for 3D radiative transfer: I. Non-LTE atomic and molecular line modelling
- Radiation-induced large-scale structure during the reionization epoch: the autocorrelation function
- The consequences of a nearby supernova on the early Solar System
- ARTIST: Fast radiative transfer for large-scale simulations of the epoch of reionisation
- Turbulent Linewidths as a Diagnostic of Self-Gravity in Protostellar Discs
- Local photoionization feedback effects on galaxies
- Radiation transport methods in star formation simulations
- Smoothed Particle Radiation Hydrodynamics: Two-Moment method with Local Eddington Tensor Closure
- Ionisation feedback in star formation simulations: The role of diffuse fields
- Regulated star formation in forming disk galaxies under ultraviolet radiation background
- pyCRay: A flexible and GPU-accelerated Radiative Transfer Framework for Simulating the Cosmic Epoch of Reionization
- TREVR: A general radiative transfer algorithm
- SPAMCART: a code for smoothed particle Monte Carlo radiative transfer
- Simulating a stellar contact binary merger -- I. Stellar models
- Growth and anisotropy of ionization fronts near high redshift quasars in the MassiveBlack simulation
- Multi-scale and multi-domain computational astrophysics
- Semi-Numerical Simulation of Reionization with Semi-Analytical Modeling of Galaxy Formation
- Native Synthetic Imaging of Smoothed Particle Hydrodynamics density fields using gridless Monte Carlo Radiative Transfer
- ARC: Adaptive Ray-tracing with CUDA, a New Ray Tracing Code for Parallel GPUs
- Efficient smoothed particle radiation hydrodynamics I: Thermal radiative transfer
- Efficient smoothed particle radiation hydrodynamics II: Radiation hydrodynamics
- SEURAT: SPH scheme extended with ultraviolet line radiative transfer
- SPRAY: A smoothed particle radiation hydrodynamics code for modeling high intensity laser-plasma interactions
- Rabacus: A Python Package for Analytic Cosmological Radiative Transfer Calculations
- Numerical Methods for Simulating Star Formation