[fluka-discuss]: problem of writing a file from source routine

From: David Sangcheol Lee <david.sangcheol.lee_at_cern.ch>
Date: Tue, 12 Dec 2017 09:04:23 +0000

Dear fluka expert

I have added few extra lines in the source.f for the parabolic beam distribution. I
n order to make sure that the beam coordinates are correct, I placed WRITE(97,*) XFLK (NPFLKA) , YFLK (NPFLKA), ZFLK (NPFLKA)
Where XFLK (NPFLKA) = rad*sin(theta)
      YFLK (NPFLKA) = rad*cos(theta)

However, after multiple times, there is no fort file with unit 99 created and I cannot figure out why it is not producing the file.

Could someone explain it to me what I did wrong?

I enclose the source file in this.

Thank you

Kind regards


[CERN-logo] David Sangcheol Lee
 European Organisation for Nuclear Research
 1211 Geneva 23, Switzerland
Email: david.sangcheol.lee_at_cern.ch

You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

(image/jpeg attachment: image001.jpg)

Received on Tue Dec 12 2017 - 11:41:54 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 12 2017 - 11:41:55 CET