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,747 records · Page 97

GRASP/Ada 95: Reverse Engineering Tools for Ada

The GRASP/Ada project (Graphical Representations of Algorithms, Structures, and Processes for Ada) has successfully created and prototyped an algorithmic level graphical representation for Ada software, the Control Structure Diagram (CSD), and a new visualization for a fine-grained complexity metric called the Complexity Profile Graph (CPG). By synchronizing the CSD and the CPG, the CSD view of control structure, nesting, and source code is directly linked to the corresponding visualization of statement level complexity in the CPG. GRASP has been integrated with GNAT, the GNU Ada 95 Translator to provide a comprehensive graphical user interface and development environment for Ada 95. The user may view, edit, print, and compile source code as a CSD with no discernible addition to storage or computational overhead. The primary impetus for creation of the CSD was to improve the comprehension efficiency of Ada software and, as a result, improve reliability and reduce costs. The emphasis has been on the automatic generation of the CSD from Ada 95 source code to support reverse engineering and maintenance. The CSD has the potential to replace traditional prettyprinted Ada source code. The current update has focused on the design and implementation of a new Motif compliant user interface, and a new CSD generator consisting of a tagger and renderer. The Complexity Profile Graph (CPG) is based on a set of functions that describes the context, content, and the scaling for complexity on a statement by statement basis. When combined graphicafly, the result is a composite profile of complexity for the program unit. Ongoing research includes the development and refinement of the associated functions, and the development of the CPG generator prototype. The current Version 5.0 prototype provides the capability for the user to generate CSDs and CPGs from Ada 95 source code in a reverse engineering as well as forward engineering mode with a level of flexibility suitable for practical application. This report provides an overview of the GRASP/Ada project with an emphasis on the current update.

Cross, James H., II↗

Validation of NASA Thermal Ice Protection Computer Codes: The Validation of Antice - Part 3

An experimental program was generated by the Icing Technology Branch at NASA Glenn Research Center to validate two ice protection simulation codes: (1) LEWICE/Thermal for transient electrothermal de-icing and anti-icing simulations, and (2) ANTICE for steady state hot gas and electrothermal anti-icing simulations. An electrothermal ice protection system was designed and constructed integral to a 36 inch chord NACA0012 airfoil. The model was fully instrumented with thermo-couples, RTD'S, and heat flux gages. Tests were conducted at several icing environmental conditions during a two week period at the NASA Glenn Icing Research Tunnel. Experimental results of running-wet and evaporative cases were compared to the ANTICE computer code predictions and are presented in this paper.

Al-Khalil, Kamel M.↗

Development of a high-fidelity multi-physics coupling between MCNP6.2 and CTF4.0 for VVER applications

Ensuring system safety in the design, licensing, and operation phases is a priority in the nuclear industry. Performing extensive, full-scale reactor safety experiments is often prohibitive due to the large associated costs. Computational simulations offer an alternative safety analysis method, typically with significant cost reductions. Recent high-level developments in technology and increased availability of computational resources have allowed the development of high-fidelity, high-resolution multi-physics coupled codes. Such developments may be used to generate reference models for deterministic core calculations. Under this framework, the high-fidelity continuous energy Monte Carlo-based neutron transport code MCNP6.2 was coupled externally with the state-of-the-art thermal-hydraulics subchannel code, CTF4.0 for VVER (Water-Water Energetic Reactor) applications. A VVER-1000 fuel assembly model was used to demonstrate the capability of the coupled code. The converged coupled solution is compared to initial results, consisting of the first MCNP evaluation and first CTF evaluation after initialization. The VVER-1000 type assembly results are compared to other evaluations of the same assembly model. The findings indicate good agreement with expectations and reference cases, where available. The initial results of the coupled MCNP6.2/CTF4.0 calculations at the assembly level for steady-state calculations are presented in this study, which may support future work toward high-fidelity coupled full-core modeling capabilities. The multi-physics model may be further improved, enhanced, and expanded for both cycle depletion and transient applications. Such a multi-physics system will also be applicable to the VVER-1200 and other triangular lattice designs and support their deployment and operation safely and economically. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Enhancement of PyARC for Westinghouse Electric Company’s Lead Fast Reactor Design and Modeling (Final TCF Report)

