(2.3) |
For 2D we put a source at the centre of the grid. We have slab symmetry, so really we have an infinite line source of photons, emitting at a rate per second per unit length. The quivalent results are: for no recombinations
(2.5) |
In 3D the equivalent results are
(2.7) |
We first tested with 1D rays from a source at infinity, without dynamics or recombinations. For a grid with 1000 cells, we computed models with cell optical depths , and where the total number of timesteps varied from . The error in I-front position compared to the analytic value was found to converge rapidly to less than one cell width with increasing time resolution. For models with recombinations turned on, errors were no more than than one cell width for all runs with timesteps per recombination time, except for low density models where the I-front is resolved.
In 2D and 3D, we computed the expansion of circular and spherical I-fronts from a point source into a static medium, with and without recombinations. Without recombinations, the models provide a test of photon conservation (by comparing the number of ions to photons emitted as a function of time). With recombinations we model the expansion of an I-front to the Strömgren radius, , testing both the expansion velocity and the final radius against a known analytic solution.