[Gate-users] Simulation stuck at geometry initialization in Gamma camera simulation

Khalid Hussain khalidhussain1134 at gmail.com
Tue Sep 8 07:58:22 CEST 2020


Dear Users,
I am simulating wire mesh collimator gamma camera, carefully designed all
geometry with no error but the simulation stuck at geometry
initialization step, I wonder what the problem will be, your opinions can
help me

[image: image.png]
if we use values for xy or yz or any 2d combination and set 1 for third
dimention in the repeat cubic array then it works fine but stuck when using
values for x,y and z directions for the repeat cubic array.

e.g

[image: image.png]

Thank you for your time and help.


Regards
Khalid Hussain
PhD Student, UPM


On Sun, Sep 6, 2020 at 2:48 PM Khalid Hussain <khalidhussain1134 at gmail.com>
wrote:

> Dear gate users,
>
> I humbly request and need your favor, *my gamma camera simulation stuck
> at Initialization of geometry without any error or even warning.*
> The problem is in repeat cubic array, if I use partial value of this
> repeat cubic array then it works fine but stuck for the required value that
> cover the whole collimator.
>
> I attached whole detail and macro files in this thread.
>
> Your cooperation is highly appreciated.
>
> Thanking you.
>
> On Sat, Sep 5, 2020, 7:44 AM Khalid Hussain <khalidhussain1134 at gmail.com>
> wrote:
>
>>
>> Dear Gate users,
>>
>> I checked geometry from each x,y and z directions and it seems to be fine
>> but still simulation stuck without any error at *Initialization of
>> geometry *
>> [image: image.png]
>>
>> The macro files are also attached
>> Your kind cooperation is highly appreciated
>>
>> Regards
>> Khalid Hussain
>> PhD Student, UPM
>>
>>
>> On Wed, Sep 2, 2020 at 10:24 PM Khalid Hussain <
>> khalidhussain1134 at gmail.com> wrote:
>>
>>> Dear Gate users,
>>>
>>> My simulation stuck at geometry initialization in vGate 8.2, I have
>>> tested the geometry by expanding in two dimensions and it seems okay for
>>> all combinations but stuck when using full geometry in 3D.
>>>
>>> Please see below script of suspected part of geometry.
>>>
>>>
>>> ############################
>>> # LOW ENERGY HIGH RESOLUTION COLLIMATOR #
>>> ############################
>>>
>>> # C O L L I M A T O R
>>>
>>> /gate/SPECThead/daughters/name collimator
>>> /gate/SPECThead/daughters/insert box
>>> /gate/collimator/geometry/setXLength 59.1 cm
>>> /gate/collimator/geometry/setYLength 44.5 cm
>>> /gate/collimator/geometry/setZLength 4.0 cm
>>> /gate/collimator/placement/setTranslation 0. 0. -3.8 cm
>>> /gate/collimator/setMaterial Air
>>> /gate/collimator/attachPhantomSD
>>> /gate/collimator/vis/forceWireframe
>>> /gate/collimator/vis/setColor white
>>>
>>>
>>> ## Insert upper boundary of hole
>>>
>>> /gate/collimator/daughters/name hole
>>> /gate/collimator/daughters/insert box
>>> /gate/hole/geometry/setXLength 0.17 cm
>>> /gate/hole/geometry/setYLength 0.17 cm
>>> /gate/hole/geometry/setZLength 0.02 cm
>>> /gate/hole/placement/setTranslation 0. 0. 0. cm
>>> /gate/hole/setMaterial Lead
>>> /gate/hole/vis/forceWireframe
>>> /gate/hole/vis/setColor blue
>>> ## Insert lower boundary of hole
>>>
>>> /gate/hole/daughters/name lowerB
>>> /gate/hole/daughters/insert box
>>> /gate/lowerB/geometry/setXLength 0.15 cm
>>> /gate/lowerB/geometry/setYLength 0.15 cm
>>> /gate/lowerB/geometry/setZLength 0.02 cm
>>> /gate/lowerB/placement/setTranslation 0. 0. 0. cm
>>> /gate/lowerB/setMaterial Air
>>> /gate/lowerB/vis/forceWireframe
>>> /gate/lowerB/vis/setColor green
>>>
>>> # FILL THE WHOLE COLLIMATOR WITH SEPTA-HOLE
>>> /gate/hole/repeaters/insert cubicArray
>>> /gate/hole/cubicArray/setRepeatNumberX 347
>>> /gate/hole/cubicArray/setRepeatNumberY 261
>>> /gate/hole/cubicArray/setRepeatNumberZ 100
>>> /gate/hole/cubicArray/setRepeatVector 0.17 0.17 0.04 cm
>>>
>>>
>>>
>>> Any help is highly appreciated.
>>>
>>> Thanks and regards
>>> Khalid
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/8c4c85a0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 82639 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/8c4c85a0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 44698 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/8c4c85a0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 62434 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/8c4c85a0/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wmc_v0.0.zip
Type: application/x-zip-compressed
Size: 7712 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/8c4c85a0/attachment-0001.bin>


More information about the Gate-users mailing list