Search NASA⌕ Search

SEARCH · Search NASA

Results for “C Code”

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 919 records · Page 51

Rotor Wake/Stator Interaction Noise Prediction Code Technical Documentation and User's Manual

This report documents the improvements and enhancements made by Pratt & Whitney to two NASA programs which together will calculate noise from a rotor wake/stator interaction. The code is a combination of subroutines from two NASA programs with many new features added by Pratt & Whitney. To do a calculation V072 first uses a semi-empirical wake prediction to calculate the rotor wake characteristics at the stator leading edge. Results from the wake model are then automatically input into a rotor wake/stator interaction analytical noise prediction routine which calculates inlet aft sound power levels for the blade-passage-frequency tones and their harmonics, along with the complex radial mode amplitudes. The code allows for a noise calculation to be performed for a compressor rotor wake/stator interaction, a fan wake/FEGV interaction, or a fan wake/core stator interaction. This report is split into two parts, the first part discusses the technical documentation of the program as improved by Pratt & Whitney. The second part is a user's manual which describes how input files are created and how the code is run.

Topol, David A.↗

Simulating Responses of Gravitational-Wave Instrumentation

Synthetic LISA is a computer program for simulating the responses of the instrumentation of the NASA/ESA Laser Interferometer Space Antenna (LISA) mission, the purpose of which is to detect and study gravitational waves. Synthetic LISA generates synthetic time series of the LISA fundamental noises, as filtered through all the time-delay-interferometry (TDI) observables. (TDI is a method of canceling phase noise in temporally varying unequal-arm interferometers.) Synthetic LISA provides a streamlined module to compute the TDI responses to gravitational waves, according to a full model of TDI (including the motion of the LISA array and the temporal and directional dependence of the arm lengths). Synthetic LISA is written in the C++ programming language as a modular package that accommodates the addition of code for specific gravitational wave sources or for new noise models. In addition, time series for waves and noises can be easily loaded from disk storage or electronic memory. The package includes a Python-language interface for easy, interactive steering and scripting. Through Python, Synthetic LISA can read and write data files in Flexible Image Transport System (FITS), which is a commonly used astronomical data format.

Armstrong, John↗

Rotational Raman-Based Temperature Measurements in a High-Velocity Turbulent Jet

Spontaneous rotational Raman scattering spectroscopy is used to acquire the first ever high quality, spatially-resolved measurements of the mean and root mean square (rms) temperature fluctuations in turbulent, high-velocity heated jets. Raman spectra in air were obtained across a matrix of radial and axial locations downstream from a 50 mm diameter nozzle operating from subsonic to supersonic conditions over a wide range of temperatures and Mach numbers, in accordance with the Tanna matrix frequently used in jet noise studies. These data were acquired in the hostile, high noise (115 dB) environment of a large scale open air test facility at NASA Glenn Research Center (GRC). Temperature estimates were determined by performing nonlinear least squares fitting of the single shot spectra to the theoretical rotational Stokes spectra of N2 and O2, using a custom in-house code developed specifically for this investigation. The laser employed in this study was a high energy, long-pulsed, frequency doubled Nd:YAG laser. One thousand single-shot spectra were acquired at each spatial coordinate. Mean temperature and rms temperature variations were calculated at each measurement location. Excellent agreement between the averaged and single-shot temperatures was observed with an accuracy better than 2.5 percent for temperature, and rms variations in temperature between +/-2.2 percent at 296 K and +/-4.5 percent at 850 K. The results of this and planned follow-on studies will support NASA GRC's development of physics-based jet noise prediction, turbulence modeling and aeroacoustic source modeling codes.

Randy J Locke↗

Rotational Raman-Based Temperature Measurements in a High-Velocity Turbulent Jet

