Hello Vasilis,
I am sorry for bothering you again.
I have modified the source.f file, but I am still not getting the extended source. Also, how can I be sure that I am reading the values correctly?
From: Vasilis Vlachoudis
Sent: 06 August 2018 10:02
To: Mihaela Parvu; fluka-discuss_at_fluka.org
Subject: RE: extended source
In this case you have to make the distribution yourself.
When you push a particle in the stack at some moment the standard source.f
has
* Particle coordinates
XFLK (NPFLKA) = XBEAM
YFLK (NPFLKA) = YBEAM
ZFLK (NPFLKA) = ZBEAM
you can change it to something like in your custom source.f
XFLK (NPFLKA) = XBEAM + DX * FLRNDM(xxx)
YFLK (NPFLKA) = YBEAM + DY + FLRNDM(xxx)
ZFLK (NPFLKA) = ZBEAM
where DX and DY you define somewhere above in the source.f
with the width x length of your source
Cheers
Vasilis
________________________________
From: Mihaela Parvu
Sent: Friday, August 03, 2018 15:59
To: Vasilis Vlachoudis; fluka-discuss_at_fluka.org
Subject: RE: extended source
So if I want to use a a user defined source I should change the beam definition inside the source.f or how?
________________________________
From: Vasilis Vlachoudis
Sent: 03 August 2018 16:55
To: Mihaela Parvu; fluka-discuss_at_fluka.org
Subject: RE: extended source
It doesn't work since you have added also a "SOURCE" card
The SOURCE card tells the code to call the user routine source.f
and not the predefined one with the cards.
Comment the SOURCE and it will work.
Vasilis
________________________________
From: Mihaela Parvu
Sent: Friday, August 03, 2018 15:35
To: Vasilis Vlachoudis; fluka-discuss_at_fluka.org
Subject: RE: extended source
Here is the input.
Thank you for your help!
________________________________
From: Vasilis Vlachoudis
Sent: 03 August 2018 12:12
To: Mihaela Parvu; fluka-discuss_at_fluka.org
Subject: RE: extended source
Please always use reply-all to keep the discussion on the list.
Can you send your input file to check what is wrong.
V.
________________________________
From: Mihaela Parvu
Sent: Friday, August 03, 2018 11:04
To: Vasilis Vlachoudis
Subject: RE: extended source
Hello Vasilis,
Thank you for your response. I tried working wih this card, but it is not working.
________________________________
From: Vasilis Vlachoudis
Sent: 03 August 2018 10:01
To: Mihaela Parvu; fluka-discuss_at_fluka.org
Subject: RE: extended source
Hi Michaela,
you can use the card BEAMPOS with sdum: CART-VOL
Vasilis
________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Mihaela Parvu [mihaela.parvu_at_cern.ch]
Sent: Friday, August 03, 2018 07:25
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: extended source
Hello,
Can you please help me with the definition of an extended beam source just like the one in the attached photo?
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
- application/octet-stream attachment: muons.dat
Received on Thu Aug 09 2018 - 10:47:45 CEST