02.05.2014 Views

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

142 Chapter 4. Electron/positron transport mechanics<br />

The PDF of q is<br />

π(q) = p(s) ds<br />

dq<br />

= p(s)<br />

ds<br />

dE<br />

From eq. (4.88) it follows that π(q) satisfies the equation<br />

π(q) =<br />

Therefore, q is distributed exponentially,<br />

∫ ∞<br />

q<br />

dE<br />

dq = p(s) 1<br />

Σ h (s) . (4.92)<br />

π(q ′ ) dq ′ . (4.93)<br />

π(q) = exp(−q). (4.94)<br />

The PDF of the step length s is obtained by inverting the transformation (4.90),<br />

( ∫ s<br />

)<br />

p(s) = Σ h (s) exp − Σ h (s ′ ) ds ′ . (4.95)<br />

0<br />

It is not practical to sample s from this complicated PDF. It is much more convenient<br />

to sample q [as − ln ξ, cf. eq. (1.36)] and then determine s from (4.90), which can be<br />

inverted numerically (for practical details, see Berger, 1998). Although this sampling<br />

method effectively accounts for the energy dependence of Σ s (E), it is applicable only to<br />

simulations in the CSDA.<br />

A more versatile algorithm for sampling the position of hard events, still within the<br />

CSDA, is the following. We let the electron move in steps of maximum length s max , a<br />

value specified by the user. This determines the maximum energy loss along the step,<br />

ω max =<br />

∫ smax<br />

0<br />

S s (s) ds. (4.96)<br />

Let Σ h,max denote an upper bound for the inverse mean free path of hard events in the<br />

swept energy interval, i.e.<br />

Σ h,max > max {Σ h (E), E ∈ (E 0 − ω max , E 0 )} (4.97)<br />

We now assume that the electron may undergo fictitious events in which the energy and<br />

direction remain unaltered (delta interactions). The inverse mean free path of these<br />

interactions is defined as<br />

Σ δ (E) = Σ h,max − Σ h (E), (4.98)<br />

so that the inverse mean free path of the combined process (delta interactions + hard<br />

events) equals Σ h,max , a constant. Owing to the Markovian character of the processes,<br />

the introduction of delta interactions does not influence the path-length distribution<br />

between hard events. Therefore, the occurrence of hard events can be sampled by<br />

means of the following simple algorithm,<br />

(i) Sample a distance s from the exponential distribution with inverse mean free path<br />

Σ h,max , i.e. s = (− ln ξ)/Σ h,max .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!