<div dir="ltr">Hi Leoni,<div><br></div><div>Just going back to this sentence "W<span style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">hen scoring edep we obtain a value of about 3000 MeV in the geometry built with Gate, when scoring in the CAD geometry we obtain a value of about 370 MeV</span>".</div><div><br></div><div>This difference can come from the "finish" of your mesh, it is important to remember that the mesh representation is not the same that the 3D volume with perfect curves. I would say that it is a good idea to play with the level of detail of the finish of the mesh surfaces. Also depending of the size of your geometries and  if you are simulation electrons, you could have big differences, because electron are very sensible to this surface changes.</div><div><br></div><div>Best regards</div><div>Maikol</div></div><br><div class="gmail_quote"><div dir="ltr">El lun., 8 oct. 2018 a las 12:36, Leonie Brodbek (<<a href="mailto:leonie.brodbek@uni-oldenburg.de">leonie.brodbek@uni-oldenburg.de</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space">

<div id="m_6760064267659526411divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Dear Maxime,</p>
<p><br>
</p>
<p>Thank you! <br>
</p>
<p>U<span>nfortunately</span> we already checked this and it seems that both geometries fit well and that this does not cause the problem.</p>
<p><br>
</p>
<p>Kind regards</p>
<p>Leonie<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_6760064267659526411divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Maxime Chauvin <<a href="mailto:maxime.chauvin@inserm.fr" target="_blank">maxime.chauvin@inserm.fr</a>><br>
<b>Gesendet:</b> Montag, 8. Oktober 2018 12:01:11<br>
<b>An:</b> Leonie Brodbek<br>
<b>Cc:</b> Elia Alessio; <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<b>Betreff:</b> Re: [Gate-users] Problems with scoring edep and dose in non rectangular geometries and CAD geometries</font>
<div> </div>
</div>
<div>Dear Léonie,
<div><br>
</div>
<div>something you could check is the position of the geometry. Importing a .stl file can result in a unwanted shift due to a different reference frame from CAD compared to how GATE build a box or a cylinder. And this can cause a difference in Edep
 and absorbed dose.</div>
<div><br>
</div>
<div>As a rough check you can use the visualisation (Gate --qt) to see if your geometries are identical between your 2 simulations.<br>
<div><br>
</div>
<div>Kind regards,</div>
<div>  Maxime Chauvin</div>
<div><br>
<blockquote type="cite">
<div>On 8 Oct 2018, at 11:26, Leonie Brodbek <<a href="mailto:leonie.brodbek@uni-oldenburg.de" target="_blank">leonie.brodbek@uni-oldenburg.de</a>> wrote:</div>
<br class="m_6760064267659526411Apple-interchange-newline">
<div>
<div id="m_6760064267659526411divtagdefaultwrapper" dir="ltr" style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-size:12pt;font-family:Calibri,Helvetica,sans-serif">
<div id="m_6760064267659526411divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="margin-top:0px;margin-bottom:0px">Hi Alessio,</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">thanks a  lot!</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">We tried to create geometries with a CAD program to import more complex geometries and tested it with scoring in a box that is built inside Gate and with the same geometry built in the CAD program.<span class="m_6760064267659526411Apple-converted-space"> </span><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">When scoring edep we obtain a value of about 3000 MeV in the geometry built with Gate, when scoring in the CAD geometry we obtain a value of about 370 MeV. We imported the CAD geometries via a .stl
 file<span class="m_6760064267659526411Apple-converted-space"> </span><span>and the insert specification "tessellated</span>". We obtained the same behavior when scoring Edep in cylinders built in gate and with the help of a CAD programm.<span class="m_6760064267659526411Apple-converted-space"> </span><br>
