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

[ Identification | Description | Input parameters | Links ]

The Guide_four_side_10_shells Component

Guide with four side walls surounded by up to 10 shells

Identification

  • Site:
  • Author: Tobias Panzner
  • Origin: PSI
  • Date: 07/08/2010

Description

This component models a guide with four side walls surounded by up to 10 shells (every shell consists of
additional four walls). In the  end it  forms a guide with an inner and up to 10 outer channel.
As user you can controll the properties of every wall separatly. All togther you have up to
88 walls: From the inner channel 4 inner walls and four outer walls and from every outer
channel 4 inner and 4 outer walls.

Every single wall can have a elliptic, parabolic or straight shape.
All four sides of the guide are independent from each other.
In the elliptic case the side wall shape follows the equation x^2/b^2+(z+z0)^2/a^2=1
(the center of the ellipse is located at (0,-z0)).
In the parabolic case the side wall shape follows the equation z=b-ax^2;mc
In the straight case the side wall shape follows the equation z=l/(w2-w1)*x-w1.

The shape selection is done by the focal points. The focal points are located at the
z-axis and are defined by their distance to the entrance or exit window of the guide
(in the following called 'focal length').

If both focal lengths for one wall are zero it will be a straight wall (entrance and
exit width have to be given in the beginning).

If one of the focal lengths is not zero the shape will be parabolic (only the entrance width
given in the beginning is recognized; exit width will be calculated). If the the entrance
focal length is zero the guide will be a focusing devise.
If the exit focal length is zero it will be defocusing devise.

If both focals are non zero the shape of the wall will be elliptic (only the entrance width
given in the beginning is recognized; exit width will be calculated).

Notice: 1.)The focal points are in general located outside the guide (positive focal lengths).
Focal points inside the guide need to have negative focal lengths.
2.)The exit width parameters (w2r, w2l, h2u,h2d) are only taken into account if the
walls have a linear shape. In the ellitic or parabolic case they will be ignored.

For the inner channel: the outer side of each wall is calculated by the component in depentence
of the wallthickness and the shape of the inner side.

Each of the 88 walls can have a own indepenting reflecting layer (defined by an input file)
or it can be a absorber or it can be transparent.

The reflectivity properties can be given by an input file (Format [q(Angs-1) R(0-1)]) or by
parameters (Qc, alpha, m, W).

%BUGS
This component does not work with gravitation on.

