Engineering Papers⌕ Search

Engineering topics

Lin, Jiao

Publications and source records attributed to Lin, Jiao.

Using Numba for GPU acceleration of Neutron Beamline Digital Twins

Digital twins of neutron instruments using Monte Carlo ray tracing have proven to be useful in neutron data analysis and verifying instrument and sample designs. However, these simulations can become quite complex and computationally demanding with tens of billions of neutrons. In this paper, we present a GPU accelerated version of MCViNE using Python and Numba to balance user extensibility with performance. Numba is an open-source just-in-time (JIT) compiler for Python using LLVM to generate efficient machine code for CPUs and GPUs with NVIDIA CUDA. The JIT nature of Numba allowed complex instrument kernels to be generated easily. Initial simulations have shown a speedup between 200-1000x over the original CPU implementation. The performance gain with Numba enables more sophisticated data analysis and impacts neutron scattering science and instrument design.

Kendrick, Coleman↗

Advanced Modeling and Simulation Methods for Evaluation of Thermal Neutron Scattering Materials

With the rise of interest in thermal neutron scattering data for advanced reactor, criticality safety, and shielding applications, new experimental data are required for evaluation of new materials or for re-evaluation (or validations) of previously evaluated materials. New experimental data are evaluated in a three-step process: (1) computing the phonon characteristics, (2) computing the dynamic structure factor (DSF) from the data, and (3) using the experimental setup to simulate the experimental data. All three steps have challenges, ranging from the need for a sufficiently general material simulation code—a processing code that can compute the corresponding DSF—to having a detailed layout of the instrument/beamline/facility where the data were measured. Whereas phonon characteristics of materials can be computed using various methods (molecular dynamics, density functional theory, etc.), a high-fidelity computation of the DSF and the simulation of the experiment based on the DSF is vital to the accuracy of the evaluation. The latter two steps can be achieved by using the two corresponding code systems developed by instrument scientists at the Spallation Neutron Source (SNS) at Oak Ridge National Laboratory: (1) OCLIMAX, a program that calculates the dynamic structure factor from DFT and MD simulation results, and (2) MCViNE, a Monte Carlo neutron ray-tracing program designed to simulate neutron scattering experiments. Recently, polyethylene and yttrium hydride were measured at the Wide Angular-Range Chopper (ARCS) and SEQUOIA instrument stations of the SNS. These experiments are simulated using the density functional theory code, the Cambridge Serial Total Energy Package (CASTEP), to compute its phonon characteristics (eigenvalues/vectors and PDOS), which is then processed using OCLIMAX to yield the DSF, and finally the data at each instrument station are simulated by the MCViNE for comparison to the measured data for evaluation. For comparison to conventional evaluation methods, the scattering data processed from OCLIMAX are compared against those processed from the LEAPR module of NJOY, and the results from MCViNE simulations are compared against previously used simplified beamline models implemented in the Monte Carlo N-Particle (MCNP) code.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Second Target Station Computer Science and Math Workshop Report

Discovery science drives innovation and underpins the technological advances that will solve some of society’s most challenging issues, including clean energy technologies, better medicines, safe potable water, and addressing aging infrastructures, including transportation. Many of these advances will result from basic research into new materials and new ways to optimize our use of existing materials. Oak Ridge National Laboratory’s neutron sources provide cutting-edge scientific tools to probe the structure and dynamics of matter in unique ways. This insight is fundamental to advancing our ability to discover, design, control, and use new materials to address society’s most pressing needs.

97 MATHEMATICS AND COMPUTING↗

Advanced Modeling and Simulations for Evaluation of Thermal Neutron Scattering Materials [Slides]

In this presentation, researchers detail tradeoffs between two simulation suites for thermal neutron scattering data. OXLIMAX + MCViNE provide a more accurate elastic peak shape and NJOY + MCNP have more accurate spectra between phonon mode peaks (most likely due to multiple neutron scattering). Additionally, some outstanding issues with MCViNE are noted, including multiple neutron scattering and non-uniform (Q,E) grid for data.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

CENTAUR - The small- and wide-angle neutron scattering diffractometer/spectrometer for the Second Target Station of the Spallation Neutron Source

