Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Generation”

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,081 records · Page 60

An implicit barotropic mode solver for MPAS-ocean using a modern Fortran solver interface

Here, we demonstrate use of a modern Fortran solver interface to manage solver algorithms for an implicit barotropic mode solver in the Model for Predictions Across Scales-Ocean (MPAS-O). ForTrilinos, a Fortran interface to Trilinos that contains a large collection of solver capabilities written in C++, has been implemented in MPAS-O to provide access to a suite of linear solver options. By virtue of the simplified wrapper and interface generator (SWIG) automation tool that generates modern Fortran interfaces to C++ code, we were able to implement the Fortran solver interface in MPAS-O using a familiar Fortran coding style while minimizing performance degradation. The ForTrilinos solver interface is written within MPAS-O’s time stepping modules as a subroutine in conjunction with MPAS-O code. Applied to an idealized ocean and a high-resolution realistic ocean test case, parallel performance of ForTrilinos solvers is examined. It is found that parallel scalability of the ForTrilinos solvers is highly dependent on the number of global synchronization points per solver iteration in each iterative solver algorithm. ForTrilinos solvers perform best compared to the Fortran hand-crafted (FHC) solver when the amount of work per processor is large enough. However, parallel scalability is better with the FHC solver and so when the work per core is modest FHC outperforms ForTrilinos. The intercomparison between the ForTrilinos and FHC solvers reveals that this performance hit in the ForTrilinos solver mostly comes from the global synchronization process, while suggesting that the matrix-vector multiplication process in the FHC solver needs to be optimized for better performance.

97 MATHEMATICS AND COMPUTING↗

Bayesian homodyne and heterodyne tomography

Continuous-variable (CV) photonic states are of increasing interest in quantum information science, bolstered by features such as deterministic resource state generation and error correction via bosonic codes. Data-efficient characterization methods will prove critical in the fine-tuning and maturation of such CV quantum technology. Although Bayesian inference offers appealing properties—including uncertainty quantification and optimality in mean-squared error—Bayesian methods have yet to be demonstrated for the tomography of arbitrary CV states. Here we introduce a complete Bayesian quantum state tomography workflow capable of inferring generic CV states measured by homodyne or heterodyne detection, with no assumption of Gaussianity. As examples, we demonstrate our approach on experimental coherent, thermal, and cat state data, obtaining excellent agreement between our Bayesian estimates and theoretical predictions. Our approach lays the groundwork for Bayesian estimation of highly complex CV quantum states in emerging quantum photonic platforms, such as quantum communications networks and sensors.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

SESAME Equation of State for Viton B

Viton is a DuPont trade name for a terpolymer of hexafluoropropylene, vinylidene fluoride, and tetrafluoroethylene. It is made in several variants. The shock Hugoniot has been measured for Viton B,1 allowing an EOS to be created for it. The code OpenSesame has been used to generate a full range EOS for this material. The material number for this EOS is 97890, in keeping with our convention that the 90000 series is used experimental EOS. The finalized EOS will be number 7890. There are some limitations on applying the SESAME framework to polymers. In the case of Viton B, its shock speed, extrapolated to zero particle velocity, is higher than its longitudinal sound speed. This is indicative of nonequilibrium compressive response, which can only be captured by a rate-dependent constitutive model. The models in OpenSesame do not represent the details of the chemistry of such a complex material. In particular, at expanded densities and moderate temperatures (k B T <∼1eV), one may expect aggregations of atoms to form that are not modeled. Last, I note that there is not very much thermophysical data for any Viton formulation. The upshot is that this EOS should be used for shock dynamics in P ≥ 1 GPa range, and very high temperature processes. It matches the Hugoniot, and has the correct limits at very high temperature and compression, with qualitatively correct interpolation. Low rate processes near ambient conditions will not be well described without more advanced material models.

Materials Science(36)↗

Mechanical Analysis of W78/88-1 Life Extension Program Warhead Design Options

