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

Matthew Strugari matthew.strugari at dal.ca
Tue Sep 8 15:25:02 CEST 2020


Hi Khalid,

My guess is that your simulation appears to be stuck due to your extreme number of repeating elements: 347x261x100. That’s a lot and on top of that, the geometry that you’re repeating is comprised of a daughter volume. I wonder if there is a more efficient way of defining your collimator. Is your intention to have a 0.02 cm layer of air in between each layer of mesh?

Cheers,
Matthew

From: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> on behalf of Khalid Hussain <khalidhussain1134 at gmail.com>
Date: Tuesday, September 8, 2020 at 02:58
To: gate-users <Gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Simulation stuck at geometry initialization in Gamma camera simulation

CAUTION: The Sender of this email is not from within Dalhousie.
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

[cid:image001.png at 01D685CA.4FD49C30]
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

[cid:image002.png at 01D685CA.4FD49C30]

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<mailto: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<mailto: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
[cid:image003.png at 01D685CA.4FD49C30]

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<mailto: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/58f43165/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 44699 bytes
Desc: image001.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/58f43165/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 62435 bytes
Desc: image002.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/58f43165/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 82640 bytes
Desc: image003.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200908/58f43165/attachment-0005.png>


More information about the Gate-users mailing list