Re: [fluka-discuss]: How to define the source in source.f

From: Haoyu Shi <>
Date: Mon, 13 Aug 2018 15:01:09 +0800 (GMT+08:00)

Dear Yang,

In my opinion, you could take the source.f in routines folder as example. The distribution of position and energy should be described separately. For position, it should be evenly distribution, so just give the same change on all 3 axis. As for energy, it should be the same, but maybe you need to use switch case statements to describe it. And also, source file contains a lot of custom variables, eg, TKEFLK (NPFLKA) means energy of particle, XFLK(NPFLKA) means x postion of the particle, and so on.

Hope it right and helps.


Haoyu Shi

-----Original Messages-----
From:"周洋" <>
Sent Time:2018-08-13 10:15:13 (Monday)
Subject: [fluka-discuss]: How to define the source in source.f

Dear FLUKA experts

    I want to define an extended source by using SOURCE card. Its structure is cuboid. Its energy ranges from 1kev to 1Mev like white-light. So how should I write in source.f?

    Looking forward to your reply!

Zhou Yang

You can manage unsubscription from this mailing list at
Received on Mon Aug 13 2018 - 10:47:56 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 13 2018 - 10:47:58 CEST