Life Extension Program (LEP) is a program to repair/replace components of nuclear weapons to ensure the ability to meet military requirements. The W78/88-1 LEP encompasses the modernization of two major nuclear weapon reentry systems into an interoperable warhead. Several design concepts exist to provide different options for robust safety and security themes, maximum non-nuclear commonality, and cost. Simulation is one capability used to evaluate the mechanical performance of the designs in various operational environments, plan for system and component qualification efforts, and provide insight into the survivability of the warhead in environments that are not currently testable. The simulation efforts use several Sandia-developed tools through the Advanced Simulation and Computing program, including Cubit for mesh generation, the DART Model Manager, SIERRA codes running on the HPC TLCC2 platforms, DAKOTA, and ParaView. Several programmatic objectives were met using the simulation capability including: (1) providing early environmental specification estimates that may be used by component designers to understand the severity of the loads their components will need to survive, (2) providing guidance for load levels and configurations for subassembly tests intended to represent operational environments, and (3) recommending design options including modified geometry and material properties. These objectives were accomplished through regular interactions with component, system, and test engineers while using the laboratory's computational infrastructure to effectively perform ensembles of simulations. Because NNSA has decided to defer the LEP program, simulation results are being documented and models are being archived for future reference. However, some advanced and exploratory efforts will continue to mature key technologies, using the results from these and ongoing simulations for design insights, test planning, and model validation.

42 ENGINEERING↗

VERA and VERA-EDU 3.5 Release Notes

The Virtual Environment for Reactor Applications components included in this distribution include selected computational tools and supporting infrastructure that solve neutronics, thermal-hydraulics, fuel performance, and coupled neutronics-thermal hydraulics problems. The infrastructure components provide a simplified common user input capability and provide for the physics integration with data transfer and coupled-physics iterative solution algorithms. Neutronics analysis can be performed for 2D lattices, 2D core and 3D core problems for pressurized water reactor geometries that can be used to calculate criticality and fission rate distributions by pin for input fuel compositions. MPACT uses the Method of Characteristics transport approach for 2D problems. For 3D problems, MPACT uses the 2D/1D method which uses 2D MOC in a radial plane and diffusion or SPn in the axial direction. MPACT includes integrated cross section capabilities that provide problem-specific cross sections generated using the subgroup methodology. The code can be executed both 2D and 3D problems in parallel to reduce overall run time. A thermal-hydraulics capability is provided with CTF (an updated version of COBRA-TF) that allows thermal-hydraulics analyses for single and multiple assemblies using the simplified VERA common input. This distribution also includes coupled neutronics/thermal-hydraulics capabilities to allow calculations using MPACT coupled with CTF. The VERA fuel rod performance component BISON calculates, on a 2D or 3D basis, fuel rod temperature, fuel rod internal pressure, free gas volume, clad integrity and fuel rod waterside diameter. These capabilities allow simulation of power cycling, fuel conditioning and deconditioning, high burnup performance, power uprate scoping studies, and accident performance. Input/Output capabilities include the VERA Common Input (VERAIn) script which converts the ASCII common input file to the intermediate XML used to drive all of the physics codes in the VERA Core Simulator (VERA-CS). VERA component codes either input the VERA XML format directly, or provide a preprocessor which can convert the XML into native input. VERAView is an interactive graphical interface for the visualization and engineering analyses of output data from VERA. The python-based software is easy to install and intuitive to use, and provides instantaneous 2D and 3D images, 1D plots, and alpha-numeric data from VERA multi-physics simulations. Testing within CASL has focused primarily on Westinghouse four-loop reactor geometries and conditions with example problems included in the distribution.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Patching EAF-2010 into CINDER2008 Cross Section Libraries

CINDER2008 [1] comes with multi-group cross section libraries using most recent evaluated cross section data. The multi-group cross sections are weighted with three spectra: fission, fusion and flat. However, due to data format incompatibilities with the CINDER2008library maker tool, many of the reaction cross sections adapted from EAF-2010 [2] are either truncated or completely missing. Therefore it is essential to regenerate the CINDER2008 libraries with compatible EAF-2010 data. The updated cross section libraries are compared to those of the current cross section libraries in the sections below following a brief introduction of the CINDER2008 cross section libraries and a description of the method of generating cross sections for the CINDER2008 code. In the remainder of this document, we will refer to the libraries distributed with CINDER2008before October 2016 as the "current" libraries, and those described in this work as the "updated" libraries. In figures, the current library data may be shown with the library namewith or without “cur” appended, while the updated library data may be shown with "mod" appended.

96 KNOWLEDGE MANAGEMENT AND PRESERVATION↗

Center for Extended Magnetohydrodynamic Modeling

The RPI team efforts focused on providing unstructured mesh technologies to the Center for Extended Magnetohydrodynamic Modeling’s efforts on the development of the M3D-C1 plasma physics code. Specific developments included: Providing the parallel unstructured mesh infrastructure used within the M3D-C1 code; Creating a tool for the generation and subsequent adaptation of the unstructured meshes; A set of procedures to be able to initiate an M3D-C1 simulation in 2D and automatically moving the simulation to a full 3D finite element model when 3D modes begin to appear; Developing a set of physics/mesh based diagonal preconditioners; Supporting the installation of M3D-C1 on various super computer systems; Supplementing the mesh generation procedures to support a model wall region to support the application of an advanced resistive wall model; Providing M3D-C1 with tools to support PIC operations on distributed meshes.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Verification of the Prompt Radiation Shielding Design of the ESS Accelerator

