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

[ Identification | Description | Input parameters | Links ]

The Foil_flipper_magnet2 Component

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Sep. 2015

Description

ESCRIPTION
A magnet with a spin-flip foil inside

This component models a magnet with a constant magnetic field and a slanted
magnetized foil inside acting as a spin-flipper. This arrangement may be used to
target the geometry of a Spin-Echo SANS instrument (Rekveldt, NIMB, 1997 || Rekveldt, Rev Sci Instr. 2005).
In its most basic form a SE-SANS instrument nrelies  on inclined field regions of
constant magnetic field, which can be difficult to realize. Instead it is possible to emulate
such regions using a magnetized foil.

In this component th emagntzied foil is modelled as a canted (by the angle phi) mathematical plane inside a region
of constant magnetic field of dimensions (xwidth,yheight,zdepth). Furthermore, exponetially decaying stray fields from
the constant field region may be specified by giving parameters (Bxwidth,Byheight,Bzdepth) > (xwidth,yheight,zdepth).

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
field_functionconst_magnetic_field
stray_field_functionNULL
xwidthmwidth of the magnet
yheightmheight of the magnet
zdepthmthickness of the magnet
Bxwidthmwidth of the B-field of thev component-1
Byheightmheight of the B-field of the component-1
Bzdepthmthickness of the B-field of the component-1
phirdangle (from the xz-plane) of the foil-spinflipper inside the magnet0.0
foilthickumThickness of the magnetized foil0.0
BxTParameter used for x composant of field.
ByTParameter used for y composant of field.
BzTParameter used for z composant of field.
foil_in1
verbose0
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