Westinghouse Electric Company is a nuclear reactor vendor headquartered in the U.S. that is developing advanced reactor technology for the U.S. and global markets. Westinghouse has been relying on the neutronics Argonne Reactor Codes (ARC) executed through the NEAMS Workbench and its PyARC module that are developed under the DOE-NE Nuclear Energy Advanced Modeling and Simulation (NEAMS) and Advanced Reactor Technology (ART) – Fast Reactor programs. Through this user experience, Westinghouse identified several enhancements that would benefit the ARC codes’ usability by the US industry and therefore its commercialization potential. The enhancements were proposed to deliver both improvements in workflow and analysis capabilities to better support effective fast reactor core design and analysis to the nuclear industry. The PyARC workflow was extended in this project by integrating non-neutronic ARC codes DASSH and NUBOW-3D. The Ducted Assembly Steady-State Heat equation (DASSH) code is developed at ANL to perform steady-state thermal hydraulic sub-channel analysis in liquid metal fast reactor assemblies to determine optimized coolant flow and temperature distributions, which in this project was updated and validated for lead fast reactor (LFR) applications. The interface between REBUS and NUBOW-3D were improved in this project to assess the impact of the core restraint design and thermal induced expansion effects on the reactivity of the core, and to model the deformations of the fuel assemblies induced by temperature and irradiation. Finally, the ARC models that were extensively verified and validated through various SFR-based modeling benchmarks are extended in this project through code-to-code comparison on relevant LFR-specific neutronics benchmarks against Monte-Carlo neutronic solutions. Overall, this work enables verification of the capability of the ARC codes for a wide range of Generation-IV reactor designs. The outcome of this project is the release of a comprehensive modeling toolkit of validated, robust and efficient codes, as well as their user interface, that enables industry to perform a wide range of fast reactor analyses for design and licensing of their concepts.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Table-driven software architecture for a stitching system

Native code for a CNC stitching machine is generated by generating a geometry model of a preform; generating tool paths from the geometry model, the tool paths including stitching instructions for making stitches; and generating additional instructions indicating thickness values. The thickness values are obtained from a lookup table. When the stitching machine runs the native code, it accesses a lookup table to determine a thread tension value corresponding to the thickness value. The stitching machine accesses another lookup table to determine a thread path geometry value corresponding to the thickness value.

Thrash, Patrick J.↗

The aerodynamic characteristics of vortex ingestion for the F/A-18 inlet duct

A Reduced Navier-Stokes (RNS) solution technique was successfully combined with the concept of partitioned geometry and mesh generation to form a very efficient 3-D RNS code aimed at the analysis-design engineering environment. Partitioned geometry and mesh generation is a pre-processor to augment existing geometry and grid generation programs which allows the solver to (1) recluster an existing gridlife mesh lattice, and (2) perturb an existing gridfile definition to alter the cross-sectional shape and inlet duct centerline distribution without returning to the external geometry and grid generator. The present results provide a quantitative validation of the initial value space marching 3-D RNS procedure and demonstrates accurate predictions of the engine face flow field, with a separation present in the inlet duct as well as when vortex generators are installed to suppress flow separation. The present results also demonstrate the ability of the 3-D RNS procedure to analyze the flow physics associated with vortex ingestion in general geometry ducts such as the F/A-18 inlet. At the conditions investigated, these interactions are basically inviscid like, i.e., the dominant aerodynamic characteristics have their origin in inviscid flow theory.

Anderson, Bernhard H.↗

Aerodynamic heating on AFE due to nonequilibrium flow with variable entropy at boundary layer edge

