Search NASA⌕ Search

SEARCH · Search NASA

Results for “computer code development”

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 1,189 records · Page 66

ASC news highlight for HQ, 12/11/18

LLNL’s package management tool, Spack, has reduced software build times from weeks to hours for programmatic codes, and the tool’s popularity has grown beyond the NNSA laboratories. New workflow features and ongoing community-building efforts have led ECP and many top supercomputing sites worldwide to adopt Spack as their official deployment tool. With a community of over 330 Spack contributors, the maintenance burden for over 3,000 open source packages is now shared with other centers. This reduction of general ASC software maintenance costs frees up code development resources to address unique requirements specific to the stockpile stewardship mission.

97 MATHEMATICS AND COMPUTING↗

MARS-KS code validation activity through the atlas domestic standard problem

The 2 nd Domestic Standard Problem (DSP-02) exercise using the ATLAS integral effect test data was executed to transfer the integral effect test data to domestic nuclear industries and to contribute to improving the safety analysis methodology for PWRs. A small break loss of coolant accident of a 6-inch break at the cold leg was determined as a target scenario by considering its technical importance and by incorporating interests from participants. Ten calculation results using MARS-KS code were collected, major prediction results were described qualitatively and code prediction accuracy was assessed quantitatively using the FFTBM. In addition, special code assessment activities were carried out to find out the area where the model improvement is required in the MARS-KS code. The lessons from this DSP-02 and recommendations to code developers are described in this paper. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

A software environment for effective reliability management for pulsed power design

The reliable design of magnetically insulated transmission lines (MITLs) for very high current pulsed power machines must be accomplished in the future by utilizing a variety of sophisticated modeling tools. The complexity of the models required is high and the number of sub-models and approximations large. The potential for significant analyst error using a single tool is large, with possible reliability issues associated with the plasma modeling tools themselves or the chosen approach by the analyst to solve a given problem. Here, we report on a software infrastructure design that provides a workable framework for building self-consistent models and constraining feedback to limit analyst error. The framework and associated tools aid the development of physical intuition, the development of increasingly sophisticated models, and the comparison of performance results. The work lays the computational foundation for designing state-of-the-art pulsed-power experiments. The design and useful features of this environment are described. We discuss the utility of the Git source code management system and a GitLab interface for use in project management that extends beyond software development tasks.

42 ENGINEERING↗

A Testbed of Parallel Kernels for Computer Science Research

