![]() | ![]() |
Astron. Astrophys. 332, 703-713 (1998) Appendix A: the Monte Carlo method of radiative transferFor clarity, the equations below are presented for a two energy level molecule, but the generalization to the multilevel case of the code is quite straightforward. Model photons with a weight W in proportion to the number of
real photons emitted by the source are sent out in random directions
and at random frequencies. To save time the model photons represent
every transition simultaneously, and thus they have a separate weight
for each transition. In addition to photons from the molecular gas,
photons which represent background radiation, dust radiation and
radiation from a central black body (star) can also be emitted. The
cloud is composed of a series of concentric spherical shells, each
having its own values of the physical parameters such as density,
temperature, etc. The model photons are followed across the cloud,
causing excitations and de-excitations along their paths, which affect
the level populations in the different shells. The total number of
induced de-excitations, where m is the index denoting the shell and the other
symbols have their usual meaning. The total number of molecules in the
upper energy state in shell m is where
which in the Monte-Carlo formulation is written as After adjustment of the level populations, new model photons are
sent out, and the process is repeated. In order to reduce the random
noise, the Appendix B: Monte Carlo method with core saturationB.1. Implementation of the core saturation methodThe core saturation method is only applied to photons emitted by
the molecular gas (i.e not to those from the dust or the background
radiation). When a model photon is emitted, the optical depth to the
nearest boundary is calculated, and it is decided, whether the photon
is in the core of the line. As the distinction between core and wing
is not precise, we follow Flannery et al. (1980) by introducing an
exponentially tapered weighting function,
The ratio of photons in the wing, In the core saturation method, the core photons are eliminated from
the statistical equilibrium equation, implicitly making use of the
approximation and, in Monte-Carlo formulation, one arrives at For simplicity, the core saturation procedure is only executed in the shell where the photon in question was created, since the core photons will in any case never travel far. B.2. Correcting the core saturation for lost photonsThe core saturation method simply neglects the energy transport in
the core. This will cause an error, which becomes larger as
Every photon contributes a certain amount The total weight, one finds and so that one finally can write which is the expression actually used in the code.
© European Southern Observatory (ESO) 1998 Online publication: March 23, 1998 ![]() |