A method of predicting the aerobrake aerothermodynamic environment on the NASA Aeroassist Flight Experiment (AFE) vehicle is described. Results of a three dimensional inviscid nonequilibrium solution are used as input to an axisymmetric nonequilibrium boundary layer program to predict AFE convective heating rates. Inviscid flow field properties are obtained from the Euler option of the Viscous Reacting Flow (VRFLO) code at the boundary layer edge. Heating rates on the AFE surface are generated with the Boundary Layer Integral Matrix Procedure (BLIMP) code for a partially catalytic surface composed of Reusable Surface Insulation (RSI) times. The 1864 kg AFE will fly an aerobraking trajectory, simulating return from geosynchronous Earth orbit, with a 75 km perigee and a 10 km/sec entry velocity. Results of this analysis will provide principal investigators and thermal analysts with aeroheating environments to perform experiment and thermal protection system design.

Ting, P. C.↗

Method and system for efficient video compression with low-complexity encoder

Disclosed are a method and system for video compression, wherein the video encoder has low computational complexity and high compression efficiency. The disclosed system comprises a video encoder and a video decoder, wherein the method for encoding includes the steps of converting a source frame into a space-frequency representation; estimating conditional statistics of at least one vector of space-frequency coefficients; estimating encoding rates based on the said conditional statistics; and applying Slepian-Wolf codes with the said computed encoding rates. The preferred method for decoding includes the steps of; generating a side-information vector of frequency coefficients based on previously decoded source data, encoder statistics, and previous reconstructions of the source frequency vector; and performing Slepian-Wolf decoding of at least one source frequency vector based on the generated side-information, the Slepian-Wolf code bits and the encoder statistics.

Chen, Jun↗

Efficient exploration of cosmology dependence in the EFT of LSS

The most effective use of data from current and upcoming large scale structure (LSS) and CMB observations requires the ability to predict the clustering of LSS with very high precision. The Effective Field Theory of Large Scale Structure (EFTofLSS) provides an instrument for performing analytical computations of LSS observables with the required precision in the mildly nonlinear regime. In this paper, we develop efficient implementations of these computations that allow for an exploration of their dependence on cosmological parameters. They are based on two ideas. First, once an observable has been computed with high precision for a reference cosmology, for a new cosmology the same can be easily obtained with comparable precision just by adding the difference in that observable, evaluated with much less precision. Second, most cosmologies of interest are sufficiently close to the Planck best-fit cosmology that observables can be obtained from a Taylor expansion around the reference cosmology. These ideas are implemented for the matter power spectrum at two loops and are released as public codes. When applied to cosmologies that are within 3σ of the Planck best-fit model, the first method evaluates the power spectrum in a few minutes on a laptop, with results that have 1% or better precision, while with the Taylor expansion the same quantity is instantly generated with similar precision. Finally, the ideas and codes we present may easily be extended for other applications or higher-precision results.

79 ASTRONOMY AND ASTROPHYSICS↗

GRMHD/RMHD Simulations and Stability of Magnetized Spine-Sheath Relativistic Jets

A new general relativistic magnetohydrodynamics (GRMHD ) code "RAISHIN" used to simulate jet generation by rotating and non-rotating black holes with a geometrically thin Keplarian accretion disk finds that the jet develops a spine-sheath structure in the rotating black hole case. Spine-sheath structure and strong magnetic fields significantly modify the Kelvin-Helmholtz (KH) velocity shear driven instability. The RAISHIN code has been used in its relativistic magnetohydrodynamic (RMHD) configuration to study the effects of strong magnetic fields and weakly relativistic sheath motion, cl2, on the KH instability associated with a relativistic, Y = 2.5, jet spine-sheath interaction. In the simulations sound speeds up to ? c/3 and Alfven wave speeds up to ? 0.56 c are considered. Numerical simulation results are compared to theoretical predictions from a new normal mode analysis of the RMHD equations. Increased stability of a weakly magnetized system resulting from c/2 sheath speeds and stabilization of a strongly magnetized system resulting from d 2 sheath speeds is found.

Hardee, Philip↗

Soft Soil Impact Testing and Simulation of Aerospace Structures

