Search NASA⌕ Search

SEARCH · Search NASA

Results for “code requirements”

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 559 records · Page 31

Applications of automatic differentiation in computational fluid dynamics

Automatic differentiation (AD) is a powerful computational method that provides for computing exact sensitivity derivatives (SD) from existing computer programs for multidisciplinary design optimization (MDO) or in sensitivity analysis. A pre-compiler AD tool for FORTRAN programs called ADIFOR has been developed. The ADIFOR tool has been easily and quickly applied by NASA Langley researchers to assess the feasibility and computational impact of AD in MDO with several different FORTRAN programs. These include a state-of-the-art three dimensional multigrid Navier-Stokes flow solver for wings or aircraft configurations in transonic turbulent flow. With ADIFOR the user specifies sets of independent and dependent variables with an existing computer code. ADIFOR then traces the dependency path throughout the code, applies the chain rule to formulate derivative expressions, and generates new code to compute the required SD matrix. The resulting codes have been verified to compute exact non-geometric and geometric SD for a variety of cases. in less time than is required to compute the SD matrix using centered divided differences.

Green, Lawrence L.↗

Aligning Ukrainian Building Energy Codes with the EPBD

The aim of this report is to support Ukraine in revising its building energy codes in line with regulations laid out by the Energy Performance in Buildings Directive (EPBD). The main objectives are to i) provide valuable information to help Ukraine align its building energy codes with EPBD requirements, ii) advance the capacity of key stakeholders in Ukraine to develop new regulations based on robust technical methodologies and analysis, iii) summarize building energy codes best practices using examples from the EU and elsewhere, and iv) recommend steps Ukraine can take to improve its building energy code regulations and implementation. This report summarizes EPBD requirements for new buildings, and buildings undergoing major renovations, related to cost-optimal and Nearly Zero Energy Building (NZEB) requirements. This report highlights Ukraine’s progress in aligning it’s building energy codes with the aforementioned requirements and best practices regarding those requirements from the EU and internationally. Based on best practices and Ukraine’s current progress on requirements, recommendations are presented. A brief overview of the EPBD and building energy codes in Ukraine is also provided. Implementation related to building energy codes is touched upon as well. Potential next steps for Ukraine are outlined based on provided recommendations.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Transparent runtime parallelization of the R scripting language

Scripting languages such as R and Matlab are widely used in scientific data processing. As the data volume and the complexity of analysis tasks both grow, sequential data processing using these tools often becomes the bottleneck in scientific workflows. We describe pR, a runtime framework for automatic and transparent parallelization of the popular R language used in statistical computing. Recognizing scripting languages interpreted nature and data analysis codes use pattern, we propose several novel techniques: (1) applying parallelizing compiler technology to runtime, whole-program dependence analysis of scripting languages, (2) incremental code analysis assisted with evaluation results, and (3) runtime parallelization of file accesses. Our framework does not require any modification to either the source code or the underlying R implementation. Experimental results demonstrate that pR can exploit both task and data parallelism transparently and overall has better performance as well as scalability compared to an existing parallel R package that requires code modification.

99 GENERAL AND MISCELLANEOUS↗

Conceptual design for a universal Reed-Solomon decoder

An algorithm which enables one Reed-Solomon decoder to process other Reed-Solomon encoded data from a different code is presented. The sole requirement is that both codes have the same length, the same rate, and the same field of coefficients. It is pointed out that only very simple pre- and post-processing hardware is needed to resolve an encoder/decoder incompatibility and that no encoder modification is needed.

Miller, R. L.↗

Multiscale Universal Interface: A concurrent framework for coupling heterogeneous solvers