Spontaneous rotational Raman scattering spectroscopy is used to acquire the first ever high quality, spatially-resolved measurements of the mean and root mean square (rms) temperature fluctuations in turbulent, high-velocity heated jets. Raman spectra in air were obtained across a matrix of radial and axial locations downstream from a 50 mm diameter nozzle operating from subsonic to supersonic conditions over a wide range of temperatures and Mach numbers, in accordance with the Tanna matrix frequently used in jet noise studies. These data were acquired in the hostile, high noise (115 dB) environment of a large scale open air test facility at NASA Glenn Research Center (GRC). Temperature estimates were determined by performing nonlinear least squares fitting of the single shot spectra to the theoretical rotational Stokes spectra of N2 and O2, using a custom in-house code developed specifically for this investigation. The laser employed in this study was a high energy, long-pulsed, frequency doubled Nd:YAG laser. One thousand single-shot spectra were acquired at each spatial coordinate. Mean temperature and rms temperature variations were calculated at each measurement location. Excellent agreement between the averaged and single-shot temperatures was observed with an accuracy better than 2.5 percent for temperature, and rms variations in temperature between +/-2.2 percent at 296 K and +/-4.5 percent at 850 K. The results of this and planned follow-on studies will support NASA GRC's development of physics-based jet noise prediction, turbulence modeling and aeroacoustic source modeling codes.

Randy J Locke↗

Computational Performance of Progressive Damage Analysis of Composite Laminates using Abaqus/Explicit with 16 to 512 CPU Cores

The computational scaling performance of progressive damage analysis using Abaqus/ Explicit is evaluated and quantified using from 16 to 512 CPU cores. Several analyses were conducted on varying numbers of cores to determine the scalability of the code on five NASA high performance computing systems. Two finite element models representative of typical models used for progressive damage analysis of composite laminates were used. The results indicate a 10 to 15 times speed up scaling from 24 to 512 cores. The run times were modestly reduced with newer generations of CPU hardware. If the number of degrees of freedom is held constant with respect to the number of cores, the model size can be increased by a factor of 20, scaling from 16 to 512 cores, with the same run time. An empirical expression was derived relating run time, the number of cores, and the number of degrees of freedom. Analysis cost was examined in terms of software tokens and hardware utilization. Using additional cores reduces token usage since the computational performance increases more rapidly than the token requirement with increasing number of cores. The in- crease in hardware cost with increasing cores was found to be modest. Overall the results show relatively good scalability of the Abaqus/Explicit code on up to 512 cores.

Bergan, A. C.↗

Comparing HZETRN, SHIELD, FLUKA and GEANT Transport Codes

For the first time, the American (NASA) and Russian (ROSCOSMOS) space radiation transport codes, HZETRN and SHIELD respectively, are directly compared to each other. Calculations are presented for Galactic Cosmic Ray (GCR) minimum Hydrogen, Oxygen and Iron projectiles incident on a uniform Aluminum cylinder of varying thickness. Comparisons are made for the flux spectra of neutrons, light ions, heavy ions and pions emitted from the back of the Aluminum cylinder. In order to provide more benchmark comparisons, some calculations with the GEANT and FLUKA transport codes are also shown.

John W Norbury↗

COMDES-MELT: A Turbofan Engine Icing Risk Analysis Tool, User’s Manual

The computational tool COMDES-MELT was developed to predict the susceptibility of turbofan engines to ice accretion when flying in an ice crystal environment. COMDES-MELT is a first-generation computational tool that can estimate the conditions at which the accretion of ice can occur, location within the turbofan engine compression system, and at which engine operating points within the flight trajectory. This is accomplished by tracking the parameters of static wet bulb temperature, ice particle melt ratio, and the ice-water to airflow rates ratio as ice crystals are ingested into the engine compression system. It has been used successfully to predict engine operating points for simulation in an altitude wind tunnel with ice crystal ingestion. These engine tests occur in a simulated ice crystal cloud environment. This predictive analysis has been used to generate the test matrix in preparation for tests in the Propulsion Systems Laboratory, an altitude test facility at the NASA Glenn Research Center. Furthermore, due to the speed of the code during an engine icing test, adjustments to the test matrix can be provided to the test engineer in real time to focus on a particular area of ice accretion susceptibility. The use of the COMDES-MELT code will be examined in this manual.

Turbofan engine↗

Dynamic Mode Decomposition of Unsteady Pressure-Sensitive Paint Measurements for the NASA Unitary Plan Wind Tunnel Tests

