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,243 records · Page 69

Analytical predictions of RTG power degradation

The DEGRA computer code that is based on a mathematical model which predicts performance and time-temperature dependent degradation of a radioisotope thermoelectric generator is discussed. The computer code has been used to predict performance and generator degradation for the selenide Ground Demonstration Unit (GDS-1) and the generator used in the Galileo Project. Results of parametric studies of load voltage vs generator output are examined as well as the I-V curve and the resulting predicted power vs voltage. The paper also discusses the increased capability features contained in DEGRA2 and future plans for expanding the computer code performance.

Noon, E. L.↗

Integrated Propulsion/Vehicle System Structurally Optimized

Ongoing research and testing are essential in the development of air-breathing hypersonic propulsion technology, and this year some positive advancement was made at the NASA Glenn Research Center. Recent work performed for GTX, a rocket-based combined-cycle, single-stage-to-orbit concept, included structural assessments of both the engine and flight vehicle. In the development of air-breathing engine technology, it is impractical to design and optimize components apart from the fully integrated system because tradeoffs must be made between performance and structural capability. Efforts were made to control the flight trajectory, for example, to minimize the aerodynamic heating effects. Structural optimization was applied to evaluate concept feasibility and was instrumental in the determination of the gross liftoff weight of the integrated system. Achieving low Earth orbit with even a small payload requires an aggressive approach to weight minimization through the use of lightweight, oxidation-resistant composite materials. Assessing the integrated system involved investigating the flight trajectory to determine where the critical load events occur in flight and then generating the corresponding environment at each of these events. Structural evaluation requires the mapping of the critical flight loads to finite element models, including the combined effects of aerodynamic, inertial, combustion, and other loads. NASA s APAS code was used to generate aerodynamic pressure and temperature profiles at each critical event. The radiation equilibrium surface temperatures from APAS were used to predict temperatures through the thickness. Heat transfer solutions using NASA's MINIVER code and the SINDA code (Cullimore & Ring Technologies, Littleton, CO) were calculated at selective points external to the integrated vehicle system and then extrapolated over the entire exposed surface. FORTRAN codes were written to expedite the finite element mapping of the aerodynamic heating effects for the internal structure.

Hunter, James E.↗

GAMSOR: Gamma Source Preparation and DIF3D Flux Solution

Nuclear reactors that rely upon the fission reaction have two modes of thermal energy deposition in the reactor system: neutron absorption and gamma absorption. The gamma rays are typically generated by neutron absorption reactions or during the fission process which means the primary driver of energy production is of course the neutron interaction. In conventional reactor physics methods, the gamma heating component is ignored such that the gamma absorption is forced to occur at the gamma emission site. For experimental reactor systems like EBR-II and FFTF, the placement of structural pins and assemblies internal to the core leads to problems with power heating predictions because there is no fission power source internal to the assembly to dictate a spatial distribution of the power. As part of the EBR-II support work in the 1980s, the GAMSOR code was developed to assist analysts in calculating the gamma heating. The GAMSOR code is a modified version of DIF3D and actually functions within a sequence of DIF3D calculations. The gamma flux in a conventional fission reactor system does not perturb the neutron flux and thus the gamma flux calculation can be cast as a fixed source problem given a solution to the steady state neutron flux equation. This leads to a sequence of DIF3D calculations, called the GAMSOR sequence, which involves solving the neutron flux, then the gamma flux, then combining the results to do a summary edit. In this manuscript, we go over the GAMSOR code and detail how it is put together and functions. We also discuss how to setup the GAMSOR sequence and input for each DIF3D calculation in the GAMSOR sequence. With the GAMSOR capability, users can take any valid steady state DIF3D calculation and compute the power distribution due to neutron and gamma heating. The MC2-3 code is the preferable companion code to use for generating neutron and gamma cross section data, but the GAMSOR code can accept cross section data from other sources. To further this aspect, an additional utility code was created which demonstrates how to merge the neutron and gamma cross section data together to carry out a simultaneous solve of the two systems.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Resonance Region Covariance Analysis Method and New Covariance Data for {sup 232}Th, {sup 233}U, {sup 235}U, {sup 238}U, and {sup 239}Pu

Resonance-parameter covariance matrix (RPCM) evaluations in the resolved resonance region were done for {sup 232}Th, {sup 233}U, {sup 235}U, {sup 238}U, and {sup 239}Pu using the computer code SAMMY. The retroactive approach of the code SAMMY was used to generate the RPCMs for {sup 233}U and {sup 235}U. RPCMs for {sup 232}Th, {sup 238}U and {sup 239}Pu were generated together with the resonance parameter evaluations. The RPCMs were then converted in the ENDF format using the File32 representation. Alternatively, for computer storage reasons, the File32 was converted in the File33 cross section covariance matrix (CSCM). Both representations were processed using the computer code PUFF-IV. This paper describes the procedures used to generate the RPCM with SAMMY.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Simulations of single- and two-phase shock tubes and gravity-driven wave problems with the RELAP-7 nuclear reactor system analysis code

