Understanding Radiative Transfer Equations
Understanding Radiative Transfer Equations
The words “radiative transfer” make it sound as if we are mainly interested in studying
the movement of photons. In reality, the interaction of the radiation with the medium
is actually the main issue. As we discussed in Section 2.4, in the absense of any
interaction with matter, the transport of radiation is fairly trivial: the intensity in any
direction then remains constant along a ray in that direction. However, interaction
with the medium can remove radiation from the ray or add to it. In most cases we can
assume that light propagates so fast that we can ignore the light travel time effects. In
other words: in most cases we can assume that all photons travel through the medium
on a time scale much shorter than any changes that happen to the medium. We can
thus regard the radiation as a steady-state flow of photons. We will, however, discuss
the limits of validity of this approach in Section 3.6.
13
between two points along a ray can be expressed as the following integral:
! s1
τν (s0 , s1 ) = αν (s) ds (3.1)
s0
where αν (s) is the extinction coefficient at point s along the ray (using x = x0 + sn,
see Eq. 2.24).
Often the density-dependence of the opacity is explicitly written as:
αν = ρκν (3.2)
where ρ is the density, with CGS units of gram cm−3 , and κν is the mass-weighted
opacity, with CGS units of cm2 gram−1 . Often κν is also simply called the opac-
ity. When one talks about “opacity” one should therefore be careful what is actually
meant. Note that sometimes people use the word “opacity” when they actually mean
“optical depth”. We shall stick to the strict separation of these two terms.
If we regard the medium as a collection of particles (for instance: dust particles), then
we can introduce yet another way to write the opacity: the cross section per particle
σν , with CGS units cm2 . If the particles are very large compared to the wavelength,
this cross section is typically equal to the geometric cross section, which for spherical
particles of radius a is equal to σ = πa2 . This is, however, only valid for particles
with a " λ. For small particles and large wavelength (a # λ) one typically finds that
σ # πa2 . We will discuss this at length in Chapter 6. For now we limit ourselved by
stating a relation between κν and σν :
σν
κν = (3.3)
m
where m is the mass of the particles.
where τν (s0 , s1 ) with s1 > s0 is given by Eq. (3.1). This equation expresses what we
already qualitatively argued in Section 3.1.
Now let us assume that the cloud also injects radiation into the ray. We then add an
emission term to Eq. (3.4):
dIν (n, s)
= jν (s) − αν (s)Iν (n, s) (3.6)
ds
This is the complete formal radiative transfer equation. The source term jν is called
the emissivity and has CGS dimensions of erg s−1 cm−3 Hz−1 ster−1 . Also this can be
cast in integral form:
! s1
Iν (n, s1 ) = Iν (n, s0 )e−τν (s0 ,s1 ) + jν (s)e−τν (s,s1 ) ds (3.7)
s0
14
The formal radiative transfer equation, Eq. (3.6), can also be written in a form similar
to Eq. (2.23):
n · ∇Iν (x, n) = jν (x) − αν (x)Iν(x, n) (3.8)
This form is mathematically equivalent to Eq. (3.6) and it can be useful, for instance,
for deriving the radiative diffusion equation (see Section 4.5).
In other words:
jν
= Bν (T ) (3.10)
αν
This is Kirchhoff’s law. It says that a medium in thermal equilibrium can have any
emissivity jν and extinction αν , as long as their ratio is the Planck function.
This law does not only apply in a thermal cavity. It applies everywhere where the
medium is in local thermodynamic equilibrium (LTE). While LTE is not always guar-
anteed (and we shall see plenty of examples where LTE breaks down in this lecture), in
media where it is valid, Kirchhoff’s law greatly simplifies the radiative transfer prob-
lem: In LTE we can use Kirchhoff’s law to write the formal radiative transfer equation
in the form
dIν (n, s)
= αν (s)[Bν (T (s)) − Iν (n, s)] (3.11)
ds
Note that here the Planck function is allowed to vary along the ray. This form of the
equation clearly demonstrates that the intensity Iν is always trying to asymptotically
approach Bν(T (s)). If the temperature is constant along the ray, then the intensity
will indeed exponentially approach Bν (T ). If the temperature varies along the ray, the
intensity will always lag behind by a few mean free paths, but it will always tend to
approach the Planck function.
15
point along the ray the intensity wants to approach S ν as it proceeds its journey along
the ray. If S ν is constant along the ray, then within a few mean free path lengths the
intensity will have exponentially approached Iν → S ν . If S ν varies with s, then Iν will
lag behind, but always tries to approach S ν along the way.
How this works for a ray passing through a slab of given temperature in front of a
radiation source of another temperature is illustrated in the margin figure. It shows
the intensity Iν at ν = c/λ with λ = 0.5 µm starting at a background intensity corre-
sponding to a temperature T bg = 6000 K going through a slab or cloud of gas with a
temperature T cloud = 7000 K with three values of the total optical depth, as annotated
in the figure. The slab is assumed to be in LTE, so that the source function equals the
Planck function.
16
Let us assume that we have a medium that is in LTE, so that Kirchhoff’s law is valid.
Let us now assume that the medium consists of an optically thick background of tem-
perature T bg and a foreground layer of gas in front of it (as seen by the observer) of
tempeature T fg . The “feature” is a bump in the opacity in the gas layer αν around fre-
quency ν0 . Together with the thickness ∆X of the foreground layer this opacity bump
yields an optical depth τν = αν ∆X which has the following functional form:
(ν − ν0 )2
" #
τν = τ0 exp − (3.16)
γ2
where γ denotes the width of the feature. Let us assume that the emission from the
optically thick background is a perfect blackbody Iν,bg = Bν(T bg ). The question is:
how will the opacity “feature” of Eq. (3.16) appear as a spectral feature in the observed
intensity Iν ? We can find out by integrating the formal transfer equation in the form
of Eq. (3.11). We obtain
In the figures in the margin the results are shown for a feature at ν0 = 6 × 1014
Hz (corresponding to a wavelength of λ0 = 0.5 µm), for T bg = 5000 K and T fg =
6000 K, which yields an emission feature, and for the opposite (T bg = 6000 K and
T fg = 5000 K), which yields an absorption feature. The results are shown for three
different values of τ0 .
From these figures we learn a number of things. The most important one is that if a
hot layer is in front of a cool layer, we get emission features, and if a cool layer is in
front of a hot layer, we get absorption features. The famous Heidelberger scientists
Kirchhoff and Bunsen in fact discovered this (and published it in 1860), and were thus
able to explain the absorption features of the solar spectrum.
Another thing we learn from the figures is that the emission feature has the same
shape as the opacity feature as long as τ0 ! 1. But when τ0 " 1, the feature becomes
optically thick and saturates. This is exactly the “attractor effect” mentioned above:
the intensity wants to approach the Planck function of the foreground layer. Once it
has arrived at that Planck function, it will not change any further.
Another important thing we can learn is: If we have an optically thick cloud or at-
mosphere with a constant temperature (which here would translate to: the layer tem-
perature being equal to the background temperature), then we would not observe any
features in the spectrum - neither in absorption nor in emission.
It is important to understand that this very same principle of feature formation (for gas
spectral lines: line formation) can be applied to cases of non-LTE. We should then just
replace the Planck function Bν (T fg ) with the source function S ν,fg . The rest stays the
same. For such a case we can in fact form a feature even if the temperature is constant,
as long as S ν,fg ! Iν,bg .
17
For media in LTE this means: you observe a blackbody intensity of temperature T at
the location where the optical depth toward you is 2/3:
With the Eddington-Barbier estimation we have another, and quite powerful, way to
understand how spectral lines and features are formed. Consider the solar photo-
sphere. Deep down into the photosphere the temperature is higher than at the top of
the photosphere. In other words: there is a negative temperature gradient: dT/dz < 0.
If we look at the atmosphere at a frequency ν that is right at the center of a spectral
line, where the opacity αν of the photosphere is very high, then the location z where
τν = 2/3 is somewhere in the top of the photosphere, where temperatures are com-
paratively low. If, however, we shift ν far from the spectral line, the opacity αν of the
photosphere drops, meaning that the location z where τν = 2/3 is now much deeper,
where the temperatures are higher. This predicts that the spectrum of the Sun should
have its lines typically in absorption, which is indeed the case.
The Eddington-Barbier estimation is, however, not always valid. You can see this,
again, by an example of the Sun’s atmosphere. Above the photosphere there is the
chromosphere, which is much hotter than the photosphere, but also much more ten-
uous. The optical depth of the chromosphere is small, yet in some strong spectral
lines it may still dominate the photospheric emission. Eddington-Barbier would not
predict this to happen. It shows that Eddington-Barbier can be used if the temperature
gradient is moderate, but not in cases where there is an extremely hot tenuous layer in
front of a much cooler optically thick medium.
18
speed of light, but due to the latency introduced by the slow re-emission process. We
will discuss such effects at length in the chapter on radiation hydrodynamics (Chapter
12).
In comparison to the “along the ray” form of the transfer equation, Eq. (3.6), the d/ds
was replaced by µd/dz. For fixed µ Eq. (3.21) can be integrated over z, which is z=0
19
The first three moments of radiation are, in plane-parallel geometry:
1 +1
!
Jν = Iν (µ) dµ (3.23)
2 −1
1 +1
!
Hν = Iν (µ) µ dµ (3.24)
2 −1
1 +1
!
Kν = Iν (µ) µ2 dµ (3.25)
2 −1
All these are scalars, because in 1-D we are only interested in the z components of the
tensors.
Throughout this lecture we will regularly deal with plane-parallel transfer problems,
and we will demonstrate many radiative transfer effects using Eq. (3.21). It is the sim-
plest form of the transfer equation that is still general enough to demonstrate many
aspects of radiative transfer theory. In Section 5.2.8 we will discuss another 1-D ra-
diative transfer geometry: that of spherically symmetric radiative transfer problems.
However, those problems involve a few tricky elements that we will try to avoid for
most of the lecture - hence our focus on 1-D plane-parallel geometries.
20
convention we will then use index 1 for cell wall i = 12 and we will have an array of
Nz + 1 elements, because we have Nz + 1 cell walls. Note that several programming
languages start their array indices with 0 instead of 1. That would mean that the
indices shift by one. We would then have cell indices 0, · · · , Nz − 1 and cell wall
indices 0, · · · , Nz . How you index the cells and cell walls in your computer program
is, in the end, a matter of taste and is left up to you to decide.
The grid is now defined by the z-locations of the cell walls: z1/2 , z3/2 , · · · , zNz +1/2 . In
the figure the bottom cell wall is located at z1/2 = 0.
The cell walls are, in 1-D, grid points. We will see that there are cell-based radiative
transfer algorithms and grid-point-based radiative transfer algorithms, and that the
two classes of methods work a bit differently. To distinguish between cell-based and
point-based variables we will use the integer and half-integer indexing for cell-based
and point-based (or wall-based) variables.
If we have a ray passing through our grid, then the ray crosses the cell walls. These
cell-wall-crossings divide the ray into ray segments. We will apply the same method
of indexing these segments: the segments have integer indices i while the joining-
points between the segments have half-integer indices i + 1/2. If s is our coordinate
along the ray, then the joining-points have si+1/2 .
In our 1-D setting, if we integrate upward (µ > 0), we can match the indices along
the ray with the indices of z. If we integrate downward, then increasing s means
decreasing z. If we decide to still use a matched indexing of the ray and the grid3 ,
then we will be integrating from high to low indexing. In that case, in all quadrature
formulae shown below we would have to swap: i + 3/2 ↔ i − 1/2 and i ↔ i + 1.
For our 1-D example, assuming that we integrate upward (i.e. µ > 0), we can equiva-
lently write:
αi
∆τi = (zi+1/2 − zi−1/2 ) (3.28)
µ
We can now calculate the source function on each ray segment, which in 1-D means
the source function in each cell: First order integration
ji
Si = (3.29)
αi
which is constant throughout each cell. Now we can write the exact integral to the S i−1/2
formal transfer equation from the bottom to the top of cell i as S i+1/2
I i+1/2
& '
Ii+1/2 = e−∆τi Ii−1/2 + 1 − e−∆τi S i (3.30)
I i−1/2
Assuming that j and α are indeed constant within the cell, Eq. (3.30) is an exact result!
i i+1
It is therefore valid for any grid cell size, i.e. for any value of ∆τi . i−1/2 i+1/2 i+3/2
We can now use Eq. (3.30) to integrate systematically from one grid wall to the next.
For µ > 0 we do this using Eq. (3.30) starting at i = 1 (i.e. starting from I1/2 ) and
3 In 1-D this can make sense. In 3-D, however, a ray should always have its own indexing, which is then
21
working our way up to i = Nz (i.e. arriving at INz +1/2 ). Here I1/2 is the boundary
condition, which we discuss in Subsection 3.8.5 below. For µ < 0 we start from the
top and work our way down. The quadrature formula has to be accordingly adapted.
with I i+1/2
1 − (1 + ∆τi )e−∆τi ∆τi − 1 + e−∆τi
" # " #
I i−1/2
Qi = S i−1/2 + S i+1/2 (3.34)
∆τi ∆τi i i+1
i−1/2 i+1/2 i+3/2
There are two caveats with this quadrature formula. First, if ∆τi # 10−6 , the finite
machine precision may cause problems. In that limit one can write
1
lim Qi = ∆τi S i−1/2 + S i+1/2 (3.35)
$ %
∆τi →0 2
So if we use this formula, in case ∆τi < 10−6 , then this problem is solved. Sec-
ondly, under very pathological circumstances this second order quadrature recipe can
sometimes yield overshoots. This can happen in cases in which S i+1/2 < S i−1/2 but
αi+1/2 > αi−1/2 (or vice versa). Inside of cell i the functions S (z) and α(z) are lin-
ear interpolations between these values. Their product j(z) = α(z)S (z) is therefore a
parabola which, for the case described above, can have a local maximum somewhere
inside the cell. If ∆τi ! 1, then such a parabolic functional form of j(z) will give an
intensity that is larger than one would expect when one would have linearly interpo-
lated j(z) instead of S (z). Therefore it is important to supplement the above second
order integration recipe with the following “quadrature limiter”:
& '
Qi = min Q2nd max
i , Qi (3.36)
with Q2nd
i given by Eq. (3.34) and
1
Qmax
i = ( ji+1/2 + ji−1/2 )∆s (3.37)
2
22
This quadrature limiter will only intervene if the gradients of S and α have opposite
signs. Otherwise the second order recipe stays in effect.
In the third order integration scheme for obtaining Ii+1/2 for µ > 0 we do not only use S i+3/2
S i−1/2 and S i+1/2 , but also S i+3/2 . The “subgrid model” for S (z) is now a quadratic S i−1/2
fit through these three values. Also for this S (z) the formal transfer equation can be
analytically solved. The result: S i+1/2
I i+1/2
Ii+1/2 = e−∆τi Ii−1/2 + Qi (3.38) I i−1/2
i i+1
(i.e. the same as Eq. 3.33). But now we define Qi as i−1/2 i+1/2 i+3/2
with
e2 − (2∆τi + ∆τi+1 )e1
u = e0 + (3.40)
∆τi (∆τi + ∆τi+1 )
(∆τi + ∆τi+1 )e1 − e2
v = (3.41)
∆τi ∆τi+1
e2 − ∆τi e1
w = (3.42)
∆τi+1 (∆τi + ∆τi+1 )
where the symbols e0 , e1 and e2 are defined as
e0 = 1 − e−∆τi (3.43)
e1 = ∆τi − 1 + e−∆τi ≡ ∆τi − e0 (3.44)
e2 = ∆τ2i − 2∆τi + 2 − 2e−∆τi ≡ ∆τ2i − 2e1 (3.45)
With this third order integration we must be even more careful than for second order
integration: now not only an overshoot could happen, but also an undershoot: we
might even obtain negative results, because the quadratic interpolation of the source
function might go negative. We must thus, in addition to the upper limiter set by
Eqs. (3.36, 3.37), also introduce a bottom limiter:
& & ' '
Qi = max min Q3rdi , Qi
max
,0 (3.46)
with Qmax
i still given by Eq. (3.37).
indices get smaller each step. We have our indices from bottom to top, i.e. zi+1/2 > zi−1/2 .
23
interested in is the mid-infrared, then it is reasonable to take it to be I1/2 = Bν (T ) with
T the temperature of the ground. But if we consider the optical wavelength regime,
then it depends entirely on the reflection of light impinging on the surface. That is:
we do know know I1/2 in this case until we calculate the downward radiative transfer.
This gives us a glimpse of the true complexity of radiative transfer: To calculate the
radiation field, we have to know it in advance. So let us put this issue to rest for the
moment. We will discuss it at length in Chapter 4.
So what about the downward integration, for µ < 0? In that case we must impose a
boundary condition for INz +1/2 . In the case of our Earth’s atmosphere, most of the sky
above the atmosphere is pitch black. We can then set INz +1/2 = 0. This is also true if
we model a stellar atmosphere.
For the Earth’s atmosphere (and any planetary atmosphere) there is, however, one
exception: The irradiation of the Earth’s atmosphere by the Sun. Typically this occurs
under some inclination angle: θ > 0 for some φ. While this does not break the plane-
parallel translational symmetry, it does break the rotational symmetry in the x − y-
plane. The irradiation by the Sun thus would force us to go from a 3-d problem (z, µ,
ν) to a 4-d problem (z, µ, φ, ν). We will discuss this at length in Chapter 9.
1. Use a stable numerical integration scheme that also works properly when large
steps in τ are taken.
2. For high optical depths use second order integration if possible.
3. Try to spatially resolve the photosphere of the object with sufficient number of
grid points, because it is here where the observed spectrum is formed.
4. Regions that are at high optical depth at all wavelengths5 can be mapped with
optically thick grid spacing.
5. One can always do an a-posteriori check if the grid resolution was chosen suf-
ficiently high: the intensity function Iν (s) along the ray should not make large
jumps from one grid point (or grid cell) to the next.
24
followed by an intermediate one etc. But apart from that the integration along the ray Ray made up of ray segments
remains the same as we have seen so far: we simply use the quadrature formulae we
have discussed in this section.
The main new aspect in 3-D compared to what we have done so far in 1-D is that the E
variables such as α and S are stored either in the cell or on the cell corners. When
they are stored in the cell (cell-based radiative transfer), we must use the first order D
quadrature formula, because α and S are then assumed to be constant throughout the C
cell. If they are stored at the cell corners (grid-point-based radiative transfer), then we B
must employ interpolation from the cell corners to the point where the ray crosses the
cell wall. The simplest would be bilinear interpolation, because a cell wall has four A
corner points. A better way would be bi-quadratic or bi-cubic.
25