This paper describes the Dynamic Mode Decomposition (DMD) of the pressures on the scale model of the Space Launch System (SLS) Block 1 cargo vehicle with the Unsteady Pressure-Sensitive Paint (uPSP) measurements, which were collected in the Ascent Transient Aerodynamics Tests with the Unitary Plan Wind Tunnel 11-by-11-foot Transonic Wind Tunnel in September 2019 at NASA Ames Research Center. The work described in this paper is a part of NASA’s development of a new state-of-the-art uPSP capability in production wind tunnels. The conventional DMD algorithm is based on the Singular Value Decomposition (SVD) of the data matrix. For the matrix of the uPSP measurements of the SLS ATAT, the number of rows is equal to the number of nodes in the grid of the scale model, and the number of columns is equal to the number of frames in the videos taken with 4 Phantom high-speed cameras. In this paper, it is verified that, for the time series with zero mean value, the DMD is equivalent to the decomposition with the Discrete Fourier Transform (DFT). Considering the uPSP is mainly used in the assessment of the unsteady, aerodynamic phenomena, the DMD of the uPSP measurements can be implemented in two steps: (1) subtract the mean value from the uPSP measurement on each of the grid nodes; (2) apply the Fast Fourier Transform (FFT) on the resulting zero-mean time series. The DMD of the uPSP measurements with FFT has two advantages: (1) the computational complexity of FFT is O(N*logN), where N is the length of the time series; (2) compared to the SVD-based DMD algorithm, the DMD with FFT can be easily implemented in parallel processing. A sample matrix of uPSP measurements, at the size of 341 grid nodes and 128 frames, is generated. Figures 1 and 2 show the eigenvalues and the ratios of the eigenvectors, respectively, of the sample matrix, without and with the mean value removed on each of the grid nodes, computed with the SVD-based DMD and the FFT. The figures demonstrate the equivalence of the SVD-based DMD and the decomposition with DFT/FFT for the time series with zero mean value. The results of DMD of the uPSP measurements of the SLS ATAT in September 2019 are presented in the paper. The DMD modes at different frequencies are shown, the aerodynamic phenomena (e.g. shockwave and vortex shedding) are demonstrated and the correlation of the DMD modes with the test configuration parameter (e.g., the Mach Number) is discussed. Figure 3 shows a software tool to visualize the DMD modes. The code to implement the algorithm described in this paper was written in C, with libraries of FFTW for FFT and MPI/OpenMP for parallel processing, and executed on the NASA Pleiades supercomputer. Funding for this research was provided by the NASA Aerosciences Evaluation and Test Capabilities Project.

Pressure-Sensitive Paint↗

A ROS-based Simulator for Testing the Enhanced Autonomous Navigation of the Mars 2020 Rover

In order to achieve the ambitious objectives of the Mars 2020 (M2020) mission, in particular the ability to autonomously traverse more challenging terrains more efficiently, new surface mobility software was developed for Enhanced Navigation (ENav). That decision was made early in the project, before most of the new surface flight software (FSW) existed, which created a need for a separate framework where the new navigation algorithms could be quickly prototyped and tested, before more realistic FSW-based testbeds became available. The JPL robotics team chose the Robot Operating System [1] (ROS) as the environment in which to test the new ENav algorithms. This made it possible to write the algorithms in the C language required by the FSW, so they could be directly ported over to the flight module later on, while leveraging all the C++ libraries and tools provided by ROS for simulation and testing. The ENav algorithms were developed as a separate C library, and stubs were used to replace any FSW-specific code, such as Event Reporting (EVRs) and data products (DPs). A ROS simulator was developed to generate a rich set of varied 3D terrains representative of the candidate Mars landing sites and simulate the physics of the rover motion, the point cloud perceived by the rover’s stereo vision system, and the new thinking-while-driving (TWD) navigation logic which directs the rover to drive autonomously to user-specified waypoints. To simulate the rover motion and perception, a ROS node was developed that uses a software library called HyperDrive Sim (HDSim), which is a wrapper for the Rover Sequencing and Visualization Program [2] (RSVP). That library provides roverterrain settling, realistic slip modelling, and camera rendering capability based on the rover’s NavCam machine vision models. To simulate the navigation logic, a ROS node was created that initializes and runs the ENav algorithms in a way that mimics the FSW execution, while also providing the capability to load and replay data products, including re-running the recorded inputs through the ENav algorithms for testing. An engineering Graphical User Interface (GUI) was also developed to visualize various elements, such as the rover pose during the drive, the simulated and perceived terrain, the selected local and global paths to the goal, the evaluated candidate paths and the reasons why they were rejected, the keep-in and keep-out zones (KIOZs), etc. Finally, an advanced Monte Carlo (MC) framework that can run many simulations in parallel on the Cloud and automatically generate reports that capture the key ENav performance metrics was developed to evaluate the system in a statisticallymeaningful way. This paper provides an overview of the ROSbased simulator used for testing the M2020 ENav algorithms.