CENTAUR has been selected as one of the eight initial instruments to be built at the Second Target Station (STS) of the Spallation Neutron Source at Oak Ridge National Laboratory. It is a small-angle neutron scattering (SANS) and wide-angle neutron scattering (WANS) instrument with diffraction and spectroscopic capabilities. This instrument will maximally leverage the high brightness of the STS source, the state-of-the-art neutron optics, and a suite of detectors to deliver unprecedented capabilities that enable measurements over a wide range of length scales with excellent resolution, measurements on smaller samples, and time-resolved investigations of evolving structures. Notably, the simultaneous WANS and diffraction capability will be unique among neutron scattering instruments in the United States. This instrument will provide much needed capabilities for soft matter and polymer sciences, geology, biology, quantum condensed matter, and other materials sciences that need in situ and operando experiments for kinetic and/or out-of-equilibrium studies. Beam polarization and a high-resolution chopper will enable detailed structural and dynamical investigations of magnetic and quantum materials. CENTAUR’s excellent resolution makes it ideal for low-angle diffraction studies of highly ordered large-scale structures, such as skyrmions, shear-induced ordering in colloids, and biomembranes. Additionally, the spectroscopic mode of this instrument extends to lower momentum transfers than are currently possible with existing spectrometers, thereby providing a unique capability for inelastic SANS studies.

47 OTHER INSTRUMENTATION↗

VERDI: VERsatile DIffractometer with wide-angle polarization analysis for magnetic structure studies in powders and single crystals

The VERsatile DIffractometer will set a new standard for a world-class magnetic diffractometer with versatility for both powder and single crystal samples and capability for wide-angle polarization analysis. The instrument will utilize a large single-frame bandwidth and will offer high-resolution at low momentum transfers and excellent signal-to-noise ratio. A horizontal elliptical mirror concept with interchangeable guide pieces will provide high flexibility in beam divergence to allow for a high-resolution powder mode, a high-intensity single crystal mode, and a polarized beam option. A major science focus will be quantum materials that exhibit emergent properties arising from collective effects in condensed matter. The unique use of polarized neutrons to isolate the magnetic signature will provide optimal experimental input to state-of-the-art modeling approaches to access detailed insight into local magnetic ordering.

36 MATERIALS SCIENCE↗

Inelastic Neutron Scattering Data for FeSn

Inelastic neutron scattering data from FeSn collected with the SEQUOIA spectrometer at the Spallation Neutron Source located at Oak Ridge National Laboratory. A 4.43 g sample of FeSn was used for the measurements as described in doi: https://doi.org/10.1103/PhysRevB.105.L180403 and the associated supplemental information. The data were collected with an incident energy of 500 meV. The Fermi chopper frequency was 480 Hz, which provides a resolution of 38.2 meV (FWHM) for elastic scattering. Additional details are available in https://doi.org/10.1103/PhysRevB.105.L180403 and the associated supplemental information. The data may be viewed and analyzed with the software packages Mantid (http://dx.doi.org/10.5286/SOFTWARE/MANTID) and Dave (doi: 10.6028/jres.114.025). Sample angles measured: -20 deg to 20 deg and 160 deg to 200 deg where 0 deg is defined for ki//c* Sample Orientation vectors: ‘u': '-0.0032, 0.0201, -1.0' ‘v': '-1.0, 0.0278, -0.0059'

Inelastic Neutron Scattering↗

MENUS—Materials engineering by neutron scattering

Materials engineering by neutron scattering (MENUS) at the second target station will be a transformational high-flux, versatile, multiscale materials engineering diffraction beamline with unprecedented new capabilities for the study of complex materials and structures. It will support both fundamental and applied materials research in a broad range of fields. MENUS will combine unprecedented long-wavelength neutron flux and unique detector coverage to enable real-time studies of complex structural and functional materials under external stimuli. The incorporated small angle neutron scattering and transmission/imaging capabilities will extend its sensitivity to larger length scales and higher spatial resolution. Multimodal MENUS will provide crystallographic and microstructure data to the materials science and engineering community to understand lattice strain/phase transition/microstructure/texture evolution in three orthogonal directions in complex material systems under combined extreme applied conditions. Finally, the capabilities of MENUS will open new scientific opportunities and meet the research needs for science challenges to enable studies of a range of phenomena and answer the key questions in material design/exploration, advanced material processing, transformative manufacturing, and material operations of national impacts in our daily life.

47 OTHER INSTRUMENTATION↗