In June 2007, a 38-ft/s vertical drop test of a 5-ft-diameter, 5-ft-long composite fuselage section that was retrofitted with a novel composite honeycomb Deployable Energy Absorber (DEA) was conducted onto unpacked sand. This test was one of a series of tests to evaluate the multi-terrain capabilities of the DEA and to generate test data for model validation. During the test, the DEA crushed approximately 6-in. and left craters in the sand of depths ranging from 7.5- to 9-in. A finite element model of the fuselage section with DEA was developed for execution in LS-DYNA, a commercial nonlinear explicit transient dynamic code. Pre-test predictions were generated in which the sand was represented initially as a crushable foam material MAT_CRUSHABLE_FOAM (Mat 63). Following the drop test, a series of hemispherical penetrometer tests were conducted to assist in soil characterization. The penetrometer weighed 20-lb and was instrumented with a tri-axial accelerometer. Drop tests were performed at 16-ft/s and crater depths were measured. The penetrometer drop tests were simulated as a means for developing a more representative soil model based on a soil and foam material definition MAT_SOIL_AND FOAM (Mat 5) in LS-DYNA. The model of the fuselage with DEA was reexecuted using the updated soil model and test-analysis correlations are presented.

Fasanella, Edwin L.↗

SU-E-T-786: Utility of Gold Wires to Optimize Intensity Modulation Capacity of a Novel Directional Modulated Brachytherapy Tandem Applicator for Image Guided Cervical Cancer Brachytherapy

Purpose: To evaluate the impact of using gold wires to differentially fill various channels on plan quality compared with conventional T&R applicator, inside a novel directional modulated brachytherapy (DMBT) tandem applicator for cervical cancer brachytherapy. Materials and Methods: The novel DMBT tandem applicator has a 5.4-mm diameter MR-compatible tungsten alloy enclosed in a 0.3-mm thick plastic tubing that wraps around the tandem. To modulate the radiation intensity, 6 symmetric peripheral holes of 1.3-mm diameter are grooved along the tungsten alloy rod. These grooved holes are differentially filled with gold wires to generate various degrees of directional beams. For example, three different fill patterns of 1) all void, 2) all filled except the hole containing the 192-Ir source, and 3) two adjacent holes to the 192-Ir source filled were Monte Carlo simulated. The resulting 3D dose distributions were imported into an in-house-coded inverse optimization planning system to generate HDR brachytherapy clinical plans for 19 patient cases. All plans generated were normalized to the same D90 as the clinical plans and D2cc doses of OARs were evaluated. Prescription ranged between 15 and 17.5Gy. Results: In general, the plans in case 1) resulted in the highest D2cc doses for the OARs with 11.65±2.30Gy, 7.47±3.05Gy, and 9.84±2.48Gy for bladder, rectum, and sigmoid, respectively, although the differences were small. For the case 2), D2cc doses were 11.61±2.29Gy, 7.41±3.07Gy, and 9.75±2.45Gy, respectively. And, for the case 3), D2cc doses were 11.60±2.28Gy, 7.41±3.05Gy, and 9.74±2.45Gy, respectively. Difference between 1) and 2) cases were small with the average D2cc difference of <0.64%. Difference between 1) and 3) cases were even smaller with the average D2cc difference of <0.1%. Conclusions: There is a minimal clinical benefit by differentially filling grooved holes in the novel DMBT tandem applicator for image guided cervical cancer brachytherapy.

60 APPLIED LIFE SCIENCES↗

CATHARE calculations of Phenix ultimate natural convection test

