CERN homepage INFN homepage
FLUKA: 8.3} Body data Previous Index Next

8.3} Body data


 The geometry must be specified by establishing two tables. The first
 table describes the type, size and location of the bodies used in the
 geometry description. The second table defines the physical regions
 in terms of these bodies.

 Each body TYPE is referred to by a three-letter code.

 There are three kinds of possible body input formats, two fixed and one free.
 Free format, if used, implies necessarily also the use of free format in
 region input (see below).

                           FIXED FORMAT BODY INPUT
                           -----------------------
 Fixed format for both body and region input is the default, unless requested
 differently by a GLOBAL command at the beginning of the input file.
 In fixed format, each body is defined by: its code, a sequential number, and a
 set of floating point numerical parameters defining its size, position and
 orientation in space (all in cm).
 
Default
fixed format is the original CG one as used in MORSE and in other Monte Carlo programs. It expects up to 6 floating point values per line. High-accuracy fixed format allows to enter numerical data with full precision (16 significant digits) and accommodates only a maximum of 3 floating point values per line. The fixed input format for each body depends on the value of the IDBG variable given in the Geometry Title card (see above). If IDBG = 0, 10 or 100, the body input format is (2X, A3, I5, 6D10.3); if IDBG = -10 or -100, the format is (2X, A3, I5, 3D22.15); where the 3-letter code in columns 3-5 is one of the following: ARB BOX ELL PLA QUA RAW RCC REC RPP SPH TRC WED XCC XEC XYP XZP YCC YEC YZP ZCC ZEC (columns 3-5 must be left blank in continuation cards). The following bodies are no longer maintained and should not be used. They will be removed in future releases. ARB BOX RAW WED The integer in columns 6-10 is the body sequential number (if left blank numbers are assigned automatically, but this is not recommended; it must be left blank in continuation cards). The floating-point numbers in columns 11-76 are geometrical quantities defining the body (their number depends on the body type as explained below, and can extend over several continuation lines). The presence of the decimal values in the numerical data is compulsory. After the last body description, end with a card having the code END in columns 3-5. FREE FORMAT BODY INPUT ---------------------- Free format is used for both body and region input only if requested by a GLOBAL command at the beginning of the input file or by the string COMBNAME in the
SDUM
field of the GEOBEGIN command. In free format, each body is defined by: its code, its identifier (an alphanumeric string of up to 8 characters, with the first character alphabetical) and a set of numerical parameters defining its size, position and orientation in space (all in cm). Free format has been introduced only recently and is expected to supersede soon the other formats, which will be kept however for reasons of back compatibility. Its main advantages, in addition to the freedom from strict alignment rules, are the possibility to modify the input sequence without affecting the region description (for instance, by inserting a new body) and the availability of parentheses to perform complex boolean operations in the description of regions. The input for each body consists of a 3-letter code indicating the body type: ARB BOX ELL PLA QUA RAW RCC REC RPP SPH TRC WED XCC XEC XYP XZP YCC YEC YZP ZCC ZEC followed by a unique "body name" (alphanumeric identifier) and a set of geometrical quantities defining the body (their number depends on the body type as explained below). The different items, separated by one or more blanks, or by one of the separators "," "%" ";" "\" ":" can extend over as many lines as needed. See option FREE for more detailed instructions on the use of separators. After the last body description, end with a line having the code END With all input formats, a card having an asterisk (*) in column 1 is treated as a comment card. Such comment cards can be inserted freely at any point of Body and Region input, allowing easier identification. Body types ----------

Previous Index Next