Dear Vladimir,At first glance, it seems that in your source routine you are in fact explicitly asking for the particles to be generated using the position and direction defined in the BEAMPOS card:* Cosines (tx,ty,tz)TXFLK (NPFLKA) = UBEAMTYFLK (NPFLKA) = VBEAMTZFLK (NPFLKA) = WBEAM* Particle coordinatesXFLK (NPFLKA) = XBEAMYFLK (NPFLKA) = YBEAMZFLK (NPFLKA) = ZBEAMThis of course defines a point source at (0,0,-1).You can adapt this part of the routine with the appropriate coordinate direction sampling and to describe the desired source geometry.Best regards,AndreaOn Sun, Aug 27, 2017 at 8:33 AM, Fedorov Vladimir <paralaks@mrrc.obninsk.ru> wrote:Dear experts!For my problem, I need the disk 12C beam with some spectrum. For this I use sourse.f. and SOURCE card.I can not understand why, when the SOURCE card is desabled, I get the expected uniform distribution from the disk source (fig1.png), and when the SOURCE card is enabled, the distribution has a maximum in the center (Fig2.png).
I ask for your help.--
Best regardsV. Fedorov
This archive was generated by hypermail 2.3.0 : Sun Aug 27 2017 - 14:20:35 CEST