Re: [fluka-discuss]:

From: Santana, Mario <msantana_at_slac.stanford.edu>
Date: Tue, 7 Jul 2020 16:32:48 +0000

Hi,

If you are new to FLUKA, then starting with source & userdump is probably not the best approach and it is likely that there are built-in estimators in FLUKA that will accomplish your task without the need of programming.

If you absolutely need to use these cards, I'd advise you to go through some tutorial such as:
https://agenda.infn.it/event/20624/contributions/105888/attachments/68616/84871/AdvancedUserRoutines2019.pdf
User Programming in the FLUKA environment<https://agenda.infn.it/event/20624/contributions/105888/attachments/68616/84871/AdvancedUserRoutines2019.pdf>
2. Why user routines Fluka offers a rich choice of. built-in options. for scoring most quantities and for applying variance reduction techniques, without requiring the users to write a single line of code
agenda.infn.it
In a nutshell, routines 1) almost always need to be called with one card in the input file (it seems you have that), 2) need to be compiled with the code (did you do that? are you sure?), and 3) you need to use the modified executable (it is also a common mistake to keep using the original one).

A good test is to see if FLUKA does go into the routine, for that, you may add a print statement such as:
write(lunout,*)'I entered mgdraw.f'

and run a short simulation.
Then just parse the output to see if the statement was printed, e.g.

grep 'I entered mgdraw.f' *.out


Hope this helps,

-M


________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of ashishsingh_at_barctara.gov.in <ashishsingh_at_barctara.gov.in>
Sent: Tuesday, July 7, 2020 3:09 AM
To: fluka-discuss_at_fluka.org <fluka-discuss_at_fluka.org>
Subject: [fluka-discuss]:


Dear FLUKA Users,

I am new to FLUKA and I am trying to use USERDUMP card by adding
magdrawBDX.f file for scoring purpose. I have added USERDUMP card, source
card in scoring section and primary section respectively also I have
compiled magdrawBDX.f and source.f, although compilation was successful
but after running for 1000 histories only log file for source.f was
generated but no separate file were generated in the output run file
corresponding to magdrawBDX.f via USERDUMP card. Please suggest me a way
to see the output file generated by magdrawBDX.f via USERDUMP card.
Any help regarding this will be highly appreciated.

Thanks & Regards

Ashish Kumar Singh
email id- ashishsingh_at_barctara.gov.in

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



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jul 07 2020 - 20:15:21 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 07 2020 - 20:15:27 CEST