From: Florian (florian.sommerer@cern.ch)
Date: Fri May 25 2007 - 17:33:18 CEST
Dear Hamide Jalali,
you have simply a typo in your source routine:
in line 228 you wrote VXXX instead of VYYY.
When you use VYYY later it is zero and the direction cosines are not
normalized anymore.
Regards,
Florian
hamide jalali wrote:
> Dear FLUKA user
>
> I have programmed a source.f which is included SFLOOD subroutine to
> generate an isotropic and uniform fluence (cosmic ray).I have defined a
> spherical target as well.The radius of target is 400cm and the radios of
> source is 401 cm (very near to target ).If I request more than 2000
> primary histories,running will crash in second cycle and by this number
> of primaries the result has a big error (more than 40%) even I consider
> 200 primaries with 10 cycles (increasing the number of cycles didn't
> change the error).I don't know my assumption about the location of
> source is incorrect or the problem is because of FLUKA.Please guide me.
> Any help will be appreciated.
> PS, my input and source.f are in attachment.
-- ########################################### Florian Sommerer European Organization for Nuclear Research CERN DSU/TT Mailbox Z08700 Geneve 23 CH-1211 Switzerland Tel : +41 2276 75582 ###########################################
This archive was generated by hypermail 2.1.6 : Fri May 25 2007 - 17:55:56 CEST