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

McStas
site 2

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: ESS_butterfly_MCPL_test

[ Identification | Description | Input parameters | Links ]

The ESS_butterfly_MCPL_test Instrument

Test instrument for the updated BF1 butterfly moderator design using MCPL input

Identification

  • Site: ESS
  • Author: Peter Willendrup
  • Origin: ESS
  • Date: 2016-09-26

Description

Test instrument for the updated BF1 butterfly moderator design using MCPL input files.

The below example gives a 50-50 (statistics-wise) cold/thermal beam at beamline N10.
Example: sector=N beamline=10 cold=0.5

Assumes access to binary MCPL datasets in . named [sector][beamline].mcpl.gz, i.e. W8.mcpl.gz.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
sectorstrDefines the 'sector' of your instrument position. Valid values are "N","S","E" and "W""N"
beamline1Defines the 'beamline number' of your instrument position. Valid values are 1..10 or 1..11 depending on sector1
LminAAMinimum wavelength simulated0.2
LmaxAAMaximum wavelength simulated20
c_performance1Cold brilliance scalar performance multiplicator c_performance > 01
t_performance1Thermal brilliance scalar performance multiplicator t_performance > 01
index1Target index for source focusing. Defaults to illuminate the "cold collimated" brilliance monitor, thereby suppressing "dist"8
distmDistance from origin to focusing rectangle; at (0,0,dist) - alternatively use target_index0
cold1Defines the statistical fraction of events emitted from the cold part of the moderator1
YheightmDefines the moderator height. Valid values are 0.03 m and 0.06 m0.03
deltamParameter that allows to scan "collimator" position0
thres Weight-threshold, neutrons with higher weight are absorbed0.003
filter0
repeat Number of MCPL file repetitions1
E_smear1When repeating events, make a Gaussian MC choice within E_smear*E around particle energy E0.1
pos_smearmWhen repeating events, make a flat MC choice of position within pos_smear around particle starting position0.01
dir_smeardegWhen repeating events, make a Gaussian MC choice of direction within dir_smear around particle direction0.01

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-15 07:34:57


Last Modified: Friday, 31-Mar-2023 14:24:13 CEST
Search website mailinglist archive GitHub repos