Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Introduction to FLUKA

Introduction to FLUKA

Here’s where to find FLUKA (Ahdida et al. (2022), Battistoni et al. (2015)).

And here’s where to find FLAIR (Donadon et al. (2024)), the graphical user interface (GUI) for FLUKA and other radiation-transport codes.

Learning resources

Complete lectures and exercises are freely available online, direct from the horse’s mouth.

Step 1

On FLUKA home page, look for link to the latest course. There are Beginner and Advanced courses. Choose the one you like.

In case no course is visible, find one from more.

Step 2

On the course page, click indico page.

Step 3

On the indico page, click Timetable.

Step 4

On the timetable page, the paper clips throughout the timetable will lead to the freely downloadable lecture and exercise files.

Step 5

Have fun.


From experiments to simulation


A little more specific


Blackhole is not vacuum


History


Examples


Running


After the run


Not quite what we wanted


Detective


Files and extensions


The first input file


Decks and syntax


Terminal-Flair correspondence


Preprocessor


Preprocessor example


Range of involvement


User routines


Applications of user routines


Heart of the code


Geometry


Bodies, regions, materials


Names or numbers


2D plot


We are going to move


One way of doing it


A shortcut


Errors!


Errors explained


Complex geometries


Combinatorial geometries


Boolean


Input decks, 2D and 3D plots


2D sectioning


An empty 2D section


More 2D sections


Another example


An empty section


An easy example


Auto-scanning for errors


Lattice


One prototype, any number of lattices


A single edit does it


Rot-defi


Voxels


Examples of voxel geometry


Defining voxels


Memory


Scoring or tallying


Normalization


Normalization: an example


Spatial bins or mesh tally


AUXSCORE


Volume


Energy balance


Contributing components


USRBIN on voxel geometry


Track-length apportioning


How track-length apportioning works


When to use


More scoring


RESNUCLEi


RESNUCLEi explained


Counters


Secondaries from inelastic collisions


Number of stars


Stopping particles


FLUKA-MCNP cheatsheet

MCNP

FLUKA

surface

body

cell

region

combinatorial geometry:

- is for inside and left

+ is for outside and right

+/- senses are reversed

Unit for energy: MeV

GeV

tally

scoring

variance reduction

biasing

history

primary

mesh tally

USRBIN

PTRAC

various user routines

can do criticality

no criticality

can use Message Passing Interface (MPI)

no MPI


References
  1. Ahdida, C., Bozzato, D., Calzolari, D., Cerutti, F., Charitonidis, N., Cimmino, A., Coronetti, A., D’Alessandro, G. L., Donadon Servelle, A., Esposito, L. S., Froeschl, R., García Alía, R., Gerbershagen, A., Gilardoni, S., Horváth, D., Hugo, G., Infantino, A., Kouskoura, V., Lechner, A., … Widorski, M. (2022). New Capabilities of the FLUKA Multi-Purpose Code. Frontiers in Physics, 9. 10.3389/fphy.2021.788253
  2. Battistoni, G., Boehlen, T., Cerutti, F., Chin, P. W., Esposito, L. S., Fassò, A., Ferrari, A., Lechner, A., Empl, A., Mairani, A., Mereghetti, A., Ortega, P. G., Ranft, J., Roesler, S., Sala, P. R., Vlachoudis, V., & Smirnov, G. (2015). Overview of the FLUKA code. Annals of Nuclear Energy, 82, 10–18. 10.1016/j.anucene.2014.11.007
  3. Donadon, A., Hugo, G., Theis, C., & Vlachoudis, V. (2024). FLAIR3 – recasting simulation experiences with the Advanced Interface for FLUKA and other Monte Carlo codes. EPJ Web of Conferences, 302, 11005. 10.1051/epjconf/202430211005