</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">Kind regards</div>
<div style="margin-top:0px;margin-bottom:0px">Leonie</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
</div>
<hr style="display:inline-block;width:686px">
<div id="m_6760064267659526411divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>Von:</b><span class="m_6760064267659526411Apple-converted-space"> </span>Elia Alessio <<a href="mailto:alessio.elia@medaustron.at" target="_blank">alessio.elia@medaustron.at</a>><br>
<b>Gesendet:</b><span class="m_6760064267659526411Apple-converted-space"> </span>Montag, 8. Oktober 2018 10:58:37<br>
<b>An:</b><span class="m_6760064267659526411Apple-converted-space"> </span>Leonie Brodbek<br>
<b>Cc:</b><span class="m_6760064267659526411Apple-converted-space"> </span><a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<b>Betreff:</b><span class="m_6760064267659526411Apple-converted-space"> </span>RE: Problems with scoring edep and dose in non rectangular geometries and CAD geometries</font>
<div> </div>
</div>
<div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Leonie,<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">thanks for your email. Concerning the first point you spotted could you be more precise? (for example what do you mean with “different results with
 different order of magnitude”?). With respect to the second point, this is a known behavior of the dose actor. At the moment, it cannot handle correctly non-regular geometries as far as I know. I would recommend you to work with the edep and then post-process
 the dose.<span class="m_6760064267659526411Apple-converted-space"> </span><u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hope it can help!<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Best<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Alessio<u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div>
<div>
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(225,225,225);padding:3pt 0cm 0cm">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><span class="m_6760064267659526411Apple-converted-space"> </span>Gate-users
 [<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">mailto:gate-users-bounces@lists.opengatecollaboration.org</a>]<span class="m_6760064267659526411Apple-converted-space"> </span><b>On Behalf Of<span class="m_6760064267659526411Apple-converted-space"> </span></b>Leonie
 Brodbek<br>
<b>Sent:</b><span class="m_6760064267659526411Apple-converted-space"> </span>Montag, 08. Oktober 2018 10:31<br>
<b>To:</b><span class="m_6760064267659526411Apple-converted-space"> </span><a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<b>Subject:</b><span class="m_6760064267659526411Apple-converted-space"> </span>[Gate-users] Problems with scoring edep and dose in non rectangular geometries and CAD geometries<u></u><u></u></span></div>
</div>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<u></u> <u></u></div>
<div id="m_6760064267659526411divtagdefaultwrapper">
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">Dear all,<u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif"><u></u> <u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">we try to perform simulations of different detectors with Gate and have some problems when scoring dose and edep in different volumes, perhaps
 anyone can help us with these issues:<u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif"><u></u> <u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">- When we score dose and edep in a gate constructed geometry and in the same CAD geometry we obtain different results with different orders of
 magnitude (even in rectangular geometries).<u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif"><u></u> <u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">- When we score dose and edep in non rectangular geometries we cannot recalculate the dose out of edep and it seems that the dose in Gate is
 calculated by a geometry surrounding the real geometry but having rectangular corners, e.g. for a sphere of radius 0.5 cm the dose can be recalculated out of edep  by a cube with side length 1 cm.<u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif"><u></u> <u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">We would be very thankful for any help!<u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif"><u></u> <u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">Kind regards<span class="m_6760064267659526411Apple-converted-space"> </span><u></u><u></u></span></div>
<div style="margin-top:0px;margin-bottom:0px"><span style="font-family:Calibri,sans-serif">Leonie Brodbek<u></u><u></u></span></div>
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">
<small><span><u></u><u></u></span><b><span lang="EN-GB" style="font-family:Verdana,sans-serif;color:rgb(17,35,89)">Disclaimer:</span></b><br>
<span lang="EN-GB" style="font-family:Verdana,sans-serif;color:rgb(17,35,89)">Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/" id="m_6760064267659526411LPlnk324406" style="color:rgb(5,99,193);text-decoration:underline" target="_blank"><span style="color:rgb(17,35,89)">http://www.medaustron.at/email-disclaimer/</span></a></span></small><span><u></u><u></u></span><u></u> <u></u></div>
</div>
<br>
</div>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">Gate-users
 mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important"><a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important"><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>

_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>