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

[ Identification | Description | Input parameters | Links ]

The Moderator Component

A simple pulsed source for time-of-flight.

Identification

  • Site:
  • Author: KN, M.Hagen
  • Origin: Risoe
  • Date: August 1998

Description

Produces a simple time-of-flight spectrum, with a flat energy distribution

Example: Moderator(radius = 0.0707, dist = 9.035, focus_xw = 0.021, focus_yh = 0.021, Emin = 10, Emax = 15, Ec = 9.0, t0 = 37.15, gamma = 39.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
radiusmRadius of source0.07
EminmeVLower edge of energy distribution
EmaxmeVUpper edge of energy distribution
distmDistance from source to the focusing rectangle0
focus_xwmWidth of focusing rectangle0.02
focus_yhmHeight of focusing rectangle0.02
t0musdecay constant for low-energy neutrons37.15
EcmeVCritical energy, below which the flux decay is constant9.0
gammameVenergy dependence of decay time39.1
target_index1relative index of component to focus at, e.g. next is +1 this is used to compute 'dist' automatically.+1
flux1/(s cm 2 st meV)flux1
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

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


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