Graphical abstract: - Abstract: Concurrently coupled numerical simulations using heterogeneous solvers are powerful tools for modeling multiscale phenomena. However, major modifications to existing codes are often required to enable such simulations, posing significant difficulties in practice. In this paper we present a C++ library, i.e. the Multiscale Universal Interface (MUI), which is capable of facilitating the coupling effort for a wide range of multiscale simulations. The library adopts a header-only form with minimal external dependency and hence can be easily dropped into existing codes. A data sampler concept is introduced, combined with a hybrid dynamic/static typing mechanism, to create an easily customizable framework for solver-independent data interpretation. The library integrates MPI MPMD support and an asynchronous communication protocol to handle inter-solver information exchange irrespective of the solvers' own MPI awareness. Template metaprogramming is heavily employed to simultaneously improve runtime performance and code flexibility. We validated the library by solving three different multiscale problems, which also serve to demonstrate the flexibility of the framework in handling heterogeneous models and solvers. In the first example, a Couette flow was simulated using two concurrently coupled Smoothed Particle Hydrodynamics (SPH) simulations of different spatial resolutions. In the second example, we coupled the deterministic SPH method with the stochastic Dissipative Particle Dynamics (DPD) method to study the effect of surface grafting on the hydrodynamics properties on the surface. In the third example, we consider conjugate heat transfer between a solid domain and a fluid domain by coupling the particle-based energy-conserving DPD (eDPD) method with the Finite Element Method (FEM)

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Constant-Overhead Fault-Tolerant Bell-Pair Distillation Using High-Rate Codes

We present a fault-tolerant Bell-pair distillation scheme achieving constant overhead through high-rate quantum low-density parity-check (qLDPC) codes. Our approach maintains a constant distillation rate equal to the code rate while requiring no additional overhead beyond the physical qubits of the code. Full circuit-level analysis demonstrates fault-tolerance for input Bell-pair infidelities below a threshold ∼10%, readily achievable with near-term capabilities. Unlike previous proposals, our scheme keeps the output Bell pairs encoded in qLDPC codes at each node, eliminating unencoding overhead and enabling direct use in distributed quantum applications through recent advances in qLDPC computation. These results establish qLDPC-based distillation as a practical route toward resource-efficient quantum networks and distributed quantum computing.

quantum communication, protocols & technology↗

Tech-X contributions to the Center for Tokamak Transients (CTTS) Scientific Discovery through Advanced Computing (SciDAC) project (Final Report)

The Center for Tokamak Transients Simulations (CTTS) consists of computational plasma physicists, computer scientists, and applied mathematicians who are together developing and applying simulation software to improve our understanding of and ability to predict and control transient events in tokamak discharges, particularly those that lead to violent disruptions. We have major simulation activities concerning disruptions that are caused by violating ideal MHD stability criteria, vertical displacement events, resistive wall modes, and tearing modes. We are performing comprehensive modeling of disruption mitigation techniques, particularly by shattered pellet injection (SPI). The Center is built around two mature extended MHD codes: NIMROD and M3D-C1. These codes are being extended in a number of ways as required by the demands of disruption modeling, and are being optimized to work well for larger problem size and modern computer architectures as required to model tokamak plasmas with realistic parameters over the required timescales. The codes will be coupled to the FronTier code for state-of-the-art modeling of SPI. Validation with experimental data on DIII-D, NSTX, and JET is being facilitated by rigorous uncertainty quantification (UQ). The high-level objectives of the center are to: (1) Develop better understanding and improved predictive capability of when crossing a linear stability boundary will likely lead to a disruption, (2) Provide a tool for calculating vessel forces, both axisymmetric and non-axisymmetric, for worst case VDE and other disruptions in tokamaks, (3) Develop increased understanding and improved predictive capability for locked mode disruptions and how best to avoid them, (4) Develop, verify, and validate 3D models for disruption mitigation by shattered pellets that can be used to design and optimize a system for future tokamaks, and (5) Increase the efficiency and scalability of the M3D-C1 and NIMROD codes so that they can model disruptions in ITER scale devices using the most powerful DOE HPC hardware, and (6) Demonstrate code-coupling via FronTier coupling with NIMROD and M3D-C1 and by interfacing these codes within a WDM framework.