The Phenix Sodium cooled Fast Reactor (SFR) started operation in 1973 and it was stopped in 2009. Before the reactor was definitively shutdown, in order to collect experimental data for code assessments in the frame of Generation IV an intensive program of ultimate tests was set up. Among these ultimate experiments, two thermal hydraulic tests were performed: an asymmetrical test consisting in a trip on one secondary pump and a natural convection test in the primary circuit. The natural convection test has been used for an international benchmark on system codes in the frame of the IAEA. The CATHARE code - initially developed for water cooled reactors and now extended for safety analyses for other kinds of reactors, including Sodium Fast Reactor - was used by CEA for this benchmark. The paper reminds briefly the Phenix reactor with the main physical parameters and the instrumentation used during the natural convection test. Main test results are also briefly reminded including the evolution of the core and the heat exchangers inlet and outlet temperatures, and some local temperature measurements. The main developments to perform CATHARE SFR computations and the strategy of system code assessment are presented. Then the CATHARE modelling of Phenix reactor is depicted and the various assumptions are pointed out. CATHARE encountered no problem to predict the initial nominal state. Afterwards, the whole transient scenario is calculated and CATHARE calculations are compared to the Phenix measurements. The global trend is rather well predicted by the CATHARE code. Nevertheless, due to complex flow phenomena occurring in large plena and components, the system code encountered physical limitations, leading to remaining discrepancies between code prediction and plant data. Various sensitivity calculations are presented and they bring partial answers. Additional analyses are in progress to understand more deeply the complex 3D phenomena involved during the different phases of the natural convection test. Additional work for coupling CATHARE system code and TRIO-U CFD code is in progress and will bring useful information to better understand the physical phenomena involved during the natural convection test and to improve system modeling for future SFR safety analysis. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Automated Development of Accurate Algorithms and Efficient Codes for Computational Aeroacoustics

The simulation of sound generation and propagation in three space dimensions with realistic aircraft components is a very large time dependent computation with fine details. Simulations in open domains with embedded objects require accurate and robust algorithms for propagation, for artificial inflow and outflow boundaries, and for the definition of geometrically complex objects. The development, implementation, and validation of methods for solving these demanding problems is being done to support the NASA pillar goals for reducing aircraft noise levels. Our goal is to provide algorithms which are sufficiently accurate and efficient to produce usable results rapidly enough to allow design engineers to study the effects on sound levels of design changes in propulsion systems, and in the integration of propulsion systems with airframes. There is a lack of design tools for these purposes at this time. Our technical approach to this problem combines the development of new, algorithms with the use of Mathematica and Unix utilities to automate the algorithm development, code implementation, and validation. We use explicit methods to ensure effective implementation by domain decomposition for SPMD parallel computing. There are several orders of magnitude difference in the computational efficiencies of the algorithms which we have considered. We currently have new artificial inflow and outflow boundary conditions that are stable, accurate, and unobtrusive, with implementations that match the accuracy and efficiency of the propagation methods. The artificial numerical boundary treatments have been proven to have solutions which converge to the full open domain problems, so that the error from the boundary treatments can be driven as low as is required. The purpose of this paper is to briefly present a method for developing highly accurate algorithms for computational aeroacoustics, the use of computer automation in this process, and a brief survey of the algorithms that have resulted from this work. A review of computational aeroacoustics has recently been given by Lele.

Goodrich, John W.↗

Investigation of Heterogeneity Effects on Calculated Sensitivities of the ZPPR-15B Assemblies

In past years, sensitivity studies of ZPR and ZPPR assemblies were carried out with deterministic codes for several purposes, such as uncertainty estimation of calculated parameter values, cross section adjustment, representativity analysis. etc. However, these sensitivity studies used simplified R-Z models of ZPR/ZPPR assemblies where the multi-group cross section data was obtained from the homogenized material compositions of each reactor zone. The main reason for this simplification was the lack of a deterministic path able to compute sensitivity coefficients for complicated 3D geometries in transport theory. Also, each ZPR and ZPPR assembly consists of several different drawers each containing different plate types and plate arrangements and it was felt that performing sensitivity calculations with an equivalent R-Z reactor model would capture most of the feedback while the heterogeneity effects were believed to be of second order. Recently a new code, BuildZPRModel, was developed at ANL that automatically generates the inputs for cross section processing and core calculation of heterogeneous ZPR and ZPPR assemblies for 3D transport calculations. Additionally, the PERSENT code (recently developed at ANL as well) is able to carry out sensitivity calculations in transport theory on 3D geometries. With the benefit of the newly developed codes, a sensitivity study was performed for the heterogeneous model of ZPPR-15B assemblies 96 and 102 generated by BuildZPRModel. The results were compared with the sensitivities computed with the use of fully homogenized R-Z reactor models, in order to quantify the impact of heterogeneity effects neglected in the analysis performed in past years.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Impact of the High Flux Isotope Reactor HEU to LEU Fuel Conversion on Cold Source Nuclear Heat Generation Rates

