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

[ Identification | Description | Input parameters | Links ]

The Bender Component

Models a curved neutron guide.

Identification

  • Site:
  • Author: Philipp Bernhardt
  • Origin: Uni. Erlangen (Germany)
  • Date: Februar 7 1999

Description

Models a curved neutron guide with cylindrical walls.

Bender radius, entrance width and height are necessary input data. To define
the bender, you may either enter the deviation angle 'Win' or the length 'l'.
The bender may consist of 'k' vertical channels, separated by partitioning walls
of thickness 'd'. Three different reflectivity profiles can be given: for outer
walls, for inner walls and for the top and bottom walls. The partitioning walls
have the same coating as the exterior walls.

The entrance lies in the X-Y plane, centered on the Z axis. The neutrons will
also leave the bender in the X-Y plane at the z-value l=r*Win, i.e. they are
centred on (0,0,r*Win); they have an (average) flight direction along the z-axis.
Therefore, the following component is adjacent, if positioned AT (0,0,r*Win)
without rotation.
So, seen from outside, it behaves like a straight guide along the Z axis. As a
consequence, it is shown straight in 'mcdisplay'.
This behaviour results from a co-ordinate transformation inside the component.
It is done to facilitate its use. Neither rotation nor shift along the x-axis
need to be calculated; a new arm is not necessary. Internally, the bender is
bent to the negative X axis;

Example:
Bender of 120 mm height, 50 mm width, 250 m radius and 0.04 rad (or 2.292 deg) curvature
not channeled, with a standard m=2 coating on

Bender(w=0.05,h=0.12,r=250,Win=0.04,
R0a=0.99,Qca=0.021,alphaa=6.07,ma=2,Wa=0.003,
R0i=0.99,Qci=0.021,alphai=6.07,mi=2,Wi=0.003,
R0s=0.99,Qcs=0.021,alphas=6.07,ms=2,Ws=0.003)

%BUGS
Some users have reported potentially strange behaviours with this component.
This component does not work with gravitation on.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
wmWidth at the bender entry and exit
hmHeight at the bender entry and exit
rmRadius of the bender
WinradAngle of the deflection of the whole bender0.04
k1Number of channels inside the bender1
dmThickness of one blade separating the channels0.001
lmlength of bender l=r*Win0
R0a1Low-angle reflectivity at the outer side of the bender0.99
QcaAA-1Critical scattering vector0.021
alphaaAASlope of reflectivity6.07
ma1m-value of material2
WaAA-1Width of supermirror cut-off0.003
R0i1Low-angle reflectivity at the inner side of the bender0.99
QciAA-1Critical scattering vector0.021
alphaiAASlope of reflectivity6.07
mi1m-value of material2
WiAA-1Width of supermirror cut-off0.003
R0s1Low-angle reflectivity at the top and bottom side of the bender0.99
QcsAA-1Critical scattering vector0.021
alphasAASlope of reflectivity6.07
ms1m-value of material2
WsAA-1Width of supermirror cut-off0.003
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Wednesday, 03-Jan-2024 19:59:10 CET
Search website mailinglist archive GitHub repos