97 MATHEMATICS AND COMPUTING↗

CHARACTERIZATION OF FATIGUE BEHAVIORS OF NOTCHED 316L DED AM SPECIMENS

ASME Codification of Additive Manufacturing • Integration of AM into ASME Codes and Standards • The ASME goal is to have AM requirements in ASME Code Cases preceding the 2025 Edition. • The ASME Special Committee on AM has drafted criteria for two Code Cases for Additive Manufacturing. • AM Construction of Pressure Equipment using the Direct Energy Deposition Process with Wire Feedstock. • Includes Gas Metal Arc Welding. • Time-independent material properties. • Status - Criteria endorsed by AM Committee. • AM Construction of Pressure Equipment using the Powder Bed Fusion AM Process. • Includes Laser and Electron Beam Energy Sources. • Austenitic and Nonferrous materials. • Time-independent material properties. • Status – Approval ballot circulating to the AM Committee.

Krentz, Timothy M.↗

Two XTE A01 Projects: A Multifrequency Study of Circinus X-1 and a Search for Microsecond Variability From Bright Galactic X-Ray Source

This final report describes the research of a single common portion of the above-named two projects, conducted by G. Jernigan, i.e., the theory for a new method, a variation of a Kolmogorov-Smirnov test, for determining the fastest variability present in an X-ray source. The current phase involves testing the newly developed code on real example sources (CYG X1). Unfortunately, there are no calibration sources for testing the code, which therefore required the development of an X-ray source simulation code. The goal is to evaluate the sensitivity of the code for the detection of a range of different types of variability (bursts, pulsations, etc.).

Jernigan, Garrett↗

A fission matrix based validation protocol for computed power distributions in the advanced test reactor

The Idaho National Laboratory (INL) has been engaged in a significant multi year effort to modernize the computational reactor physics tools and validation procedures used to support operations of the Advanced Test Reactor (ATR) and its companion critical facility (ATRC). Several new protocols for validation of computed neutron flux distributions and spectra as well as for validation of computed fission power distributions, based on new experiments and well-recognized least-squares statistical analysis techniques, have been under development. In the case of power distributions, estimates of the a priori ATR-specific fuel element-to-element fission power correlation and covariance matrices are required for validation analysis. A practical method for generating these matrices using the element-to-element fission matrix is presented, along with a high-order scheme for estimating the underlying fission matrix itself. The proposed methodology is illustrated using the MCNP5 neutron transport code for the required neutronics calculations. The general approach is readily adaptable for implementation using any multidimensional stochastic or deterministic transport code that offers the required level of spatial, angular, and energy resolution in the computed solution for the neutron flux and fission source. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Through the Past Decade: How Advanced Energy Design Guides have influenced the Design Industry

Advanced Energy Design Guides (AEDGs) were originally developed intended to provide a simple approach to building professionals seeking energy efficient building designs better than ASHRAE Standard 90.1. Since its first book was released in 2004, the AEDG series provided inspiration for the design industry and were seen by designers as a starting point for buildings that wished to go beyond minimum codes and standards. In addition, U.S. Department of Energy’s successful Commercial Building Partnerships (CBP) program leveraged many of the recommendations from the AEDGs to achieve 50% energy savings over ASHRAE Standard 90.1-2004 for prototypical designs of large commercial entities in the retail, banking and lodging sectors. Low-energy technologies and strategies developed during the CBP process have been applied by commercial partners throughout their national portfolio of buildings. Later, the AEDGs served as the perfect platform for both Standard 90.1 and ASHRAE’s high performance buildings standard, Standard 189.1. What was high performance a few years ago, however, has become minimum code today. Indeed, most of the prescriptive envelope component requirements in ASHRAE Standard 90.1-2013 are values recommended in the 50% AEDGs several years ago. Similarly, AEDG strategies and recommendations have penetrated the lighting and HVAC sections of both Standard 189.1 and Standard 90.1. Finally, as we look to the future of codes and standards, the AEDGs are serving as a blueprint for how minimum code requirements could be expressed. By customizing codes to specific building types, design strategies tailored for individual buildings could be prescribed as minimum code, just like in the AEDGs. This paper describes the impact that AEDGs have had over the last decade on the design industry and how they continue to influence the future of codes and Standards. From design professionals to code officials, everyone in the building industry has been affected by the AEDGs.

