<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hello Mahmoud,
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Find my comments and answers below.</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 14 Mar 2018, at 06:16 , Mahmoud Yaseen Suaifan <<a href="mailto:mahma7@gmail.com" class="">mahma7@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class="">Sorry i'm just forwarding the below email as a gentle reminder and since my first email (to mcstas-support) was not sent due to (delivery failure issues).</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Thanks for reminding me, I have silently removed the <a href="mailto:mcstas-support@mcstas.org" class="">
mcstas-support@mcstas.org</a> address, I much prefer to have users ask their questions here in the open forum. :-)</div>
<br class="">
<blockquote type="cite" class="">
<div dir="auto" class="">
<div dir="auto" class="">Actually, i'm a Jordanian graduate student in South Korea trying to make a conceptual design for a neutron imaging facility using McStas simulations. So i got some questions please like the one attached in the photo regarding the source
component. Please your help & explanations are highly appreciated.</div>
<div dir="auto" class="">
<div class="gmail_quote" dir="auto">
<div dir="auto" class="">
<div dir="auto" class="">The numbers in the photo are exact. Neck dimensions ( assume 10 cm × 10 cm). How can i decide where is target & focus & dist. I understand ray trace. I understand solid angle & divergance. I understand Flux, intensities units. I got
lost because i couldn't find explanation for results. </div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>The logic is that you specify the illuminated solid angle (~divergence out of the source) <i class="">either</i> by</div>
<div><br class="">
</div>
<div>1) dist in combination with focus_xw, focus_yh (A small rectangle of size focus_xw x focus_yh will be placed at (0, 0, dist) wrt the source)</div>
<div><br class="">
</div>
<div>2) target_index=N in combination with focus_xw, focus_yh (A small rectangle of size focus_xw x focus_yh will be placed at (tx, ty, tz) wrt the source, where tx,ty,tz is coordinates of a component N positions "further down the instrument"</div>
<br class="">
<blockquote type="cite" class="">
<div dir="auto" class="">
<div dir="auto" class="">
<div class="gmail_quote" dir="auto">
<div dir="auto" class="">
<div dir="auto" class="">( Attached also part of simple McStas script (source & detector only) please check it.</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<div class="">I found no .instr example attached to your email, but there are many too look at within the examples/ folder of your McStas installation.</div>
<div class=""><br class="">
</div>
<div class="">Now, to get properly started on McStas, I propose you to e.g.</div>
<div class=""><br class="">
</div>
<div class="">0) Try the simple SANS oriented tutorial available here:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span><a href="https://github.com/McStasMcXtrace/McCode/wiki/McStas-tutorial:-simplified-SANS-instrument" class="">https://github.com/McStasMcXtrace/McCode/wiki/McStas-tutorial%3A-simplified-SANS-instrument</a></div>
<div class=""><br class="">
</div>
<div class="">1) Read chapter 3 of the McStas user manual, available here:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span><a href="http://mcstas.org/documentation/manual/mcstas-2.4.1-manual.pdf" class="">http://mcstas.org/documentation/manual/mcstas-2.4.1-manual.pdf</a> and by running mcdoc.pl -m on your
own system</div>
<div class=""><br class="">
</div>
<div class="">2) There are a couple of older sets of “school” material available on the web, e.g.</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span><a href="http://nobugs2016.mcstas.org" class="">http://nobugs2016.mcstas.org</a> and <a href="http://april2017.mcstas.org" class="">http://april2017.mcstas.org</a> that you can try following</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Also, there was an email from Georg Ehlers (SNS) <<a href="mailto:ehlersg@ornl.gov" class="">ehlersg@ornl.gov</a>> requesting people to indicate if they would be interested in a McStas school later this year in Oak Ridge - see <a href="https://mailman2.mcstas.org//pipermail/mcstas-users/2018q1/001234.html" class="">https://mailman2.mcstas.org//pipermail/mcstas-users/2018q1/001234.html</a> </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class=""><br class="">
</div>
<div class="">Peter</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</body>
</html>