Dear Zhouyang,
you can refer to these slides from the FLUKA course
https://indico.cern.ch/event/489973/contributions/2148893/
(from page 25).
In the source.f routine, you have to set the energy through the variable TKEFLK.
Then set PMOFLK accordingly using the formula that is usually commented in the source.f routine available from the FLUKA distribution.
Best, luigi
On 10 Sep 2018, at 15:41, 周洋 <zhouyang174_at_mails.ucas.ac.cn<mailto:zhouyang174_at_mails.ucas.ac.cn>> wrote:
Deer FLUKA experts,
I want to write an user-defined source. Its energy ranges from 1Kev to 1Mev. And each energy interval has the same flux or counts. So could you please give me some guidance on how to write this source in source.f?
Looking forward to you reply!
Zhouyang
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Sep 10 2018 - 18:53:30 CEST