For several decades, computer scientists have sought guidance on how to evolve architectures, languages, and programming models for optimal performance, efficiency, and productivity. Unfortunately, this guidance is most often taken from the existing software/hardware ecosystem. Architects attempt to provide micro-architectural solutions to improve performance on fixed binaries. Researchers tweak compilers to improve code generation for existing architectures and implementations, and they may invent new programming models for fixed processor and memory architectures and computational algorithms. In today's rapidly evolving world of on-chip parallelism, these isolated and iterative improvements to performance may miss superior solutions in the same way gradient descent optimization techniques may get stuck in local minima. In an initial study, we have developed an alternate approach that, rather than starting with an existing hardware/software solution laced with hidden assumptions, defines the computational problems of interest and invites architects, researchers and programmers to implement novel hardware/ software co-designed solutions. Our work builds on the previous ideas of computational dwarfs, motifs, and parallel patterns by selecting a representative set of essential problems for which we provide: An algorithmic description; scalable problem definition; illustrative reference implementations; verification schemes. For simplicity, we focus initially on the computational problems of interest to the scientific computing community but proclaim the methodology (and perhaps a subset of the problems) as applicable to other communities. We intend to broaden the coverage of this problem space through stronger community involvement. Previous work has established a broad categorization of numerical methods of interest to the scientific computing, in the spirit of the NAS Benchmarks, which pioneered the basic idea of a 'pencil and paper benchmark' in the 1990s. The initial result of the more modern study was the seven dwarfs, which was subsequently extended to 13 motifs. These motifs have already been useful in defining classes of applications for architecture-software studies. However, these broad-brush problem statements often miss the nuance seen in individual kernels. For example, the computational requirements of particle methods vary greatly between the naive (but more accurate) direct calculations and the particle-mesh and particle-tree codes. Thus we commenced our study with an enumeration of problems, but then proceeded by providing not only reference implementations for each problem, but more importantly a mathematical definition that allows one to escape iterative approaches to software/hardware optimization. To ensure long term value, we have augmented each of our reference implementations with both a scalable problem generator and a verification scheme. In a paper we have prepared that documents our efforts, we describe in detail this process of problem definition, scalable input creation, verification, and implementation of reference codes for the scientific computing domain. Table 1 enumerates and describes the level of support we've developed for each kernel. We group these important kernels using the Berkeley dwarfs/motifs taxonomy using a red box in the appropriate column. As kernels become progressively complex, they build upon other, simpler computational methods. We note this dependency via orange boxes. After enumeration of the important numerical problems, we created a domain-appropriate high-level definition of each problem. To ensure future endeavors are not tainted by existing implementations, we specified the problem definition to be independent of both computer architecture and existing programming languages, models, and data types. Then, to provide context as to how such kernels productively map to existing architectures, languages and programming models, we produced reference implementations for most of the kernel (see table). These sample codes should be viewed as 'hints,' designed to show how other designers have mapped a problem's operands and operators to existing hardware and software. Since we wanted such implementations to be illustrative, we tried to ensure they were the most straightforward implementation in the easiest to understand languages using familiar architectures. To that end, most of the linear algebra-oriented computations are written in MATLAB using array indexing to process matrices, rather than one-line library calls to compute the same kernel. This ensures that the kernel's computation is explicit and readable in the implementation and not hidden behind a library. For other problems, such as the Barnes-Hut n-Body solver, the implementations were written in pure C, without any supporting library computations. Along this line, we have also created a scalable problem generator to accompany each computation.

97 MATHEMATICS AND COMPUTING↗

Development of a Hybrid Lagrangian–Eulerian Model to Describe Spark-Ignition Processes at Engine-Like Turbulent Flow Conditions

With the engine technology moving toward more challenging (highly dilute and boosted) operation, spark-ignition processes play a key role in determining flame propagation and completeness of the combustion process. On the computational side, there is plenty of spark-ignition models available in literature and validated under conventional, stoichiometric spark ignition (SI) operation. Nevertheless, these models need to be expanded and developed on more physical grounds since at challenging operation they are not truly predictive. This paper reports on the development of a dedicated model for the spark-ignition event at nonquiescent, engine-like conditions, performed in the commercial CFD code converge. The developed methodology leverages previous findings that have expanded the use and improved the accuracy of Eulerian-type energy deposition models. In this work, the Eulerian energy deposition is coupled at every computational time-step with a Lagrangian-type evolution of the spark channel. Typical features such as spark channel elongation, stretch, and attachment to the electrodes are properly described to deliver realistic energy deposition along the channel during the entire ignition process. The numerical results are validated against schlieren images from an optical constant volume chamber and show the improvement in the simulation of the spark channel during the entire ignition event, with respect to the most commonly used energy deposition approach. Further developmental pathways are discussed to provide more physics-based features from the developed ignition model in the future.

42 ENGINEERING↗

DEVELOPMENT OF A HYBRID LAGRANGIAN-EULERIAN MODEL TO DESCRIBE SPARK-IGNITION PROCESSES AT ENGINE-LIKE TURBULENT FLOW CONDITIONS

With the engine technology moving towards more challenging (highly dilute and boosted) operation, spark-ignition processes play a key role in determining flame propagation and completeness of the combustion process. On the computational side, there is plenty of spark-ignition models available in literature and validated under conventional, stoichiometric SI operation. Nevertheless, these models need to be expanded and developed on more physical grounds since at challenging operation they are not truly predictive. This paper reports on the development of a dedicated model for the spark-ignition event at non-quiescent, engine-like conditions, performed in the commercial CFD code CONVERGE. The developed methodology leverages previous findings that have expanded the use and improved the accuracy of Eulerian-type energy deposition models. In this work, the Eulerian energy deposition is coupled at every computational time-step with a Lagrangian-type evolution of the spark channel. Typical features such as spark channel elongation, stretch, attachment to the electrodes are properly described to deliver realistic energy deposition along the channel during the entire ignition process. The numerical results are validated against schlieren images from an optical constant volume chamber and show the improvement in the simulation of the spark channel during the entire ignition event, with respect to the most commonly used energy deposition approach. Further development pathways are discussed to provide more physics-based features from the developed ignition model in the future.

