![]() |
![]() |
----------------------------- In summary, the input file for our basic example (example.inp), name-based and written in fixed format, could be the following:*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8TITLE Charged pion fluence inside and around a proton-irradiated Be target*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8BEAM 50.E+00 PROTON BEAMPOS 0.0 0.0 -50.0*GEOBEGIN COMBNAME 0 0 A simple Be target inside vacuum RPP blakhole -5000000.0 +5000000.0 -5000000.0 +5000000.0 -5000000.0 +5000000.0 RPP vacumbox -1000000.0 +1000000.0 -1000000.0 +1000000.0 -100.0 +1000000.0 RPP betarget -10.0 +10.0 -10.0 +10.0 0.0 +5.0* plane to separate the upstream and downstream part of the targetXYP cutplane 2.5 END* black holeBlckhole 5 +blakhole -vacumbox* vacuum aroundVacarund 5 +vacumbox -betarget* Be target 1st halfUpstrBe 5 +betarget +cutplane* Be target 2nd halfDwnstrBe 5 +betarget -cutplane END GEOEND*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8MATERIAL 4.0 0.0 1.848 5.0 BERYLLIU*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8* Be target, 1st and 2nd halfASSIGNMAT BERYLLIU UpstrBe DwnstrBe* External Black HoleASSIGNMAT BLCKHOLE Blckhole* VacuumASSIGNMAT VACUUM Vacarund*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8* e+e- and gamma production threshold set at 10 MeVEMFCUT -0.010 0.010 1.0 BERYLLIU PROD-CUT* score in each region energy deposition and stars produced by primariesSCORE ENERGY BEAMPART* Boundary crossing fluence in the middle of the target (log intervals, one-way)USRBDX 99.0 PIONS+- -47.0 UpstrBe DwnstrBe 400. piFluenUD USRBDX +50.0 +50.0 0.0 10.0 &* Boundary crossing current in the middle of the target (log intervals, one-way)USRBDX -1.0 PIONS+- -47.0 UpstrBe DwnstrBe 400. piCurrUD USRBDX +50.00 +50.0 0.0 10.0 &* Tracklength fluence inside the target, Upstream part and Downstream part* Logarithmic energy intervalsUSRTRACK -1.0 PIONS+- -48.0 UpstrBe 1000.0 20. piFluenU USRTRACK 50.0 0.001 & USRTRACK -1.0 PIONS+- -49.0 DwnstrBe 1000.0 20. piFluenD USRTRACK 50.0 0.001 &* Cartesian binning of the pion fluence inside and around the targetUSRBIN 10.0 PIONS+- -50.0 50.0 50.0 50. piFluBin USRBIN -50.0 -50.0 -10.0 100.0 100.0 60.0 &* Cartesian binning of the deposited energy inside the targetUSRBIN 10.0 ENERGY -51.0 10.0 10.0 5. Edeposit USRBIN -10.0 -10.0 0.0 20.0 20.0 5.0 &*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8RANDOMIZe 1.0*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8START 100000.0 STOP The same input file, number-based and using the free format option for the FLUKA commands, but not for the geometry, can instead be written as follows:*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8TITLE Charged pion fluence inside and around a proton-irradiated Be target*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8GLOBAL 2.0 BEAM 50.E+00 0. 0. 0. 0. 0. PROTON BEAMPOS 0. 0. -50.0 0. 0. 0. ' '*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8GEOBEGIN COMBINAT A simple Be target inside vacuum RPP 1-5000000.0+5000000.0-5000000.0+5000000.0-5000000.0+5000000.0 RPP 2-1000000.0+1000000.0-1000000.0+1000000.0 -100.0+1000000.0 RPP 3 -10.0 +10.0 -10.0 +10.0 0.0 +5.0 XYP 4 2.5 END* black holeBH1 5 +1 -2* vacuum aroundVA2 5 +2 -3* Be target 1st halfBE3 5 +3 +4* Be target 2nd halfBE4 5 +3 -4 END GEOEND MATERIAL 4.0 0.0 1.848 5.0 0. 0. BERYLLIU* Be target, 1st and 2nd halfASSIGNMAT 5.0 3.0 4.0 0. 0. 0.* External Black HoleASSIGNMAT 1.0 1.0 0. 0. 0. 0.* VacuumASSIGNMAT 2.0 2.0 0. 0. 0. 0.* e+e- and gamma production threshold set at 10 MeVEMFCUT -0.010 0.010 1.0 5.0, , , PROD-CUT* score in each region energy deposition and stars produced by primariesSCORE 208.0 210. 0. 0. 0. 0.* Boundary crossing fluence in the middle of the target (log intervals, one-way)USRBDX 99.0 +209.0 -47.0 3.0 4.0 +400.0 piFluenUD USRBDX +50.00 0. +50.0 0. 0. 10.0 &* Boundary crossing current in the middle of the target (log intervals, one-way)USRBDX -1.0 +209.0 -47.0 3.0 4.0 +400.0 piCurrUD USRBDX +50.00 0. +50.0 0. 0. 10.0 &* Tracklength fluence inside the target, Upstream part and Downstream part* Logarithmic energy intervalsUSRTRACK -1.0 209.0 -48.0 3.0 1000.0 20. piFluenU USRTRACK 50.0 0.001 0. 0. 0. 0. & USRTRACK -1.0 209.0 -49.0 4.0 1000.0 20. piFluenD USRTRACK 50.0 0.001 0. 0. 0. 0. &* Cartesian binning of the pion fluence inside and around the targetUSRBIN 10.0 209.0 -50.0 50.0 50.0 50. piFluBin USRBIN -50.0 -50.0 -10.0 100.0 100.0 60.0 &* Cartesian binning of the deposited energy inside the targetUSRBIN 10.0 208.0 -51.0 10.0 10.0 5. Edeposit USRBIN -10.0 -10.0 0.0 20.0 20.0 5.0 & RANDOMIZe 1.0 0. 0. 0. 0. 0. START 100000.0 0. 0. 0. 0. 0. STOP Other possible combinations are name-based free format and number-based fixed format.