Toupet, Olivier↗

Comparison of edge turbulence characteristics between DIII-D and C-Mod simulations with XGC1

The physical processes taking place at the separatrix and scrape-off layer regions are crucial for the operation of tokamaks as they govern the interaction of hot plasma with the vessel walls. Numerical modeling of the edge with state-of-the-art codes attempts to elucidate the complex interactions between neoclassical drifts, turbulence, poloidal and parallel flows that control the physical set-up of the SOL region. Here, we present post-processing analysis of simulation results from the gyrokinetic code XGC1, comparing and contrasting edge turbulence characteristics from a simulation of the DIII-D tokamak against a simulation of the Alcator C-Mod tokamak. We find that the equilibrium ExB flux across the separatrix has a similar poloidal pattern in both discharges which can be explained by rB-drifts and trapped ion excursions. Furthermore, collisionality is noted to play a major role in the way that it prevents local charge accumulations from having more global effects in the C-Mod case. In both cases, turbulent electron heat flux is observed to be higher than the ion one and is possibly related to the need of electrons to maintain quasineutrality through the only channel available to them for exiting the confinement. By Fourier analysis, we identify turbulent frequencies and growth rates of the dominant mode in both simulations. In the case of C-Mod, these numbers point to the presence of a drift wave. In the DIII-D case, further linear simulations with the Gene code reveal a trapped electron mode. Furthermore, using a blob detection and tracking tool, we present the amplitude and size distributions of the blobs from both simulations. The amplitude distributions are in qualitative agreement with experimental observations while the size distributions are consistent with the fact that most of the blobs are not connecting to the divertor plates and suggest that they are generated by the shearing of the turbulent modes.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Code JEF Facilities Engineering Home Page for the Internet

There are always many activities going on in JEF. We work on and manage the Construction of Facilities (C of F) projects at NASA-Ames. We are constantly designing or analyzing a new facility or project, or a modification to an existing facility. Every day we answer numerous questions about engineering policy, codes and standards, we attend design reviews, we count dollars and we make sure that everything at the Center is designed and built according to good engineering judgment. In addition, we study literature and attend conferences to make sure that we keep current on new legislation and standards.

Mahaffey, Valerie A.↗

Constitutive modeling for isotropic materials

The objective is to develop a unified constitutive model for finite element structural analysis of turbine engine hot-section components. This effort constitutes a different approach for non-linear finite-element computer codes which have heretofore been based on classical inelastic methods. The unified constitutive theory to be developed will avoid the simplifying assumptions of classical theory and should more accurately represent the behavior of superalloy materials under cyclic loading conditions and high temperature environments. During the first two years of the program, extensive experimental correlations were made with two representative unified models. The experiments were both uniaxial and biaxial at temperatures up to 1093 C (2000 F). In addition, the unified models were adopted to the MARC finite element code and used for stress analysis of notched bar and turbine blade geometries.

Lindholm, Ulric S.↗

P52D-1583 - Further Improvements to Constraints on Titan’s Atmospheric n-Butane, via Ground-Based Observations

