MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package
Abstract
MCViNE (Monte-Carlo VIrtual Neutron Experiment) is an open-source Monte Carlo (MC) neutron ray-tracing software for performing computer modeling and simulations that mirror real neutron scattering experiments. We exploited the close similarity between how instrument components are designed and operated and how such components can be modeled in software. For example we used object oriented programming concepts for representing neutron scatterers and detector systems, and recursive algorithms for implementing multiple scattering. Combining these features together in MCViNE allows one to handle sophisticated neutron scattering problems in modern instruments, including, for example, neutron detection by complex detector systems, and single and multiple scattering events in a variety of samples and sample environments. In addition, MCViNE can use simulation components from linear-chain-based MC ray tracing packages which facilitates porting instrument models from those codes. Furthermore it allows for components written solely in Python, which expedites prototyping of new components. These developments have enabled detailed simulations of neutron scattering experiments, with non-trivial samples, for time-of-flight inelastic instruments at the Spallation Neutron Source. Examples of such simulations for powder and single-crystal samples with various scattering kernels, including kernels for phonon and magnon scattering, are presented. As a result, with simulations that closely reproduce experimental results,more »
- Authors:
-
- California Institute of Technology (Caltech), Pasadena, CA (United States); Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
- California Inst. of Technology (CalTech), Pasadena, CA (United States)
- Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
- California Institute of Technology (Caltech), Pasadena, CA (United States)
- Publication Date:
- Research Org.:
- Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
- Sponsoring Org.:
- USDOE Office of Science (SC), Basic Energy Sciences (BES)
- OSTI Identifier:
- 1238731
- Alternate Identifier(s):
- OSTI ID: 1397568
- Grant/Contract Number:
- AC05-00OR22725
- Resource Type:
- Accepted Manuscript
- Journal Name:
- Nuclear Instruments and Methods in Physics Research. Section A, Accelerators, Spectrometers, Detectors and Associated Equipment
- Additional Journal Information:
- Journal Volume: 810; Journal Issue: C; Journal ID: ISSN 0168-9002
- Publisher:
- Elsevier
- Country of Publication:
- United States
- Language:
- English
- Subject:
- 46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND TECHNOLOGY; 97 MATHEMATICS AND COMPUTING; neutron scattering; Monte Carlo simulation; ray-tracing; inelastic; spectrometry
Citation Formats
Lin, J. Y. Y., Smith, Hillary L., Granroth, Garrett E., Abernathy, Douglas L., Lumsden, Mark D., Winn, Barry L., Aczel, Adam A., Aivazis, Michael, and Fultz, Brent. MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package. United States: N. p., 2015.
Web. doi:10.1016/j.nima.2015.11.118.
Lin, J. Y. Y., Smith, Hillary L., Granroth, Garrett E., Abernathy, Douglas L., Lumsden, Mark D., Winn, Barry L., Aczel, Adam A., Aivazis, Michael, & Fultz, Brent. MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package. United States. https://doi.org/10.1016/j.nima.2015.11.118
Lin, J. Y. Y., Smith, Hillary L., Granroth, Garrett E., Abernathy, Douglas L., Lumsden, Mark D., Winn, Barry L., Aczel, Adam A., Aivazis, Michael, and Fultz, Brent. Sat .
"MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package". United States. https://doi.org/10.1016/j.nima.2015.11.118. https://www.osti.gov/servlets/purl/1238731.
@article{osti_1238731,
title = {MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package},
author = {Lin, J. Y. Y. and Smith, Hillary L. and Granroth, Garrett E. and Abernathy, Douglas L. and Lumsden, Mark D. and Winn, Barry L. and Aczel, Adam A. and Aivazis, Michael and Fultz, Brent},
abstractNote = {MCViNE (Monte-Carlo VIrtual Neutron Experiment) is an open-source Monte Carlo (MC) neutron ray-tracing software for performing computer modeling and simulations that mirror real neutron scattering experiments. We exploited the close similarity between how instrument components are designed and operated and how such components can be modeled in software. For example we used object oriented programming concepts for representing neutron scatterers and detector systems, and recursive algorithms for implementing multiple scattering. Combining these features together in MCViNE allows one to handle sophisticated neutron scattering problems in modern instruments, including, for example, neutron detection by complex detector systems, and single and multiple scattering events in a variety of samples and sample environments. In addition, MCViNE can use simulation components from linear-chain-based MC ray tracing packages which facilitates porting instrument models from those codes. Furthermore it allows for components written solely in Python, which expedites prototyping of new components. These developments have enabled detailed simulations of neutron scattering experiments, with non-trivial samples, for time-of-flight inelastic instruments at the Spallation Neutron Source. Examples of such simulations for powder and single-crystal samples with various scattering kernels, including kernels for phonon and magnon scattering, are presented. As a result, with simulations that closely reproduce experimental results, scattering mechanisms can be turned on and off to determine how they contribute to the measured scattering intensities, improving our understanding of the underlying physics.},
doi = {10.1016/j.nima.2015.11.118},
journal = {Nuclear Instruments and Methods in Physics Research. Section A, Accelerators, Spectrometers, Detectors and Associated Equipment},
number = C,
volume = 810,
place = {United States},
year = {Sat Nov 28 00:00:00 EST 2015},
month = {Sat Nov 28 00:00:00 EST 2015}
}
Web of Science
Works referenced in this record:
Structure and dynamics of : Neutron scattering experiments and ab initio molecular dynamics simulations
journal, March 2007
- Hugouvieux, Virginie; Farhi, Emmanuel; Johnson, Mark R.
- Physical Review B, Vol. 75, Issue 10
Effect of covalent bonding on magnetism and the missing neutron intensity in copper oxide compounds
journal, October 2009
- Walters, Andrew C.; Perring, Toby G.; Caux, Jean-Sébastien
- Nature Physics, Vol. 5, Issue 12
Phonon softening and metallization of a narrow-gap semiconductor by thermal disorder
journal, March 2011
- Delaire, O.; Marty, K.; Stone, M. B.
- Proceedings of the National Academy of Sciences, Vol. 108, Issue 12
Electron-Phonon Coupling in the Conventional Superconductor at High Phonon Energies Studied by Time-of-Flight Neutron Spectroscopy
journal, July 2012
- Weber, F.; Rosenkranz, S.; Pintschovius, L.
- Physical Review Letters, Vol. 109, Issue 5
Quantum oscillations of nitrogen atoms in uranium nitride
journal, January 2012
- Aczel, A. A.; Granroth, G. E.; MacDougall, G. J.
- Nature Communications, Vol. 3, Issue 1
Inelastic neutron scattering studies of
journal, January 2014
- Hahn, S. E.; Podlesnyak, A. A.; Ehlers, G.
- Physical Review B, Vol. 89, Issue 1
High-energy continuum of magnetic excitations in the two-dimensional quantum antiferromagnet
journal, May 2014
- Plumb, K. W.; Savici, A. T.; Granroth, G. E.
- Physical Review B, Vol. 89, Issue 18
Phonon Self-Energy and Origin of Anomalous Neutron Scattering Spectra in SnTe and PbTe Thermoelectrics
journal, April 2014
- Li, C. W.; Hellman, O.; Ma, J.
- Physical Review Letters, Vol. 112, Issue 17
Improved Monte Carlo calculation of multiple scattering effects in thermal neutron scattering experiments
journal, June 1986
- Copley, J. R. D.; Verkerk, P.; van Well, A. A.
- Computer Physics Communications, Vol. 40, Issue 2-3
McStas, a general software package for neutron ray-tracing simulations
journal, January 1999
- Lefmann, Kim; Nielsen, Kristian
- Neutron News, Vol. 10, Issue 3
McStas 1.7 - a new version of the flexible Monte Carlo neutron scattering package
journal, July 2004
- Willendrup, Peter; Farhi, Emmanuel; Lefmann, Kim
- Physica B: Condensed Matter, Vol. 350, Issue 1-3
Monte Carlo simulations of neutron scattering instruments by VITESS: Virtual instrumentation tool for ESS
journal, January 2002
- Zsigmond, G.; Lieutenant, K.; Mezei, F.
- Neutron News, Vol. 13, Issue 4
IDEAS - a Monte Carlo simulation package for neutron-scattering instrumentation
journal, December 2002
- Lee, W. -T.; Wang, X. -L.; Robertson, J. L.
- Applied Physics A: Materials Science & Processing, Vol. 74, Issue 0
DISCUS : a program for diffuse scattering and defect-structure simulation
journal, April 1997
- Proffen, Th.; Neder, R. B.
- Journal of Applied Crystallography, Vol. 30, Issue 2
DISCUS , a program for diffuse scattering and defect structure simulations – update
journal, August 1999
- Proffen, Th.; Neder, R. B.
- Journal of Applied Crystallography, Vol. 32, Issue 4
RESTRAX — a program for TAS resolution calculation and scan profile simulation
journal, June 1997
- Šaroun, J.; Kulda, J.
- Physica B: Condensed Matter, Vol. 234-236
Virtual neutron scattering experiments
journal, July 2004
- Hugouvieux, V.; Farhi, E.; Johnson, M. R.
- Physica B: Condensed Matter, Vol. 350, Issue 1-3
Analysing neutron scattering data using McStas virtual experiments
journal, April 2011
- Udby, L.; Willendrup, P. K.; Knudsen, E.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 634, Issue 1
Reduction of data from inverted-geometry time-of-flight instruments
journal, March 2008
- Tregenna-Piggott, Philip; Juranyi, Fanni; Christiansen, Peter
- Journal of Neutron Research, Vol. 16, Issue 1
Validation of Bragg edge experiments by Monte Carlo simulations for quantitative texture analysis
journal, August 2011
- Boin, M.; Hilger, A.; Kardjilov, N.
- Journal of Applied Crystallography, Vol. 44, Issue 5
nxs : a program library for neutron cross section calculations
journal, May 2012
- Boin, Mirko
- Journal of Applied Crystallography, Vol. 45, Issue 3
Virtual experiments: the ultimate aim of neutron ray-tracing simulations
journal, September 2008
- Lefmann, K.; Willendrup, P. K.; Udby, L.
- Journal of Neutron Research, Vol. 16, Issue 3
Virtual experiments: Combining realistic neutron scattering instrument and sample simulations
journal, August 2009
- Farhi, E.; Hugouvieux, V.; Johnson, M. R.
- Journal of Computational Physics, Vol. 228, Issue 14
Virtual experiments in a nutshell: Simulating neutron scattering from materials within instruments with McStas
journal, January 2011
- Farhi, E.; Willendrup, P.
- École thématique de la Société Française de la Neutronique, Vol. 12
Using McStas for modelling complex optics, using simple building bricks
journal, April 2011
- Willendrup, Peter K.; Udby, Linda; Knudsen, Erik
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 634, Issue 1
Advanced sources and optical components for the McStas neutron scattering instrument simulation package
journal, January 2014
- Farhi, E.; Monzat, C.; Arnerin, R.
- Journal of Neutron Research, Vol. 17, Issue 1
Multiple-scattering effects on smooth neutron-scattering spectra
journal, November 2000
- Wuttke, Joachim
- Physical Review E, Vol. 62, Issue 5
A compact time-of-flight SANS instrument optimised for measurements of small sample volumes at the European Spallation Source
journal, November 2014
- Kynde, Søren; Hewitt Klenø, Kaspar; Nagy, Gergely
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 764
Application of the MCNPX-McStas interface for shielding calculations and guide design at ESS
journal, July 2014
- Klinkby, E. B.; Knudsen, E. B.; Willendrup, P. K.
- Journal of Physics: Conference Series, Vol. 528
Exploring performance of neutron guide systems using pinhole beam extraction
journal, November 2013
- Bertelsen, Mads; Jacobsen, Henrik; Bengaard Hansen, Ursula
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 729
Probing static and dynamic correlations in matter under extreme conditions: Concept of multi-purpose instrument at the European Spallation Source
journal, November 2014
- Prokhnenko, O.; Lieutenant, K.; Cussen, L. D.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 764
New neutron-guide concepts and simulation results for the POWTEX instrument
journal, July 2012
- Houben, Andreas; Schweika, Werner; Brückel, Thomas
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 680
Upgrade of the primary spectrometer of the cold triple-axis spectrometer FLEX at the BER II reactor
journal, August 2011
- Skoulatos, M.; Habicht, K.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 647, Issue 1
A method for detailed simulations of neutron diffraction from imperfect crystals
journal, August 2004
- Alianelli, L.; Wilson, N.; Andersen, K. H.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 529, Issue 1-3
A comparison of Monte-Carlo simulation programs with experiment: the effect of a focusing guide on resolution
journal, December 2002
- Wildes, A. R.; Saroun, J.; Farhi, E.
- Applied Physics A: Materials Science & Processing, Vol. 74, Issue 0
Design and operation of the wide angular-range chopper spectrometer ARCS at the Spallation Neutron Source
journal, January 2012
- Abernathy, D. L.; Stone, M. B.; Loguillo, M. J.
- Review of Scientific Instruments, Vol. 83, Issue 1
SEQUOIA: A fine resolution chopper spectrometer at the SNS
journal, November 2006
- Granroth, G. E.; Vandergriff, D. H.; Nagler, S. E.
- Physica B: Condensed Matter, Vol. 385-386
A comparison of four direct geometry time-of-flight spectrometers at the Spallation Neutron Source
journal, April 2014
- Stone, M. B.; Niedziela, J. L.; Abernathy, D. L.
- Review of Scientific Instruments, Vol. 85, Issue 4
Design and performance of vacuum capable detector electronics for linear position sensitive neutron detectors
journal, February 2012
- Riedel, R. A.; Cooper, R. G.; Funk, L. L.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 664, Issue 1
Mantid—Data analysis and visualization package for neutron scattering and SR experiments
journal, November 2014
- Arnold, O.; Bilheux, J. C.; Borreguero, J. M.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 764
Fast Monte Carlo simulation of a dispersive sample on the SEQUOIA spectrometer at the SNS
journal, January 2007
- Granroth, Garrett; Chen, Meili; Kohl, James
- Journal of Neutron Research, Vol. 15, Issue 1
Neutron scattering lengths and cross sections
journal, January 1992
- Sears, Varley F.
- Neutron News, Vol. 3, Issue 3
X-Ray Determination of Phonon Dispersion in Vanadium
journal, May 1970
- Colella, R.; Batterman, B. W.
- Physical Review B, Vol. 1, Issue 10
Crystal equilibrium and lattice dynamics of vanadium
journal, June 1978
- Gupta, O. P.; Hemkar, M. P.
- Il Nuovo Cimento B, Vol. 45, Issue 2
Normal Vibrations in Aluminum and Derived Thermodynamic Properties
journal, March 1966
- Gilat, G.; Nicklow, R. M.
- Physical Review, Vol. 143, Issue 2
Phonons in aluminum at high temperatures studied by inelastic neutron scattering
journal, January 2008
- Kresch, M.; Lucas, M.; Delaire, O.
- Physical Review B, Vol. 77, Issue 2
Anharmonicity-induced phonon broadening in aluminum at high temperatures
journal, November 2010
- Tang, Xiaoli; Li, Chen W.; Fultz, B.
- Physical Review B, Vol. 82, Issue 18
Magnetic excitation spectrum of the square lattice Heisenberg antiferromagnet
journal, December 2006
- Lumsden, M. D.; Nagler, S. E.; Sales, B. C.
- Physical Review B, Vol. 74, Issue 21
Improved Monte Carlo calculation of multiple scattering effects in thermal neutron scattering experiments
dataset, January 2019
- Copley, J. R. D.
- Mendeley
Virtual experiments: Combining realistic neutron scattering instrument and sample simulations
journal, August 2009
- Farhi, E.; Hugouvieux, V.; Johnson, M. R.
- Journal of Computational Physics, Vol. 228, Issue 14
Design and performance of vacuum capable detector electronics for linear position sensitive neutron detectors
journal, February 2012
- Riedel, R. A.; Cooper, R. G.; Funk, L. L.
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 664, Issue 1
Exploring performance of neutron guide systems using pinhole beam extraction
journal, November 2013
- Bertelsen, Mads; Jacobsen, Henrik; Bengaard Hansen, Ursula
- Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 729
Quantum oscillations of nitrogen atoms in uranium nitride
journal, January 2012
- Aczel, A. A.; Granroth, G. E.; MacDougall, G. J.
- Nature Communications, Vol. 3, Issue 1
The new cold neutron chopper spectrometer at the Spallation Neutron Source: Design and performance
journal, August 2011
- Ehlers, G.; Podlesnyak, A. A.; Niedziela, J. L.
- Review of Scientific Instruments, Vol. 82, Issue 8
Design and operation of the wide angular-range chopper spectrometer ARCS at the Spallation Neutron Source
journal, January 2012
- Abernathy, D. L.; Stone, M. B.; Loguillo, M. J.
- Review of Scientific Instruments, Vol. 83, Issue 1
A comparison of four direct geometry time-of-flight spectrometers at the Spallation Neutron Source
journal, April 2014
- Stone, M. B.; Niedziela, J. L.; Abernathy, D. L.
- Review of Scientific Instruments, Vol. 85, Issue 4
Monte Carlo simulations of neutron scattering instruments by VITESS: Virtual instrumentation tool for ESS
journal, January 2002
- Zsigmond, G.; Lieutenant, K.; Mezei, F.
- Neutron News, Vol. 13, Issue 4
Using Monte Carlo ray tracing simulations to model the quantum harmonic oscillator modes observed in uranium nitride
journal, April 2014
- Lin, J. Y. Y.; Aczel, A. A.; Abernathy, D. L.
- Physical Review B, Vol. 89, Issue 14
High-Energy Continuum of Magnetic Excitations in the Two-Dimensional Quantum Antiferromagnet Sr2CuO2Cl2
text, January 2014
- Plumb, K. W.; Savici, A. T.; Granroth, G. E.
- arXiv
Structure and dynamics of l-Ge: Neutron scattering experiments and ab initio molecular dynamics simulations
text, January 2007
- Hugouvieux, Virginie; Farhi, Emmanuel; Johnson, Mark R.
- arXiv
Works referencing / citing this record:
Recent developments of MCViNE and its applications at SNS
journal, August 2019
- Lin, Jiao Y. Y.; Islam, Fahima; Sala, Gabriele
- Journal of Physics Communications, Vol. 3, Issue 8
Super-resolution energy spectra from neutron direct-geometry spectrometers
journal, October 2019
- Islam, Fahima; Lin, Jiao Y. Y.; Archibald, Richard
- Review of Scientific Instruments, Vol. 90, Issue 10
Conceptual design of CHESS, a new direct-geometry inelastic neutron spectrometer dedicated to studying small samples
journal, March 2018
- Sala, Gabriele; Lin, Jiao Y. Y.; Graves, Van B.
- Journal of Applied Crystallography, Vol. 51, Issue 2