Scarcelli, Riccardo↗

PAGOSA physics manual

PAGOSA is a computational fluid dynamics computer program developed at Los Alamos National Laboratory (LANL) for the study of high-speed compressible flow and high-rate material deformation. PAGOSA is a three-dimensional Eulerian finite difference code, solving problems with a wide variety of equations of state (EOSs), material strength, and explosive modeling options.

97 MATHEMATICS AND COMPUTING↗

A new code for the design and analysis of the heliostat field layout for power tower system

A new code for the design and analysis of the heliostat field layout for power tower system is developed. In the new code, a new method for the heliostat field layout is proposed based on the edge ray principle of nonimaging optics. The heliostat field boundary is constrained by the tower height, the receiver tilt angle and size and the heliostat efficiency factor which is the product of the annual cosine efficiency and the annual atmospheric transmission efficiency. With the new method, the heliostat can be placed with a higher efficiency and a faster response speed of the design and optimization can be obtained. A new module for the analysis of the aspherical heliostat is created in the new code. A new toroidal heliostat field is designed and analyzed by using the new code. Compared with the spherical heliostat, the solar image radius of the field is reduced by about 30% by using the toroidal heliostat if the mirror shape and the tracking are ideal. In addition, to maximize the utilization of land, suitable crops can be considered to be planted under heliostats. To evaluate the feasibility of the crop growth, a method for calculating the annual distribution of sunshine duration on the land surface is developed as well. (author)

14 SOLAR ENERGY↗

Highly Parallel Solver for Multi-scale Parquet Quantum Modeling of Strongly Correlated Materials

The parquet formalism to calculate the two-particle Green s functions of large systems requires the solution of a large, sparse, complex system of quadratic equations. If Nf Matsubara frequencies are used for a system of size Nc , and Newton s method is used to solve the nonlinear system, the Jacobian system has O(8Nt^3 ) variables and O(40Nt^4 ) complex entries where Nt = Nc Nf . For Nt = 1024, the nonlinear system has over 8.5 billion degrees of freedom and the sparse Jacobian will require over 351 TBytes of memory. The Jacobian is very expensive to store but the matrix-vector products can be computed directly. We are developing a highly scalable parallel solver that uses both OpenMP and MPI to exploit the multicore nodes. We present initial scalability results on the Cray XT5 that suggests the code can be scaled to solve larger problems with Nt 1024.

97 MATHEMATICS AND COMPUTING↗

An example of neutronic penalizations in reactivity transient analysis using 3D coupled chain HEMERA

HEMERA (Highly Evolutionary Methods for Extensive Reactor Analyses), is a fully coupled 3D computational chain developed jointly by IRSN and CEA. It is composed of CRONOS2 (core neutronics, cross sections library from APOLLO2), FLICA4 (core thermal-hydraulics) and the system code CATHARE. Multi-level and multi-dimensional models are developed to account for neutronics, core thermal-hydraulics, fuel thermal analysis and system thermal-hydraulics, dedicated to best-estimate, conservative simulations and sensitivity analysis. In IRSN, the HEMERA chain is widely used to study several types of reactivity accidents and for sensitivity studies. Just as an example of the HEMERA possibilities, we present here two types of neutronic penalizations and their impact on a power transient due to a REA (Rod Ejection Accident): in the first one, we studied a bum-up distribution modification and in the second one, a delayed-neutron fraction modification. Both modifications are applied to the whole core or localized in a few assemblies. Results show that it is possible to use global or local changes but 1) in case of bum-up modification, the total core power can increase when assembly peak power decrease so, care has to be taken if the goal is to maximize a local power peak and 2) for delayed-neutron fraction, a local modification can have the same effect as the one on the whole core, provided that it is large enough. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

