<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello Indu,<br></div><div><br data-mce-bogus="1"></div><div>Thanks for your message. That's nice if you are now working on the PEARL diffractometer. It was initially designed by Lambert, and McStas helped at this time. I have myself moved away from neutrons in the mean time.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>To start with, I would advice to look at the ILL_D2B and the templateDIFF examples which make use of the Monochromator_curved. This is to check that you can extract a beam at the right angle with a simplified Ge model.</div><div>Then, you may gradually transition to the Single_crystal by looking at the Test_Monochromators. Make sure you can compute the a,b,c vectors for the Example Mono=6 lines there-in.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>The cut itself is only relevant to properly compute the beam attenuation. The reflection itself is independent of the surface orientation, but clearly it is best to cut according to the target reflection. So you may start by using a 'normal' Ge crystal, find the reflection, and then compute a new geometry with the proper cut. The SX component allows to orient the cut in real or reciprocal space. You should have a look at the component manual for these aspects.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Emmanuel.<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Indu Dhiman" <I.Dhiman@tudelft.nl><br><b>À: </b>"FARHI Emmanuel" <emmanuel.farhi@synchrotron-soleil.fr><br><b>Envoyé: </b>Vendredi 16 Août 2024 11:34:51<br><b>Objet: </b>Query in regard to McStas <br></div><div><br><style><!--

@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></div><div data-marker="__QUOTED_TEXT__">






<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-GB">Dear Emanuel,</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">I hope this email finds you well. To introduce myself, I work as an instrument scientist on the PEARL neutron diffractometer at RID, TU Delft. You may not recollect, we have met twice in ORNL 2018 and a year before in
 ILL, for a neutron imaging talk you organized. </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">I am writing to you with a query I have regarding the PEARL diffractometer. We are planning few upgrades on the instrument and would like to simulate it with the McStas.</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">To further elaborate, I am trying build a McStas file for this instrument. For the monochromator I would like to use
<b>single_crystal</b> component in McStas. I am trying to use Ge monochromator (Ge. Lau file) to have a wavelength of 1.667 AA-1 for 533 reflections with a take-off angle of 150 deg (2theta). The Ge crystal on PEARL diffractometer is cut such that the normal
 to the wafer surface is (5 3 3).</span></p>
<p class="MsoNormal"><span lang="EN-GB">However, I am unable to include the correctly align the monochromator to get this wavelength on to the sample position. I would really appreciate your input on this. I am also attaching all the input files I am using
 for you reference with this email.</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Really looking forward to your help.</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanking you in anticipation </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">With best regards</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Indu Dhiman</span></p>
</div><br></div></div></body></html>