28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Since the CSDA range is uniquely defined monotonic function of energy, its inverse, the energy of<br />

an electron with a given CSDA range, E C (R), can be trivially determined. Thus we have<br />

∆E(t) = E 0 − E C (R C (E 0 ) − t) (2.391)<br />

By interpolating tabulated values of R C (E) and E C (R), relating energy loss to distance traveled is<br />

straightforward.<br />

Implementation We begin with the energy loss integration, for which case we are looking for<br />

the largest ∆E for which<br />

1 − 1 ( ∣∣∣∣ ∆E dE<br />

t 2 dx (E −1<br />

0)<br />

∣ +<br />

dE<br />

∣ dx (E 1) ∣<br />

∣−1 ) < ɛ E (2.392)<br />

where t = R C (E 0 ) − R C (E 1 ), the pathlength as determined from the range tables, and represents<br />

the analytical value we wish to preserve within a relative error tolerance given by ɛ E . We use an<br />

iterative process, beginning with a value of ∆E that is 50% of E 0 and step down in 5% increments<br />

until the inequality is satisfied. We next look at scattering power, starting with the value of ∆E<br />

required by the stopping power integration. In this case, we numerically compute the integral of<br />

stored values of G 1 (E 0 ) times the stopping power for K 1 (∆E) and compare that value to that from<br />

the energy hinge trapezoidal integration,<br />

∆E<br />

2<br />

( ∣∣∣∣ dE<br />

−1<br />

)<br />

dx ∣ (E 0 )G 1 (E 0 ) +<br />

dE<br />

−1<br />

∣ dx ∣ (E 1 )G 1 (E 1 )<br />

If the difference is greater than ɛ E , we reduce ∆E by 5% and continue until the difference is less<br />

than ɛ E .<br />

A treatment for the maximum hinge steps which preserve the mean free path (using Equations<br />

2.386 and 2.384) and total scattering probability (using Equations 2.385 and 2.387) for hard<br />

collisions to within ɛ E is still being developed.<br />

2.15.8 Multiple Scattering Step-size Specification Using Fractional Energy Loss<br />

Parameters<br />

To control multiple scattering step-sizes, it would seem logical for <strong>EGS5</strong> to require specification<br />

of cos Θ, because K 1 is very close to 1 − 〈cos Θ〉 (see Equation 2.375). However, because electron<br />

scattering power changes (increases) much more rapidly than stopping power as an electron slows<br />

below an MeV or so, fixing K 1 for the entire electron trajectory results in taking much, much<br />

smaller steps for lower energy electrons than the fixed fractional energy loss method using ESTEPE<br />

of EGS4, given the same step size at the initial (higher) energy. For example, the value of K 1<br />

corresponding to a 2% energy loss for a 10 MeV electron in water corresponds to a 0.3% energy loss<br />

at 500 keV. Thus a step-size control mechanism based on constant scattering strength would force<br />

so many small steps at lower energies that <strong>EGS5</strong> could be slower than EGS4 for certain problems,<br />

111

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

Saved successfully!

Ooh no, something went wrong!