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.

166 Chapter 5. Constructive quadric geometry<br />

10 15 cm radius) that is supposed to satisfy this condition. Make sure that the<br />

system does not contain bodies that extend outside the enclosure (this normally<br />

will cause errors).<br />

◦ The rotation and the translation are optional and apply to all elements of the<br />

module. The line filled with 1’s ends the definition of elements and starts that of<br />

transformation parameters (it can be skipped if no transformation parameters are<br />

entered). The I3 value following each parameter has the same meaning as above.<br />

It has to be negative or zero to make the parameter value effective; otherwise, the<br />

parameter must be set from the main program.<br />

A single surface can be used to define several bodies and/or submodules in the same<br />

module; unnecessary duplication of a surface reduces the calculation speed. Notice,<br />

however, that rotation or translation of a module modifies all the surfaces of its descendants<br />

and, therefore, a transformed surface must be redefined to be used again. Thus,<br />

if the system contains two identical modules in different positions (e.g. two detectors<br />

in a coincidence experiment), each of them must be defined explicitly. This does not<br />

require too much editing work; after generating the first of the two modules, we can just<br />

duplicate its definition data sets and change their labels.<br />

The INCLUDE option allows inserting a predefined structure (e.g. a scintillation detector,<br />

an encapsulated nuclear source, . . . ) within the geometry file. The inserted<br />

structure is defined by a complete definition file (i.e. ending with an “END-----” line).<br />

The labels of the objects in the included file must be different from the labels used in<br />

the main file and in any other included file. The format of an INCLUDE block is the<br />

following,<br />

0000000000000000000000000000000000000000000000000000000000000000<br />

INCLUDE<br />

FILE= (filename.ext)<br />

0000000000000000000000000000000000000000000000000000000000000000<br />

The name of the included file must be written between the parentheses. It may be up<br />

to twelve characters long; if it is shorter, the blanks must be left at the right end of<br />

the field. Only one-level INCLUDES are allowed, i.e. an included file cannot contain any<br />

INCLUDE blocks.<br />

The definition of the geometry may seem somewhat more laborious than with combinatorial<br />

methods, where the system is described by combining basic bodies of several<br />

simple shapes [see Jenkins et al. (1988) and references therein]. In practice, however,<br />

defining the various surfaces that limit a body may be more convenient, and intuitive,<br />

than considering all the parameters needed to specify that body. The example of a right<br />

elliptical cylinder, which needs 9 parameters, is quite illustrative. With our method, this<br />

body can be defined as a module by means of two planes perpendicular to the z-axis<br />

(only one parameter if the base is the z = 0 plane) and a scaled cylinder (2 parameters);<br />

the rotation (3 parameters) of the module gives the required orientation and the<br />

translation (3 parameters) puts it in the required position. The definition as a proper<br />

body requires defining the three surfaces that limit the cylinder in its actual position,

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

Saved successfully!

Ooh no, something went wrong!