# Re: [fluka-discuss]: How to get the cumulative flux from tab.lis?

From: Haoyu Shi <shihy_at_ihep.ac.cn>
Date: Wed, 6 Jun 2018 09:54:37 +0800

Dear Anton,

I see. Thanks for your help.

Best,
Haoyu

On Mon, Jun 4, 2018 at 2:32 PM Anton Lechner <Anton.Lechner_at_cern.ch> wrote:

> Dear Haoyu,
>
> It is a cumulative distribution, so as written in the manual "The
> integral fluence in any given energy interval can be obtained as the
> difference between the values of the cumulative distribution at the two
> bounds of that interval."
>
> In other words, if you take for example the difference between the last
> two bins of the cumulative distribution then you get the last bin of the
> differential distribution times the energy interval:
> 3.3483975E-05-3.0852116E-05=2.63186E-6
>
> Cheers, Anton
>
>
>
> ------------------------------
> *From:* Haoyu Shi [shihy_at_ihep.ac.cn]
> *Sent:* 04 June 2018 01:30
> *To:* Anton Lechner
> *Cc:* fluka-discuss_at_fluka.org
> *Subject:* Re: [fluka-discuss]: How to get the cumulative flux from
> tab.lis?
>
> Dear Anton,
>
> I see. Thanks for your help. But I don't know whether FLUKA can calculate
> real volume or not. I mean, if I kept empty in volume settings of USRTRACK
> card(it would be set 1cm^3 i think), then I still can not get same results
> of "column3*(column2-column1)" of tab.lis and "Cumul. Flux (Part/cmq/pr)"
> in sum.lis for same energy range. And I want to know the reason of it.
> eg, for energy range from 8.9908601E-11 to 1.3170399E-10, tab.lis
> gives 62970.11 so that means the result is 2.63186E-6, but in "Cumul.
> Flux (Part/cmq/pr)" part of sum.lis, the result is 3.3483975E-05.
>
> Thanks a lot for your help!
>
> Best,
> Haoyu
>
> On Fri, Jun 1, 2018 at 2:52 PM Anton Lechner <Anton.Lechner_at_cern.ch>
> wrote:
>
>> Dear Haoyu,
>>
>> You can obtain the "Tot. response" given in the sum.lis file by simply
>> adding up the different values in tab.lis in the following way:
>> column3*(column2-column1). Since the values in tab.lis are differential in
>> energy, you have to multiply each value with the energy bin size (given by
>> the difference of column 2 and column 1). Note that if no volume is
>> specified on the USTRACK card (as in your case) a dummy volume of 1 cm^3 is
>> assumed. That's why "Tot. response" (which is normalized by the volume) is
>> the same as "Track l." in sum.lis.
>>
>> Concerning the plotting of neutron nergy spectra, <X>*Y is commonly used
>> (isolethargic spectrum). This has been discussed multiple times on the
>> list, see e.g. the following old thread for more details on the physical
>> meaning:
>> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5650.html
>>
>> Cheers, Anton
>>
>>
>>
>> ------------------------------
>> *From:* owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it]
>> on behalf of Haoyu Shi [shihy_at_ihep.ac.cn]
>> *Sent:* 01 June 2018 03:14
>> *To:* fluka-discuss_at_fluka.org
>> *Subject:* [fluka-discuss]: How to get the cumulative flux from tab.lis?
>>
>> Dear FLUKA Experts,
>>
>> I'm trying to score the neutron flux using USRTRACK card, and get one
>> sum.lis and one tab.lis. There are some information about "cumulative flux"
>> in sum.lis, but could I calculate these myself using the tab.lis file? How
>> to get it? The 2 files were attached.
>>
>> By the way, if I want to plot the energy spectrum of the neutrons, how
>> should I do? Using "DX*Y" in flair? Or "<X>*Y"? What's the difference?
>>
>> Thanks a lot.
>>
>> Best Regards,
>> Haoyu
>>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Jun 06 2018 - 05:24:53 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 06 2018 - 05:25:04 CEST