Re: [fluka-discuss]: Question for reading an output file

From: Luigi Salvatore Esposito <luigi.salvatore.esposito_at_cern.ch>
Date: Mon, 18 Jul 2016 08:30:28 +0000

Dear Sung Hum Kim,
please consider Flair for plotting: it makes everything simpler.
For this reason, I recommend you to go through the lectures from last FLUKA course<https://indico.cern.ch/event/442634/timetable/#all>, in particular about scoring and associated exercises (7 and 8).

In addition, looking at the input file you sent in a different email, I also recommend you to use unformatted output (e.g. USRBIN/WHAT(3) < 0 and similar for other estimators).
In this way the post-processing utility in FLUKA can merge the results from different runs and compute the standard deviations.

More specifically to your question, the file you sent contains an header that says that the scoring grid is made of 16 (X) x 1 (Y) x 8 (Z) = 192 bins in total.
This info can be used to read the matrix that follows the line “Data follow …”, by running over the indices with the following pseudocode:

real A(16,1,8)
do ix = 1 to 16
do iy = 1 to 1
do iz = 1 to 8
read A(ix,iy,iz)
enddo
enddo
enddo

Again all of that is transparently made for you by Flair.
Hope this could help.
Best regards, luigi


On 18 Jul 2016, at 02:01, Sung Hun KIM <ksh4249_at_hanyang.ac.kr<mailto:ksh4249_at_hanyang.ac.kr>> wrote:

Dear all,

I used the USRBIN card to estimate a neutron fluence incident on a wall, binning as 16 by 12.
However, I cannot read this input file.
I found the format to read this two-dimensional output file.. but I cannot understand it.
I attached my output file.
Can anybody help me?

Best wishes,
Sung Hun Kim

------------------------------------------------------------------------------------------------------------------------------
Sung Hun Kim, MS-PhD integrated course
Department of Nuclear Engineering, Hanyang University
222 Wangsimni-ro, Seongdong-gu, Seoul 133-791, Korea
Office: +82-2-2220-4057, Fax: +82-2-2220-4054
Cell: +82-10-7242-4249
E-mail: ksh4249_at_hanyang.ac.kr<mailto:ksh4249_at_hanyang.ac.kr>


________________________________


.

, 3 , , , .

, , . .


This e-mail is intended only for the named recipient.

Dissemination, distribution, forwarding, or copying of this e-mail by anyone other than the intended recipient is prohibited.

If you have received it in error, please notify the sender by e-mail and completely delete it. Thank you for your cooperation.

________________________________

<Activity_WallPoint001_fort.21>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Jul 18 2016 - 12:31:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 18 2016 - 12:31:44 CEST