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.

2.15.5 <strong>EGS5</strong> Transport Mechanics Algorithm<br />

The transport between hard collisions (bremsstrahlung or delta-ray collisions) is superimposed on<br />

the decoupled hinge mechanics as an independent, third possible transport process. To retain the<br />

decoupling of geometry from all physics processes, for hard collisions <strong>EGS5</strong> holds fixed over all<br />

boundary crossing an initially sampled number of mean free paths before the next hard collision,<br />

updating the corresponding distance (computed from the new total cross section), when entering<br />

a new region. Again, while the random energy hinge preserves the average distance between hard<br />

collisions, it does not preserve the exact distribution of collision distances if the hard collision cross<br />

section exhibits an energy dependence between the energy hinges. In practice, however, this leads<br />

to only small errors in cases where the energy hinge steps are very large and the hard collision<br />

mean free path is sharply varying with energy.<br />

Thus the dual random hinge transport mechanics can be described as follows: at the beginning<br />

of the particle simulation, four possible events are considered: an energy loss hinge (determined<br />

by a hinge on specified energy loss ∆E); a multiple scattering hinge (determined by a hinge on<br />

a specified scattering strength K 1 ); a hard collision (specified by a randomly sampled number of<br />

mean free paths); and boundary crossing (specified by the problem geometry). The distances to<br />

each of these possible events is computed using the appropriate stopping power, scattering power,<br />

total cross section or region geometry, and the particle is transported linearly through the shortest<br />

of those 4 distances. The appropriate process is applied, values of the stopping power, scattering<br />

power, cross section and boundary condition are updated if need be, and new values of the distances<br />

to the varies events are computed to reflect any changes. Transport along all hinges then continues<br />

through to the next event. Effectively, there are four transport processes occurring simultaneously<br />

at each single translation of the electron.<br />

The details of the implementation of the dual random hinge, because it is such a radical departure<br />

from other transport mechanics models, can sometimes lead to some confusion (and, in any<br />

case, the energy hinge definitely leads to important implications for many common tallies), and so<br />

we present an expanded explication here. Ignoring hard collisions and boundary crossings for the<br />

moment and generalizing here for the sake of brevity, we note that a step t involves transport over<br />

the initial step prior to the hinge a distance t init given by (ζt) followed by transport through the<br />

residual step distance t resid by ((1 − ζ)t). In practice, once a particle reaches the hinge point at<br />

t init , we do not simply transport the particle through t resid to the end of the current step, because<br />

nothing actually occurs there, as the physics was applied at the hinge point. So instead, immediately<br />

after each hinge the distance to the next hinge point is determined and total step that the<br />

particle must be transported before it reaches its next hinge is given by t step = t 1 resid + t2 init , where<br />

the superscripts refer to the 1 st and 2 nd hinges steps. We thus have the somewhat counter-intuitive<br />

situation in that when a particle is translated between two hinge points, it is actually being moved<br />

a distance which corresponds to the residual part of one transport step plus the initial part of the<br />

second transport step. Thus we distinguish between translation hinge steps, over which particles<br />

are moved from one hinge point to the next, linearly and with constant energy, and transport steps,<br />

which refer to the conventional condensed history Monte Carlo distances over which energy losses<br />

and multiple scattering angles are computed and applied. Translation hinge steps and transport<br />

104

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

Saved successfully!

Ooh no, something went wrong!