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_wavy

[ Identification | Description | Input parameters | Links ]

The Guide_wavy Component

Neutron guide with gaussian waviness.

Identification

  • Site:
  • Author: Kim Lefmann
  • Origin: Risoe
  • Date:

Description

Models a rectangular guide tube centered on the Z axis. The entrance lies
in the X-Y plane.
For details on the geometry calculation see the description in the McStas
reference manual.

Example: m=2 Qc=0.0218 (nat. Ni) W=1/300 alpha=4.38 R0=0.995 (given by Daniel Clemens, PSI)

%BUGS
This component does not work with gravitation on. Use component Guide_gravity then.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
w1mWidth at the guide entry
h1mHeight at the guide entry
w2mWidth at the guide exit0
h2mHeight at the guide exit0
lmlength of guide
R01Low-angle reflectivity0.995
QcAA-1Critical scattering vector0.0218
alphaAASlope of reflectivity0
m1m-value of material. Zero means completely absorbing.0
WAA-1Width of supermirror cut-off for all mirrors0
alpha1AASlope of reflectivity left4.38
m11m-value of material, left2
W1AA-1Width of supermirror cut-off left0.003
alpha2AASlope of reflectivity right4.38
m21m-value of material, right.2
W2AA-1Width of supermirror cut-off right0.003
alpha3AASlope of reflectivity top4.38
m31m-value of material, top.2
W3AA-1Width of supermirror cut-off top0.003
alpha4AASlope of reflectivity bottom4.38
m41m-value of material, bottom.2
W4AA-1Width of supermirror cut-off bottom0.003
wavy_zdegWaviness in the z-(flight-)direction0
wavy_xydegWaviness in the transverse direction0
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