I find myself once again using Fluka, and I would simply like to describe the electron source I want to simulate using an experimental energy distribution (“Spectr15.txt”).
I modified the file “source_newgen.f” accordingly, but Fluka doesn’t read the values from the file.
Obviously I’m making a mistake somewhere, but where?
I don’t see anything inherently wrong with your use of the source routine.
You may forgot to recompile your executable after changing the routine, thus you don’t see what you expect.
Two comments:
The Shape options on the BEAM card are ignored if you are using a source-newgen routine, you need to add the starting location sampling by hand.
The USRBDX card requires two regions which have a common surface to work.
thanks a lot for your answer. I disabled the SOURCE card on the input file and now it works.
Nevertheless, I got nothing when I try to plot the USRBDX generated histogram distribution as the_tab.lis file is empty (and this happens for every couple of adjacent regions I choose to look at).