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

From: David Sangcheol Lee <david.sangcheol.lee_at_cern.ch>
Date: Tue, 12 Dec 2017 10:54:18 +0000

Dear all

I am sorry I think I made it confuse in my previous email.

It is not unit 99. That was my typo when I was sending the email. It is unit 97.

Thank you for your support.

Regards

David Lee

From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of David Sangcheol Lee
Sent: 12 December 2017 10:04
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: problem of writing a file from source routine

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)
      ZFLK (NPFLKA) = ZBEAM

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

Cordialement

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





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

image001.jpg
(image/jpeg attachment: image001.jpg)

Received on Tue Dec 12 2017 - 13:09:30 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 12 2017 - 13:09:32 CET