[Gate-users] Defining a cold source - Forbid command

Ottavia Bertolli ottavia.bertolli at gmail.com
Tue Sep 10 17:46:50 CEST 2013


Dear Gate users,

I would like to define a Volume source that has the shape of an annular
cylinder.
>From the Users Guide it seems impossible to do this just defining the
shape, since "annulus" is a Plane source, thus I thought about exploiting
the Forbid command, to define a cold (i.e. with no activity) volume in a
phantom, that in my case should be a smaller cylinder (filled with water)
to be located within the bigger cylinder source.

This is my code:

===============================================================

#   COLD AREA

/gate/world/daughters/name                        cold_area
/gate/world/daughters/insert                        cylinder
/gate/cold_area/placement/setTranslation    0.0 0.0 0.0 mm
/gate/cold_area/geometry/setRmax             0.5 cm
/gate/cold_area/geometry/setRmin              0.0 cm
/gate/cold_area/geometry/setHeight            4.0 cm
/gate/cold_area/setMaterial                        Water
#/gate/cold_area/vis/forceWireframe
/gate/cold_area/vis/forceSolid
/gate/cold_area/vis/setColor                      green


#    S O U R C E
/gate/source/addSource oxy15
/gate/source/oxy15/setActivity 3700000 becquerel
/gate/source/oxy15/gps/particle ion
/gate/source/oxy15/gps/ion 8 15 0 0
/gate/source/oxy15/gps/energytype Mono
/gate/source/oxy15/gps/monoenergy 0. MeV
/gate/source/oxy15/gps/angtype iso
/gate/source/oxy15/gps/number 1
/gate/source/oxy15/gps/centre 0. 0. 0. cm
/gate/source/oxy15/gps/type Volume
/gate/source/oxy15/gps/shape Cylinder
/gate/source/oxy15/gps/radius 1 cm
/gate/source/oxy15/gps/halfz  2 cm
/gate/source/oxy15/gps/Forbid cold_area
/gate/source/oxy15/dump 1

/gate/source/list

==================================================================

When I enable the "/gate/source/oxy15/gps/Forbid cold_area" line command, I
get this error:

*** Break *** segmentation violation
Attaching to program: /proc/2223/exe, process 2223
[Thread debugging using libthread_db enabled]
0x0054d422 in __kernel_vsyscall ()
error detected on stdin
A debugging session is active.

    Inferior 1 [process 2223] will be detached.

What is it that I do wrong? Does anybody know the right way to define a
cold region inside a bigger source?

Thanks in advance!

Ottavia Bertolli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130910/4ce00fb2/attachment.html>


More information about the Gate-users mailing list