Advanced Energy Design Guides↗

Continuous Codes and Standards Improvement (CCSI)

As of 2014, the majority of the codes and standards required to initially deploy hydrogen technologies infrastructure in the United States have been promulgated. These codes and standards will be field tested through their application to actual hydrogen technologies projects. Continuous codes and standards improvement (CCSI) is a process of identifying code issues that arise during project deployment and then developing codes solutions to these issues. These solutions would typically be proposed amendments to codes and standards. The process is continuous because as technology and the state of safety knowledge develops there will be a need to monitor the application of codes and standards and improve them based on information gathered during their application. This paper will discuss code issues that have surfaced through hydrogen technologies infrastructure project deployment and potential code changes that would address these issues. The issues that this paper will address include (1) setback distances for bulk hydrogen storage, (2) code mandated hazard analyses, (3) sensor placement and communication, (4) the use of approved equipment, and (5) system monitoring and maintenance requirements.

08 HYDROGEN↗

NREL Supports Development of New National Code for Hydrogen Technologies (Fact Sheet)

On December 14, 2010, the National Fire Protection Association (NFPA) issued a new national code for hydrogen technologies - NFPA 2 Hydrogen Technologies Code - which covers critical applications and operations such as hydrogen dispensing, production, and storage. The new code consolidates existing hydrogen-related NFPA codes and standards requirements into a single document and also introducesnew requirements. This consolidation makes it easier for users to prepare code-compliant permit applications and to review/approve these applications. The National Renewable Energy Laboratory helped support the development of NFPA 2 on behalf of the U.S. Department of Energy Fuel Cell Technologies Program.

HYDROGEN↗

PDC Modifications for Analysis of Gas-Cooled Reactors with Direct Helium Brayton Cycle

Capabilities of the Plant Dynamics Code (PDC) have been extended to allow steady-state and transient simulation of graphite-cooled reactors with direct helium Brayton cycle. On the cycle side, the most significant code modification is the addition of helium properties, in the format required by the code’s equations. Since the code was already formulated to handle more complex real gas properties, adding helium as working fluid that behaves like ideal gas was fairly straightforward. A reactor module was added to PDC to simulate a reactor cooled by the working fluid of the Brayton cycle. Two options are supported: channel type, typical for graphite gas-cooled reactors, and pin type, typical for light-water and liquid metal-cooled reactors. The reactor module is an extension of the electrical heater model and simulates heat deposition in the fuel and transfer of this heat from the fuel to the coolant through the matrix and tube materials. The new reactor module becomes the third option in PDC for modeling heat addition to the cycle, besides previously modeled heat addition heat exchanger and electrical heater. In addition to those changes, other minor code modifications and improvements were introduced during the work of expanding PDC to modeling of gas-cooled reactors. These modifications are summarized in the last chapter of this report.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

A Flexible and Non-instrusive Approach for Computing Complex Structural Coverage Metrics

Software analysis tools and techniques often leverage structural code coverage information to reason about the dynamic behavior of software. Existing techniques instrument the code with the required structural obligations and then monitor the execution of the compiled code to report coverage. Instrumentation based approaches often incur considerable runtime overhead for complex structural coverage metrics such as Modified Condition/Decision (MC/DC). Code instrumentation, in general, has to be approached with great care to ensure it does not modify the behavior of the original code. Furthermore, instrumented code cannot be used in conjunction with other analyses that reason about the structure and semantics of the code under test. In this work, we introduce a non-intrusive preprocessing approach for computing structural coverage information. It uses a static partial evaluation of the decisions in the source code and a source-to-bytecode mapping to generate the information necessary to efficiently track structural coverage metrics during execution. Our technique is flexible; the results of the preprocessing can be used by a variety of coverage-driven software analysis tasks, including automated analyses that are not possible for instrumented code. Experimental results in the context of symbolic execution show the efficiency and flexibility of our nonintrusive approach for computing code coverage information