Propagation of pressure waves in single and two-phase flows is of key interest for nuclear safety analyses, reactor design, construction and life extension of nuclear reactors. In this work, we assess the capabilities of RELAP-7, the next-generation nuclear reactor system code, to solve single- and two-phase flows developing pressure waves. RELAP-7 is based on a 7-equation, two-phase flow model, with distinct phasic pressures. It is well established that these hyperbolic conservation laws can develop shocks and discontinuities and thus, require a stabilization numerical method. The all-Mach flow Entropy Viscosity Method (EVM) is now employed in RELAP-7 as a viscous stabilization approach. In this paper, we briefly describe the implementation of the EVM and use open-literature test cases that exhibit pressure waves to show that the entropy viscosity method performs adequately for these single- and two-phase cases.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Generating Real-Time Robotics Control Software from SysML

In this paper, we outline an approach for autogenerating real-time robotics control code from hierarchical state machines and hardware configurations encoded in Systems Modeling Language (SysML). We propose a software architecture that provides an abstract SysML layer with access to device state information and a set of primitive device commands, such as move actuator and release brake, allowing a user to build up a complete functional state machine directly in SysML. The SysML diagram is then exported to a standard SCXML file format and subsequently used to auto-generate hardware control code. Once this architecture is in place, the only explicit code elements that need to be written are the primitive device commands, which can be easily unit tested and reused across different systems. The motivation for this work was the need for a test bed that enables the rapid prototyping of mechanisms and control algorithms for a spacecraft that could ultimately be used for preparing Martian rock samples for their return to Earth. To this end, our software system was also designed to allow for the run-time specification of the hardware layout in SysML, with the hardware-level control functions kept agnostic to the specific parameters or communication bus of any particular device. Further, we outline a system for specifying both the state machine and hardware configuration in the MagicDraw IDE in such a way that the system can be simulated before any code is generated. The resultant software system is easy to debug, understand, and allows users to choose how much information is encoded as a visual or text-based representation.

Godart, Peter↗

Automating test case generation for coverages required by FAA standard DO-178B

Coverage testing techniques are required by the FAA for various levels of subsystem criticality at the unit testing level. Higher levels of criticality require coverage schemes that frequently require more and more test cases, particularly when the number of conditions in a decision grows. For example, if we have a decision with n conditions of the form: if (/ci/ or /c2/ or .... or /cn/) then there are 2(n) possible combinations of condition outcomes. Given the enormous number of inputs that may be required to satisfy different coverages, and given that there are no automated tools for determining these inputs (to our knowledge), we will show how one alternative testing technique, mutation testing, can be coerced into generating inputs that satisfy a code coverage scheme X, i.e., if we modify the rules for mutant generation during mutation testing, this technique will provide test cases that satisfy X.

Voas, Jeffrey M.↗

Axial and centrifugal pump meanline performance analysis

A meanline pump flow modeling method has been developed to provide a fast capability for modeling pumps of cryogenic rocket engines. Based on this method, a meanline pump flow code (PUMPA) has been written that can predict the performance of pumps at off-design operating conditions, given the loss of the diffusion system at the design point. The design point rotor efficiency is obtained from empirically derived correlations of loss to rotor specific speed. The rapid input setup and computer run time for the meanline pump flow code makes it an effective analysis and conceptual design tool. The map generation capabilities of the PUMPA code provide the information needed for interfacing with a rocket engine system modeling code.

Veres, Joseph P.↗

Monte Carlo ICRH simulations in fully shaped anisotropic plasmas

In order to numerically study the effects of Ion Cyclotron Resonant Heating (ICRH) on the fast particle distribution function in general plasma geometries, three codes have been coupled: VMEC generates a general (2D or 3D) MHD equilibrium including full shaping and pressure anisotropy. This equilibrium is then mapped into Boozer coordinates. The full-wave code LEMan then calculates the power deposition and electromagnetic field strength of a wave field generated by a chosen antenna using a warm model. Finally, the single particle Hamiltonian code VENUS combines the outputs of the two previous codes in order to calculate the evolution of the distribution function. Within VENUS, Monte Carlo operators for Coulomb collisions of the fast particles with the background plasma have been implemented, accounting for pitch angle and energy scattering. Also, ICRH is simulated using Monte Carlo operators on the Doppler shifted resonant layer. The latter operators act in velocity space and induce a change of perpendicular and parallel velocity depending on the electric field strength and the corresponding wave vector. Eventually, the change in the distribution function will then be fed into VMEC for generating a new equilibrium and thus a self-consistent solution can be found. This model is an enhancement of previous studies in that it is able to include full 3D effects such as magnetic ripple, treat the effects of non-zero orbit width consistently and include the generation and effects of pressure anisotropy. Here, first results of coupling the three codes will be shown in 2D tokamak geometries.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Improving the efficiency of configurational-bias Monte Carlo: A density-guided method for generating bending angle trials for linear and branched molecules

