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

[ Identification | Description | Input parameters | Links ]

The Source_Maxwell_3 Component

Source with up to three Maxwellian distributions

Identification

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

Description

A parametrised continuous source for modelling a (cubic) source
with (up to) 3 Maxwellian distributions.
The source produces a continuous spectrum.
The sampling of the neutrons is uniform in wavelength.

Units of flux: neutrons/cm^2/second/ster
(McStas units are in general neutrons/second)

Example:  PSI cold source T1=150.42 K / 2.51 AA     I1 = 3.67 E11
T2=38.74 K / 4.95 AA      I2 = 3.64 E11
T3=14.84 K / 9.5 AA       I3 = 0.95 E11

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
sizemEdge of cube shaped source (for backward compatibility)0
yheightmHeight of rectangular source0
xwidthmWidth of rectangular source0
LminAALower edge of lambda distribution
LmaxAAUpper edge of lambda distribution
distmDistance from source to focusing rectangle; at (0,0,dist)
focus_xwmWidth of focusing rectangle
focus_yhmHeight of focusing rectangle
T1K1st temperature of thermal distribution
T2K2nd temperature of thermal distribution300
T3K3nd temperature of - - -300
I11/(cm**2*st)flux, 1 (in flux units, see above)
I21/(cm**2*st)flux, 2 (in flux units, see above)0
I31/(cm**2*st)flux, 3 - - -0
target_index1relative index of component to focus at, e.g. next is +1 this is used to compute 'dist' automatically.+1
lambda0AAMean wavelength of neutrons.0
dlambdaAAWavelength spread of neutrons.0
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:15 CEST
Search website mailinglist archive GitHub repos