Search NASA⌕ Search

DOE OSTI · 1375892

User input verification and test driven development in the NJOY21 nuclear data processing code

Abstract

Before physically-meaningful data can be used in nuclear simulation codes, the data must be interpreted and manipulated by a nuclear data processing code so as to extract the relevant quantities (e.g. cross sections and angular distributions). Perhaps the most popular and widely-trusted of these processing codes is NJOY, which has been developed and improved over the course of 10 major releases since its creation at Los Alamos National Laboratory in the mid-1970’s. The current phase of NJOY development is the creation of NJOY21, which will be a vast improvement from its predecessor, NJOY2016. Designed to be fast, intuitive, accessible, and capable of handling both established and modern formats of nuclear data, NJOY21 will address many issues that many NJOY users face, while remaining functional for those who prefer the existing format. Although early in its development, NJOY21 is quickly providing input validation to check user input. By providing rapid and helpful responses to users while writing input files, NJOY21 will prove to be more intuitive and easy to use than any of its predecessors. Furthermore, during its development, NJOY21 is subject to regular testing, such that its test coverage must strictly increase with the addition of any production code. This thorough testing will allow developers and NJOY users to establish confidence in NJOY21 as it gains functionality. This document serves as a discussion regarding the current state input checking and testing practices of NJOY21.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Trainer, Amelia Jo, Conlin, Jeremy Lloyd, McCartney, Austin Paul. 2017-08-21. User input verification and test driven development in the NJOY21 nuclear data processing code. https://doi.org/10.2172/1375892

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

Design-informed neutronics assessment of long-lived fission product transmutation in a tokamak fusion reactor blanket

This study presents a neutronics-based assessment of the feasibility and viability of transmuting six major long-lived fission products (LLFPs) from light-water reactors, namely 99 Tc, 129 I, 79 Se, 93 Zr, 126 Sn, and 135 Cs, within the blanket region of a tokamak fusion reactor, using the MIT ARC design as a concrete fusion configuration. Monte Carlo neutronics simulations were performed to evaluate LLFP transmutation and to compare the results with a reference boiling water reactor (BWR). The results indicate that transmutation of all six LLFPs is neutronics-feasible in fusion reactors, with transmutation half-lives significantly shorter than their natural decay half-lives. For elemental targets, transmutation of 135 Cs, 126 Sn, and 93 Zr was found potentially viable, as the net mass transmuted exceeded that achievable in the reference BWR under identical target volume and irradiation time. When isotopically separated targets were considered, transmutation of 126 Sn and 93 Zr appeared potentially viable. A parametric study demonstrated that plasma geometry modifications can enhance local neutron flux, increasing the transmuted 93 Zr mass by approximately 33% and reducing the transmutation half-life from approximately 240 years to 180 years. Repositioning the target and adjusting material layer thickness reduced the transmutation half-life of 93 Zr to 67 years and increased the net mass transmuted by a factor of 50. Furthermore, these results demonstrate that fusion reactors can enable LLFP transmutation beyond the practical limits of thermal fission reactors and highlight the critical role of reactor and blanket design optimization. Engineering and fuel-cycle considerations required for deployment are beyond the scope of this neutronics-focused study.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

A hybrid Monte Carlo-deterministic second moment method with efficient variance reduction

In this work, we present a hybrid method that combines Monte Carlo with deterministic finite element methods to solve a linear Boltzmann transport equation. Our hybrid method runs orders of magnitude faster than Monte Carlo, without sacrificing accuracy, for a proxy problem from radiative transfer that contains both optically-thick and optically-thin material. We believe that this is the first demonstration of a hybrid Second Moment Method in more than one spatial dimension, the first to consider more than one material, and the first to use variance reduction. Our variance reduction approach arises from an asymptotic analysis in which we show that the magnitude of the scattering source grows without bound. We transform the problem to compute the deviation of the radiation intensity from isotropy. The magnitude of the source in the transformed problem is bounded, and the quality of the hybrid method solution is dramatically improved by a substantial reduction in the variance.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