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

[ Identification | Description | Input parameters | Links ]

The Pol_triafield Component

Constant magnetic field in a isosceles triangular coil

Identification

  • Site:
  • Author: Morten Sales, based on Pol_constBfield by Peter Christiansen
  • Origin: Helmholtz-Zentrum Berlin
  • Date: 2013

Description

Rectangular box with constant B field along y-axis (up) in a isosceles triangle.
There is a guide (or precession) field as well. It is along y in the entire rectangular box.
A neutron hitting outside the box opening or the box sides is absorbed.


__________________
|        /\        |
| Bguide/  \Bguide |      x
|      /    \      |      ^
|     /      \     |      |
|    /   B    \    |      |-----> z
|   /   and    \   |
|  /   Bguide   \  |
| /              \ |
|/________________\|

The angle of the inclination of the triangular field boundary is given by the arctangent to xwidth/(0.5*zdepth)

This component does NOT take gravity into account.

Example: Pol_triafield(xwidth=0.1, yheight=0.1, zdepth=0.2, B=1e-3, Bguide=0.0)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xwidthmWidth of opening
yheightmHeight of opening
zdepthmzdepth of field
BTMagnetic field along y-direction inside triangle0
BguideTMagnetic field along y-direction inside entire box0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

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


Last Modified: Tuesday, 17-Sep-2024 05:31:14 CEST
Search website mailinglist archive GitHub repos