Re: [fluka-discuss]: How to generate two simultaneous beams

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Thu, 31 Oct 2019 11:24:19 +0100

Dear Tamer,
    as a follow-up to Mauro's second suggestion, if you are interested
in sampling one particle per primary, perhaps this discussion will
be helpful:

http://www.fluka.org/web_archive/earchive/new-fluka-discuss/14413.html

Andrea


On 31/10/2019 09:49, Tamer Tolba wrote:
>
> Dear Mauro,
>
> Thanks so much for your reply.
>
> Yes, I know about (actually I apply it) your first suggestion;
> combining two simulations.
>
> I haven't thought about your second suggestion! It worth testing,
> though. Thanks for this suggestion.
>
> However, I am still curious to see if I can do that directly on the
> default FLUKA code!
>
> Regards,
>
> Tamer
>
> On 30.10.2019 23:36, Mauro Valente wrote:
>> Dear Tamer
>>
>> I am not a FLUKA expert, but I may help with your problem.
>>
>> Source properties defined in input file by means of setting initial
>> position, direction, energy, etc. apply for all primary particles.
>>
>> I figure out that the second card is redefining what you declare in
>> the first one.
>>
>> If you are interested in two beams, you may follow some of these tasks:
>>
>> simulate the first beam, then simulate the second onr, and finally
>> you combine the results.
>>
>> or, you can write your own routine defining source properties by
>> adapting the “source.f” routine provided by FLUKA, then you compile
>> using your source routine.
>>
>> hope this help, anyway pay attention to FLUKA experts’ answers.
>>
>>
>>
>> Il giorno mer 30 ott 2019 alle 19:23 Tamer Tolba
>> <t.tolba_at_fz-juelich.de <mailto:t.tolba_at_fz-juelich.de>> ha scritto:
>>
>> Dear all,
>>
>> I am trying to generate two simultaneous proton beams and shot
>> them at
>> some block. I am setting one card for the beam
>> characteristics/profile
>> and two cards for the beam position, see the attached screenshot.
>> But is
>> seems that the second beam position always override the previous one,
>> and never both are generated simultaneously! What is my mistake?
>> How can
>> I modify my code to generate two simultaneous beams?
>>
>> With my best regards,
>>
>> Tamer
>>
>> --
>> Dr. Tamer Tolba
>> Forschungszentrum Jülich
>> Institut für Kernphysik (IKP)
>> 52425 Jülich, Germany
>> Tel.: +49 2461 61 6860
>> Fax.: +49 2461 61 96415
>>
>>
>>
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>>
>> --
>>
>>
>> ******************************************************************************************************************
>> ******************************************************************************************************************
>>
>>                                                 Prof. Mauro Valente, PhD.
>>
>> Medical Physics
>>
>>                                                         IFEG - CONICET &
>> University of Cordoba
>> Argentina
>>
>>                                                   Office 102 -
>> Laboratory 448
>>                                                TE: +54 351 4334050
>> ext. 102
>>                                                     FAX: +54 351 4334054
>>
>> http://www.famaf.unc.edu.ar/~valente/
>>
>>
>> ******************************************************************************************************************
>> ******************************************************************************************************************
> --
> Dr. Tamer Tolba
> Forschungszentrum Jülich
> Institut für Kernphysik (IKP)
> 52425 Jülich, Germany
> Tel.: +49 2461 61 6860
> Fax.: +49 2461 61 96415

-- 
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it
Via Bassi 6                           web   : www.pv.infn.it/~fontana
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Oct 31 2019 - 12:24:40 CET

This archive was generated by hypermail 2.3.0 : Thu Oct 31 2019 - 12:24:42 CET