Hi dear FLUKA experts,
From my understanding so far, one has to call SOURCE subroutine and write some FORTRAN code to read values from a file. Since I do not know any FORTRAN code and have very little coding experience, I would like to know if there’s some way to get around this to save some time and effort.
For example, how could I easily import the values if I have a table of data contains the info regarding bin width and normalized probability? Which the file would look like below.
Thank you in advance.
Martin
Energy Probability
0 0
1.1 0
1.25 3.4940E-02
1.5 4.8413E-02
1.75 4.1296E-02
2 3.5949E-02
2.25 3.1865E-02
2.5 2.8611E-02
2.75 2.5871E-02
3 2.3387E-02
3.5 4.0518E-02
4 3.4624E-02
4.5 3.0095E-02
5 2.6497E-02
5.5 2.2476E-02
6 1.9628E-02
7 3.1223E-02
8 2.4502E-02
9 1.9318E-02
10 1.5674E-02
12.5 2.7479E-02
15 1.7925E-02
17.5 1.4363E-02
20 1.1997E-02
22.5 1.0669E-02
25 9.7550E-03
27.5 8.8401E-03
30 8.3952E-03
35 1.5977E-02
40 1.4566E-02
45 1.3245E-02
50 1.2562E-02
55 1.1663E-02
60 1.0896E-02
70 2.0015E-02
80 1.8003E-02
90 1.5916E-02
100 1.4439E-02
125 3.1159E-02
150 2.5268E-02
175 2.0590E-02
200 1.7193E-02
225 1.4499E-02
250 1.2379E-02
275 1.1029E-02
300 9.6526E-03
350 1.6360E-02
400 1.3571E-02
450 1.1483E-02
500 9.4628E-03
550 7.2156E-03
600 4.5709E-03
700 3.5079E-03
800 4.6758E-04