DO-178C↗

Initial Demonstration of Peregrine in VERA-CS

This milestone demonstrates integration of the MOOSE-based Peregrine fuel performance code into the CASL Virtual Environment for Reactor Analysis (VERA). Specifically targeted at VERA’s core simulator functionality (VERA-CS), the existing VERA subchannel-neutronics capability based on COBRA-TF (CTF) and Insilico was extended to use the axisymmetric 2D R-Z fuel rod modeling functionality of PEREGINE to replace the simple fuel rod model in CTF. This three-way coupling involved defining and implementing data interfaces, software infrastructure development to support the requirements of each code, and numerical methods to implement the coupled physics. The result is a new VERA capability known as Tiamat. Development of Tiamat required extensions to the VERA build system to support a “meta build” that uses the MOOSE/libMesh/Peregrine native build system, development of a new driver layer designed to support long-term CASL code integration requirements, and implementation of data transfers for the coupled applications using the DataTransferKit (DTK). Peregrine is now compiled and tested under the VERA continuous integration server. Tiamat, a new advanced simulation tool consisting of three coupled codes - CTF for multiphase subchannel flow, Insilico for neutronics and Peregrine for fuels performance - has been developed. Tiamat was used to simulate a 17x17 assembly model for Watts Bar Unit 1 Cycle 1, which exceeds the goals of this milestone.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Comparison of German and American fabrication standards for transportation and storage containments of high level radioactive material type B packages - 15055

As the competent authority for the evaluation of German radioactive material (RAM) transport and storage packages, BAM (the German Federal Institute for Materials Research and Testing) has evaluated various international cask manufacturers regarding compliance with the German Type B(U) licensing requirements. The US NRC has recommended paragraphs in the ASME Boiler and Pressure Vessel (B and PV) Code, Section III, Division 3, as the measure to quantify the safety requirements of the US regulations regarding fabrication of RAM transportation and storage containments. The objective of this study is to compare the fabrication criteria of the German Dangerous Goods Procedural Rules (BAM-GGR) and the German Institute for Standardization (DIN) with the US quantitative measures for fabrication of RAM package containment vessels. This comparison will cover major similarities and differences between the requirements of the German standards and the ASME Code requirements for Type B package containment fabrication QC (quality control). While the material most often used for German RAM containment applications is ductile cast iron (DCI), in the US forged austenitic stainless steel is typically used. This study focuses on fabrication QC measures required to ensure reproducible and acceptable properties for DCI containments. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

A Fast Code for Jupiter Atmospheric Entry

A fast code was developed to calculate the forebody heating environment and heat shielding that is required for Jupiter atmospheric entry probes. A carbon phenolic heat shield material was assumed and, since computational efficiency was a major goal, analytic expressions were used, primarily, to calculate the heating, ablation and the required insulation. The code was verified by comparison with flight measurements from the Galileo probe's entry; the calculation required 3.5 sec of CPU time on a work station. The computed surface recessions from ablation were compared with the flight values at six body stations. The average, absolute, predicted difference in the recession was 12.5% too high. The forebody's mass loss was overpredicted by 5.5% and the heat shield mass was calculated to be 15% less than the probe's actual heat shield. However, the calculated heat shield mass did not include contingencies for the various uncertainties that must be considered in the design of probes. Therefore, the agreement with the Galileo probe's values was considered satisfactory, especially in view of the code's fast running time and the methods' approximations.

Tauber, Michael E.↗