McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


Exercise: Insert a monochromator next up previous
Next: Exercise: Insert a sample Up: Exercises Previous: Exercise: Source and PSD

Exercise: Insert a monochromator

  1. Keeping your current components, insert a Monochromator_flat component (use the component library index to get the needed parameters) and a new set of PSD and L_monitor after the monochromator. Two new arms should be inserted to define the rotation point at the monochromator. One is used to rotate the monochromator, while the other rotates the instrument components that follow.

    Insert the two new arms at (0,0,2) relative to the origin and the monochromator at (0,0,0) relative to the monochromator arm. Also, add two new input parameters of your instrument, which we will call OMM (Omega Monochromator) and TTM (Two Theta Monochromator). These will define the angles of rotation at the monochromator as portrayed in Figure 3.

    Figure 3: Illustration of the monochromator orientation.
    \includegraphics[width=8cm]{pics/mono.eps}
  2. Given $\lambda$ = 4Å, and knowing that for the monochromator $\kappa=1.8734$ Å$^{-1}$ (Pyrolytic Graphite), use Bragg's law to determine the correct Bragg angle (i.e. OMM/TTM) of the monochromator for the $n=1$ reflection. Add the OMM and TTM input parameters to the DEFINE line at the beginning of the instrument file and give them the values you just calculated. Rotate the two arm components by OMM and TTM.
  3. Do a scan of OMM a couple of angles around the determined Bragg value to verify the finding, while keeping TTM fixed. This is done by replacing the fixed value of OMM in the Run Simulation window with two numbers separated by a comma, e.g. 20,25. These numbers represent the minimum and maximum values of OMM. A number of steps must also be given and this is done by changing the # steps value from 1 to e.g. 10. Check the position of the peak on the PSD and the wavelength on the L_monitor.
  4. What should $\kappa$ be set to to get the $n=2$ reflection at exactly OMM$=45^\circ$ (TTM$=90^\circ$)? Adjust $\kappa$ for the monochromator and verify the calculation by a scan. Check the wavelength by plotting the scan.
  5. Determine the Bragg angle for the $n=1$ reflection in this setting of $\kappa$ and verify it by scanning OMM. Set OMM to this value. Perform the simulation and check the wavelength distribution. Comment.
  6. Before you go on, change the minimum and maximum wavelengths of the source to a suitably narrow interval around 4Å. There is no need to produce neutron rays that will not be scattered at the monochromator.

next up previous
Next: Exercise: Insert a sample Up: Exercises Previous: Exercise: Source and PSD
Peter Kjær Willendrup 2015-11-12


Last Modified: Thursday, 12-Nov-2015 11:53:11 CET
Search website mailinglist archive GitHub repos