<div dir="ltr">Dear Han,<div><br></div><div>Did you have a look at the wiki page for Generating and Tracking optical photons?</div><div>Your can find your answers in the section about defining a surface:</div><div><br></div>
<div><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Generating_and_tracking_optical_photons#Defining_surfaces">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Generating_and_tracking_optical_photons#Defining_surfaces</a><br>
</div><div><br></div><div>Your surface properties should be defined in Surface.xml and the surface itself is described in your simulation macro:</div><div><pre style="padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.1em">
/gate/<b>Volume2</b>/surfaces/name Surface-From-Volume1-To-Volume2
/gate/<b>Volume2</b>/surfaces/insert <b>Volume1</b></pre></div><div><br></div><div>vesna</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 8:51 AM, <a href="mailto:dme627b@gmail.com">dme627b@gmail.com</a> <span dir="ltr"><<a href="mailto:dme627b@gmail.com" target="_blank">dme627b@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="MARGIN:10px">
<div>Hi Gaters,</div>
<div> </div>
<div>I want to simulate optical photons transmitting from one volume to
another, and the surface between the two volumes can be polished
or rough. So I need to specify the surface in Surfaces.xml.
My question is: what are the type and finish in Surfaces.xml? How can
I specify the surface roughness?</div>
<div> </div>
<div>I used the following definition but failed</div>
<div> </div>
<div>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><surface name="rough"
type="dielectric_dielectric" sigmaalpha="6.0" finish="ground"><u></u><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span><propertiestable><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span><propertyvector name="SPECULARLOBECONSTANT"
energyunit="eV"><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="1.84"
value="1"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="4.08"
value="1"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span></propertyvector><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span><propertyvector name="SPECULARSPIKECONSTANT"
energyunit="eV"><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="1.84"
value="0"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="4.08"
value="0"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span></propertyvector><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span><propertyvector name="BACKSCATTERCONSTANT"
energyunit="eV"><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="1.84"
value="0"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span><ve energy="4.08"
value="0"/><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span></propertyvector><u></u><u></u></span></p>
<p class="MsoNormal" align="left"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span>
</span></propertiestable><u></u><u></u></span></p>
<p class="MsoNormal" style="MARGIN:0cm 0cm 0pt"><span style="FONT-SIZE:11pt;FONT-FAMILY:宋体"><span> </span></surface></span><span lang="EN-US"><u></u><u></u></span></p></div>
<div><span></span> </div>
<div><span>Any help is appreciated,</span></div>
<div><span></span> </div>
<div><span>Han</span></div></div>
</blockquote></div><br></div></div>