ICME and In-Situ Process Monitoring for Rapid Qualification of Components Made by Laser-based Powder Bed Additive Manufacturing Processes for Nuclear Structural Applications

Additive manufacturing (AM) through selective powder bed melting of successive layers is being considered as disruptive technology for rapid production of low-cost nuclear reactor internal components with complex geometries. However, there is a potential for non-uniform distribution of physical features, such as porosity or microstructural differences, due to variations of temperature across a component build. These heterogeneities make the deployment of traditional material qualification and non-destructive evaluation of AM components difficult. This research project explored the feasibility of using in-situ process monitoring methods and integrated computational materials engineering (ICME) principles as an alternate qualification methodology and approach. This project included six individual tasks: (i) design of artifacts relevant to the nuclear power industry, (ii) evaluation of laser processing and in-situ measurements, (iii) computational modeling, (iv) ex-situ microstructural characterization, (v) evaluation of scaling the methodology for large-scale structures, and (vi) development of a data package to codes and standards organizations. As a part of this research, laser powder bed fusion of metals (316L, Alloy 718, and Ti6Al4V) was explored. This document provides an overview of the research performed over three years and serves as the final U.S. Department of Energy report for this project. In the third year, the project focused on the following activities: (a) in-situ infrared and optical imaging of each layer during processing of representative stainless steel geometries; (b) development of methodologies to analyze the data; and (c) application of ICME methodologies and other experiments to estimate the relevance of defects and microstructure to tensile properties.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

ICME and In-Situ Process Monitoring for Rapid Qualification of Components Made by Laser-based Powder Bed Additive Manufacturing Processes for Nuclear Structural Applications

Additive manufacturing (AM) through selective powder bed melting of successive layers is being considered as disruptive technology for rapid production of low-cost nuclear reactor internal components with complex geometries. However, there is a potential for non-uniform distribution of physical features, such as porosity or microstructural differences, due to variations of temperature across a component build. These heterogeneities make the deployment of traditional material qualification and non-destructive evaluation of AM components difficult. This research project explored the feasibility of using in-situ process monitoring methods and integrated computational materials engineering (ICME) principles as an alternate qualification methodology and approach. This project included six individual tasks: (i) design of artifacts relevant to the nuclear power industry, (ii) evaluation of laser processing and in-situ measurements, (iii) computational modeling, (iv) ex-situ microstructural characterization, (v) evaluation of scaling the methodology for large-scale structures, and (vi) development of a data package to codes and standards organizations. As a part of this research, laser powder bed fusion of metals (316L, Alloy 718, and Ti6Al4V) was explored. This document provides an overview of the research performed over three years and serves as the final U.S. Department of Energy report for this project. In the third year, the project focused on the following activities: (a) in-situ infrared and optical imaging of each layer during processing of representative stainless steel geometries; (b) development of methodologies to analyze the data; and (c) application of ICME methodologies and other experiments to estimate the relevance of defects and microstructure to tensile properties.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

ICME and In-Situ Process Monitoring for Rapid Qualification of Components Made by Laser-based Powder Bed Additive Manufacturing Processes for Nuclear Structural Applications

Additive manufacturing (AM) through selective powder bed melting of successive layers is being considered as disruptive technology for rapid production of low-cost nuclear reactor internal components with complex geometries. However, there is a potential for non-uniform distribution of physical features, such as porosity or microstructural differences, due to variations of temperature across a component build. These heterogeneities make the deployment of traditional material qualification and non-destructive evaluation of AM components difficult. This research project explored the feasibility of using in-situ process monitoring methods and integrated computational materials engineering (ICME) principles as an alternate qualification methodology and approach. This project included six individual tasks: (i) design of artifacts relevant to the nuclear power industry, (ii) evaluation of laser processing and in-situ measurements, (iii) computational modeling, (iv) ex-situ microstructural characterization, (v) evaluation of scaling the methodology for large-scale structures, and (vi) development of a data package to codes and standards organizations. As a part of this research, laser powder bed fusion of metals (316L, Alloy 718, and Ti6Al4V) was explored. This document provides an overview of the research performed over three years and serves as the final U.S. Department of Energy report for this project. In the third year, the project focused on the following activities: (a) in-situ infrared and optical imaging of each layer during processing of representative stainless steel geometries; (b) development of methodologies to analyze the data; and (c) application of ICME methodologies and other experiments to estimate the relevance of defects and microstructure to tensile properties.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

