Versions
FLUKA:4-5.1
Flair:3.4-5.2
Operating system:Ubuntu 24.04.4 LTS
Description
Hi everyone,
I am learning FLUKA and Flair, and I am having trouble completing an exercise from the beginner course.
Here are the guidelines for the exercise:Input Configuration:
10 MeV electron beam
Circular beam with 2 mm radius
5 mm radius target split into three layers, each 50 μm thick
Layer materials: H2O – Pb – Al
Thin layers require high tracking precision, so set
DEFAULTS PRECISIO(should already be set)Define three preprocessor variables:
HI-THR,LOW-THR,VLOW-THR
USRBINscoringDOSEover the entire target: 1 μm bins in Z, 1 μm bins in R, unformatted unit 55Add
EMFCUTandDELTARAYcards:Set both production and transport thresholds in all materials.
(Hint: use
@LASTMAT/@LASTREGas needed to refer to the last material or region)Threshold cases:
#if HI-THR photons: 1 keV , electrons: 1 MeV kinetic energy, FUDGEM=1 #elif LOW-THR photons: 1 keV , electrons: 100 keV kinetic energy, FUDGEM=1 #elif VLOW-THR photons: 1 keV , electrons: 10 keV kinetic energy, FUDGEM=0.5 #endif
- Note: The default electron threshold is 100 keV in the case of
PRECISIOn.- Reminder: Stopping powers and ranges for electrons, protons, and He ions are available on the NIST webpage: NIST: Introduction of ESTAR, PSTAR, and ASTAR
My Issue:
I have attached my current project files (
.flair/.inp) as well as an image of the expected results I am trying to achieve.
The problem is that I cannot get the simulation to run properly. Either FLUKA gets stuck running indefinitely, or I encounter multiple definition/formatting errors, and I cannot figure out what is going wrong with my setup.
Any help or guidance would be greatly appreciated. Thank you in advance!
Input files
aula09.inp (1.9 KB)
aula09.flair (2.5 KB)
