L. B. Lucy
Astrophysics Group, Blackett Laboratory, Imperial College London, Prince Consort Road, London SW7 2AZ, UK
Received 24 August 2004 / Accepted 31 August 2004
Abstract
Exact analytic solutions are derived for radiation in time-dependent
relativistic flows. The flows are spherically-symmetric homologous explosions
or implosions of matter with a grey extinction coefficient. The solutions
are suitable for testing numerical transfer codes, and this is
illustrated for a fully relativistic Monte Carlo code.
Key words: radiative transfer - methods: analytical - methods: numerical
In a recent paper (Lucy 2005), a Monte Carlo (MC) treatment accurate to O(v/c) of the time-dependent transport of radiation in 3-D SNe is described and tested. A major concern in that paper is establishing the accuracy of the MC code. To this end, the 3-D code was applied to a 1-D problem that could be solved independently with conventional numerical methods. Specifically, the test problem was to compute the bolometric light curve of a spherical SN in which the transfer of UVOIR radiation is treated with a grey extinction coefficient. An independent approach to this problem is provided by Castor's (1972) co-moving frame (cmf) moment equations for spherically-symmetric flows. The resulting pair of partial differential equations (PDEs) were solved with the Henyey method.
The final outcome of this test was entirely satisfactory: the mean
difference
between the two light curves is
0.01 mag. for elapsed times t from
10 to 50 days. Nevertheless, the
differences were initially significant,
and it was not clear which code was in error. This question was eventually
answered by testing each code separately against an exact similarity solution
of Castor's equations. The cause of the differences could then be
traced to the poor spatial resolution of the MC code.
In the interest of concise presentation, the essential part played by this similarity solution was not described in the earlier paper (Lucy 2005). But subsequently, this solution was found to generalize to all orders of v/c. Accordingly, since time-dependent relativistic flows and the associated transfer problems are of interest for such phenomena as gamma-ray bursts and micro-quasars, this paper derives this solution (and variants thereof) and illustrates its use in testing a relativistic transfer code.
Similarity solutions will be sought for the frequency-integrated radiation
field in a homologously expanding or contracting flow. The configuration is
spherically-symmetric, and the matter has grey extinction
(
)
and
integrated emissivity
(
)
coefficients that are isotropic in the cmf.
Mihalas (1980) has derived the general time-dependent cmf transfer equation for spherically-symmetric flows with relativistic velocities. From this, he derives the zeroth and first frequency-integrated moment equations, whose earlier derivation by Prokof'ev (1962) is acknowledged. When terms of O(v2/c2) and higher are neglected, Castor's (1972) moment equations are recovered.
Following Mihalas (1980), the interaction coefficients (
)
and the
radiation field (I,J,H,K)
are expressed in the cmf but spacetime coordinates (r,t) and flow velocities
(v) are measured in the rest frame (rf). Since radiation quantities
always refer to the cmf, primes or suffixes to indicate this frame are
omitted (cf. Mihalas 1980, Sect. III).
In a homologous spherical flow, we have v = r/t. For t > 0, the flow is an explosion (v > 0) starting with infinite density at t = 0. For t < 0, the flow is an implosion (v < 0) leading to infinite density at t = 0.
When Eq. (2.12) of Mihalas (1980) is applied to the
homologous flow of matter with a grey extinction coefficient,
the resulting frequency-integrated transfer equation is
![]() |
(1) |
Moment equations can be derived from Eq. (1) as usual by multiplying
by
with
m = 0,1,2,... and then integrating over
direction
cosine
.
Alternatively, Eqs. (2.16) and (2.17) in Mihalas (1980) can
be simplified to the case of homologous flow, as above for his transfer
equation.
The resulting equations are
![]() |
(2) |
![]() |
(3) |
Following Mihalas (1980), Eddington's flux variable H is here
preferred to the standard flux F = 4 H. The integrated physical
flux in the cmf is therefore
.
Comparing Eqs. (2) and (3) with Eqs. (2.16) and (2.17) of Mihalas (1980), we see that specializing to homologous flow has resulted in a huge simplification in the coefficients of the moments J, H and K. Most notably, the coefficient of K in the zeroth moment equation reduces to zero, so now only J and H appear in this equation.
In order to construct simple solutions of these equations for use in testing
computer codes, we first effect a separation of variables. This is
achieved by writing the specific intensity
| (4) |
![]() |
(5) |
| (6) |
When Eqs. (4)-(6) are substituted in Eq. (1), the scaling factor
cancels by construction, and we thus obtain the transfer equation
|
(7) |
The moments J, H and K evidently also scale as
(t1/t)p. The equations satisfied by the corresponding
scale-free moments
,
and
are
| (8) |
| (9) |
Equations (7)-(9) are the basic equations of this investigation.
If MC techniques are used directly to simulate the physics of radiation
transport, then the MC quanta are photons and convergence to the solution
of the Radiative Transfer Equation (RTE) requires that
,
where
is the
number of photons whose interaction histories are followed. In such a code,
in addition to crossings of boundaries, MC quanta are created spontaneously
within the computational domain Dby sampling the thermal emissivity and may subsequently
be destroyed within D by absorption.
Because the RTE is directly simulated, testing such MC codes is not
fundamentally different from testing a conventional numerical solution of the
RTE.
However, for tranfer problems involving interactions between radiation
and the internal energy states of matter, there are advantages in taking the
MC quanta to be indestructible and indivisible energy (
-)
packets (Lucy 2003, and references therein). In such a code,
in addition to crossings of boundaries,
-packets are created
spontaneously within Dby sampling the net emissivity (i.e., emission minus absorption)
but then, though
the nature of the contained energy may change, they
are not subsequently destroyed within D by absorption.
Let the integrated net emissivity per unit volume at time t1be
,
where
| (10) |
If we replace the right-hand side of Eq. (8) by
and eliminate J1 from the left-hand side by setting p = 4,
the result is an ordinary differential equation (ODE) for
,
![]() |
(11) |
![]() |
(12) |
A second point to note is that
has been derived
without specifying the scale-free extinction coefficient.
Accordingly, Eq. (12) is valid for arbitrary
.
It is of interest to note that the scaling p = 4 arises
naturally in the limiting case of completely opaque matter
within which there
is no net emissivity. In this case, the right-hand side of Eq. (2)
is zero, and the cmf flux H = 0 since
radiation is position-coupled to matter. The solution of Eq. (2) is then
such that
,
corresponding to
adiabatic evolution of the radiation energy density present initially.
In contrast,
in the solution derived here, this same scaling is maintained because every
layer's losses due to flux divergence is exactly replaced by the
net emissivity in that layer. Moreover, the similarity solution represents
the state reached when initial conditions have been erased.
The simplest case for testing a MC code is
when
is independent of
.
This also simplifies the evaluation of the exact
since the integral in Eq. (12) is then analytic.
The result is
![]() |
(13) |
The corresponding moment
cannot be obtained
exactly. But an approximate formula can be derived from
Eqs. (9) and (13) with the help of Eddington's closure approximation
and surface boundary condition. The resulting formula for J1can then be substituted in Eq. (10) to obtain an approximate formula
for the conventional emissivity
.
Details are omitted.
In order to illustrate how similarity solutions can be used to test
codes, we now briefly report MC calculations for relativistic homologous
flows. The MC code is a spherically-symmetric and fully relativistic version
of the 3-D code described recently (Lucy 2005). As in that code, the
MC quanta are indestructible
-packets. The calculations start at
reference time t1 with no
-packets present. But as time
advances,
-packets spontaneously appear in accordance with the
net emissivity
and then propagate through
the configuration interacting with matter in accordance with extinction
coefficient
.
We choose to create equal numbers of
-packets in equal
intervals of
and having
cmf energies
that are independent of
.
The energy
dE created in the cmf within the space-time element
is
.
But since
is invariant
under the
Lorentz transformation, we may regard
as referring to the rf.
Accordingly, for the particular case (Sect. 3.2) where
does not
depend on
,
the
total cmf energy created in the rf interval
is
,
where
V (t)= V(t1) (t/t1)3is the rf volume at time t. Thus, if
gives the packet creation rate, and we set p = 4,
then the packets' cmf energies are
![]() |
(14) |
The transport of these packets through the configuration is
as described in the earlier paper (Lucy 2005) except that now
the factor
in the Doppler formula is restored to make the code
fully relativistic. The cmf energies of the packets that escape from the
surface in each rf
time step
are summed and then divided by
to obtain an estimate of the cmf luminosity L(t)
Monte Carlo simulations for two strongly relativistic explosions
are plotted in Fig. 1. For these simulations, the rf time steps are
,
during each of which
additional
-packets are created with cmf energies given by Eq. (14).
The evolution of the
cmf luminosity is shown starting at t1, together with the predicted
result
,
with
from Eq. (13). One solution
is the free streaming limit (
)
and the second (
)
has photon mean free paths
= R*(t)/3. In both cases, the MC
solutions tend asymptotically to the similarity solution, the convergence
being somewhat slower for
because of the longer residence times
of the
-packets. Since agreement is achieved in both cases, the
prediction, for p = 4, that the cmf flux H is independent of
is confirmed.
Although relatively trivial, it is of interest to illustrate
the application to implosions. Accordingly, Fig. 2 shows
the same two test
problems but with the signs of t1 and
reversed. Again,
after a transition period during which the internal radiation field is
established, the MC solutions converge to the similarity solution.
This possibility of testing numerical treatments of radiative
transfer
in relativistic implosions is possibly relevant for codes that simulate
laser-driven implosions in support of the quest for fusion by
inertial confinement.
![]() |
Figure 1:
Explosions. Comparison of MC calulations ( circles) of the cmf luminosity L(t)with predictions of similarity theory ( straight lines). The surface
velocity
v* = 0.9 c. The unit for the indicated scale-free
extinction coefficients |
| Open with DEXTER | |
Accurate numerical solutions for relativistic inflows have also been computed by Yin & Miller (1995), who stress the dramatic effects that can arise from photon trapping. But their solutions are only for stationary flows.
![]() |
Figure 2:
Implosions. Same as Fig. 1 but with signs reversed for
|
| Open with DEXTER | |
Apart from the degenerate case
,
the exact solution of Sect. 3
is not appropriate for the precision testing of a conventional relativistic
transfer code since the implied scale-free emissivity
could
only be determined approximately. Accordingly,
we now seek exact solutions when
is specified rather than
.
As did Mihalas (1980, Sect. IIIb) for his general equation,
we construct characteristics for Eq. (7) such that the partial differential
operator becomes a perfect differential. Thus Eq. (7) becomes
![]() |
(15) |
![]() |
(16) |
![]() |
(17) |
![]() |
Figure 3:
Characteristic trajectories
|
| Open with DEXTER | |
In Fig. 3, the characteristics are plotted for various values
of
when
.
Note that, to obtain a
characteristic that penetrates close to the centre,
the parameter
must closely approach -1. The point of closest
approach
(
)
is at
,
or, equivalently, at
.
![]() |
Figure 4:
Emergent intensities in the co-moving frame for the indicated
values of |
| Open with DEXTER | |
Parenthetically, we note that these analytic characteristic curves
provide a
further powerful test of the relativistic
MC code described in Sect. 3.3. In the free streaming case,
each
-packet follows its appropriate characteristic to high
precision, as it should. At creation, an
-packet's initial
and
determine its invariant
and hence
from Eq. (17). The packet then propagates along this
characteristic in the direction of increasing s until
it escapes at the surface
with
.
The simplicity of the characteristics for homologous flow
allows the dimensionless arc length s to be evaluated analytically as a
function of
.
Integrating the first member of Eq. (16) after eliminating
with Eq. (17), we find that, along the inwardly-directed
segment of a characteristic,
![]() |
(18) |
![]() |
(19) |
Let us now define the effective extinction coefficient along
a characteristic to be
![]() |
(20) |
![]() |
(21) |
![]() |
(22) |
This reduction of the problem to solution with the formal integral strongly suggests that these results could also be obtained with the method developed by Baschek et al. (1997). Although their paper is restricted to stationary relativistic flows, they note that time-dependent problems can be treated.
The above analysis shows that, with the scaling
assumptions for
and
given in Eqs. (5) and
(6), the time-dependent relativistic transfer problem for homologous spherical
flow, reduces asymptotically to a tranfer problem
in a static medium. For explosions, the solution tends to
this asymptote
as
;
for implosions, the limit is
.
For free-streaming, the similarity solution is achieved
after all light signals emitted from within the configuration at t = t1have escaped.
Because light travel-time and relativistic effects
are absent in a static medium, these effects
reappear in Eq. (20) as corrections to the extinction coefficient.
The term
,
which survives in the limit
,
represents the combination of finite propagation
speed and the time-dependence of the emissivity. The second
correction term, which
as
,
represents relativistic effects.
Note that these corrections can give
,
which
implies that
is not necessarily a monotonically
increasing function of s. Accordingly,
is not
appropriate as an alternative independent variable for Eq. (15).
Although the analysis of Sect. 4.1 provides a complete solution for the
scale-free radiation field without assumptions about
or
,
the answer is not in closed analytic form as was
the earlier result (Eq. (13)) for the cmf flux H1 when the net emissivity
is independent of
.
Interestingly, an analogous
result can be constructed when the conventional emissivity
is the quantity specified.
The coefficient of J1 in Eq. (8) is zero if we set
![]() |
(23) |
With
given by Eq. (23),
Eq. (8) simplifies to
![]() |
(24) |
![]() |
(25) |
![]() |
(26) |
The particular case of Sect. 4.2 is remarkable in that the complete solution
can be obtained in closed form. The starting point is Eq. (15) with
from Eq. (23). The independent variable s is conveniently transformed
to
using the first member of Eq. (16). The resulting transfer
equation is
![]() |
(27) |
![]() |
(28) |
The integrating factor for Eq. (27) is
.
Accordingly,
substituting for
,
imposing boundary condition
,
setting p = 5, and assuming that
is independent of
,
we find that
the intensity of inwardly-directed radiation is
![]() |
(29) |
![]() |
(30) |
![]() |
(31) |
![]() |
(32) |
![]() |
(33) |
This exact closed form analytic solution has been checked by substitution back into Eq. (7) using numerical differentation to evaluate the two partial derivatives.
In Fig. 4, the emergent intensity given by Eq. (33) is plotted
for various values of
.
This shows extremely strong forward
peaking when
,
with huge intensities when
.
This is basically a light travel-time effect: with
,
radiation emerging with
includes photons emitted shortly after
the explosion when, since
,
the emissivity was much higher
than that now in the surface layers.
One consequence of this forward
peaking is poor accuracy for Eddington's approximations. Thus, at the
surface of the
solution,
K1/J1 = 0.821 and
H1/J1 = 0.895, as against Eddington's values of 1/3 and 1/2,
repectively.
Thus far the physical mechanisms responsible for extinction and emission
have not been specified. But let us now suppose that
| (34) |
| (35) |
Equations (34) and (35) are consistent with the scaling of Eqs. (5)
and (6) if k and
are
and if
.
Given these scalings, the exact solution of Sect. 4.4 can now be applied
as follows: we set p=5 and choose the scale-free functions
and
such that their sum satisfies Eq. (23). Then,
since
can be computed from Eqs. (30) and (33), the
implied scale-free function
can be derived from Eq. (35).
Because the thermal emissivity is now known, this analytic solution can
be used to test a code that incorporates
an iteration procedure to detemine the scattering contribution to the
emissivity.
The net emissivity
is
also determined by the above steps. Accordingly, this analytic solution
can be used to test MC codes based on
-packets. Moreover,
this test is in principle more powerful than that provided by the flux
moment solution
of Sect. 3.2 since the angular distribution of the MC radiation field
can now also be checked.
The aim of this paper has been to derive exact analytic solutions in order
to test radiative transfer codes for relativistic flows. Such solutions
exist for spherically-symmetric homologous flows with power-law time
dependencies for the
grey extinction coefficient and the integrated emissivity. The
exact solution for the integrated intensity derived in Sect. 4.4, being
a function of three independent variables
and one parameter
,
provides an extraordinarily demanding and informative test
for such codes. Moreover, its somewhat contrived derivation based
on a particular spatial variation of
in no way
lessens its usefulness.
In addition to deriving closed form analytic formulae for the intensity and flux in the cmf, an exact formula has been derived for the characteristics. This allows the kinematic and geometric aspects of relativistic transport codes to be tested independently of the treatments of absorption and emission. For MC codes, this test is carried out by setting the extinction coefficient to zero and then checking that photon packets propagate along the known characteristics.
In solving time-dependent transport problems with the RTE, the
time derivatives are commonly approximated with
a backward difference formula, thus using the solution at the previous
time step. This introduces errors
that
might well accumulate as the integration proceeds. With the availability
of an exact time-dependent solution, the magnitude of
the accumulated error can be determined. If the error accumulation is
unacceptable, a higher order difference formula can be employed
that uses the solutions at the two previous time steps (Lucy 2005).