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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

154 Chapter 5. Constructive quadric geometry<br />

son et al., 1985), egsnrc (Kawrakow and Rogers, 2000), geant3 (Brun et al., 1986)]<br />

have recourse to condensed (class I) or mixed (class II) simulation, where the global<br />

effect of multiple interactions along a path segment of a given length is evaluated using<br />

available multiple scattering theories. To avoid large step lengths that could place the<br />

particle inside a different medium, these condensed procedures require the evaluation<br />

of the distance from the current position to the nearest interface, an operation with a<br />

high computational cost (see e.g. Bielajew, 1995). The mixed procedure implemented<br />

in penelope is, at least computationally, analogous to detailed simulation (it gives a<br />

“jump-and-knock” description of particle tracks). In fact, the structure of penelope’s<br />

tracking algorithm was designed to minimize the influence of the geometry on the transport<br />

physics. This algorithm operates independently of the proximity of interfaces and<br />

only requires knowledge of the material at the current position of the particle. As a<br />

consequence, the geometry package pengeom is directly linkable to penelope. However,<br />

since pengeom does not evaluate the distance to the closest interface, it cannot<br />

be used with condensed simulation codes, such as those mentioned above.<br />

Let us mention, in passing, that in simulations of high-energy photon transport<br />

complex geometries can be handled by means of relatively simple methods, which do<br />

not require control of interface crossings (see e.g. Snyder et al., 1969). Unfortunately,<br />

similar techniques are not applicable to electron and positron transport, mainly because<br />

these particles have much shorter track lengths and, hence, the transport process is<br />

strongly influenced by inhomogeneities of the medium. With the analogue simulation<br />

scheme adopted in penelope, it is necessary to determine when a particle track crosses<br />

an interface, not only for electrons and positrons but also for photons.<br />

pengeom evolved from a subroutine package of the same name provided with the<br />

1996.02.29 version of the penelope code system. This package was aimed at describing<br />

simple structures with a small number of homogeneous bodies limited by quadric surfaces.<br />

Although it was robust and very flexible, its speed deteriorated rapidly when the<br />

number of surfaces increased. The need for developing a more efficient geometry package<br />

became evident when we started to use penelope to simulate radiation transport in<br />

accelerator heads (the description of which requires of the order of 100 surfaces) or in<br />

studies of total body irradiation (the definition of a realistic anthropomorphic phantom<br />

may involve a few hundred surfaces).<br />

With pengeom we can describe any material system consisting of homogeneous<br />

bodies limited by quadric surfaces. To speed up the geometry operations, the bodies<br />

of the material system can be grouped into modules (connected volumes, limited by<br />

quadric surfaces, that contain one or several bodies); modules can in turn form part of<br />

larger modules, and so on. This hierarchic modular structure allows a reduction of the<br />

work of the geometry routines, which becomes more effective when the complexity of<br />

the system increases.<br />

Except for trivial cases, the correctness of the geometry definition is difficult to check<br />

and, moreover, 3D structures with interpenetrating bodies are difficult to visualize.<br />

A pair of programs, named gview2d and gview3d, have been written to display

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

Saved successfully!

Ooh no, something went wrong!