Re: [fluka-discuss]: Scoring energy deposition due to electrons and photons separately

From: Santana, Mario <msantana_at_slac.stanford.edu>
Date: Sat, 29 Feb 2020 02:03:08 +0000

Hi Deepak,

Coming back to your question, if you want to filter an ENERGY scoring to the direct contribution of primaries (excluding secondaries), you would need to apply that filter via the comscw.f subroutine (actually it is a function), where you would set COMSCW = ONEONE for primaries (IF condition).

Fluka labels primaries in the logical variable LOFLK (in the FLKSTK stack) in the default template of source.f routine, i.e. you don’t actually need to add any additional latch for that specific property.

So you would have something like this in comscw.f

IF (LOFLK) THEN
COMSCW = ONEONE
ELSE
COMSCW = ZERZER
END IF

Remember also to tell FLUKA that you want to enable this feature by 1) adding a USERWEIG card with WHAT(6)>0 and 2) including your edited comscw.f in your compilation instruction (along with source.f).

-M



> On Feb 20, 2020, at 2:59 AM, Deepak Akar (दीपक आकड़) <akardeep_at_barc.gov.in> wrote:
>
> Hello!!
>
> Thanks for your reply.
> I have used source.f for source point, energy and direction sampling. I don't know what this latching means?
> It will be helpful if you can provide some guidance regarding this.
>
> Regards,
> Deepak Kumar Akar
> RSSD, BARC, Mumbai
>
>
> On 2020-02-13 06:25, Santana, Mario wrote:
>> Hi,
>> You can define special USRBIN scoring (by region), please check the
>> syntax in the manual. In your case you want to score ENERGY and you
>> will set what particle acts as a filter in the corresponding WHAT
>> (unlike DOSE-EQ you don’t use auxscore as filter here).
>> For electron scoring this will include photons that have showered into
>> electrons and so on. If what you want is to score the dose due to
>> starting photons or electrons, etc, then you would need to use
>> latching in the source.f routine.
>> -M
>> -------------------------
>> FROM: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it>
>> on behalf of Deepak Akar (दीपक आकड़)
>> <akardeep_at_barc.gov.in>
>> SENT: Wednesday, February 5, 2020 8:56 PM
>> TO: Fluka Discuss <fluka-discuss_at_fluka.org>
>> SUBJECT: [fluka-discuss]: Scoring energy deposition due to electrons
>> and photons separately
>> Hello friends,
>> I have a geometry as attached in the file.
>> In this geometry a radionuclide is confined in B and it emits photons
>> and electrons.
>> I want to score energy deposited in region A, B, C due to electrons
>> and
>> photons.
>> How can I score the energy deposited in each region due to photons
>> and
>> electrons entering it separately?
>> --
>> Deepak Kumar Akar
>> RSSD, BARC, Mumbai
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sat Feb 29 2020 - 04:55:27 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 29 2020 - 04:55:40 CET