Fermilab will perform prompt radiation and shielding verification studies for the European Spallation Source ERIC (ESS) accelerator tunnel and existing penetration layouts using the latest information on the beam line and existing models of magnets and cryomodules. The input information about the assumptions, geometry layout, etc. will be provided by the Safety Group (accelerator division, ESS). The MEDT department of the Accelerator Division, Fermilab will provide the results of the studies. MARS15, a Fermilab a multi-purpose Monte-Carlo code developed since 1974, is at the heart of this effort. MARS15 is used for detailed simulation of hadronic and electromagnetic cascades in an arbitrary 3-D geometry of shielding, accelerator, detector and spacecraft components with energy ranging from a fraction of an electronvolt to 100 TeV. This work will provide additional validation of recent additions to the physical models in the code, including the code capabilities to simulate cascades and generate a variety of results in complex media.

43 PARTICLE ACCELERATORS↗

Status of FUDGE [Slides]

This presentation discusses the nuclear data management code FUDGE (For Updating Data and Generating Evaluations). While FUDGE is designed to support GNDS, the presentation also states that ENDF-6 and ENDL data files are also supported but must first be translated into GNDS; translators are included with FUDGE. It also states that FUDGE supports plotting, manipulating, checking for physical content, resonance reconstruction, Doppler broadening, etc. FUDGE also supports processing for Monte Carlo and deterministic transport. FUDGE is open source, and the latest public release was FUDGE-4.2.3 with support for GNDS-1.9. In summation, FUDGE capabilities include translating older formats into GNDS, translating GNDS back to ENDF-6, and visualizing, modifying, checking, and processing GNDS data. It also states that a new version of FUDGE is coming soon. The plan is to support GNDS-2.0 specification, but it may be released sooner if v2.0 is delayed.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Verification Testing of Body Forces due to a Prescribed Angular Velocity in DYNA3D/Paradyn

This report documents the verification testing and regression testing done on a new feature in DYNA3D/Paradyn, which allows users to prescribe body force loads based upon an angular velocity. This feature is unique in that the direction of the angular velocity vector follows the unit vector formed by two coordinate points associated with two nodes or the average coordinates of two separate small collection of nodes. The angular velocity direction will follow the directional vector defined by these nodes while the angular velocity magnitude is defined by a load curve. A simple single element verification test was performed to determine the correct implementation of this feature, and two separate regression tests were added to the DYNA3D Software Quality Assur ance test suite. The nodal positions, velocities, and accelerations from the solution of the single element verification test compare well to analytically derived values of those nodal quantities. The regression tests serve as good examples of this new feature’s use case and were consequently added to the SQA test suite to ensure that further modifications of the DYNA3D source code do not unintentionally change the generated baseline answers.

42 ENGINEERING↗

Development of an accelerated creep testing technique via multi-specimen loading

This report summarizes a research effort undertaken by Argonne National Laboratory to accelerate the development of creep data package for code qualification. The goal is to explore new creep testing techniques to shorten the overall time needed to generate high-quality data to support an ASME code case on laser powder bed fusion 316H stainless steel. Progresses on the design and implementation of a 3-specimen load train and an innovative strain measurement method with direct potential current drop (DCPD) technique are reported.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

LAQGSM03.03 Upgrade and its Validation

This paper presents part of an internal LANL Progress Report on LAQGSM03.03, an upgrade of the Los Alamos version of the Quark-Gluon String Model event generator for MCNPX/6 and MARS15 transport codes and on its validation and testing against a large variety of recent measurements. We present here an analysis with LAQGSM03.03 of the recent PHENIX mid-rapidity spectra of π+, π-, K+, K-, p, and p-bar produced in ultra-relativistic p + p interactions at sqrt(s) = 200 GeV/ GSI cross sections for the fragmentation of Pb 208 at 1 GeV/nucleon on Be9/ fragmentation cross sections of Si28 on H, C, Al, Cu, Sn, and Pb at energies from 290 to 1200 MeV/nucleon measred recently at HIMAC and BNL/ recent HIMAC data on B, Be, Li, and He production cross sections from fragmentation of C12 on H, C, Al, Cu, Sn, and Pb at 290 and 400 MeV/nucleon/ BNL data on fragmentation cross sections of Fe 56 on H, C, Al, Cu, and Pb targets at 1.05 GeV/nucleon/ recent π+ and pi- spectra from 6.4, 12.3, and 17.5 GeV/c p + Be 9 from the E910 BNL measurements/ and fragmentation cross sections of Ca 40 , Ca 48 , Ni 58 , and Ni 64 on Be 9 and Ta 181 at 140 MeV/nucleon, and of Kr 86 at 64 MeV/nucleon on the same targets measured recently at NSCL-MSU and RARF-RIKEN, respectively.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Q1 Report for FY25 Theory and Simulation Performance Target: Development of an integrated modeling framework for fusion reactor design and assessment

