How to install Fluka

Install Flair

http://www.fluka.org/flair/download.html

use flair to start flair

The typical structure of a FLUKA input file is the following:

  • Titles and comments for documentation purposes (optional, but recommended)
  • Description of the problem geometry (solid bodies and surfaces, combined to partition space into regions) (mandatory)
  • Definition of the materials (mandatory unless pre-defined materials are used)
  • Material assignments (correspondence material-region, mandatory)
  • Definition of the particle source (mandatory)
  • Definition of the requested "detectors". Each of these is a phase space domain (region of space, particle direction and energy) where the user wants to calculate the expectation value of a physical quantity such as dose,
    fluence, etc. Various kinds of detectors are available, corresponding to different quantities and to different algorithms used to estimate them ("estimators"). Detectors are optional, but one at least is expected, at least in the production phase
  • Definition of biasing schemes (optional)
  • Definition of problem settings such as energy cutoffs, step size, physical effects not simulated by default, particles not to be transported, etc.
    (optional)
  • Initialisation of the random number sequence (mandatory if an estimation of the statistical error is desired)
  • Starting signal and number of requested histories (mandatory)

A fluka beginner's guide: http://www.fluka.org/fluka.php?id=man_onl&sub=4

fluka geometry:https:

www.fluka.org/free_download/course/heidelberg2011/Lectures/Geometry0311.pdf

bodies: basic convex objects, plus infinite planes, infinite cylinders and generic quadric surfaces

Zones - sub-regions defined only with intersection and subtraction of bodies

Regions - defined as boolean operations of bodies (union of zones)

Lattices - duplication of existing objects (translated & rotated), will be explained in a separate lecture

body type:

3-character code of available bodies:
 RPP: Rectangular ParallelePiped
 SPH: SPHere
 XYP, XZP, YZP: Infinite half space delimited by a coordinate plane
 PLA: Generic infinite half-space, delimited by a PLAne
 XCC, YCC, ZCC: Infinite Circular Cylinder, parallel to coordinate axis
 XEC, YEC, ZEC: Infinite Elliptical Cylinder, parallel to coordinate axis
 RCC: Right Circular Cylinder
 REC: Right Elliptical Cylinder
 TRC: Truncated Right angle Cone
 ELL: ELLipsoid of revolution
 QUA: QUAdric

Other bodies ARB, RAW, WED, BOX, don’t use them, they cause sometimes rounding problem

The Black Hole:

To avoid infinite tracking the particles must be stopped somewhere. This has to be insured by the user by defining a region surrounding the geometry and assigning the material

BLCKHOLE to it.

The outer surface of this region must be defined by a single closed body (generally an RPP or a Sphere).All particles that enter the blackhole are absorbed (they

disappear). Further blackhole regions can be defined by the user if necessary.

Combinatorial Geometry Input

CG input must respect the following sequential order:

GEOBEGIN card

VOXELS card (optional, see Voxel lecture)

Geometry title (and reading format options)

Body data

END card (not needed in flair)

Region data

END card (not needed in flair)

LATTICE cards (optional, see Lattice lecture)

Region volumes

(optionally requested by a flag in the Geometry title, used together with the

SCORE command)

GEOEND card

GEOBEGIN card

The meanings of the WHAT and SDUM parameters are:

WHAT(1) flag for switching off geometry error messages: don't touch!!

Default = 0.0 (all geometry error messages are printed)

WHAT(2) used to set the accuracy parameter – use with care !

WHAT(3) = logical unit for the geometry input.

If > 0.0 and different from 5, the name of the corresponding

file must be input on the next card. Otherwise, the geometry

input follows.

WHAT(4) = logical unit for the geometry output. If > 0.0 and different

from 11, the name of the corresponding file must be input on

the next card. Otherwise, geometry output is printed on the

standard output.

WHAT(5) Parenthesis optimization level (see FLUKA manual)

WHAT(6) not used

SDUM = COMBNAME or COMBINAT

COMBNAME selects free format, COMBINAT fixed format

Default: COMBINAT (!)

Can be overwritten by WHAT(5) of a possible GLOBAL card

The geometry title card


This card has no keyword, it is the line that follows the GEOBEGIN card

(unless voxels are used).

Three variables are input in the CG Title card: IVOPT, IDBG, TITLE.

The format is (2I5, 10X, A60).

The first integer value (IVOPT = Input Volumes OPTion) indicates

how to normalize the quantities scored in regions by the option SCORE

IVOPT = 0 ƒ no region volumes will be input before GEOEND

IVOPT = 3 ƒ region volumes will be input before GEOEND. As many

volume values must be input as there are geometry regions, in this

format: (7E10.5).

IDBG is a flag used to request different kinds of geometry fixed format

input.

IDBG = 0 : default fixed format

IDBG = -10 or -100 : high accuracy fixed format


Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2014-06-27 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback