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


McStas: Test_shellguides Instrument at Tests_optics

[ Identification | Description | Input parameters | Output parameters | Links ]

The Test_shellguides Instrument

This is an instrument test file for 3 components.

Identification

Description


In the instrument files 3 new components are used:

 - Sapphire_Filter.comp   : models a sapphire filter for suppression of a unwanted high energy part of a given source spectrum
                            (the properties can be changed in the instrument file itself)

 - Guide_four_side.comp   : models a guide with different wall properties. here it is only a ordinary linear guide with reflecting walls.
                            (the properties can be changed in the instrument file itself)

 - Guide_four_side_10_shells.comp: models a multi channel component. here it is used as a parabolic focusing lens (default values).
                                   some of the parameters can be change in the mcgui start menu to play around with the focusing properties.



Example: mcrun test.instr 

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
Lambda_source AA central wavelength of the used wavelength spectra 5
dLambda_source +/- from Lambda_source [AA] bandgab of the used wavelength spectra 2
Sapphire_Filter_Flag -- flag to use (1) or not use (0) the high energie sapphire filter to clean the source spectrum 1
lens_width m width of the central part of the focusing devise 0.004
lens_height m height of the central part of the focusing devise 0.004
channel_width NOT for the central channel, central channel is given by lens_width [m] width of the channels of the focusing devise 0.002
channel_height NOT for the central channel, central channel is given by lens_height [m] height of the channels of the focusing devise 0.002
m_lens 5
lens_focal_in_hor m distance of the focal point in front of the focusing devise to the entrance of the focusing devise for the horizontal direction 0
lens_focal_in_ver m distance of the focal point in front of the focusing devise to the entrance of the focusing devise for the vertical direction 0
lens_focal_out_hor m distance of the exit of the focusing devise to the focal point behind the devise for the horizontal direction 0.5
lens_focal_out_ver m distance of the exit of the focusing devise to the focal point behind the devise for the vertical direction 0.35
lens_glass_thickness m thickness the the glass walls used for the focusing devise 0.0002

Links

  • Source code for Test_shellguides.instr.
  • A reference/HTML link for more information

[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon May 29 08:29:50 2017


Last Modified: Monday, 29-May-2017 10:29:50 CEST
Search website mailinglist archive GitHub repos