[Gate-users] Cold source in Gate 6.1 issue with physical volume creation

Emmanuel BRARD emmanuel.brard at iphc.cnrs.fr
Wed Jun 27 10:50:22 CEST 2012


Dear all,

I am trying to simulate a cold source using the example given in the
documentation. But I get the following error about the confinement :

[G4] Confirming activity forbidden in volume 'ColdVolume_phys'...
[G4]  **** Error: Volume does not exist **** 
[G4]  Ignoring forbid condition for volume 'ColdVolume_phys'

Which seems a bug to me if the physical volume associated is indeed not
created. 

Here it the code used :
GATE version name: gate_v6.1 

/gate/world/daughters/name ColdVolume 
/gate/world/daughters/insert cylinder 
/gate/ColdVolume/vis/forceWireframe 
/gate/ColdVolume/vis/setColor green 
/gate/ColdVolume/geometry/setRmax 5.0 mm 
/gate/ColdVolume/geometry/setHeight 2. mm 

/gate/source/addSource number1 
/gate/source/number1/setActivity 100000. becquerel 
/gate/source/number1/gps/particle gamma 
/gate/source/number1/setType backtoback 
/gate/source/number1/gps/type Volume 
/gate/source/number1/gps/shape Cylinder 
/gate/source/number1/gps/radius 15.0 mm 
/gate/source/number1/gps/halfz 5.0 mm 
/gate/source/number1/gps/centre 0. 0. 0. cm 
/gate/source/number1/gps/monoenergy 511. keV 
/gate/source/number1/gps/angtype iso 

/gate/source/number1/dump 1 

/gate/source/addSource number2 

/gate/source/number2/setActivity 100000. becquerel 
/gate/source/number2/gps/particle gamma 
/gate/source/number2/setType backtoback 
/gate/source/number2/gps/type Volume 
/gate/source/number2/gps/shape Cylinder 
/gate/source/number2/gps/radius 5.0 mm 
/gate/source/number2/gps/halfz 1.0 mm 
/gate/source/number2/gps/centre 0. 0. 0. cm 
/gate/source/number2/gps/monoenergy 511. keV 
/gate/source/number2/gps/angtype iso 
/gate/source/number2/gps/Forbid ColdVolume 
/gate/source/number2/dump 1 




More information about the Gate-users mailing list