A new method has been developed to generate bending angle trials to improve the acceptance rate and the speed of configurational-bias Monte Carlo. Whereas traditionally the trial geometries are generated from a uniform distribution, in this method we attempt to use the exact probability density function so that each geometry generated is likely to be accepted. In actual practice, due to the complexity of this probability density function, a numerical representation of this distribution function would be required. This numerical table can be generated a priori from the distribution function. This method has been tested on a united-atom model of alkanes including propane, 2-methylpropane, and 2,2-dimethylpropane, that are good representatives of both linear and branched molecules. It has been shown from these test cases that reasonable approximations can be made especially for the highly branched molecules to reduce drastically the dimensionality and correspondingly the amount of the tabulated data that is needed to be stored. Despite these approximations, the dependencies between the various geometrical variables can be still well considered, as evident from a nearly perfect acceptance rate achieved. For all cases, the bending angles were shown to be sampled correctly by this method with an acceptance rate of at least 96% for 2,2-dimethylpropane to more than 99% for propane. Since only one trial is required to be generated for each bending angle (instead of thousands of trials required by the conventional algorithm), this method can dramatically reduce the simulation time. The profiling results of our Monte Carlo simulation code show that trial generation, which used to be the most time consuming process, is no longer the time dominating component of the simulation.

2-2-DIMETHYLPROPANE↗

SCALE MG Cross Section Processing for High Void BWR Using the AMPX 1,597-group Library

The CASL VERA neutronic simulator MPACT has been developed by Oak Ridge National Laboratory (ORNL) and University of Michigan for the pressurized water reactor applications. The MPACT capability is being extended for the boiling water reactor (BWR) analysis. Recent investigation showed that the MPACT multigroup (MG) library has limitations for high void BWR fuels because of the very coarse group structure. Since the MPACT MG library is generated with the AMPX/SCALE code package developed at ORNL, enhancement of the AMPX/SCALE code package and its MG library must be preceded to improve the accuracy of the MPACT MG library. Therefore, a new 1597-group structure was developed and an AMPX 1597-group library was generated. This ultra-fine group (UFG) library resulted in significant improvements in accuracy for fast spectrum systems compared to the AMPX 252-group results. However, the use of the AMPX 1597-group library requires significantly increased burden on memory and computing time.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Optimum mirror shapes and supports for light weight mirrors subjected to self-weight

A parametric design study of light weight mirror shapes with various support conditions was performed utilizing the finite element program NASTRAN. Improvements in the mirror performance were made based on the following design criteria: (1) minimization of the optical surface wavefront variations, (2) minimization of the self-weight directly related to cost of manufacturing, and (3) optimal location of support points. A preprocessor to automatically generate a finite element model for each mirror geometry was developed in order to obtain the structural deformations systematically. Additionally, a postprocessor, which prepares an input data file for FRINGE (an optical computer code) was developed for generating the optical deflections that lead to the surface wavefront variations. Procedures and modeling techniques to achieve the optimum (the lightest and stiffest mirror shape due to self-weight) are addressed.

Cho, Myung K.↗

SU-E-T-238: Monte Carlo Estimation of Cerenkov Dose for Photo-Dynamic Radiotherapy

Purpose: Estimation of Cerenkov dose from high-energy megavoltage photon and electron beams in tissue and its impact on the radiosensitization using Protoporphyrine IX (PpIX) for tumor targeting enhancement in radiotherapy. Methods: The GEPTS Monte Carlo code is used to generate dose distributions from 18MV Varian photon beam and generic high-energy (45-MV) photon and (45-MeV) electron beams in a voxel-based tissueequivalent phantom. In addition to calculating the ionization dose, the code scores Cerenkov energy released in the wavelength range 375–425 nm corresponding to the pick of the PpIX absorption spectrum (Fig. 1) using the Frank-Tamm formula. Results: The simulations shows that the produced Cerenkov dose suitable for activating PpIX is 4000 to 5500 times lower than the overall radiation dose for all considered beams (18MV, 45 MV and 45 MeV). These results were contradictory to the recent experimental studies by Axelsson et al. (Med. Phys. 38 (2011) p 4127), where Cerenkov dose was reported to be only two orders of magnitude lower than the radiation dose. Note that our simulation results can be corroborated by a simple model where the Frank and Tamm formula is applied for electrons with 2 MeV/cm stopping power generating Cerenkov photons in the 375–425 nm range and assuming these photons have less than 1mm penetration in tissue. Conclusion: The Cerenkov dose generated by high-energy photon and electron beams may produce minimal clinical effect in comparison with the photon fluence (or dose) commonly used for photo-dynamic therapy. At the present time, it is unclear whether Cerenkov radiation is a significant contributor to the recently observed tumor regression for patients receiving radiotherapy and PpIX versus patients receiving radiotherapy only. The ongoing study will include animal experimentation and investigation of dose rate effects on PpIX response.

