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

[ Identification | Description | Input parameters | Links ]

The McStas_Single_crystal Instrument

Wrapper for use of Single_crystal in SIMRES

Identification

  • Site: SINE2020
  • Author: Erik B Knudsen erkn@fysik.dtu.dk
  • Origin: DTU Physics
  • Date: Dec. 2018

Description

This instrument provides an MCPL-based interface for the use of Single_crystal in the SIMRES package.
The instrument has been developed in the context of WP8 in the SINE2020 project  and is part of
deliverable D8.8.

(EU Horizon 2020 research and innovation programme under grant agreement No 654000).

The default material is Al as a cylinder of radius 0.01 m x height 0.02 m

Example: McStas_Single_crystal reflections=Al.lau radius=0.01 yheight=0.02

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflectionsstringInput file for reflections, laz and lau formats from McStas accepted"Al.lau"
geometrystringName of an Object File Format (OFF) or PLY file for complex geometry.""
radiusmSample radius1e-2
xwidthmSample width along x0
yheightmSample height along y2e-2
zdepthmSample depth along z0
delta_d_d1Lattice spacing variance, gaussian RMS1e-3
mosaicarc minutesCrystal mosaic (isotropic), gaussian RMS. Puts the crystal in the isotropic mosaic model state, thus disregarding other mosaicity parameters.1
mosaic_aarc minutesHorizontal (rotation around lattice vector a) mosaic (anisotropic), gaussian RMS. Put the crystal in the anisotropic crystal vector state. I.e. model mosaicity through rotation around the crystal lattice vectors. Has precedence over in-plane mosaic model.0
mosaic_barc minutesVertical (rotation around lattice vector b) mosaic (anisotropic), gaussian RMS.0
mosaic_carc minutesOut-of-plane (Rotation around lattice vector c) mosaic (anisotropic), gaussian RMS0
barns1Flag to indicate if |F 2| from "reflections" is in barns or fm2 (barns = 1 for laz, barns = 0 for lau type files).0
order1Limit multiple scattering up to given order (0: all, 1: first, 2: second, ...)0
rot_xdegSample rotation around x0
rot_ydegSample rotation around y0
rot_zdegSample rotation around z0

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