[Gate-users] error in "confine" command
山中 琢
takuyama at med.hokudai.ac.jp
Fri Jan 25 07:48:52 CET 2013
Hello gaters,
I've been trying to use the "forbid" and "confine" command to create the
source with some particular shape.
But when I start the simulation, it always gives me
*************************************
LoopCount = 100000
Either the source distribution >> confinement
or any confining volume may not overlap with
the source distribution or any confining volumes
may not exist
If you have set confine then this will be ignored
for this event.
*************************************
this for many times then finally it reaches "***Break*** Segmentation
violation"
I tried this with a simple geometry which a large cylinder confines a
little smaller cylinder source so that the source always be generated
within a "confined" volume.
But still I get the aforesaid error.
I'll gladly await for any solution or suggestion.
Taku
Below is the part of macro where I think related with the confine command...
-----
/gate/world/daughters/name forbidBox
/gate/world/daughters/insert box
/gate/forbidBox/placement/setTranslation 0 0 0 cm
/gate/forbidBox/geometry/setXLength 15. cm
/gate/forbidBox/geometry/setYLength 15. cm
/gate/forbidBox/geometry/setZLength 15. cm
/gate/forbidBox/daughters/name coldCyl1
/gate/forbidBox/daughters/insert cylinder
/gate/coldCyl1/placement/setTranslation 1.0 1.0 0.0 cm
/gate/coldCyl1/geometry/setRmax 1. cm
/gate/coldCyl1/geometry/setHeight 1. cm
/gate/coldCyl1/setMaterial Water
/gate/coldCyl1/vis/forceWireframe
/gate/coldCyl1/vis/setColor white
/gate/source/addSource testsource2
/gate/source/testsource2/gps/centre 1.0 1.0 0. cm
/gate/source/testsource2/setActivity 10000. becquerel
/gate/source/testsource2/gps/particle e+
/gate/source/testsource2/gps/energytype Fluor18
/gate/source/testsource2/gps/angtype iso
/gate/source/testsource2/setForcedUnstableFlag true
/gate/source/testsource2/setForcedHalfLife 6586 s
/gate/source/testsource2/gps/type Volume
/gate/source/testsource2/gps/shape Cylinder
/gate/source/testsource2/gps/radius 0.9 cm
/gate/source/testsource2/gps/halfz 0.25 cm
/gate/source/testsource2/gps/confine coldCyl1
--
Hokkaido University, Graduate school of medicine, medical physics and
engineering D1
北海道大学 大学院 医学研究科 医学物理工学分野 D1
Taku Yamanaka
山中 琢
takuyama at med.hokudai.ac.jp
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130125/3d3ff1ab/attachment.html>
More information about the Gate-users
mailing list