ICME and In-Situ Process Monitoring for Rapid Qualification of Components Made by Laser-based Powder Bed Additive Manufacturing Processes for Nuclear Structural Applications

Additive manufacturing (AM) through selective powder bed melting of successive layers is being considered as disruptive technology for rapid production of low-cost nuclear reactor internal components with complex geometries. However, there is a potential for non-uniform distribution of physical features, such as porosity or microstructural differences, due to variations of temperature across a component build. These heterogenities make the deployment of traditional material qualification and non-destructive evaluation of AM components difficult. This research project explored the feasibility of using in-situ process monitoring methods and integrated computational materials engineering (ICME) principles as an alternate qualification methodology and approach. This project included six individual tasks: (i) design of artifacts relevant to the nuclear power industry, (ii) evaluation of laser processing and in-situ measurements, (iii) computational modeling, (iv) ex-situ microstructural characterization, (v) evaluation of scaling the methodology for large-scale structures, and (vi) development of a data package to codes and standards organizations. As a part of this research, laser powder bed fusion of metals (316L, Alloy 718, and Ti6Al4V) was explored. This document provides an overview of the research performed over three years and serves as the final U.S. Department of Energy report for this project. In the third year, the project focused on the following activities: (a) in-situ infrared and optical imaging of each layer during processing of representative stainless steel geometries; (b) development of methodologies to analyze the data; and (c) application of ICME methodologies and other experiments to estimate the relevance of defects and microstructure to tensile properties.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

CI/CD Efforts for Validation, Verification and Benchmarking OpenMP Implementations

Software developers must adapt to keep up with the changing capabilities of platforms so that they can utilize the power of High-Performance Computers (HPC), including exascale systems. OpenMP, a directive-based parallel programming model, allows developers to include directives to existing C, C++, or Fortran code to allow node level parallelism without compromising performance. This paper describes our CI/CD efforts to provide easy evaluation of the support of OpenMP across different compilers using existing testsuites and benchmark suites on HPC platforms. Our main contributions include (1) the set of a Continuous Integration (CI) and Continuous Development (CD) workflow that captures bugs and provides faster feedback to compiler developers, (2) an evaluation of OpenMP (offloading) implementations supported by AMD, HPE, GNU, LLVM, and Intel, and (3) evaluation of the quality of compilers across different heterogeneous HPC platforms. With the comprehensive testing through the CI/CD workflow, we aim to provide a comprehensive understanding of the current state of OpenMP (offloading) support in different compilers and heterogeneous platforms consisting of CPUs and GPUs from NVIDIA, AMD, and Intel.

Jarmusch, Aaron↗

An MPI + $X$ implementation of contact global search using Kokkos

This paper describes an approach that seeks to parallelize the spatial search associated with computational contact mechanics. In contact mechanics, the purpose of the spatial search is to find “nearest neighbors,” which is the prelude to an imprinting search that resolves the interactions between the external surfaces of contacting bodies. In particular, we are interested in the contact global search portion of the spatial search associated with this operation on domain-decomposition-based meshes. Specifically, we describe an implementation that combines standard domain-decomposition-based MPI-parallel spatial search with thread-level parallelism (MPI-X) available on advanced computer architectures (those with GPU coprocessors). Our goal is to demonstrate the efficacy of the MPI-X paradigm in the overall contact search. Standard MPI-parallel implementations typically use a domain decomposition of the external surfaces of bodies within the domain in an attempt to efficiently distribute computational work. This decomposition may or may not be the same as the volume decomposition associated with the host physics. The parallel contact global search phase is then employed to find and distribute surface entities (nodes and faces) that are needed to compute contact constraints between entities owned by different MPI ranks without further inter-rank communication. Key steps of the contact global search include computing bounding boxes, building surface entity (node and face) search trees and finding and distributing entities required to complete on-rank (local) spatial searches. To enable source-code portability and performance across a variety of different computer architectures, we implemented the algorithm using the Kokkos hardware abstraction library. While we targeted development towards machines with a GPU accelerator per MPI rank, we also report performance results for OpenMP with a conventional multi-core compute node per rank. Results here demonstrate a 47 % decrease in the time spent within the global search algorithm, comparing the reference ACME algorithm with the GPU implementation, on an 18M face problem using four MPI ranks. As a result, while further work remains to maximize performance on the GPU, this result illustrates the potential of the proposed implementation.