We have acquired high spectral resolution ground-based observations of Titan in the mid-infrared from NASA Infrared Telescope Facility’s Texas Echelon Cross Echelle Spectrograph instrument , designed to constrain the abundances of new molecules within Titan’s atmosphere. The target molecule for this work, n-butane (n-C H ), though predicted by photochemical models of Titan’s atmosphere , has never been detected. Using the NEMESIS radiative transfer code , we retrieved a disk-averaged temperature profile for Titan by modeling CH emission in the 1248 cm region. Using this temperature profile, we then retrieved disk-averaged profiles of ethene (C H ), propane (C H ), and propene (C H ) in the 956 and 965 cm regions, which are also home to the strong and vibrational features of n-butane. We used an n-butane pseudoline list from JPL in order to systematically introduce a range of n-butane mixing ratios into the model, to constrain the molecule’s abundance based on the model’s changing fit to the data. We derive 3-confidence upper limits at an altitude of 150 km of 48 and 31 ppb for n-butane, via the and bands in the 956 and 965 cm regions, respectively. These are significantly tighter upper limits when compared to the ~300 ppb upper limit found in our recent work which used the same methodology but on much lower resolution limb data collected by the Cassini spacecraft. Upper limits on gas abundances are important for continued improvement of photochemical models of Titan’s atmosphere, which is understood to be an important analog for the prebiotic Earth atmosphere . They are also important for understanding the composition of Titan’s lakes and seas, which are likely to contain these larger hydrocarbons . Finally, as larger molecules like C ’s are thought to be able to serve as formation sites for building haze particles, constraining their abundances is important for understanding the process of haze formation at Titan and at Earth Ref: [1] J. H. Lacy, et al., PASP, 2002. [2] Y.L. Yung, et al., ApJS, 1984. [3] M. Dobrijevic, et al., Icarus, 2021. [4] P. G. J. Irwin et al., JQSRT, 2008. [5] K. Sung, et al., JQSRT, 2020. [6] B. L. Steffens, et al., PSJ, 2022. [7] Clarke & Ferris, Origins Life Evol. Biosphere, 1997. [8] D. Cordier, et al., ApJ, 2008. [9] D. B. Curtis, et al., JPCA, 2005.

Brendan Steffens↗

The spore coat is essential for Bacillus subtilis spore resistance to pulsed light, and pulsed light treatment eliminates some spore coat proteins

Microbial surface contamination of equipment or of food contact material is a recurring problem in the food industry. Spore-forming bacteria are far more resistant to a wide variety of treatments than their vegetative forms. Understanding the mechanisms underlying decontamination processes is needed to improve surface decontamination strategies against endospores potentially at the source of foodborne diseases or food-spoilage. Pulsed light (PL) with xenon lamps delivers high-energy short-time pulses of light with wavelengths in the range 200 nm-1100 nm and a high UV-C fraction. Bacillus subtilis spores were exposed to either PL or to continuous UV-C. Gel electrophoresis and western blotting revealed elimination of various proteins of the spore coat, an essential outer structure that protects spores from a wide variety of environmental conditions and inactivation treatments. Proteomic analysis confirmed the elimination of some spore coat proteins after PL treatment. Transmission electron microscopy of PL treated spores revealed a gap between the lamellar inner spore coat and the outer spore coat. Overall, spores of mutant strains with defects in genes coding for spore coat proteins were more sensitive to PL than to continuous UV-C. This study demonstrates that radiations delivered by PL contribute to specific damage to the spore coat, and overall to spore inactivation. Keywords Decontamination, UV, proteins, proteomics, microscopy Journal Pre-proof

59 BASIC BIOLOGICAL SCIENCES↗

Model-Based Diagnostics and Mitigation of Cyber Threats

The report summarizes key tasks performed to develop a toolkit for detecting cyber-attack events in instrumentation and control (I&C) systems of nuclear power plants. The toolkit connects the state-of-the-art GPWR Simulator with the RELAP5 code providing best-estimate nuclear steam supply system (NSSS) analyses, via the application programming interface (API), and allows users to introduce potential cyber-attack scenarios into power plant operational simulation. This summary for the project reflects topical reports submitted during the project as well as a journal paper published in 2022. The focus areas of the summary include: (1) modeling I&C systems for the AP1000 Generation III+ nuclear plant and GPWR simulator, (2) simulation and monitoring of plant response to cyber-attack events, (3) API structure for the toolkit interfacing the GPWR simulator and RELAP5 code, and (4) restructuring of the three-loop NSSS software of GPWR to model the two-loop AP1000 structure. Discussed in some details are (a) the attack tree analysis assessing the susceptibility of the AP1000 I&C system, resulting in reactor trips, in terms of the attack possibility and component sensitivity and (b) realistic estimation of the time to steam generator trip due to cyber-intrusions in the GPWR Simulator. Finally, sample demonstrations of the cyber-security tool kit, in the form of the GPWR-RELAP5 API, are summarized.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