60 APPLIED LIFE SCIENCES↗

Use of the PARC code for generic NASP nozzles operating at off-design transonic conditions

A three-dimensional Navier-Stokes solver, PARC3D, has been investigated for applications to the wind tunnel testing of high-speed nozzle configurations, particularly with extended expansion ramps, operating at transonic off-design conditions. Numerous cases have been run and compared with existing wind tunnel data. The code has been shown to be an efficient and robust tool in the analysis of complex nozzle configurations whose flows are substantially determined by three-dimensional effects. Although the method requires that a grid, generated independently of the code, be supplied to it, the robust nature of the code does not require that this grid be excessively detailed, nor does it seem to require that the grid be fine-tuned for individual cases. The directness and flexibility of the boundary condition specifications allow a variety of configurations and flow conditions to be handled very efficiently.

Yaros, Steven F.↗

FRANC2D: A two-dimensional crack propagation simulator. Version 2.7: User's guide

FRANC 2D (FRacture ANalysis Code, 2 Dimensions) is a menu driven, interactive finite element computer code that performs fracture mechanics analyses of 2-D structures. The code has an automatic mesh generator for triangular and quadrilateral elements. FRANC2D calculates the stress intensity factor using linear elastic fracture mechanics and evaluates crack extension using several methods that may be selected by the user. The code features a mesh refinement and adaptive mesh generation capability that is automatically developed according to the predicted crack extension direction and length. The code also has unique features that permit the analysis of layered structure with load transfer through simulated mechanical fasteners or bonded joints. The code was written for UNIX workstations with X-windows graphics and may be executed on the following computers: DEC DecStation 3000 and 5000 series, IBM RS/6000 series, Hewlitt-Packard 9000/700 series, SUN Sparc stations, and most Silicon Graphics models.

Wawrzynek, Paul↗

Self-Generated Magnetic and Electric Fields at a Mach-6 Shock Front in a Low Density Helium Gas by Dual-Angle Proton Radiography

Shocks are abundant both in astrophysical and laboratory systems. While the electric fields generated at shock fronts have recently attracted great attention, the associated self-generated magnetic field is rarely studied, despite its ability to significantly affect the shock profile in the nonideal geometry where density and temperature gradients are not parallel. We report here the observation of a magnetic field at the front of a Mach ~6 shock propagating in a low-density helium gas system. Proton radiography from different projection angles not only confirms the magnetic field’s existence, but also provides a quantitative measurement of the field strength in the range ~5 to 7 T. X-ray spectrometry allowed inference of the density and temperature at the shock front, constraining the plasma conditions under which the magnetic and electric fields are generated. Furthermore, simulations with the particle-in-cell code lsp attribute the self-generation of the magnetic field to the Biermann battery effect (∇n e × ∇T e ).

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Development of an Advanced Computational Fluid Dynamics Technology for the Next-Generation Nuclear Reactor System Analysis and Safety Margin Characterization Code

This report describes the research activities we have conducted at NCSU for our NEUP project. The work toward achieving the objectives of the project is reported. The significant achievements and accomplishments are presented. A number of numerical experiments are conducted to demonstrate that the goal of the proposed work has been successfully achieved. Issues, recommendations, and future work are discussed.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Wavelet-Based Grid Generation

Wavelets can provide a basis set in which the basis functions are constructed by dilating and translating a fixed function known as the mother wavelet. The mother wavelet can be seen as a high pass filter in the frequency domain. The process of dilating and expanding this high-pass filter can be seen as altering the frequency range that is 'passed' or detected. The process of translation moves this high-pass filter throughout the domain, thereby providing a mechanism to detect the frequencies or scales of information at every location. This is exactly the type of information that is needed for effective grid generation. This paper provides motivation to use wavelets for grid generation in addition to providing the final product: source code for wavelet-based grid generation.

HIGH PASS FILTERS↗