Re: Problem with reading external source data

From: Mohammad Islam <>
Date: Thu, 29 Nov 2012 16:37:55 -0600

Dear fluka experts,

Thanks Dr. paola and Dr. stefan for your help.
At this point, I can read the external source particles generated in step
one. But they dont seem move forward in the phantom in step 2. Because, in
such case I should see a Bragg peak but I dont see though. It looks like I
have some problem in the source routine (as source_step2.f in the attached
folder). Could any one please help me in this regard or can any one help me
with a working source routine in such cases. I am attaching all the files.

Thank you very much.

Graduate Student, Oklahoma State Univesity

> On Wed, Nov 14, 2012 at 8:21 AM, Paola Sala <> wrote:
>> Dear Mohammad Rafiqul Islam,
>> there are at least two problems with your data file:
>> - the first one is that it is not written with a well defined format,
>> while the source routine tries to read it with a fixed format. One should
>> either write the file with the same format as the read statement , or read
>> it with a free format.
>> - the second is that all the kinetic energies are negative. Here I cannot
>> help, please debug the fluscw.f routine.
>> Regards
>> Paola
>> Dear Fluka Users and experts,
>> I am having a problem to read the external source particles. I generated
>> the source data using a USRBDX card with the help of fluscw.f and saved
>> the
>> data as dat file. I tried to run fluka for external source particles but
>> ends up with with errors. I dont know what the problem is. I am attaching
>> the necessary files in a zip folder. Please help me in solving this issue.
>> Sincerely
>> Mohammad Rafiqul Islam
>> Graduate student, Oklahoma State university
>> USA
>> Paola Sala
>> INFN Milano
>> tel. Milano +39-0250317374
>> tel. CERN +41-227679148

Received on Fri Nov 30 2012 - 10:13:53 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 30 2012 - 10:14:06 CET