Post · 23 min read· pp. 119–131

6. Photon Physics

Photons, being neutral particles, behave much in the same manner as neutrons, traveling in straight lines and experiencing occasional collisions that change their energy and direction. Photons undergo four basic interactions as they pass through matter: coherent (Rayleigh) scattering, incoherent (Compton) scattering, photoelectric effect, and pair/triplet production. Photons with energy in the MeV range may also undergo photonuclear reactions with an atomic nucleus. In addition to these primary interaction mechanisms, all processes other than coherent scattering can result in the excitation/ionization of atoms. The de-excitation of these atoms can result in the emission of electrons and photons. Electrons themselves also can produce photons by means of bremsstrahlung radiation.

6.1. Photon Interactions

6.1.1. Coherent (Rayleigh) Scattering

The elastic scattering of a photon off a free charged particle is known as Thomson scattering. The differential cross section is independent of the energy of the incident photon. For scattering off a free electron, the differential cross section is

(1)

dσdμ=πre2(1+μ2)\frac{d\sigma}{d\mu} = \pi r_e^2 ( 1 + \mu^2 )

where μ\mu is the cosine of the scattering angle and rer_e is the classical electron radius. Thomson scattering can generally occur when the photon energy is much less than the rest mass energy of the particle.

In practice, most elastic scattering of photons off electrons happens not with free electrons but those bound in atoms. This process is known as Rayleigh scattering. The radiation scattered off of individual bound electrons combines coherently, and thus Rayleigh scattering is also known as coherent scattering. Even though conceptually we think of the photon interacting with a single electron, because the wave functions combine constructively it is really as though the photon is interacting with the entire atom.

The differential cross section for Rayleigh scattering is given by

(2)

