We present an overview of, and an introduction to, the general-purpose neutron simulation package McStas. We present the basic principles behind Monte Carlo ray-tracing simulations of neutrons performed in the package and present a few simple examples. We present the implementation of McStas, the status of the package and its use in the neutron community. Finally, we briefly discuss the planned development of the package.
This article presents the Monte Carlo simulation package McXtrace, intended for optimizing X‐ray beam instrumentation and performing virtual X‐ray experiments for data analysis. The system shares a structure and code base with the popular neutron simulation code McStas and is a good complement to the standard X‐ray simulation software SHADOW. McXtrace is open source, licensed under the General Public License, and does not require the user to have access to any proprietary software for its operation. The structure of the software is described in detail, and various examples are given to showcase the versatility of the McXtrace procedure and outline a possible route to using Monte Carlo simulations in data analysis to gain new scientific insights. The studies performed span a range of X‐ray experimental techniques: absorption tomography, powder diffraction, single‐crystal diffraction and pump‐and‐probe experiments. Simulation studies are compared with experimental data and theoretical calculations. Furthermore, the simulation capabilities for computing coherent X‐ray beam properties and a comparison with basic diffraction theory are presented.
The physical properties of polycrystalline materials depend on their microstructure, which is the nano- to centimeter scale arrangement of phases and defects in their interior. Such microstructure depends on the shape, crystallographic phase and orientation, and interfacing of the grains constituting the material. This article presents a new non-destructive 3D technique to study centimeter-sized bulk samples with a spatial resolution of hundred micrometers: time-of-flight three-dimensional neutron diffraction (ToF 3DND). Compared to existing analogous X-ray diffraction techniques, ToF 3DND enables studies of samples that can be both larger in size and made of heavier elements. Moreover, ToF 3DND facilitates the use of complicated sample environments. The basic ToF 3DND setup, utilizing an imaging detector with high spatial and temporal resolution, can easily be implemented at a time-of-flight neutron beamline. The technique was developed and tested with data collected at the Materials and Life Science Experimental Facility of the Japan Proton Accelerator Complex (J-PARC) for an iron sample. We successfully reconstructed the shape of 108 grains and developed an indexing procedure. The reconstruction algorithms have been validated by reconstructing two stacked Co-Ni-Ga single crystals, and by comparison with a grain map obtained by post-mortem electron backscatter diffraction (EBSD).
The McStas neutron ray-tracing simulation package is a collaboration between Risø DTU, ILL, University of Copenhagen and the PSI. During its lifetime, McStas has evolved to become the world leading software in the area of neutron scattering simulations for instrument design, optimisation, virtual experiments. McStas is being actively used for the design-update of the European Spallation Source (ESS) in Lund. This paper includes an introduction to the McStas package, recent and ongoing simulation projects. Further, new features in releases McStas 1.12c and 2.0 are discussed.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.