Development of scientific software relies on specialized knowledge from a broad range of diverse disciplines including computer science, mathematics, engineering, and the natural sciences. Since it is rare for a given practitioner to simultaneously be an expert in each of the aforementioned fields, teamwork and collaboration are now the norm for scientific software development. This short paper discusses specific software development conventions that have led to the success of the MOOSE multiphysics framework at Idaho National Laboratory (INL), and ongoing plans to bring MOOSE to a wider community of developers as an open source project on GitHub.
The MOOSE Framework is a foundational capability used by NEAMS to create over 15 different simulation tools for advanced nuclear reactors. Due to this ubiquity, improvements to the framework in support of modeling and simulation goals are critical to the program. These improvements can take many forms including optimization, improved user experience, streamlined APIs, parallelism, and new capability. During FY22 the MOOSE team has responded to [X] tickets created in support of the physics code teams, closing [Y] of them and delivering a total of [Z] new lines of code to support the program.
The Virtual Test Bed (VTB) was established to support the deployment of advanced reactors by facilitating the use of state-of-the-art modeling and simulation capabilities. These tools are able to solve previously prohibitive challenge problems in greater levels of fidelity and in a multi-physics framework. A VTB repository was recently set up to host models for a wide variety of reactor types and using a range of NEAMS-developed software. Table I summarizes the different capabilities already available in the repository and up-and-coming near/long term ones. The repository currently hosts models for a wide variety of reactor types, including High-Temperature Gas Cooled Reactors (HTGR), Sodium Fast Reactors (SFR), Fluoride salt cooled High-temperature Reactors (FHR), Molten Salt Reactors (MSR), and Heat-Pipe Microreactors (HP-MR). It should be noted that work is ongoing for all of the models and each example problem is at a different state of maturity.
Nek5000/RS is a highly-performant open-source spectral element code for simulation of incompressible and low-Mach fluid flow, heat transfer, and combustion with a particular focus on turbulent flows in complex domains. It is based on high-order discretizations that realize the same (or lower) cost per gridpoint as traditional low-order methods. State-of-the-art multilevel preconditioners, efficient high-order time-splitting methods, and runtime-adaptive communication strategies are built on a fast OCCA-based kernel library, libParanumal, to provide scalability and portability across the spectrum of current and future high-performance computing platforms. On Summit, Nek5000/RS has recently achieved an milestone in the simulation of nuclear reactors: the first full-core computational fluid dynamics simulations of reactor cores, including pebble beds with > 350,000 pebbles and 98M elements advanced in less than 0.25 seconds per Navier-Stokes timestep. With carefully tuned algorithms, it is possible to simulate a single flow-through time for a full reactor core in less than six hours on all of Summit.