dσ(E,E′,μ)dμ=πre2(1+μ2) ∣F(x,Z)+F′+iF′′∣2=πre2(1+μ2)[(F(x,Z)+F′(E))2+F′′(E)2]\begin{aligned} \frac{d\sigma(E,E',\mu)}{d\mu} &= \pi r_e^2 ( 1 + \mu^2 )~\left| F(x,Z) + F' + iF'' \right|^2 \\ &= \pi r_e^2 ( 1 + \mu^2 ) \left [ ( F(x,Z) + F'(E) )^2 + F''(E)^2 \right ] \end{aligned}

where F(x,Z)F(x,Z) is a form factor as a function of the momentum transfer xx and the atomic number ZZ and the term F′+iF′′F' + iF'' accounts for anomalous scattering which can occur near absorption edges. In a Monte Carlo simulation, when coherent scattering occurs, we only need to sample the scattering angle using the differential cross section in (2) since the energy of the photon does not change. In OpenMC, anomalous scattering is ignored such that the differential cross section becomes

(3)

dσ(E,E′,μ)dμ=πre2(1+μ2)F(x,Z)2\frac{d\sigma(E,E',\mu)}{d\mu} = \pi r_e^2 ( 1 + \mu^2 ) F(x, Z)^2

To construct a proper probability density, we need to normalize the differential cross section in (3) by the integrated coherent scattering cross section:

(4)

p(μ)dμ=πre2σ(E)(1+μ2)F(x,Z)2dμ.p(\mu) d\mu = \frac{\pi r_e^2}{\sigma(E)} ( 1 + \mu^2 ) F(x, Z)^2 d\mu.

Since the form factor is given in terms of the momentum transfer, it is more convenient to change variables of the probability density to x2x^2. The momentum transfer is traditionally expressed as

(5)

x=ak1−μx = a k \sqrt{1 - \mu}

where kk is the ratio of the photon energy to the electron rest mass, and the coefficient aa can be shown to be

(6)

a=mec22hc≈2.914329×10−9 ma = \frac{m_e c^2}{\sqrt{2}hc} \approx 2.914329\times10^{-9}~\text{m}

where mem_e is the mass of the electron, cc is the speed of light in a vacuum, and hh is Planck’s constant. Using (5), we have μ=1−[x/(ak)]2\mu = 1 - [x/(ak)]^2 and (d\mu/dx^2 = -1/(ak)^2). The probability density in x2x^2 is

(7)

p(x2)dx2=p(μ)∣dμdx2∣dx2=2πre2A(xˉ2,Z)(ak)2σ(E)(1+μ22)(F(x,Z)2A(xˉ2,Z))dx2p(x^2) dx^2 = p(\mu) \left | \frac{d\mu}{dx^2} \right | dx^2 = \frac{2\pi r_e^2 A(\bar{x}^2,Z)}{(ak)^2 \sigma(E)} \left ( \frac{1 + \mu^2}{2} \right ) \left ( \frac{F(x, Z)^2}{A(\bar{x}^2, Z)} \right ) dx^2

where xˉ\bar{x} is the maximum value of xx that occurs for μ=−1\mu=-1,

(8)

xˉ=ak2=mec2hck,\bar{x} = a k \sqrt{2} = \frac{m_e c^2}{hc} k,

and A(x2,Z)A(x^2, Z) is the integral of the square of the form factor:

(9)

A(x2,Z)=∫0x2F(x,Z)2dx2.A(x^2, Z) = \int_0^{x^2} F(x,Z)^2 dx^2.

As you see, we have multiplied and divided the probability density by the integral of the squared form factor so that the density in (7) is expressed as the product of two separate densities in parentheses. In OpenMC, a table of A(x2,Z)A(x^2, Z) versus x2x^2 is pre-generated and used at run-time to do a table search on the cumulative distribution function:

(10)

∫0x2F(x,Z)2dx2∫0xˉ2F(x,Z)2dx2\frac{\int_0^{x^2} F(x,Z)^2 dx^2}{\int_0^{\bar{x}^2} F(x,Z)^2 dx^2}

Once a trial x2x^2 value has been selected, we can calculate μ\mu and perform rejection sampling using the Thomson scattering differential cross section. The complete algorithm is as follows:

  1. Determine xˉ2\bar{x}^2 using (8).
  2. Determine Amax=A(xˉ2,Z)A_{max} = A(\bar{x}^2, Z) using the pre-generated tabulated data.
  3. Sample the cumulative density by calculating A′=ξ1AmaxA' = \xi_1 A_{max} where ξ1\xi_1 is a uniformly distributed random number.
  4. Perform a binary search to determine the value of x2x^2 which satisfies A(x2,Z)=A′A(x^2, Z) = A'.
  5. By combining (5) and (8), calculate (\mu = 1 - 2x^2/\bar{x}^2).
  6. If ξ2<(1+μ2)/2\xi_2 < (1 + \mu^2)/2, accept μ\mu. Otherwise, repeat the sampling at step 3.

6.1.2. Incoherent (Compton) Scattering

Before we noted that the Thomson cross section gives the behavior for photons scattering off of free electrons valid at low energies. The formula for photon scattering off of free electrons that is valid for all energies can be found using quantum electrodynamics and is known as the Klein-Nishina formula after the two authors who discovered it:

(11)

dσKNdμ=πre2(k′k)2[k′k+kk′+μ2−1]\frac{d\sigma_{KN}}{d\mu} = \pi r_e^2 \left ( \frac{k'}{k} \right)^2 \left [ \frac{k'}{k} + \frac{k}{k'} + \mu^2 - 1 \right ]

where kk and k′k' are the ratios of the incoming and exiting photon energies to the electron rest mass energy equivalent (0.511 MeV), respectively. Although it appears that the outgoing energy and angle are separate, there is actually a one-to-one relationship between them such that only one needs to be sampled:

(12)

k′=k1+k(1−μ).k' = \frac{k}{1 + k(1 - \mu)}.

Note that when k′/kk'/k goes to one, i.e., scattering is elastic, the Klein-Nishina cross section becomes identical to the Thomson cross section. In general though, the scattering is inelastic and is known as Compton scattering. When a photon interacts with a bound electron in an atom, the Klein-Nishina formula must be modified to account for the binding effects. As in the case of coherent scattering, this is done by means of a form factor. The differential cross section for incoherent scattering is given by

(13)

dσdμ=dσKNdμS(x,Z)=πre2(k′k)2[k′k+kk′+μ2−1]S(x,Z)\frac{d\sigma}{d\mu} = \frac{d\sigma_{KN}}{d\mu} S(x,Z) = \pi r_e^2 \left ( \frac{k'}{k} \right )^2 \left [ \frac{k'}{k} + \frac{k}{k'} + \mu^2 - 1 \right ] S(x,Z)

where S(x,Z)S(x,Z) is the form factor. The approach in OpenMC is to first sample the Klein-Nishina cross section and then perform rejection sampling on the form factor. As in other codes, Kahn’s rejection method is used for k<3k < 3 and a direct method by Koblinger is used for k≥3k \ge 3. The complete algorithm is as follows:

  1. If k<3k < 3, sample μ\mu from the Klein-Nishina cross section using Kahn’s rejection method. Otherwise, use Koblinger’s direct method.
  2. Calculate xx and xˉ\bar{x} using (5) and (8), respectively.
  3. If ξ<S(x,Z)/S(xˉ,Z)\xi < S(x, Z)/S(\bar{x}, Z), accept μ\mu. Otherwise repeat from step 1.

6.1.2.1. Doppler Energy Broadening

Bound electrons are not at rest but have a momentum distribution that will cause the energy of the scattered photon to be Doppler broadened. More tightly bound electrons have a wider momentum distribution, so the energy spectrum of photons scattering off inner shell electrons will be broadened the most. In addition, scattering from bound electrons places a limit on the maximum scattered photon energy:

(14)

Emax′=E−Eb,i,E'_{\text{max}} = E - E_{b,i},

where Eb,iE_{b,i} is the binding energy of the ii-th subshell.

Compton profiles Ji(pz)J_i(p_z) are used to account for the binding effects. The quantity pz=p⋅q/qp_z = {\bf p} \cdot {\bf q}/q is the projection of the initial electron momentum on q{\bf q}, where the scattering vector q=p−p′{\bf q} = {\bf p} - {\bf p'} is the momentum gained by the photon, p{\bf p} is the initial momentum of the electron, and p′{\bf p'} is the momentum of the scattered electron. Applying the conservation of energy and momentum, pzp_z can be written in terms of the photon energy and scattering angle:

(15)

pz=E−E′−EE′(1−μ)/(mec2)−αE2+E′2−2EE′μ,p_z = \frac{E - E' - EE'(1 - \mu)/(m_e c^2)}{-\alpha \sqrt{E^2 + E'^2 - 2EE'\mu}},

where α\alpha is the fine structure constant and pzp_z is expressed in atomic momentum units, αmec\alpha m_e c. The maximum allowed value, pz,max,ip_{z,\text{max},i}, can be calculated from (15) using E′=Emax′E' = E'_{\text{max}}:

(16)

pz,max,i=−1αEb,i−(E−Eb,i)E(1−μ)/(mec2)2E(E−Eb,i)(1−μ)+Eb,i2.p_{z,\text{max},i} = -\frac{1}{\alpha} \frac{E_{b,i} - (E-E_{b,i})E(1-\mu)/(m_e c^2)} {\sqrt{2E(E-E_{b,i})(1-\mu) + E_{b,i}^2}}.

The minimum value, obtained when E′=0E'=0, is pz,min=−1/αp_{z,\text{min}}=-1/\alpha. Thus, the kinematically allowed interval is

−1α≤pz≤pz,max,i.-\frac{1}{\alpha} \leq p_z \leq p_{z,\text{max},i}.

Importantly, pz,max,ip_{z,\text{max},i} may be negative. In that case, only the negative-momentum tail below pz,max,ip_{z,\text{max},i} is allowed. The sign of pzp_z also identifies the scattered-energy branch. If ECE_C is the free-electron Compton energy from (12), then pz<0p_z < 0 corresponds to E′<ECE' < E_C, while pz>0p_z > 0 corresponds to E′>ECE' > E_C.

The Compton profile of the ii-th electron subshell is defined as

(17)

Ji(pz)=∫∫ρi(p)dpxdpy,J_i(p_z) = \int \int \rho_i({\bf p}) dp_x dp_y,

where ρi(p)\rho_i({\bf p}) is the initial electron momentum distribution. Ji(pz)J_i(p_z) can be interpreted as the probability density function of pzp_z. The tabulated profiles are symmetric and contain values only for nonnegative momentum. It is therefore convenient to define the half-profile integral

(18)

Ki(pz)=∫0pzJi(u) du,pz≥0.K_i(p_z) = \int_0^{p_z} J_i(u)\,du, \qquad p_z \geq 0.

The profile data end at a finite momentum pz,Np_{z,N}. To cover the full kinematically allowed interval, OpenMC extrapolates the tail linearly on a log-linear scale:

(19)

Ji(pz)=Ji(pz,N)exp⁡[ai(pz−pz,N)],pz>pz,N,J_i(p_z) = J_i(p_{z,N})\exp[a_i(p_z-p_{z,N})], \qquad p_z > p_{z,N},

where

ai=ln⁡Ji(pz,N)−ln⁡Ji(pz,N−1)pz,N−pz,N−1.a_i = \frac{\ln J_i(p_{z,N})-\ln J_i(p_{z,N-1})} {p_{z,N}-p_{z,N-1}}.

The extrapolated contribution to KiK_i is integrated and inverted analytically. Each profile is normalized using both its tabulated part and the extrapolated tail, so that Ki(∞)=1/2K_i(\infty)=1/2.

The Doppler broadened energy of the Compton-scattered photon can be sampled by selecting an electron shell, sampling a value of pzp_z using the Compton profile, and calculating the scattered photon energy. The theory and methods used to do this are described in detail in LA-UR-04-0487, LA-UR-04-0488, and Sec. 3.4.8 of Kaltiaisenaho. The probability of selecting shell ii for a given incident energy and scattering angle is proportional to

(20)

fiH(E−Eb,i)∫−1/αpz,max,iJi(pz) dpz,f_i H(E-E_{b,i}) \int_{-1/\alpha}^{p_{z,\text{max},i}} J_i(p_z)\,dp_z,

where fif_i is the number of electrons in the shell and HH is the Heaviside step function. Thus, the shell probability depends not only on its electron population and binding threshold, but also on the fraction of its momentum distribution that is kinematically accessible. The sampling algorithm is summarized below:

  1. Sample μ\mu from (13) using the algorithm described in Incoherent (Compton) Scattering.

  2. Sample the electron subshell ii using the number of electrons per shell as the probability mass function. Reject the shell if E≤Eb,iE \leq E_{b,i}.

  3. Calculate pz,max,ip_{z,\text{max},i} and the integral in (20). Accept the shell with probability equal to this normalized profile integral; otherwise, repeat from step 2.

    This rejection method usually accepts quickly. After two unsuccessful attempts, OpenMC instead evaluates the integral for every shell and samples directly from the normalized probability mass function in (20). This is statistically equivalent to repeating steps 2 and 3, while avoiding excessive rejection for near-forward scattering. The profile integrals are cached for subsequent attempts at the same collision.

  4. Sample a signed value of pzp_z from Ji(pz)J_i(p_z), conditional on −1/α≤pz≤pz,max,i-1/\alpha \leq p_z \leq p_{z,\text{max},i}. When the upper bound is positive, choose between the negative and positive branches in proportion to their integrated profile masses.

  5. Calculate E′E' by solving (15). The quadratic has two mathematical branches: select the lower positive root for pz<0p_z<0 and the upper positive root for pz>0p_z>0.

  6. Accept the result if ξE≤E′\xi E \leq E', where ξ∼U(0,1)\xi\sim U(0,1). Otherwise, repeat from step 2. This rejection accounts for the factor of E′E' in the approximate relativistic impulse approximation cross section.

6.1.2.2. Compton Electrons

Because the Compton-scattered photons can transfer a large fraction of their energy to the kinetic energy of the recoil electron, which may in turn go on to lose its energy as bremsstrahlung radiation, it is necessary to accurately model the angular and energy distributions of Compton electrons. The energy of the recoil electron ejected from the ii-th subshell is given by

(21)

E−=E−E′−Eb,i.E_{-} = E - E' - E_{b,i}.

The direction of the electron is assumed to be in the direction of the momentum transfer, with the cosine of the polar angle given by

(22)

μ−=E−E′μE2+E′2−2EE′μ\mu_{-} = \frac{E - E'\mu}{\sqrt{E^2 +E'^2 - 2EE'\mu}}

and the azimuthal angle ϕ−=ϕ+π\phi_{-} = \phi + \pi, where ϕ\phi is the azimuthal angle of the photon. The vacancy left by the ejected electron is filled through atomic relaxation.

6.1.3. Photoelectric Effect

In the photoelectric effect, the incident photon is absorbed by an atomic electron, which is then emitted from the ii-th shell with kinetic energy

(23)

E−=E−Eb,i.E_{-} = E - E_{b,i}.

Photoelectric emission is only possible when the photon energy exceeds the binding energy of the shell. These binding energies are often referred to as edge energies because the otherwise continuously decreasing cross section has discontinuities at these points, creating the characteristic sawtooth shape. The photoelectric effect dominates at low energies and is more important for heavier elements.

When simulating the photoelectric effect, the first step is to sample the electron shell. The shell ii where the ionization occurs can be considered a discrete random variable with probability mass function

(24)

pi=σpe,iσpe,p_i = \frac{\sigma_{\text{pe},i}}{\sigma_{\text{pe}}},

where σpe,i\sigma_{\text{pe},i} is the cross section of the ii-th shell, and the total photoelectric cross section of the atom, σpe\sigma_{\text{pe}}, is the sum over the shell cross sections. Once the shell has been sampled, the energy of the photoelectron is calculated using (23).

To determine the direction of the photoelectron, we implement the method described in Kaltiaisenaho, which models the angular distribution of the photoelectrons using the K-shell cross section derived by Sauter (K-shell electrons are the most tightly bound, and they contribute the most to σpe\sigma_{\text{pe}}). The non-relativistic Sauter distribution for unpolarized photons can be approximated as

(25)

dσpedμ−∝1−μ−2(1−β−μ−)4,\frac{d\sigma_{\text{pe}}}{d\mu_{-}} \propto \frac{1 - \mu_{-}^2}{(1 - \beta_{-} \mu_{-})^4},

where β−\beta_{-} is the ratio of the velocity of the electron to the speed of light,

(26)

β−=(E−(E−+2mec2)E−+mec2.\beta_{-} = \frac{\sqrt{(E_{-}(E_{-} + 2m_e c^2)}}{E_{-} + m_e c^2}.

To sample μ−\mu_{-} from the Sauter distribution, we first express (25) in the form:

(27)

f(μ−)=32ψ(μ−)g(μ−),f(\mu_{-}) = \frac{3}{2} \psi(\mu_{-}) g(\mu_{-}),

where

(28)

ψ(μ−)=(1−β−2)(1−μ−2)(1−β−μ−)2,g(μ−)=1−β−22(1−β−μ−)2.\begin{aligned} \psi(\mu_{-}) &= \frac{(1 - \beta_{-}^2)(1 - \mu_{-}^2)}{(1 - \beta_{-}\mu_{-})^2}, \\ g(\mu_{-}) &= \frac{1 - \beta_{-}^2}{2 (1 - \beta_{-}\mu_{-})^2}. \end{aligned}

In the interval [−1,1][-1, 1], g(μ−)g(\mu_{-}) is a normalized PDF and ψ(μ−)\psi(\mu_{-}) satisfies the condition 0<ψ(μ−)<10 < \psi(\mu_{-}) < 1. The following algorithm can now be used to sample μ−\mu_{-}:

  1. Using the inverse transform method, sample μ−\mu_{-} from g(μ−)g(\mu_{-}) using the sampling formula

    μ−=2ξ1+β−−12β−ξ1−β−+1.\mu_{-} = \frac{2\xi_1 + \beta_{-} - 1}{2\beta_{-}\xi_1 - \beta_{-} + 1}.

  2. If ξ2≤ψ(μ−)\xi_2 \le \psi(\mu_{-}), accept μ−\mu_{-}. Otherwise, repeat the sampling from step 1.

The azimuthal angle is sampled uniformly on [0,2π)[0, 2\pi).

The atom is left in an excited state with a vacancy in the ii-th shell and decays to its ground state through a cascade of transitions that produce fluorescent photons and Auger electrons.

6.1.4. Pair Production

In electron-positron pair production, a photon is absorbed in the vicinity of an atomic nucleus or an electron and an electron and positron are created. Pair production is the dominant interaction with matter at high photon energies and is more important for high-Z elements. When it takes place in the field of a nucleus, energy is essentially conserved among the incident photon and the resulting charged particles. Therefore, in order for pair production to occur, the photon energy must be greater than the sum of the rest mass energies of the electron and positron, i.e., (E_{\text{threshold,pp}} = 2 m_e c^2 = 1.022) MeV.

The photon can also interact in the field of an atomic electron. This process is referred to as “triplet production” because the target electron is ejected from the atom and three charged particles emerge from the interaction. In this case, the recoiling electron also absorbs some energy, so the energy threshold for triplet production is greater than that of pair production from atomic nuclei, with Ethreshold,tp=4mec2=2.044E_{\text{threshold,tp}} = 4 m_e c^2 = 2.044 MeV. The ratio of the triplet production cross section to the pair production cross section is approximately 1/Z, so triplet production becomes increasingly unimportant for high-Z elements. Though it can be significant in lighter elements, the momentum of the recoil electron becomes negligible in the energy regime where pair production dominates. For our purposes, it is a good approximation to treat triplet production as pair production and only simulate the electron-positron pair.

Accurately modeling the creation of electron-positron pair is important because the charged particles can go on to lose much of their energy as bremsstrahlung radiation, and the subsequent annihilation of the positron with an electron produces two additional photons. We sample the energy and direction of the charged particles using a semiempirical model described in Salvat. The Bethe-Heitler differential cross section, given by

(29)

dσppdϵ=αre2Z2[(ϵ2+(1−ϵ)2)(Φ1−4fC)+23ϵ(1−ϵ)(Φ2−4fC)],\frac{d\sigma_{\text{pp}}}{d\epsilon} = \alpha r_e^2 Z^2 \left[ (\epsilon^2 + (1-\epsilon)^2) (\Phi_1 - 4f_C) + \frac{2}{3}\epsilon(1-\epsilon)(\Phi_2 - 4f_C) \right],

is used as a starting point, where α\alpha is the fine structure constant, fCf_C is the Coulomb correction function, Φ1\Phi_1 and Φ2\Phi_2 are screening functions, and (\epsilon = (E_{-} + m_e c^2)/E) is the electron reduced energy (i.e., the fraction of the photon energy given to the electron). ϵ\epsilon can take values between ϵmin=k−1\epsilon_{\text{min}} = k^{-1} (when the kinetic energy of the electron is zero) and ϵmax=1−k−1\epsilon_{\text{max}} = 1 - k^{-1} (when the kinetic energy of the positron is zero).

The Coulomb correction, given by

(30)

fC=α2Z2[(1+α2Z2)−1+0.202059−0.03693α2Z2+0.00835α4Z4−0.00201α6Z6+0.00049α8Z8−0.00012α10Z10+0.00003α12Z12]\begin{aligned} f_C = \alpha^{2}Z^{2} \big[&(1 + \alpha^{2}Z^{2})^{-1} + 0.202059 - 0.03693\alpha^{2}Z^{2} + 0.00835\alpha^{4}Z^{4} \\ &- 0.00201\alpha^{6}Z^{6} + 0.00049\alpha^{8}Z^{8} - 0.00012\alpha^{10}Z^{10} + 0.00003\alpha^{12}Z^{12}\big] \end{aligned}

is introduced to correct for the fact that the Bethe-Heitler differential cross section was derived using the Born approximation, which treats the Coulomb interaction as a small perturbation.

The screening functions Φ1\Phi_1 and Φ2\Phi_2 account for the screening of the Coulomb field of the atomic nucleus by outer electrons. Since they are given by integrals which include the atomic form factor, they must be computed numerically for a realistic form factor. However, by assuming exponential screening and using a simplified form factor, analytical approximations of the screening functions can be derived:

(31)

Φ1=2−2ln⁡(1+b2)−4barctan⁡(b−1)+4ln⁡(Rmec/ℏ)Φ2=43−2ln⁡(1+b2)+2b2[4−4barctan⁡(b−1)−3ln⁡(1+b−2)]+4ln⁡(Rmec/ℏ)\begin{aligned} \Phi_1 &= 2 - 2\ln(1 + b^2) - 4b\arctan(b^{-1}) + 4\ln(Rm_{e}c/\hbar) \\ \Phi_2 &= \frac{4}{3} - 2\ln(1 + b^2) + 2b^2 \left[ 4 - 4b\arctan(b^{-1}) - 3\ln(1 + b^{-2}) \right] + 4\ln(Rm_{e}c/\hbar) \end{aligned}

where

(32)

b=Rmec2kϵ(1−ϵ)ℏ.b = \frac{Rm_{e}c}{2k\epsilon(1 - \epsilon)\hbar}.

and RR is the screening radius.

The differential cross section in (29) with the approximations described above will not be accurate at low energies: the lower boundary of ϵ\epsilon will be shifted above ϵmin\epsilon_{\text{min}} and the upper boundary of ϵ\epsilon will be shifted below ϵmax\epsilon_{\text{max}}. To offset this behavior, a correcting factor F0(k,Z)F_0(k, Z) is used:

(33)

F0(k,Z)= (0.1774+12.10αZ−11.18α2Z2)(2/k)1/2+(8.523+73.26αZ−44.41α2Z2)(2/k)−(13.52+121.1αZ−96.41α2Z2)(2/k)3/2+(8.946+62.05αZ−63.41α2Z2)(2/k)2.\begin{aligned} F_0(k, Z) =~& (0.1774 + 12.10\alpha Z - 11.18\alpha^{2}Z^{2})(2/k)^{1/2} \\ &+ (8.523 + 73.26\alpha Z - 44.41\alpha^{2}Z^{2})(2/k) \\ &- (13.52 + 121.1\alpha Z - 96.41\alpha^{2}Z^{2})(2/k)^{3/2} \\ &+ (8.946 + 62.05\alpha Z - 63.41\alpha^{2}Z^{2})(2/k)^{2}. \end{aligned}

To aid sampling, the differential cross section used to sample ϵ\epsilon (minus the normalization constant) can now be expressed in the form

(34)

dσppdϵ=u1ϕ1(ϵ)ϕ1(1/2)π1(ϵ)+u2ϕ2(ϵ)ϕ2(1/2)π2(ϵ)\frac{d\sigma_{\text{pp}}}{d\epsilon} = u_1 \frac{\phi_1(\epsilon)}{\phi_1(1/2)} \pi_1(\epsilon) + u_2 \frac{\phi_2(\epsilon)}{\phi_2(1/2)} \pi_2(\epsilon)

where

(35)

u1=23(12−1k)2ϕ1(1/2),u2=ϕ2(1/2),\begin{aligned} u_1 &= \frac{2}{3} \left(\frac{1}{2} - \frac{1}{k}\right)^2 \phi_1(1/2), \\ u_2 &= \phi_2(1/2), \end{aligned}

(36)

ϕ1(ϵ)=12(3Φ1−Φ2)−4fC(Z)+F0(k,Z),ϕ2(ϵ)=14(3Φ1+Φ2)−4fC(Z)+F0(k,Z),\begin{aligned} \phi_1(\epsilon) &= \frac{1}{2}(3\Phi_1 - \Phi_2) - 4f_{C}(Z) + F_0(k, Z), \\ \phi_2(\epsilon) &= \frac{1}{4}(3\Phi_1 + \Phi_2) - 4f_{C}(Z) + F_0(k, Z), \end{aligned}

and

(37)

π1(ϵ)=32(12−1k)−3(12−ϵ)2,π2(ϵ)=12(12−1k)−1.\begin{aligned} \pi_1(\epsilon) &= \frac{3}{2} \left(\frac{1}{2} - \frac{1}{k}\right)^{-3} \left(\frac{1}{2} - \epsilon\right)^2, \\ \pi_2(\epsilon) &= \frac{1}{2} \left(\frac{1}{2} - \frac{1}{k}\right)^{-1}. \end{aligned}

The functions in (36) are non-negative and maximum at (\epsilon = 1/2). In the interval (ϵmin,ϵmax)(\epsilon_{\text{min}}, \epsilon_{\text{max}}), the functions in (37) are normalized PDFs and ϕi(ϵ)/ϕi(1/2)\phi_i(\epsilon)/\phi_i(1/2) satisfies the condition (0 < \phi_i(\epsilon)/\phi_i(1/2) < 1). The following algorithm can now be used to sample the reduced electron energy ϵ\epsilon:

  1. Sample ii according to the point probabilities p(i=1)=u1/(u1+u2)p(i=1) = u_1/(u_1 + u_2) and p(i=2)=u2/(u1+u2)p(i=2) = u_2/(u_1 + u_2).

  2. Using the inverse transform method, sample ϵ\epsilon from πi(ϵ)\pi_i(\epsilon) using the sampling formula

    ϵ=12+(12−1k)(2ξ1−1)1/3    if  i=1ϵ=1k+(12−1k)2ξ1    if  i=2.\begin{aligned} \epsilon &= \frac{1}{2} + \left(\frac{1}{2} - \frac{1}{k}\right) (2\xi_1 - 1)^{1/3} ~~~~&\text{if}~~ i = 1 \\ \epsilon &= \frac{1}{k} + \left(\frac{1}{2} - \frac{1}{k}\right) 2\xi_1 ~~~~&\text{if}~~ i = 2. \end{aligned}

  3. If ξ2≤ϕi(ϵ)/ϕi(1/2)\xi_2 \le \phi_i(\epsilon)/\phi_i(1/2), accept ϵ\epsilon. Otherwise, repeat the sampling from step 1.

Because charged particles have a much smaller range than the mean free path of photons and because they immediately undergo multiple scattering events which randomize their direction, it is sufficient to use a simplified model to sample the direction of the electron and positron. The cosines of the polar angles are sampled using the leading order term of the Sauter–Gluckstern–Hull distribution,

(38)

p(μ±)=C(1−β±μ±)−2,p(\mu_{\pm}) = C(1 - \beta_{\pm}\mu_{\pm})^{-2},

where CC is a normalization constant and β±\beta_{\pm} is the ratio of the velocity of the charged particle to the speed of light given in (26).

The inverse transform method is used to sample μ−\mu_{-} and μ+\mu_{+} from (38), using the sampling formula

(39)

μ±=2ξ−1+β±(2ξ−1)β±+1.\mu_{\pm} = \frac{2\xi - 1 + \beta_{\pm}}{(2\xi - 1)\beta_{\pm} + 1}.

The azimuthal angles for the electron and positron are sampled independently and uniformly on [0,2π)[0, 2\pi).

6.2. Secondary Processes

New photons may be produced in secondary processes related to the main photon interactions discussed above. A Compton-scattered photon transfers a portion of its energy to the kinetic energy of the recoil electron, which in turn may lose the energy as bremsstrahlung radiation. The vacancy left in the shell by the ejected electron is filled through atomic relaxation, creating a shower of electrons and fluorescence photons. Similarly, the vacancy left by the electron emitted in the photoelectric effect is filled through atomic relaxation. Pair production generates an electron and a positron, both of which can emit bremsstrahlung radiation before the positron eventually collides with an electron, resulting in annihilation of the pair and the creation of two additional photons.

6.2.1. Atomic Relaxation

When an electron is ejected from an atom and a vacancy is left in an inner shell, an electron from a higher energy level will fill the vacancy. This results in either a radiative transition, in which a photon with a characteristic energy (fluorescence photon) is emitted, or non-radiative transition, in which an electron from a shell that is farther out (Auger electron) is emitted. If a non-radiative transition occurs, the new vacancy is filled in the same manner, and as the process repeats a shower of photons and electrons can be produced.

The energy of a fluorescence photon is the equal to the energy difference between the transition states, i.e.,

(40)

E=Eb,v−Eb,i,E = E_{b,v} - E_{b,i},

where Eb,vE_{b,v} is the binding energy of the vacancy shell and Eb,iE_{b,i} is the binding energy of the shell from which the electron transitioned. The energy of an Auger electron is given by

(41)

E−=Eb,v−Eb,i−Eb,a,E_{-} = E_{b,v} - E_{b,i} - E_{b,a},

where Eb,aE_{b,a} is the binding energy of the shell from which the Auger electron is emitted. While Auger electrons are low-energy so their range and bremsstrahlung yield is small, fluorescence photons can travel far before depositing their energy, so the relaxation process should be modeled in detail.

Transition energies and probabilities are needed for each subshell to simulate atomic relaxation. Starting with the initial shell vacancy, the following recursive algorithm is used to fill vacancies and create fluorescence photons and Auger electrons:

  1. If there are no transitions for the vacancy shell, create a fluorescence photon assuming it is from a captured free electron and terminate.
  2. Sample a transition using the transition probabilities for the vacancy shell as the probability mass function.
  3. Create either a fluorescence photon or Auger electron, sampling the direction of the particle isotropically.
  4. If a non-radiative transition occurred, repeat from step 1 for the vacancy left by the emitted Auger electron.
  5. Repeat from step 1 for vacancy left by the transition electron.

6.3. Photon Production

In coupled neutron-photon transport, a source neutron is tracked, and photons produced from neutron reactions are transported after the neutron’s history has terminated. Since these secondary photons form the photon source for the problem, it is important to correctly describe their energy and angular distributions as the accuracy of the calculation relies on the accuracy of this source. The photon production cross section for a particular reaction ii and incident neutron energy EE is defined as

(42)

σγ,i(E)=yi(E)σi(E),\sigma_{\gamma, i}(E) = y_i(E)\sigma_i(E),

where yi(E)y_i(E) is the photon yield corresponding to an incident neutron reaction having cross section σi(E)\sigma_i(E).

The yield of photons during neutron transport is determined as the sum of the photon yields from each individual reaction. In OpenMC, production of photons is treated in an average sense. That is, the total photon production cross section is used at a collision site to determine how many photons to produce rather than the photon production from the reaction that actually took place. This is partly done for convenience but also because the use of variance reduction techniques such as implicit capture make it difficult in practice to directly sample photon production from individual reactions.

In OpenMC, secondary photons are created after a nuclide has been sampled in a neutron collision. The expected number of photons produced is

(43)

n=wσγ(E)σT(E),n = w\frac{\sigma_{\gamma}(E)}{\sigma_T(E)},

where ww is the weight of the neutron, σγ\sigma_{\gamma} is the photon production cross section for the sampled nuclide, and σT\sigma_T is the total cross section for the nuclide. ⌊n⌋\lfloor n \rfloor photons are created with an additional photon produced with probability (n - \lfloor n \rfloor). Next, a reaction is sampled for each secondary photon. The probability of sampling the ii-th reaction is given by σγ,i(E)/∑jσγ,j(E)\sigma_{\gamma, i}(E)/\sum_j\sigma_{\gamma, j}(E), where ∑jσγ,j=σγ\sum_j\sigma_{\gamma, j} = \sigma_{\gamma} is the total photon production cross section. The secondary angle and energy distributions associated with the reaction are used to sample the angle and energy of the emitted photon.