I need to write a user defined scoring to correctly asses the dose response of cr-39 dosemeters. I encontering problems when I call the GETLET function to assess the LET of a particle. I tried every configuration for particles, materials and energies. Every times the run freeze itself at the first iteration going in timeout. I tried all the entry of mgdraw but everytime the results is the same. Particle, energy, momentum, delta ray threshold and material are all well definied. Do you have any advice on own to fix it or use correctly GETLET?
Best regards, Alessandro Calamida.
Input files
Please upload all relevant files. (FLUKA input file, Flair project file, user routines, and data files)
The fluka version I am using is FLUKA2025 Version 1.2 Nov-25 and the flair one is flair 2.3f. I also attached the input and the mgdraw routine.
The problem that I am analysing is the estimation of the dose response for neutron of a cr39 dosemeter. In the input I put myself in a very easy configuration. I have the cr39 and a polyethylene layer covering it. To evaluate its response I need to estimate the LET produced on the cr39. To estimate it I was following the article attached to this message. Everything went fine until I have to use the GETLET function. Everytime the code arrive to that poin it freeze and it will not run anymore until it will go in timeout. I tried different combination of particles, energy and material to see if it was a problem due to the input but the run freeze everytime.
So, I think there is a problem in how I call the function or maybe I have to activate some physincs card that I did not put in the run.
Best regards and thank you for your time, Alessandro Calamida.
What is the problem with my FLUKA? It is not the last version of Febbruary 2026 but the November 2025 that is still working correctly and I check the mgdraw source and it not seems to be changed at all.
Anyway, I managed to solve it, it seems that the GETLET function can be called only when the transport of all the particles produced in that event is finished. So, you have to save the transport data of the particles in an array and then call the GETLET in the EEDRAW entry.
Best regards and thank you for your time, Alessandro Calamida.
In which measurements units the GETLET FLUKA function gives the results? I tried searching on the manual and in various discussione and I could not find the answer.
Best regards and thank you for your time, Alessandro Calamida.
Input files
Please upload all relevant files. (FLUKA input file, Flair project file, user routines, and data files)
Please take note of the message at the quoted webpage and be aware that the last FLUKA version from the official FLUKA distribution channel - that is the one supported in this forum - is currently 4-5.1, released last September. You are kindly requested to refer to it in future communications.
You just need to make sure that your Fortran code and the variables you pass are correct.
Here is a working example based on your input: cr39_n.flair (2.4 KB) mgdraw.f (9.8 KB)