97 MATHEMATICS AND COMPUTING↗

Monte Carlo Simulations of Microchannel Plate Detectors II: Pulsed Voltage Results

This paper is part of a continuing study of straight-channel microchannel plate (MCP)–based x-ray detectors. Such detectors are a useful diagnostic tool for two-dimensional, time-resolved imaging and time-resolved x-ray spectroscopy. To interpret the data from such detectors, it is critical to develop a better understanding of the behavior of MCPs biased with subnanosecond voltage pulses. The subject of this paper is a Monte Carlo computer code that simulates the electron cascade in a MCP channel under an arbitrary pulsed voltage, particularly those pulses with widths comparable to the transit time of the electron cascade in the MCP under DC voltage bias. We use this code to study the gain as a function of time (also called the gate profile or optical gate) for various voltage pulse shapes, including pulses measured along the MCP. In addition, experimental data of MCP behavior in pulsed mode are obtained with a short-pulse UV laser. Comparisons between the simulations and experimental data show excellent agreement for both the gate profile and the peak relative sensitivity along the MCP strips. We report that the dependence of relative gain on peak voltage increases in sensitivity in pulsed mode when the width of the high-voltage waveform is smaller than the transit time of cascading electrons in the MCP.

Kruschwitz, Craig A.↗

Radiation Damage Analysis of FNSF Components Using McCad and MCNP

The Fusion Energy System Studies Fusion Nuclear Science Facility (FESS-FNSF) concept represents a transitional step between ITER and a commercial fusion power plant. The FNSF is a conceptualized D-T fueled tokamak with 518 MW of fusion power that has been extensively used to explore and optimize design features. The energetic 14.1-MeV neutrons can produce significant localized heating and activations, and can cause damage to plasma-facing components, which can determine maintenance/outage scheduling needs and also impact the lifetime of the device as a whole. This study illustrates a neutronics analysis that was conducted on a 22.5-degree symmetric sector of the FNSF with the goal of understanding the neutron heating and radiation damage that can be characterized by quantifying the displacements per atom (dpa). Concurrently, this study also focused on the development of analysis capabilities by converting a three-dimensional computer-aided design model of the FNSF into MCNP6.2 input using the McCad code. Accordingly, some confirmatory results on tritium production and the tritium breeding ratio (TBR) are provided to support model validation. The results produced by MCNP6.2 simulations showed that the highest heating and damage occurred in the outboard region, which concentrated approximately 290 MW of the total nuclear heating, in contrast to 97 MW within the inboard region. These results are consistent with previous studies that employed earlier versions of the FNSF concept and different modeling approaches. Furthermore, this study also provides additional details on neutron wall loading, as well as total heating from neutrons and gammas, results which show the total heating of the device (16 sectors) is approximately 477.83 ± 0.80% MW, indicating a neutron energy multiplication factor of 1.15. Additionally, the capability to calculate hydrogen and helium production, as well as dpa, is illustrated. Finally, the neutronics effects of using alternative materials to tungsten carbide were evaluated for the vacuum vessel, low-temperature shield, and structural ring components, which showed that compounds like YH 2 , Mg(BH 4 ) 2 , and ZrH 2 could reduce the total heating on the magnet and also reduce the TBR.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