Under the sponsorship of the US Department of Energy National Nuclear Security Administration, staff members at the Oak Ridge National Laboratory have been conducting studies to determine whether the High Flux Isotope Reactor (HFIR) can be converted from high enriched uranium (HEU) fuel to low enriched uranium (LEU) fuel. As part of these ongoing studies, an assessment of the impact that the HEU to LEU fuel conversion has on the nuclear heat generation rates in regions of the HFIR cold source system and its moderator vessel was performed and is documented in this report. Silicon production rates in the cold source aluminum regions and few-group neutron fluxes in the cold source moderator were also estimated. Neutronics calculations were performed with the Monte Carlo N-Particle code to determine the nuclear heat generation rates in regions of the HFIR cold source and its vessel for the HEU core operating at a full reactor power (FP) of 85 MW(t) and the reference LEU core operating at an FP of 100 MW(t). Calculations were performed with beginning-of-cycle (BOC) and end-of-cycle (EOC) conditions to bound typical irradiation conditions. Average specific BOC heat generation rates of 12.76 and 12.92 W/g, respectively, were calculated for the hemispherical region of the cold source liquid hydrogen (LH2) for the HEU and LEU cores, and EOC heat generation rates of 13.25 and 12.86 W/g, respectively, were calculated for the HEU and LEU cores. Thus, the greatest heat generation rates were calculated for the EOC HEU core, and it is concluded that the conversion from HEU to LEU fuel and the resulting increase of FP from 85 MW to 100 MW will not impact the ability of the heat removal equipment to remove the heat deposited in the cold source system. Silicon production rates in the cold source aluminum regions are estimated to be about 12.0% greater at BOC and 2.7% greater at EOC for the LEU core in comparison to the HEU core. Silicon is aluminum s major transmutation product and affects mechanical properties of aluminum including density, neutron irradiation hardening, swelling, and loss of ductility. Because slightly greater quantities of silicon will be produced in the cold source moderator vessel for the LEU core, these effects will be slightly greater for the LEU core than for the HEU core. Three-group (thermal, epithermal, and fast) neutron flux results tallied in the cold source LH2 hemisphere show greater values for the LEU core under both BOC and EOC conditions. The thermal neutron flux in the LH2 hemisphere for the LEU core is about 12.4% greater at BOC and 2.7% greater at EOC than for the HEU core. Therefore, cold neutron scattering will not be adversely affected and the 4 12 neutrons conveyed to the cold neutron guide hall for research applications will be enhanced.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

PATOKA: Simulating Electromagnetic Observables of Black Hole Accretion

Abstract The Event Horizon Telescope (EHT) has released analyses of reconstructed images of horizon-scale millimeter emission near the supermassive black hole at the center of the M87 galaxy. Parts of the analyses made use of a large library of synthetic black hole images and spectra, which were produced using numerical general relativistic magnetohydrodynamics fluid simulations and polarized ray tracing. In this article, we describe the PATOKA pipeline, which was used to generate the Illinois contribution to the EHT simulation library. We begin by describing the relevant accretion systems and radiative processes. We then describe the details of the three numerical codes we use, iharm , ipole , and igrmonty , paying particular attention to differences between the current generation of the codes and the originally published versions. Finally, we provide a brief overview of simulated data as produced by PATOKA and conclude with a discussion of limitations and future directions.

79 ASTRONOMY AND ASTROPHYSICS↗