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

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_shellguides

[ Identification | Description | Input 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.
NameUnitDescriptionDefault
Lambda_sourceAAcentral wavelength of the used wavelength spectra5
dLambda_sourceAAbandgab of the used wavelength spectra ( +/- from Lambda_source )2
Sapphire_Filter_Flag--flag to use (1) or not use (0) the high energie sapphire filter to clean the source spectrum1
lens_widthmwidth of the central part of the focusing devise0.004
lens_heightmheight of the central part of the focusing devise0.004
channel_widthmwidth of the channels of the focusing devise (NOT for the central channel, central channel is given by lens_width)0.002
channel_heightmheight of the channels of the focusing devise (NOT for the central channel, central channel is given by lens_height)0.002
m_lensm-value used for all layers of the focusing devise5
lens_focal_in_hormdistance of the focal point in front of the focusing devise to the entrance of the focusing devise for the horizontal direction0
lens_focal_in_vermdistance of the focal point in front of the focusing devise to the entrance of the focusing devise for the vertical direction0
lens_focal_out_hormdistance of the exit of the focusing devise to the focal point behind the devise for the horizontal direction0.5
lens_focal_out_vermdistance of the exit of the focusing devise to the focal point behind the devise for the vertical direction0.35
lens_glass_thicknessmthickness the the glass walls used for the focusing devise0.0002

Links

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

[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos