Search NASA⌕ Search

SEARCH · Search NASA

Results for “code modernization”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 325 records · Page 18

Superdense Coding over Optical Fiber Links with Complete Bell-State Measurements

Adopting quantum communication to modern networking requires transmitting quantum information through a fiber-based infrastructure. In this paper, we report the first demonstration of superdense coding over optical fiber links, taking advantage of a complete Bell-state measurement enabled by time-polarization hyperentanglement, linear optics, and common single-photon detectors. Finally, we demonstrate the highest single-qubit channel capacity to date utilizing linear optics, 1.665 ± 0.018, and we provide a full experimental implementation of a hybrid, quantum-classical communication protocol for image transfer.

97 MATHEMATICS AND COMPUTING↗

Building Energy Codes and Grid-Interactive Efficient Buildings: How building energy codes can enable a more dynamic and energy-efficient built environment

This report considers the role of national model codes to promote grid-interactive efficient buildings (GEBs) as part of the modernization of the U.S. electricity grid. It introduces GEBs, describes their ability to support a clean, resilient grid, and considers challenges and approaches for incorporating GEB measures into national model energy codes and standards. Desirable traits of GEB include being low energy, low peaking, and responsive to grid needs, and minimizing the curtailment of renewable energy resources. In addition, the future grid incurs a time and locational value on these types of building services. Accounting for these considerations in future code development requires a continuation and expansion of code-minimum energy efficiency requirements and inclusion of demand responsive and load flexibility measures while ensuring annual use and cost reductions. Also, efforts to include GEB measures in codes will be limited until they are fully developed into an American National Standards Institute (ANSI)-approved standard. Then it would be straightforward to address GEB measures through points or packages and/or scoring requirements. Otherwise, the building code would have to describe each specific grid responsive strategy. This document reviews topics pertinent to considering codes in this context. Specifically, the study presents the status and direction of current building energy codes, the future smart grid, low-energy buildings, and grid-integrated buildings. The report concludes with recommendations for future code development activities to support low-energy, grid-interactive buildings in order to provide added value to building owners, the grid, and society.

24 POWER TRANSMISSION AND DISTRIBUTION↗

COMPOFF: A Compiler Cost model using Machine Learning to predict the Cost of OpenMP Offloading

The HPC industry is inexorably moving towards an era of extremely heterogeneous architectures, with more devices configured on any given HPC platform and potentially more kinds of devices, some of them highly specialized. Writing a separate code suitable for each target system for a given HPC application is not practical. The better solution is to use directive-based parallel programming models such as OpenMP. OpenMP provides a number of options for offloading a piece of code to devices like GPUs. To select the best option from such options during compilation, most modern compilers use analytical models to estimate the cost of executing the original code and the different offloading code variants. Building such an analytical model for compilers is a difficult task that necessitates a lot of effort on the part of a compiler engineer. Recently, machine learning techniques have been successfully applied to build cost models for a variety of compiler optimization problems. In this paper, we present COMPOFF, a cost model which uses the multi-layer perceptrons to statically estimates the Cost of OpenMP OFFloading. We used six different transformations on a parallel code of Wilson Dslash Operator to support GPU offloading, and we predicted their cost of execution on different GPUs using COMPOFF during compile time. Our results show that this model can predict offloading costs with a root mean squared error in prediction of less than 0.5 seconds. Our preliminary findings indicate that this work will make it much easier and faster for scientists and compiler developers to port legacy HPC applications that use OpenMP to new heterogeneous computing environment.

97 MATHEMATICS AND COMPUTING↗

Code eOMEGA - Decommissioning Costing of Nuclear Facilities Based on the ISDC - 17230

The paper is focused on the presentation of the development process, calculation procedure and main features of the eOMEGA code used for decommissioning costing of nuclear facilities. The methodology for decommissioning cost calculation implemented to the eOMEGA code is fully in line with the international recommendations, best practices and is completely based on the ISDC - The International Structure for Decommissioning Costing (ISDC) of Nuclear Installation. ISDC represents the standard and common platform for presenting the results of the cost estimates for decommissioning projects related to any type of nuclear facility. The main goal of the eOMEGA costing code is to provide the ISDC based flexible, open, modern and user-friendly tool for transparent and reliable decommissioning costing for any type of nuclear facility with any systems, structures and radiological situation at the end of the operational period. Moreover, the eOMEGA decommissioning costing code is intended to be one of the modules of the universal eOMEGA platform which should cover also the other activities within the back-end of nuclear power engineering e.g. decommissioning funding, back end of nuclear fuel cycle, site remediation. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Programming approaches for scalability, performance, and portability of combustion physics codes

Here, this paper presents the process, strategy, and results associated with porting a typical combustion physics flow solver to current state-of-the-art and future massively-parallel computer architectures. Major focus is placed on the distinct algorithmic structure of these types of codes and how it can be integrated with modern programming paradigms for heterogeneous platforms (i.e., distributed many-core systems with accelerators). An end-to-end case study is presented that exemplifies the process in a generic manner, which then serves as a clear guide with respect to the strategy and best practices leading to a robust and adaptable framework that performs well, is durable over time, is portable, and requires minimal human-effort. This end is accomplished beginning with the use of a mature, validated, structured, multiblock code framework optimized for application of both Large Eddy Simulation (LES) and Direct Numerical Simulation (DNS). This code has been ported to a variety of platforms over the past decade, including most recently the Oak Ridge Leadership Computing Facility’s “Summit” Platform. The experience gained on these multiple platforms provides general insights and thus the results presented are not specific to any one code or platform other than the overarching trend toward distributed many-core systems with accelerators in order to move toward exascale performance. The resultant performance and scalability of the ported code is demonstrated on a real-world application; a state-of-the-art rotating detonation rocket engine simulation that matches the complex geometry and boundary conditions imposed as part of a companion experimental campaign.

97 MATHEMATICS AND COMPUTING↗

The Use of Field Programmable Gate Arrays (FPGA) in Small Satellite Communication Systems

This paper will describe the use of digital Field Programmable Gate Arrays (FPGA) to contribute to advancing the state-of-the-art in software defined radio (SDR) transponder design for the emerging SmallSat and CubeSat industry and to provide advances for NASA as described in the TAO5 Communication and Navigation Roadmap (Ref 4). The use of software defined radios (SDR) has been around for a long time. A typical implementation of the SDR is to use a processor and write software to implement all the functions of filtering, carrier recovery, error correction, framing etc. Even with modern high speed and low power digital signal processors, high speed memories, and efficient coding, the compute intensive nature of digital filters, error correcting and other algorithms is too much for modern processors to get efficient use of the available bandwidth to the ground. By using FPGAs, these compute intensive tasks can be done in parallel, pipelined fashion and more efficiently use every clock cycle to significantly increase throughput while maintaining low power. These methods will implement digital radios with significant data rates in the X and Ka bands. Using these state-of-the-art technologies, unprecedented uplink and downlink capabilities can be achieved in a 1/2 U sized telemetry system. Additionally, modern FPGAs have embedded processing systems, such as ARM cores, integrated inside the FPGA allowing mundane tasks such as parameter commanding to occur easily and flexibly. Potential partners include other NASA centers, industry and the DOD. These assets are associated with small satellite demonstration flights, LEO and deep space applications. MSFC currently has an SDR transponder test-bed using Hardware-in-the-Loop techniques to evaluate and improve SDR technologies.

Varnavas, Kosta↗

Coupling Noah-Multiparameterization land-surface Model with Energy Research and Forecasting Model

The Energy Research and Forecasting (ERF) model is a high-performance atmospheric model built on the AMReX adaptive mesh refinement (AMR) framework, enabling efficient simulations on heterogeneous computing platforms that combine multicore processors with hardware accelerators. To support land–atmosphere interactions within ERF’s AMR-based environment, a land-surface model must be capable of operating directly on hierarchically refined meshes. In this work, we present a methodology for coupling the Fortran-based Noah-Multiparameterization (Noah-MP) land-surface model with ERF’s C++ codebase. Rather than rewriting Noah-MP, we construct a Fortran–C interoperability layer using CodeScribe, a tool that leverages large language models (LLMs) to automate the generation of interface code. CodeScribe applies structured prompting techniques to generate bindings that support efficient data exchange and function calls between ERF and Noah-MP. The coupling framework also incorporates AMR-aware data handling strategies, allowing NoahMP to operate seamlessly within ERF’s hierarchical mesh structure. This work provides a structured approach for integrating legacy Fortran models into modern C++-based modeling systems using LLM-assisted code generation.

54 ENVIRONMENTAL SCIENCES↗

ALPHANSO: Open-source modeling of (α, n) neutron source terms

Applications ranging from nuclear safeguards to dark matter detection require accurate predictions of neutron yields and energy spectra produced by (α, n) reactions. Legacy tools like SOURCES-4C remain widely used despite significant limitations, including outdated nuclear data, missing target nuclides, and restricted accessibility. Here, we present ALPHANSO, an open-source Python package for calculating (α, n) neutron source terms. ALPHANSO incorporates modern nuclear data libraries and formats covering all naturally occurring target nuclides and provides a transparent, modular framework for updating or extending the data as new evaluations are released. Comparison with an updated version of SOURCES-4A, NeuCBOT, and experimental measurements across a range of elements and materials shows that ALPHANSO reproduces neutron yields and spectra in good agreement with experimental data and state-of-the-art (α, n) calculations. These results demonstrate that ALPHANSO is a reliable, accessible, and modern alternative to legacy (α, n) source term codes such as SOURCES-4C. Its open-source design and modular data handling make it readily extensible to future evaluated nuclear data and low-background applications.

(α, n) reactions↗

Implementation of Relativistic Coupled Cluster Theory for Massively Parallel GPU-Accelerated Computing Architectures

In this paper, we report reimplementation of the core algorithms of relativistic coupled cluster theory aimed at modern heterogeneous high-performance computational infrastructures. The code is designed for parallel execution on many compute nodes with optional GPU coprocessing, accomplished via the new ExaTENSOR back end. The resulting ExaCorr module is primarily intended for calculations of molecules with one or more heavy elements, as relativistic effects on the electronic structure are included from the outset. In the current work, we thereby focus on exact two-component methods and demonstrate the accuracy and performance of the software. The module can be used as a stand-alone program requiring a set of molecular orbital coefficients as the starting point, but it is also interfaced to the DIRAC program that can be used to generate these. We therefore also briefly discuss an improvement of the parallel computing aspects of the relativistic self-consistent field algorithm of the DIRAC program.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

ForTrilinos Design Document

With the development of a Fortran Interface to Trilinos, ForTrilinos, modelers using modern Fortran will be able to provide their codes the capability to use solvers and other capabilities on exascale machines via a straightforward infrastructure that accesses Trilinos. This document outlines what ForTrilinos does and explains briefly how it works. We show it provides a general access to packages via an entry point and uses an xml file from fortran code. With the first release, ForTrilinos will enable Teuchos to take xml parameter lists from Fortran code and set up data structures. It will provide access to linear solvers and eigen solvers. Several examples are provided to illustrate the capabilities in practice. We explain what the user should have already with their code and what Trilinos provides and returns to the Fortran code. We provide information about the build process for ForTrilinos, with a practical example. In future releases, nonlinear solvers, time iteration, advanced preconditioning techniques, and inversion of control (IoC), to enable callbacks to Fortran routines, will be available.

97 MATHEMATICS AND COMPUTING↗

Simulation of unsteady rotational flow over propfan configuration

During the past decade, aircraft engine manufacturers and scientists at NASA have worked on extending the high propulsive efficiency of a classical propeller to higher cruise Mach numbers. The resulting configurations use highly swept twisted and very thin blades to delay the drag divergence Mach number. Unfortunately, these blades are also susceptible to aeroelastic instabilities. This was observed for some advanced propeller configurations in wind tunnel tests at NASA Lewis Research Center, where the blades fluttered at cruise speeds. To address this problem and to understand the flow phenomena and the solid fluid interaction involved, a research effort was initiated at Georgia Institute of Technology in 1986, under the support of the Structural Dynamics Branch of the NASA Lewis Research Center. The objectives of this study are: (1) the development of solution procedures and computer codes capable of predicting the aeroelastic characteristics of modern single and counter-rotation propellers; and (2) the use of these solution procedures to understand physical phenomena such as stall flutter, transonic flutter, and divergence.

Srivastava, Rakesh↗

Dynamically Tuned Blade Pitch Links for Vibration Reduction

A passive vibration reduction device in which the conventional main rotor blade pitch link is replaced by a spring/damper element is investigated using a comprehensive rotorcraft analysis code. A case study is conducted for a modern articulated helicopter main rotor. Correlation of vibratory pitch link loads with wind tunnel test data is satisfactory for lower harmonics. Inclusion of unsteady aerodynamics had little effect on the correlation. In the absence of pushrod damping, reduction in pushrod stiffness from the baseline value had an adverse effect on vibratory hub loads in forward flight. However, pushrod damping in combination with reduced pushrod stiffness resulted in modest improvements in fixed and rotating system hub loads.

Milgram, Judah↗

NASCAP-2K: An Overview

Nascap-2k is the modern replacement for the older 3-D charging codes NASCAP/GEO, NASCAP/LEO, POLAR, and DynaPAC. Built on the DynaPAC kernel and incorporating surface charging, environment and space potential models from the older codes, Nascap-2k performs charging calculations for a wide variety of space environments under control of a unified graphical interface. In this paper we illustrate the use of Nascap-2k for spacecraft charging calculations. We touch on some of the unique physical and mathematical models on which the code is based. Examples/demos include the use of Object Toolkit, charging calculations in geosynchronous substorm, solar wind, low earth orbit, and auroral environments, and display and analysis of surface potentials, space potentials and particle trajectories.

Mandell, M. J.↗

NESTEM Probabilistic Analysis Used to Study Mistuned Bladed Disks and Blisks With Aerodynamic and Structural Coupling

This document summarizes the initial results from a research effort at the NASA Glenn Research Center on blisk and bladed disk mistuning, including both structural and aerodynamic coupling. The structural coupling model is based on the Fundamental Mistuning Model (FMM, developed by Feiner and Griffin). This effort extends the FMM technique to accept aerodynamic coupling coefficients from computational fluid dynamic codes. The model was applied to a representative modern front compressor stage. Flutter stability and forced response were determined with structural coupling only, with aerodynamic coupling only, and with both structural and aerodynamic coupling. Tuned, randomly mistuned, and near alternately mistuned rotors were considered.

Kielb, Robert E.↗

BISON Robustness and Performance Improvements

BISON is a modern finite-element based nuclear fuel performance code that has been under development at the Idaho National Laboratory (USA) since 2009 [1]. The code is applicable to both steady and transient fuel behavior and can be used to analyze 1D (spherically symmetric), 2D (axisymmetric and generalized plane strain) or 3D geometries. BISON is the fuel performance code used within CASL for LWR fuel under both normal operating and accident conditions. BISON is built using the INL Multiphysics ObjectOriented Simulation Environment, or MOOSE [2, 3]. MOOSE is a massively parallel, finite element-based framework to solve systems of coupled non-linear partial differential equations using the Jacobian-Free Newton Krylov (JFNK) method [4]. This enables investigation of computationally large problems, for example a full stack of discrete pellets in a LWR fuel rod, or every rod in a full reactor core. MOOSE supports the use of complex two and three-dimensional meshes and uses implicit time integration, important for the widely varied time scale in nuclear fuel simulation. An object-oriented architecture is employed which greatly minimizes the programming effort required to add new material and behavioral models. The flexibility of the implicit and fully coupled multiphysics approach comes with a need for constructing suitable approximations for the Jacobian matrix of the coupled system used for either preconditioning a Krylov solve or in a direct Newton solve. Preconditioning options for Bison problems need to be revisited with new preconditioning methods becoming available.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Sensitivity and uncertainty analysis for a combined depletion and criticality calculation chain of a BWR FA

This paper examines the prerequisites and boundary conditions for extending burnup credit from pressurized water reactors to boiling water reactors with validated depletion codes by performing uncertainty and sensitivity analyses on a modern boiling water reactor fuel assembly design. We developed a computational chain consisting of an axial boiling water reactor axial irradiation model, followed by a series of depletion calculations and a three-dimensional criticality calculation. The irradiation model puts into relation the profiles of power, burnup and moderator density of the fuel assembly at 24 axial locations. In a simplified fashion it also includes the insertion of control blades. The depletion calculations of the fuel assembly were performed in axial slices with the 2D-depletion code HELIOS 1.12. The criticality calculations were done in 3D-geometry with KENO-Va from the SCALE 6.2.1 package, in which several fuel assemblies are placed into a generic transport cask. For the uncertainty and sensitivity analyses a Monte Carlo sampling based approach is used applying the GRS tool SUnCISTT. We performed several generic investigations testing the capabilities and the limitations of the whole computational chain. The impact of variations of the irradiation model on the resulting reactivity of the fuel assemblies inside a transport cask or storage pool was investigated using an uncertainty and sensitivity analysis on the whole computational chain. Geometrical uncertainties were also included in the evaluation and a parameter study on the use of control blades during irradiation was performed. The goal was to develop the procedures and tools to be able to obtain quantitative uncertainty data which can be used in the future to derive conservative irradiation profiles without unnecessary excess reactivity margins. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Second order gyrokinetic theory for particle-in-cell codes

The main idea of the gyrokinetic dynamical reduction consists in a systematical removal of the fast scale motion (the gyromotion) from the dynamics of the plasma, resulting in a considerable simplification and a significant gain of computational time. The gyrokinetic Maxwell–Vlasov equations are nowadays implemented in for modeling (both laboratory and astrophysical) strongly magnetized plasmas. Different versions of the reduced set of equations exist, depending on the construction of the gyrokinetic reduction procedure and the approximations performed in the derivation. The purpose of this article is to explicitly show the connection between the general second order gyrokinetic Maxwell–Vlasov system issued from the modern gyrokinetic theory and the model currently implemented in the global electromagnetic Particle-in-Cell code ORB5. Necessary information about the modern gyrokinetic formalism is given together with the consistent derivation of the gyrokinetic Maxwell–Vlasov equations from first principles. The variational formulation of the dynamics is used to obtain the corresponding energy conservation law, which in turn is used for the verification of energy conservation diagnostics currently implemented in ORB5. This work fits within the context of the code verification project VeriGyro currently run at IPP Max-Planck Institut in collaboration with others European institutions.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Improving the Capabilities and Computational Efficiency of the RTE+RRTMGP Radiation Code (Final Report)

This report details progress on the RTE+RRTMGP radiation codes made during the period of performance. RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres. RRTMGP uses a k-distribution to provide an optical description (absorption and possibly Rayleigh optical depth) of the gaseous atmosphere, along with the relevant source functions, on a pre-determined spectral grid given temperatures, pressures, and gas concentration. RTE computes fluxes given spectrally-resolved optical descriptions and source functions. Spectrally-resolved fluxes are summarized (“reduced”) via a user extensible class. The initial release of the code and the design choices are described in Pincus et al. 2019; the codes are available on Github. Although RRTMGP was based on current (at the time) empirical spectroscopic data, RTE and RRTMGP were developed in large part to modernize software practices. The design focused on flexibility broadly interpreted: by separating code from data and allowing data to drive computation; in coupling to the host model (e.g. the coupling of clouds to radiative fluxes is user-controlled); with respect to programming languages (computational tasks are accessed via widely-compatible C interfaces); and with respect to hardware (the codes run on a range of CPU and GPU architectures). The code also puts an emphasis on modularity and clarity. RTE+RRTMGP v1.0 was released in September 20219. This award supported the evolution of the RTE+RRTMGP code base to support greater flexibility, accuracy, and efficiency.

54 ENVIRONMENTAL SCIENCES↗