This component does not work correctly in GROUP-modus.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
RIreflectstrName of relfectivity file for the right inner wall.0
LIreflectstrName of relfectivity file for the left inner wall.0
UIreflectstrName of relfectivity file for the top inner wall.0
DIreflectstrName of relfectivity file for the bottom inner wall.0
ROreflectstrName of relfectivity file for the right outer wall.0
LOreflectstrName of relfectivity file for the left outer wall.0
UOreflectstrName of relfectivity file for the top outer wall.0
DOreflectstrName of relfectivity file for the bottom outer wall.0
RIreflect10
LIreflect10
UIreflect10
DIreflect10
ROreflect10
LOreflect10
UOreflect10
DOreflect10
RIreflect20
LIreflect20
UIreflect20
DIreflect20
ROreflect20
LOreflect20
UOreflect20
DOreflect20
RIreflect30
LIreflect30
UIreflect30
DIreflect30
ROreflect30
LOreflect30
UOreflect30
DOreflect30
RIreflect40
LIreflect40
UIreflect40
DIreflect40
ROreflect40
LOreflect40
UOreflect40
DOreflect40
RIreflect50
LIreflect50
UIreflect50
DIreflect50
ROreflect50
LOreflect50
UOreflect50
DOreflect50
RIreflect60
LIreflect60
UIreflect60
DIreflect60
ROreflect60
LOreflect60
UOreflect60
DOreflect60
RIreflect70
LIreflect70
UIreflect70
DIreflect70
ROreflect70
LOreflect70
UOreflect70
DOreflect70
RIreflect80
LIreflect80
UIreflect80
DIreflect80
ROreflect80
LOreflect80
UOreflect80
DOreflect80
RIreflect90
LIreflect90
UIreflect90
DIreflect90
ROreflect90
LOreflect90
UOreflect90
DOreflect90
RIreflect100
LIreflect100
UIreflect100
DIreflect100
ROreflect100
LOreflect100
UOreflect100
DOreflect100
w1lmWidth at the left guide entry (positive x-axis)0.002
w2lmWidth at the left guide exit (positive x-axis)0.002
linwl0
loutwl0
w1rmWidth at the right guide entry (negative x-axis)0.002
w2rmWidth at the right guide exit (negative x-axis)0.002
linwr0.0
loutwr0
h1umHeight at the top guide entry (positive y-axis)0.002
h2umHeight at the top guide entry (positive y-axis)0.002
linhu0.0
louthu0
h1dmHeight at the bottom guide entry (negative y-axis)0.002
h2dmHeight at the bottom guide entry (negative y-axis)0.002
linhd0.0
louthd0
lmlength of guide (DEFAULT = 0)0
R01Low-angle reflectivity (DEFAULT = 0.99)0.99
QcxlAA-1Critical scattering vector for left vertical0.0217
QcxrAA-1Critical scattering vector for right vertical0.0217
QcyuAA-1Critical scattering vector for top inner wall0.0217
QcydAA-1Critical scattering vector for bottom inner wall0.0217
alphaxlAASlope of reflectivity for left vertical6.07
alphaxrAASlope of reflectivity for right vertical6.07
alphayuAASlope of reflectivity for top inner wall6.07
alphaydAASlope of reflectivity for bottom inner wall6.07
WxrAA-1Width of supermirror cut-off for right inner wall0.003
WxlAA-1Width of supermirror cut-off for left inner wall0.003
WyuAA-1Width of supermirror cut-off for top inner wall0.003
WydAA-1Width of supermirror cut-off for bottom inner wall0.003
mxr1m-value of material for right vertical inner wall.3.6
mxl1m-value of material for left vertical inner wall.3.6
myu1m-value of material for top inner wall3.6
myd1m-value of material for bottom inner wall3.6
QcxrOWAA-1Critical scattering vector for right vertical0.0217
QcxlOWAA-1Critical scattering vector for left vertical0.0217
QcyuOWAA-1Critical scattering vector for top outer wall0.0217
QcydOWAA-1Critical scattering vector for bottom outer wall0.0217
alphaxlOWAASlope of reflectivity for left vertical6.07
alphaxrOWAASlope of reflectivity for right vertical6.07
alphayuOWAASlope of reflectivity for top outer wall6.07
alphaydOWAASlope of reflectivity for bottom outer wall6.07
WxrOWAA-1Width of supermirror cut-off for right outer wall0.003
WxlOWAA-1Width of supermirror cut-off for left outer wall0.003
WyuOWAA-1Width of supermirror cut-off for top outer wall0.003
WydOWAA-1Width of supermirror cut-off for bottom outer wall0.003
mxrOW1m-value of material for right vertical outer wall0
mxlOW1m-value of material for left vertical outer wall0
myuOW1m-value of material for top outer wall0
mydOW1m-value of material for bottom outer wall0
rwallthickmthickness of the right wall (DEFAULT = 0.001 m)0.001
lwallthickmthickness of the left wall (DEFAULT = 0.001 m)0.001
uwallthickmthickness of the top wall (DEFAULT = 0.001 m)0.001
dwallthickmthickness of the bottom wall(DEFAULT = 0.001 m)0.001
w1l12.002
w2l12.002
linwl10
loutwl10
w1r12.002
w2r12.002
linwr10
loutwr10
h1u12.002
h2u12.002
linhu10
louthu10
h1d12.002
h2d12.002
linhd10
louthd10
Qcxl10.0217
Qcxr10.0217
Qcyu10.0217
Qcyd10.0217
alphaxl16.07
alphaxr16.07
alphayu16.07
alphayd16.07
Wxr10.003
Wxl10.003
Wyu10.003
Wyd10.003
mxr1-1
mxl1-1
myu1-1
myd1-1
QcxrOW10.0217
QcxlOW10.0217
QcyuOW10.0217
QcydOW10.0217
alphaxlOW16.07
alphaxrOW16.07
alphayuOW16.07
alphaydOW16.07
WxrOW10.003
WxlOW10.003
WyuOW10.003
WydOW10.003
mxrOW1-1
mxlOW1-1
myuOW1-1
mydOW1-1
rwallthick10.001
lwallthick10.001
uwallthick10.001
dwallthick10.001
w1l22.004
w2l22.004
linwl20
loutwl20
w1r22.004
w2r22.004
linwr20
loutwr20
h1u22.004
h2u22.004
linhu20
louthu20
h1d22.004
h2d22.004
linhd20
louthd20
Qcxl20.0217
Qcxr20.0217
Qcyu20.0217
Qcyd20.0217
alphaxl26.07
alphaxr26.07
alphayu26.07
alphayd26.07
Wxr20.003
Wxl20.003
Wyu20.003
Wyd20.003
mxr2-1
mxl2-1
myu2-1
myd2-1
QcxrOW20.0217
QcxlOW20.0217
QcyuOW20.0217
QcydOW20.0217
alphaxlOW26.07
alphaxrOW26.07
alphayuOW26.07
alphaydOW26.07
WxrOW20.003
WxlOW20.003
WyuOW20.003
WydOW20.003
mxrOW2-1
mxlOW2-1
myuOW2-1
mydOW2-1
rwallthick20.001
lwallthick20.001
uwallthick20.001
dwallthick20.001
w1l32.006
w2l32.006
linwl30
loutwl30
w1r32.006
w2r32.006
linwr30
loutwr30
h1u32.006
h2u32.006
linhu30
louthu30
h1d32.006
h2d32.006
linhd30
louthd30
Qcxl30.0217
Qcxr30.0217
Qcyu30.0217
Qcyd30.0217
alphaxl36.07
alphaxr36.07
alphayu36.07
alphayd36.07
Wxr30.003
Wxl30.003
Wyu30.003
Wyd30.003
mxr3-1
mxl3-1
myu3-1
myd3-1
QcxrOW30.0217
QcxlOW30.0217
QcyuOW30.0217
QcydOW30.0217
alphaxlOW36.07
alphaxrOW36.07
alphayuOW36.07
alphaydOW36.07
WxrOW30.003
WxlOW30.003
WyuOW30.003
WydOW30.003
mxrOW3-1
mxlOW3-1
myuOW3-1
mydOW3-1
rwallthick30.001
lwallthick30.001
uwallthick30.001
dwallthick30.001
w1l42.008
w2l42.008
linwl40
loutwl40
w1r42.008
w2r42.008
linwr40
loutwr40
h1u42.008
h2u42.008
linhu40
louthu40
h1d42.008
h2d42.008
linhd40
louthd40
Qcxl40.0217
Qcxr40.0217
Qcyu40.0217
Qcyd40.0217
alphaxl46.07
alphaxr46.07
alphayu46.07
alphayd46.07
Wxr40.003
Wxl40.003
Wyu40.003
Wyd40.003
mxr4-1
mxl4-1
myu4-1
myd4-1
QcxrOW40.0217
QcxlOW40.0217
QcyuOW40.0217
QcydOW40.0217
alphaxlOW46.07
alphaxrOW46.07
alphayuOW46.07
alphaydOW46.07
WxrOW40.003
WxlOW40.003
WyuOW40.003
WydOW40.003
mxrOW4-1
mxlOW4-1
myuOW4-1
mydOW4-1
rwallthick40.001
lwallthick40.001
uwallthick40.001
dwallthick40.001
w1l52.01
w2l52.01
linwl50
loutwl50
w1r52.01
w2r52.01
linwr50
loutwr50
h1u52.01
h2u52.01
linhu50
louthu50
h1d52.01
h2d52.01
linhd50
louthd50
Qcxl50.0217
Qcxr50.0217
Qcyu50.0217
Qcyd50.0217
alphaxl56.07
alphaxr56.07
alphayu56.07
alphayd56.07
Wxr50.003
Wxl50.003
Wyu50.003
Wyd50.003
mxr5-1
mxl5-1
myu5-1
myd5-1
QcxrOW50.0217
QcxlOW50.0217
QcyuOW50.0217
QcydOW50.0217
alphaxlOW56.07
alphaxrOW56.07
alphayuOW56.07
alphaydOW56.07
WxrOW50.003
WxlOW50.003
WyuOW50.003
WydOW50.003
mxrOW5-1
mxlOW5-1
myuOW5-1
mydOW5-1
rwallthick50.001
lwallthick50.001
uwallthick50.001
dwallthick50.001
w1l62.012
w2l62.012
linwl60
loutwl60
w1r62.012
w2r62.012
linwr60
loutwr60
h1u62.012
h2u62.012
linhu60
louthu60
h1d62.012
h2d62.012
linhd60
louthd60
Qcxl60.0217
Qcxr60.0217
Qcyu60.0217
Qcyd60.0217
alphaxl66.07
alphaxr66.07
alphayu66.07
alphayd66.07
Wxr60.003
Wxl60.003
Wyu60.003
Wyd60.003
mxr6-1
mxl6-1
myu6-1
myd6-1
QcxrOW60.0217
QcxlOW60.0217
QcyuOW60.0217
QcydOW60.0217
alphaxlOW66.07
alphaxrOW66.07
alphayuOW66.07
alphaydOW66.07
WxrOW60.003
WxlOW60.003
WyuOW60.003
WydOW60.003
mxrOW6-1
mxlOW6-1
myuOW6-1
mydOW6-1
rwallthick60.001
lwallthick60.001
uwallthick60.001
dwallthick60.001
w1l72.014
w2l72.014
linwl70
loutwl70
w1r72.014
w2r72.014
linwr70
loutwr70
h1u72.014
h2u72.014
linhu70
louthu70
h1d72.014
h2d72.014
linhd70
louthd70
Qcxl70.0217
Qcxr70.0217
Qcyu70.0217
Qcyd70.0217
alphaxl76.07
alphaxr76.07
alphayu76.07
alphayd76.07
Wxr70.003
Wxl70.003
Wyu70.003
Wyd70.003
mxr7-1
mxl7-1
myu7-1
myd7-1
QcxrOW70.0217
QcxlOW70.0217
QcyuOW70.0217
QcydOW70.0217
alphaxlOW76.07
alphaxrOW76.07
alphayuOW76.07
alphaydOW76.07
WxrOW70.003
WxlOW70.003
WyuOW70.003
WydOW70.003
mxrOW7-1
mxlOW7-1
myuOW7-1
mydOW7-1
rwallthick70.001
lwallthick70.001
uwallthick70.001
dwallthick70.001
w1l82.016
w2l82.016
linwl80
loutwl80
w1r82.016
w2r82.016
linwr80
loutwr80
h1u82.016
h2u82.016
linhu80
louthu80
h1d82.016
h2d82.016
linhd80
louthd80
Qcxl80.0217
Qcxr80.0217
Qcyu80.0217
Qcyd80.0217
alphaxl86.07
alphaxr86.07
alphayu86.07
alphayd86.07
Wxr80.003
Wxl80.003
Wyu80.003
Wyd80.003
mxr8-1
mxl8-1
myu8-1
myd8-1
QcxrOW80.0217
QcxlOW80.0217
QcyuOW80.0217
QcydOW80.0217
alphaxlOW86.07
alphaxrOW86.07
alphayuOW86.07
alphaydOW86.07
WxrOW80.003
WxlOW80.003
WyuOW80.003
WydOW80.003
mxrOW8-1
mxlOW8-1
myuOW8-1
mydOW8-1
rwallthick80.001
lwallthick80.001
uwallthick80.001
dwallthick80.001
w1l92.018
w2l92.018
linwl90
loutwl90
w1r92.018
w2r92.018
linwr90
loutwr90
h1u92.018
h2u92.018
linhu90
louthu90
h1d92.018
h2d92.018
linhd90
louthd90
Qcxl90.0217
Qcxr90.0217
Qcyu90.0217
Qcyd90.0217
alphaxl96.07
alphaxr96.07
alphayu96.07
alphayd96.07
Wxr90.003
Wxl90.003
Wyu90.003
Wyd90.003
mxr9-1
mxl9-1
myu9-1
myd9-1
QcxrOW90.0217
QcxlOW90.0217
QcyuOW90.0217
QcydOW90.0217
alphaxlOW96.07
alphaxrOW96.07
alphayuOW96.07
alphaydOW96.07
WxrOW90.003
WxlOW90.003
WyuOW90.003
WydOW90.003
mxrOW9-1
mxlOW9-1
myuOW9-1
mydOW9-1
rwallthick90.001
lwallthick90.001
uwallthick90.001
dwallthick90.001
w1l102.02
w2l102.02
linwl100
loutwl100
w1r102.02
w2r102.02
linwr100
loutwr100
h1u102.02
h2u102.02
linhu100
louthu100
h1d102.02
h2d102.02
linhd100
louthd100
Qcxl100.0217
Qcxr100.0217
Qcyu100.0217
Qcyd100.0217
alphaxl106.07
alphaxr106.07
alphayu106.07
alphayd106.07
Wxr100.003
Wxl100.003
Wyu100.003
Wyd100.003
mxr10-1
mxl10-1
myu10-1
myd10-1
QcxrOW100.0217
QcxlOW100.0217
QcyuOW100.0217
QcydOW100.0217
alphaxlOW106.07
alphaxrOW106.07
alphayuOW106.07
alphaydOW106.07
WxrOW100.003
WxlOW100.003
WyuOW100.003
WydOW100.003
mxrOW10-1
mxlOW10-1
myuOW10-1
mydOW10-1
rwallthick100.001
lwallthick100.001
uwallthick100.001
dwallthick100.001
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

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


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