A&A 405, 189-198 (2003)
DOI: 10.1051/0004-6361:20030583
1 - Dept. of Physics and Astronomy, University College London,
Gower Street, London WC1E 6BT, UK
2 -
Sterrewacht Leiden, PO Box 9513, 2300 RA, Leiden, The Netherlands
Received 16 December 2002 / Accepted 16 April 2003
Abstract
We present the results of a new radiation hydrodynamics code
called Maartje. This code describes the evolution of a flow in
three spatial dimensions using an adaptive mesh, and contains a
combination of a ray tracer and an atomic physics module to describe the
effects of ionizing radiation. The code is parallelized using a custom
threadpool library. We present an application in which we follow
the ionization of two dense spherical clumps which are exposed to an
ionizing radiation field from a 50 000 K black body. We study various
configurations in which one of the clumps shields the other
from the ionizing photons. We find that relatively long-lived filamentary
structures with narrow tails are formed. This raises the possibility that
cometary knots (such as are found in the Helix Nebula) may be the result
of the interaction of an ionizing radiation field with an ensemble of
clumps, as opposed to the identification of a single knot with a single
clump.
Key words: hydrodynamics - radiative transfer - ISM: kinematics and dynamics - ISM: HII regions - planetary nebulae: general
A separate trend in astrophysical fluid dynamics has been to combine it with the relevant "microphysics'' of the gases under consideration. Interstellar gas tends to emit radiation when heated, photons may heat and ionize the gas, chemical reactions may take place, dust particles may interact with gas particles, etc. Including the effects of magnetic fields could be considered to be part of the same trend, but because the connection between the fields and the flow is more intricate, this is generally considered to be a separate branch of astrophysical fluid dynamics, magnetohydrodynamics (MHD).
In this paper we describe the first results of a new code, named Maartje, in which three dimensional hydrodynamics on an adaptive mesh is combined with a simplified photo-ionization calculation. For this calculation one has to follow the progress of ionizing photons on the grid using a radiation transfer routine, which is complicated due to the adapative nature of the grid.
We apply this code to the problem of two photo-evaporating clumps, placed close enough to each other to be able to interact. This problem is a natural extension of the single photo-evaporative clump problem studied in Mellema et al. (1998) which can therefore serve as a comparison. It also has relevance for the system of cometary knots seen in the Helix nebula (O'Dell & Handron 1996; Meaburn et al. 1996) and interacting proplyds in the Orion Nebula (Graham et al. 2002), as well as being a first step towards studying the propagation of ionization fronts through highly inhomogenous media, such as for example happened during the re-ionization of the universe (Shapiro et al. 1998).
The outline of the paper is as follows: in Sect. 2 we describe the different components of the code in some more detail. Section 3 deals with the simulations, from the initial conditions to the interpretation. The conclusions are summarized in Sect. 4.
Many other types of solvers are available (see e.g., Laney 1998), and we have to a large extent "decoupled'' the fluid calculation from the other modules of the code, enabling one to choose between a number of fluid-dynamic solvers with little or no re-coding. For example, we have also implemented a Roe solver (Eulderink & Mellema 1995; Roe 1981), and we also made an implementation of the Total Variation Diminishing scheme for MHD of Ryu & Jones (1995). The results in this paper were however, achieved with the FVS scheme.
We do not group refined points into grids, a technique known as "block structuring'', used for example in the popular algorithm developed by Berger & Colella (1989). We do require that any refined point only has neighbours which exist on either the same refinement level, or at most one level higher or lower. The refinement criteria are purely based on gradients. A sample of the refinement scheme for the initial state of the two-clump problem we study in Sect. 3 is shown in Fig. 1.
![]() |
Figure 1: The mesh refinement for the initial conditions of model I described in Sect. 3.1. |
| Open with DEXTER | |
![]() |
Figure 2: Schematic overview of the short and long characteristic methods. The point marked "S'' is the source point. |
| Open with DEXTER | |
i) The "Short Characteristic'' Tracer. This method is based upon an interpolation technique in which the column density from a source cell is determined over the entire grid via a cell-by-cell method. First one can find the column density in cells adjacent to the source cell and, by interpolation, in those cells which share a vertex with the source cell. The same technique is then used to find the column density in cells adjacent to all cells with known column densities, etc., until the column density from the source cell is known over the entire grid. This method is described in more detail in Raga et al. (1999).
ii) The "Long Characteristic'' Tracer. An alternative method is to calculate the exact path of the ray from the source cell to the destination cell. This is accomplished by calculating (from simple geometry) the entry and exit points of the ray from all cells between the source and destination. This yields the column density from the source to the destination, and also a matrix of path data comprised of the path length, intensity and physical conditions in all cells along the ray path. For problems with more complex radiative transfer than we consider, the path matrix can be passed to a dedicated line radiation transport solver. A review and bench-marked comparison of such solvers is presented in van Zadelhoff et al. (2002).
It is also possible to develop a technique whereby the long characteristic tracer is used in reverse to calculate the effect of many sources upon a single destination cell, allowing a self-consistent computation of the diffuse field due to emission both from other regions of the grid and from putative off-grid sources.
Maartje is also capable of including the parallel-integrated chemistry module described by Lim et al. (2001), which will be needed for complex molecular line transport.
For the photo-ionization rate and the heating rate due to photo-ionization,
we need to evaluate integrals over the spectral energy distribution of the
ionizing source, attenuated by the optical depth. Instead of evaluating these
integrals when calculating the rates, we calculate a table of integral values
for a range of (logarithmically spaced) optical depths at the H ionization
threshold. During the calculation we find the rates by interpolation in these
tables, using the local optical depth at
eV. This procedure is
described in detail in Frank & Mellema (1994).
For the cooling rate we use the cooling curve from
Dalgarno & McCray (1972),
.
The local radiative cooling rate
is then given by
,
with n the particle number density.
These microphysics routines are simplified, but for the problem at hand they suffice. We find that the evaporation time for a single clump is for instance not substantially different from the one found using the more sophisticated version of DORIC (Mellema et al. 1998). Since the microphysics routine is a module, it is in fact not very hard to substitute it for something more advanced.
Current techniques for the parallelization tend to rely on the use of precompiled libraries, such as MPI or OpenMP. The former library does not support so-called shared memory, and is typically suited for codes in which whole meshes can be calculated by one processor, which is not the case for Maartje. OpenMP is typically used in combination with an "auto-parallelization'' library with which one can instruct the compiler to parallelize given loops within the program.
Given the very different types of calculation described above, all of which would ideally operate in parallel, we consider the OpenMP approach to be somewhat inflexible. In addition many of the algorithms we use are recursive rather than loop-based in nature. We have therefore developed a custom parallelization library (based on ANSI standard POSIX threads) which, rather than parallelize on a loop basis, simply receives pointers to i) a function to be executed and ii) a data-structure containing the arguments to that function. The function is then executed within a separate thread of control on an available processor. Parallelization can then be implemented at the code level rather than the compiler level. Using this approach, all of the above modules operate in a multi-processor fashion on a shared memory machine. The radiative transfer is parallelized per source point. For the short characteristic tracer we need the column density at every point for every source point. This makes is necessary to store the column densities for every source point being worked on, hence involving memory overhead.
Mellema et al. (1998) studied the photo-evaporation of a single dense clump in two dimensions, assuming axi-symmetry. In order to test Maartje, we ran the same problem in three dimensions.
The clump has an initial density of 5000 cm-3, a temperature of 100 K
and a radius of 1016 cm. The clump is embedded in an ionized environment
with a density of 100 nuclei cm-3 and a temperature of 5000 K. In order
to reduce spurious flows which can arise from artificial stepwise boundaries
we have softened the outer 5% of the clump with a linear fall-off to the
environmental density. This clump is exposed to the radiation from a star
with a black-body spectrum of effective temperature 50 000 K and
luminosity 7000
,
thus producing
ionizing
photons per second. Placing the star at a distance of 1018 cm from the
left x-face of the grid, we can assume that the incident radiation is plane
parallel. Treating each cell on the x=0 face of the grid as a source from
which we calculate column densities, for rays travelling parallel to the
x-axis, the short and long characteristic tracers become identical.
In all of the models presented here we use an adaptive mesh with four levels
of binary refinement, maximum resolution 512 cells in each coordinate
direction. The grid is a cube with a physical size of
cm
in all directions. Free-flow boundary conditions are imposed on all faces of
the grid.
We chose a larger grid than Mellema et al. (1998), so that the photo-evaporative flow does not cross the boundaries early during the simulation. Subsonic flows crossing a free-flow boundary may affect the flow inside the grid, which is best avoided.
We find that the clump evolves in a similar way as described in Mellema et al. (1998): first it gets compressed as a shock wave induced by the ionization front travels into it. Once this shock wave has travelled through the entire clump, it acquires a cometary shape, and starts to accelerate. In Fig. 3 we show the neutral clump mass as a function of time, and compare it to the result from Mellema et al. (1998). As one can see, the match is not perfect, but still quite close. We did find that the result of both the 2D and 3D simulations depend on the choice of the timestep, or on how often the radiative transfer is done. The variation in the total evaporation time is about 15%. The results of Mellema et al. (1998) were achieved by only doing the radiative transfer every 5 time steps. We applied the radiative effects every time step, but chose the time step to stay close to the 2D results. Since the solution found by Mellema et al. (1998) was found to nearly reproduce the analytic solution, this provides to good baseline for studying the problem of two interacting photo-evaporative clumps.
![]() |
Figure 3: Graph of the neutral clump mass against time. The solid line shows the results for the 3D simulation, the symbols are values from the 2D simulation in Mellema et al. (1998). |
| Open with DEXTER | |
Models 1 and 2 start with the clumps arranged parallel and perpendicular to
the impinging radiation field, respectively. In model 1, both clumps are
exposed to the full radiation field with no initial shadowing, in model 2,
clump A completely eclipses clump B at the start of the simulation. In
models 3 and 4 clump B is partly in the shadow of clump A, having only
39.1% (
)
of its cross-sectional area eclipsed by
the shadow of clump A.
Table 1: Clump centre positions1.
![]() |
Figure 4:
Colour plots of
|
| Open with DEXTER | |
![]() |
Figure 5:
Colour plots of
|
| Open with DEXTER | |
The results of the four simulations illustrate the two ways in which the clumps can affect each other. First, there is the occultation which produces an asymmetric ionization front in the clump B. Second, there are the photo-evaporative flows, which interact with each other, and in some cases with the clumps themselves. Even though we use a simple configuration, the resulting flow patterns quickly become complex. For lack of space, we can only present some snapshots of the simulations. Movies of all four cases can be found with the electronic version of this paper.
In model 1 there is no occultation of either clump, and hence the only
interaction is through the photo-evaporative flows, see
Fig. 4. These collide in the midplane of both clumps. Since
the two evaporative flows carry the same momentum flux, and the clump
centres are aligned perpendicular to the incoming photon flux, the
interaction zone lies exactly in the middle between the clumps. A
photo-evaporative flow is driven by the pressure at the ionization
front, and this pressure is mostly a function of the incoming ionizing
flux. From Bertoldi & McKee (1990), Eq. (3.23), it can be seen that the
photo-evaporative pressure is approximately given by
![]() |
(1) |
Apart from the sheet created by the two photo-evaporative flows, the evolution of the two clumps proceeds exactly as in the single clump case.
In the other simulations interaction of photo-evaporative flows also occur. However, since these flows are also balanced, the photo-evaporative flow from one clump cannot typically reach the other clump. The only effect is then to create a collision zone where the two evaporative flows meet.
The effects of occultation are much more intricate. In simulation 2, one clump is completely in the shadow of the other, see Fig. 5. However, as the first clump starts to shrink due to the shock front travelling into it, photons manage to reach the surface of the second clump, ionizing it in a cylindrical fashion, and only slowly, due to the low impact angle. Once the first clump has been completely shocked, it starts moving due to the rocket-effect, and collides with the second clump, compressing its front side. Since it has been shocked and therefore has a higher density, clump A actually manages to drill through clump B, creating a cylindrical, photo-evaporating shell.
![]() |
Figure 6:
Colour plots of
|
| Open with DEXTER | |
Occultation is thus found to have two major effects: asymmetric ionization of the second cloud, and collision between the first cloud and the occulted part of the second cloud. The latter effect will be larger when the clouds are near one another. The sequence of images showing central cuts of the density for simulation 3 illustrates the chain of events, see Fig. 6. One sees how clump B only gets ionized on the side where the direct photons can penetrate. This creates a photo-evaporation flow which also impacts on the occulted part of the clump, and drives a shock wave into it. As the shock-wave driven by the D-type ionization front moves through clump B, the occulted and unocculted parts start to separate. Once the shock has moved through the entire unocculted part, it starts to move, and then evolves as a photo-evaporating clump in the cometary phase. The occulted part is shocked and acquires a velocity perpendicular to the incoming radiation field, moving it further into the shadow of clump A. As the first clump starts moving, it collides with the remnant of clump B, and they merge to form a slightly larger cometary knot, which finally completely evaporates.
![]() |
Figure 7: Isodensity surface plot of the number density from run 3 at t= 250 (top left), 500 (top right), and 750 years (bottom). Compare with Fig. 6. |
| Open with DEXTER | |
During this later phase, the tail of clump A to a large extent consists of material from clump B, making this another mechanism to form tails behind photo-evaporating clumps (cf. Cantó et al. 1998; Dyson et al. 1993).
For the merging of two clumps to be possible, the second clump should be within
the evaporation distance of the first clump,
.
For this one can
use the expression given in Mellema et al. (1998), Eq. (49). This may be
re-expressed as a filling factor. The volume in which the second clump has to
be is given by
,
or rather less than this, since
is getting smaller with time. Assuming a linear decrease of
with time, the cone shaped volume is
.
To have part of another clump of radius
overlap with this volume, we need a clump density of
.
For a density of clumps
,
each with volume
,
the filling factor is giving by
,
which
means that the required filling factor is given by
.
For our typical clumps,
,
so that we need approximately a 10% filling factor.
In Fig. 8 we show evaporation graphs for the four simulations. The graphs show the amount of neutral clump material, relative to the amount of initial clump material. Comparing to the single clump curve, one sees how the occultation typically prolongs the lifetime of the neutral phase by between 30 and 50%, depending on the configuration.
The evaporation curves of models 3 and 4 differ only in the later stages of the calculation. The reason for this is as follows: If there is a filling factor of zero then the evaporation time of the two clumps will be fixed and roughly independent of the distance between the clumps. However, if there is a finite filling factor, the clumps will merge at some point. Prior to this point the photo-evaporation will proceed roughly as if the clumps were far apart, but when the clumps merge they have a relative velocity parallel to the radiation field. This will result in a "splattering'' of the clump material which increases the surface area exposed to the ionizing radiation and thus decreases the lifetime of the merged object. In model 4 the clumps are further apart than in model 3, therefore this collision and splattering occurs later and the effects are seen as an increase in the lifetime of the neutral component in model 4.
| |
Figure 8: Graph of the neutral clump mass against time for the four runs. The graph for run 3 is the dashed line. |
| Open with DEXTER | |
Graham et al. (2002) report the detection of two interacting proplyds in the Orion nebula. They deduce the existence of an interaction zone due to the two photo-evaporating flows. Occultation does not appear to play a role in this system. As discussed above, these authors also find that the photo-evaporative flows are closely matched in momentum flux, and form a sheet in between the two proplyds. We find similar sheets in our simulations, although of smaller size because of the chosen configurations.
In Fig. 9 we show maps of the calculated H
emission from
both recombination and collisional excitation for run 3, as seen from the
three main coordinate directions. The clumps are assumed to be optically thin
for the H
photons. One can recognize the classical cometary shapes
and how at early times, the clump B is already notably deformed. The front
view shows ring-like features due to the fact that the path length through
the wings of the comet is much larger than through the centre. In the side
view, the interaction region can be seen, and also the photo-evaporative flow
can be observed as faint haloes around the two clumps.
![]() |
Figure 9:
Synthesized H |
| Open with DEXTER | |
We find that the complex interaction can be attributed to two main effects, the interaction of the photo-evaporative flows and occultation. The photo-evaporative flows (because of their origin) are expected to be fairly balanced in momenta, and will therefore never reach the photo-evaporating surface of a neighbouring clump. The occultation of clumps by each other can lead to merging of clumps. Since the photo-evaporative flow is perpendicular to the clump surface the occulted clump acquires a velocity which drives it into the shadow of the occulting clump. This increases the efficiency of merging. It is conceivable that observed photo-evaporating clumps (such as the Cometary Knots seen in the Helix Nebula) are the result of merging. This would explain the fact that dust is found to be present in the tails. Merging requires initial filling factors of around 10%.
In general the survival time of the neutral components increases by approximately 30% due to the occultation. This should be generally true for a layer of clumps with covering factor (as seen from the source of ionizing photons) of 1.
We plan to use Maartje for further studies of dynamic photo-ionization processes, such as "methode champenoise'' flows in star formation regions, or the overlap of different HII regions.
Acknowledgements
The research of GM has been made possible by a fellowship of the Royal Netherlands Academy of Arts and Sciences. AJL is supported by a PPARC Research Associateship. This work was sponsored by the National Computing Foundation (NCF) for the use of supercomputer facilities, with financial support from the Netherlands Organization for Scientific Research (NWO). AJL would like to acknowledge Matt Harvey for his invaluable help in matters of parallel processing and Erik-Jan Rijkhorst for help with producing some of the figures.