skip to main content


Title: MCViNE- An object oriented Monte Carlo neutron ray tracing simulation package

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 » 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.« less
 [1] ;  [2] ;  [3] ;  [3] ;  [3] ;  [3] ;  [3] ;  [4] ;  [4]
  1. California Institute of Technology (Caltech), Pasadena, CA (United States); Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
  2. California Inst. of Technology (CalTech), Pasadena, CA (United States)
  3. Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
  4. California Institute of Technology (Caltech), Pasadena, CA (United States)
Publication Date:
Grant/Contract Number:
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
Research Org:
Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
Sponsoring Org:
USDOE Office of Science (SC), Basic Energy Sciences (BES) (SC-22)
Country of Publication:
United States
46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND TECHNOLOGY; 97 MATHEMATICS AND COMPUTING; neutron scattering; Monte Carlo simulation; ray-tracing; inelastic; spectrometry
OSTI Identifier:
Alternate Identifier(s):
OSTI ID: 1397568