asalzburger / sms2023-flag

0 stars 1 forks source link

fluka input file to do radiation length mapping #7

Closed huhtinen closed 1 year ago

huhtinen commented 1 year ago

Attached is an a FLUKA input file set for the radiation length mapping. The input card SOURCE in that file invokes the source routine, so a new FLUKA must be build with the attached sourceRay.f (remove the .txt). Compile it with the ./bin/fff provied in the FLUKA package and build the executable with ./bin/lfluka (adding the sourceRay.o to it). This source generates rays flat in eta form 0 to 2.5 with a 0.1 unit spacing (can be easily changed in the code). The file readRay.f can be used to convert the binary output to ASCII. Compile stand-alone with gfortran.

cylExampl.txt

sourceRay.f.txt readRay.f.txt