This report describes the work and activities carried out towards the completion of each of the following milestones in FY25 Q1: 1. Demonstrate workflow for generating self-consistent CESOL plasma profiles + first wall and divertor loading prediction and generate the CAT plasma and neutron loading needed for further engineering analysis: $/circ$ Initially run CESOL with SOLPS and map heat flux using simple HEAT method: ▪ Generate SOLPS grid for CAT reference case, ▪ Implement and apply ‘lower’ fidelity method of using HEAT-like analytic method to map SOLPS heat flux from charged particles to first wall, and ▪ Provide initial heat flux + neutron loading for further engineering analysis. 2. Demonstrate multiphysics magnet analysis: $/circ$ Demonstrate validation of the Elmer workflow by comparing induced stresses due to EM forces generated by TF coils using multiple codes.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

NREL Hydrogen Sensor Testing Laboratory and Smart Hydrogen Wide Area Monitoring

The NREL Hydrogen sensor laboratory aims to ensure that hydrogen sensor technology is available to meet end-user needs and to foster the proper use of sensors by advancing next generation sensing and analysis techniques, supporting codes and standards development, and improving component reliability systems.

08 HYDROGEN↗

Hourly Electricity Demand Profiles for Each County in the Contiguous United States

This dataset provides estimated hourly electricity demand for each county in the contiguous United States from 2016-2023. The demand profiles represent the sum of two components: (1) Weighted averages of reported hourly demand profiles for North American Electric Reliability Corporation balancing authority (BA) regions and subregions, scaled to match annual estimates of county-level retail sales and direct use of electricity and weighted by the estimated percentage of county load served by each BA region or subregion. (2) Weighted averages of modeled hourly, county- and sector-level distributed photovoltaic (DPV) capacity factor profiles, scaled to match annual estimates of on-site consumption of DPV-generated electricity for each county and weighted by the percentage of consumption attributable to each sector Annual county-level retail sales are estimated by aggregating utility-reported sales to the state level and allocating the results to counties according to each county's share of state population. Annual county-level direct use is calculated by aggregating power plant-reported direct use values. Annual county-level on-site consumption of DPV-generated electricity is estimated by aggregating utility-reported net metering data to determine the amount of DPV-generated electricity sold back to the grid for each state, subtracting those values from modeled state-level DPV generation estimates, and allocating the results to counties according to each county's share of statewide modeled DPV generation. The open-source Python code used to develop this dataset is available at "Historical Load Data Repository" link below.

14 SOLAR ENERGY↗

Phase equilibria of advanced technology uranium silicide-based nuclear fuel

The phases in uranium-silicide binary system were evaluated in regards to their stabilities, phase boundaries, crystal structures, and phase transitions. The results from this study were used in combination with a well assessed literature to optimize the U-Si phase diagram using the CALPHAD method. A thermodynamic database was developed, which could be used to guide nuclear fuel fabrication, could be incorporated into other nuclear fuel thermodynamic databases, or could be used to generate data required by fuel performance codes to model fuel behavior in normal or off-normal reactor operations. The U 3 Si 2 and U 3 Si 5 phases were modeled using the Compound Energy Formalism model with 3 sublattices to account for the variation in composition. The crystal structure used for the USi phase was the tetragonal with an I4/mmm space. Above 450°C, the U 3 Si 5 phase was modeled. The composition of the USi 2 phase was adjusted to USi 1.84 . The calculated invariant reactions and the enthalpy of formation for the stoichiometric phases were in agreement with experimental data.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

ImpactX v0.1

ImpactX is the next generation of the IMPACT-Z code. It is a s-based simulation code for modeling intense beams in particle accelerators using symplectic tracking methods and includes collective effects. It is multi-node parallel and supports modern compute hardware such as GPUs, modern algorithms such as mesh-refinement and realistic geometries (embedded boundaries).

Huebl, Axel↗