FLUKA

From medphysmc
Revision as of 14:12, 9 February 2015 by Kyt022 (talk | contribs)
Jump to: navigation, search

Information and examples on FLUKA Monte Carlo simulations

FLUKA wiki page for UoB Medphysmc. Here you can return to the main page or the GEANT4 page

Introduction to FLUKA

FLUKA is a general purpose Monte Carlo code and is used for a number of applications in experimental physics, dosimetry, detector design, medical physics and radio-biology.

Flair and Flair-Geoeditor

Flair is the Graphical user interface for FLUKA and is used for preparing the simulation as well as running the simulations, process and plot the data (through Gnuplot). Flair also contain a geometry viewer/editor named flair-geoviewer, which is used for visualization and editing of the simulation geometry.


{{#invoke:Multiple image|render}}

The Flair-Geoeditor

The Flair-Geoeditor (previously geoviewer)can be used for visualization and edition of the geometry. Several tutorials are available on youtube. See e.g. this tutorial on selection of regions and zones.


Installation and running

Installation

In order to install FLUKA you must, as a registered user, download the necessary software from the FLUKA web-page. At the University of Bergen we use Ubuntu and the 64bit Gfortran version of FLUKA, and this is what we recommend for new users at the university. If you wish to use a Windows-pc you can download FLUPIX. FLUPIX is Linux Live CD, with pre-installed FLUKA, flair and all the necessary tools in for performing fluka runs. In the packages.txt you will find a complete list of the packages currently included in the ISO image. To save disk space, FLUPIX is only able to run through the VirtualBox machine (www.virtualbox.org) a free and open source Virtual machine supported by Sun. More information on FLUPIX can be found here.


If you wish to install FLUKA, Flair and Flair-Geoviewer yourself, you can find a detailed installation guide here

Lectures, presentations and exercises

The best way to learn FLUKA is to attend one of the courses held by the FLUKA-team. If this is not an immediate option you can find a large number of lectures and exercises from both basic courses and advanced courses on the FLUKA web-page. Lectures and exercises from one of the beginners courses are available here.


Examples

Existing FLUKA projects

Simulations of a Therapeutic Proton Beam with FLUKA Monte Carlo Code and Varian Eclipse Proton Planning Software - Master thesis work by Kine Johnsen

The thesis is available in pdf format here.

Kine looked into the source.f user routine in FLUKA in order to be able to define more complex beams than a simple pencil beam. Some example files for creating Spread-Out-Bragg-Peaks for protons and Fluka input files are available here:

source_kine.f


Biasing exercise from Workshop