SKIRT / SKIRT9

SKIRT version 9 -- advanced radiative transfer in dusty systems
http://www.skirt.ugent.be
GNU Affero General Public License v3.0
34 stars 30 forks source link

Add separate SpinFlip emission/absorption classes #199

Closed andreagebek closed 10 months ago

andreagebek commented 10 months ago

Description This update adds a new simulation flow for the 21-cm spin-flip transition, using the SKIRT ExtinctionOnly simulation mode: The emission of 21-cm photons happens as primary emission (SpinFlipSEDFamily based on LyaSEDFamily), and HI self-absorption happens in the medium (SpinFlipAbsorptionMix based on ElectronMix).

Motivation For a medium in which the atomic hydrogen distribution is known, the previous simulation flow which required hydrogen partitioning based on the UV radiation field is outdated. When the atomic hydrogen distribution is known a priori (i.e. before running SKIRT), then the ExtinctionOnly mode is appropriate.

Tests For the configuration of a single emitting point source and a single absorbing SPH particle (offset to the point source), the SKIRT simulation reproduces analytical results. Various gas densities, temperatures, and kinematics were tested.