Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code development”

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 145 records · Page 8

CFD analysis on control of secondary losses in STME LOX turbines with endwall fences

The rotor blade in the newly designed LOX turbine for the future Space Transportation Main Engine (STME) has a severe flow turning angle, nearly 160 degrees. The estimated secondary loss in the rotor alone accounts for nearly 50 percent of the total loss over the entire stage. To reduce such a loss, one of the potential methods is to use fences attached on the turbine endwall (hub). As a prelude to examining the effects of endwall fence with actual STME turbine configuration, the present study focuses on similar issues with a different, but more generic, geometry - a rectangular duct with a 160-degree bend. The duct cross-section has a 2-to-1 aspect ratio and the radii of curvature for the inner and outer wall are 0.25 and 1.25 times the duct width, respectively. The present emphasis lies in examining the effects of various fence-length extending along the streamwise direction. The flowfield is numerically simulated using the FDNS code developed earlier by Wang and Chen. The FDNS code is a pressure based, finite-difference, Navier-Stokes equations solver.

Chyu, Mingking K.↗

Space Shuttle main engine OPAD: The search for a hardware enhanced plume

The process of applying spectroscopy to the Space Shuttle Main Engine (SSME) for plume diagnostics, as it exists today, originated at Marshall Space Flight Center in Huntsville, Alabama, and its implementation was assured largely through the efforts of Sverdrup AEDC, in Tullahoma, Tennessee. This team continues to lead and guide efforts in the plume diagnostics arena. The process, Optical Plume Anomaly Detection (OPAD), formed the basis for various activities in the development of ground-based systems as well as the development of in-flight plume spectroscopy. OPAD currently provides and will continue to provide valuable information relative to future systems definitions, instrumentation development, code validation, and data diagnostic processing. OPAD is based on the detection of anomalous atomic and molecular species in the SSME plume using two complete, stand-alone optical spectrometers. To-date OPAD has acquired data on 44 test firings of the SSME at the Technology Test Bed (TTB) at MSFC. The purpose of this paper will be to provide an introduction to the OPAD system by discussing the process of obtaining data as well as the methods of examining and interpreting the data. It will encompass such issues as selection of instrumentation correlation of data to nominal engine operation, investigation of SSME component erosion via OPAD spectral data, necessity and benefits of plume seeding, application of artificial intelligence (AI) techniques to data analysis, and the present status of efforts to quantify specie erosion utilizing standard plume and chemistry codes as well as radiative models currently under development.

Powers, W. T.↗

A Sample of NASA Langley Unsteady Pressure Experiments for Computational Aerodynamics Code Evaluation

As computational fluid dynamics methods mature, code development is rapidly transitioning from prediction of steady flowfields to unsteady flows. This change in emphasis offers a number of new challenges to the research community, not the least of which is obtaining detailed, accurate unsteady experimental data with which to evaluate new methods. Researchers at NASA Langley Research Center (LaRC) have been actively measuring unsteady pressure distributions for nearly 40 years. Over the last 20 years, these measurements have focused on developing high-quality datasets for use in code evaluation. This paper provides a sample of unsteady pressure measurements obtained by LaRC and available for government, university, and industry researchers to evaluate new and existing unsteady aerodynamic analysis methods. A number of cases are highlighted and discussed with attention focused on the unique character of the individual datasets and their perceived usefulness for code evaluation. Ongoing LaRC research in this area is also presented.

Schuster, David M.↗

Certifying Auto-Generated Flight Code

Model-based design and automated code generation are being used increasingly at NASA. Many NASA projects now use MathWorks Simulink and Real-Time Workshop for at least some of their modeling and code development. However, there are substantial obstacles to more widespread adoption of code generators in safety-critical domains. Since code generators are typically not qualified, there is no guarantee that their output is correct, and consequently the generated code still needs to be fully tested and certified. Moreover, the regeneration of code can require complete recertification, which offsets many of the advantages of using a generator. Indeed, manual review of autocode can be more challenging than for hand-written code. Since the direct V&V of code generators is too laborious and complicated due to their complex (and often proprietary) nature, we have developed a generator plug-in to support the certification of the auto-generated code. Specifically, the AutoCert tool supports certification by formally verifying that the generated code is free of different safety violations, by constructing an independently verifiable certificate, and by explaining its analysis in a textual form suitable for code reviews. The generated documentation also contains substantial tracing information, allowing users to trace between model, code, documentation, and V&V artifacts. This enables missions to obtain assurance about the safety and reliability of the code without excessive manual V&V effort and, as a consequence, eases the acceptance of code generators in safety-critical contexts. The generation of explicit certificates and textual reports is particularly well-suited to supporting independent V&V. The primary contribution of this approach is the combination of human-friendly documentation with formal analysis. The key technical idea is to exploit the idiomatic nature of auto-generated code in order to automatically infer logical annotations. The annotation inference algorithm itself is generic, and parametrized with respect to a library of coding patterns that depend on the safety policies and the code generator. The patterns characterize the notions of definitions and uses that are specific to the given safety property. For example, for initialization safety, definitions correspond to variable initializations while uses are statements which read a variable, whereas for array bounds safety, definitions are the array declarations, while uses are statements which access an array variable. The inferred annotations are thus highly dependent on the actual program and the properties being proven. The annotations, themselves, need not be trusted, but are crucial to obtain the automatic formal verification of the safety properties without requiring access to the internals of the code generator. The approach has been applied to both in-house and commercial code generators, but is independent of the particular generator used. It is currently being adapted to flight code generated using MathWorks Real-Time Workshop, an automatic code generator that translates from Simulink/Stateflow models into embedded C code.

Denney, Ewen↗

Preliminary Assessment of Turbomachinery Codes

This report assesses different CFD codes developed and currently being used at Glenn Research Center to predict turbomachinery fluid flow and heat transfer behavior. This report will consider the following codes: APNASA, TURBO, GlennHT, H3D, and SWIFT. Each code will be described separately in the following section with their current modeling capabilities, level of validation, pre/post processing, and future development and validation requirements. This report addresses only previously published and validations of the codes. However, the codes have been further developed to extend the capabilities of the codes.

Mazumder, Quamrul H.↗

Unsteady transonic small-disturbance theory including entropy and vorticity effects

Modifications to unsteady transonic small-disturbance theory to include entropy and vorticity effects are presented. The modifications have been implemented in the CAP-TSD (Computational Aeroelasticity Program - Transonic Small Disturbance) code developed recently at the NASA Langley Research Center. The code permits the aeroelastic analysis of complete aircraft configurations in the flutter critical transonic speed range. Entropy and vorticity effects have been incorporated within the solution procedure to more accurately analyze flows with strong shock waves. The modified code includes these effects while retaining the relative simplicity and cost efficiency of the TSD formulation. The paper presents detailed descriptions of the entropy and vorticity modifications along with calculated results and comparisons which assess the modified theory. These results are in good agreement with parallel Euler calculations and with experimental data. Therefore, the present method now provides the aeroelastician with an affordable capability to analyze relatively difficult transonic flows without having to solve the computationally more expensive Euler equations.

Batina, John T.↗

Flow over an all-body hypersonic aircraft - Experiment and computation

The objective of the present investigation is to establish a benchmark experimental data base for a generic hypersonic vehicle shape for validation and/or calibration of advanced computational fluid dynamics computer codes. This paper includes results from the comprehensive test program conducted in the NASA Ames 3.5-ft Hypersonic Wind Tunnel for a generic all-body hypersonic aircraft model. Experimental and computational results on flow visualization, surface pressures, surface convective heat transfer, and pilot-pressure flowfield surveys are presented. Comparisons of the experimental results with computational results from an upwind parabolized Navier-Stokes code developed at NASA Ames demonstrate the capabilities of this code.

William K. Lockman↗

SPPTOOLS: Programming tools for the IRAF SPP language

An IRAF package to assist in SPP code development and debugging is described. SPP is the machine-independent programming language used by virtually all IRAF tasks. Tools have been written to aide both novice and advanced SPP programmers with development and debugging by providing tasks to check the code for the number and type of arguments in all calls to IRAF VOS library procedures, list the calling sequences of IRAF tasks, create a database of identifiers for quick access, check for memory which is not freed, and a source code formatter. Debugging is simplified since the programmer is able to get a better understanding of the structure of his/her code, and IRAF library procedure calls (probably the most common source of errors) are automatically checked for correctness.

Fitzpatrick, M.↗

NURBS-Based Geometry for Integrated Structural Analysis

This grant was initiated in April 1993 and completed in September 1996. The primary goal of the project was to exploit the emerging defacto CAD standard of Non- Uniform Rational B-spline (NURBS) based curve and surface geometry to integrate and streamline the process of turbomachinery structural analysis. We focused our efforts on critical geometric modeling challenges typically posed by the requirements of structural analysts. We developed a suite of software tools that facilitate pre- and post-processing of NURBS-based turbomachinery blade models for finite element structural analyses. We also developed tools to facilitate the modeling of blades in their manufactured (or cold) state based on nominal operating shape and conditions. All of the software developed in the course of this research is written in the C++ language using the Iris Inventor 3D graphical interface tool-kit from Silicon Graphics. In addition to enhanced modularity, improved maintainability, and efficient prototype development, this design facilitates the re-use of code developed for other NASA projects and provides a uniform and professional 'look and feel' for all applications developed by the Iowa State Team.

Oliver, James H.↗

Advanced Technology Development for Stirling Convertors

A high-efficiency Stirling Radioisotope Generator (SRG) for use on potential NASA Space Science missions is being developed by the Department of Energy, Lockheed Martin, Stirling Technology Company, and NASA Glenn Research Center (GRC). These missions may include providing spacecraft onboard electric power for deep space missions or power for unmanned Mars rovers. GRC is also developing advanced technology for Stirling convertors, aimed at substantially improving the specific power and efficiency of the convertor and the overall power system. Performance and mass improvement goals have been established for second- and thirdgeneration Stirling radioisotope power systems. Multiple efforts are underway to achieve these goals, both in-house at GRC and under various grants and contracts. The status and results to date for these efforts will be discussed in this paper. Cleveland State University (CSU) is developing a multi-dimensional Stirling computational fluid dynamics code, capable of modeling complete convertors. A 2-D version of the code is now operational, and validation efforts at both CSU and the University of Minnesota are complementing the code development. A screening of advanced superalloy, refractory metal alloy, and ceramic materials has been completed, and materials have been selected for creep and joining characterization as part of developing a high-temperature heater head. A breadboard characterization is underway for an advanced controller using power electronics for active power factor control with a goal of eliminating the heavy tuning capacitors that are typically needed to achieve near unity power factors. Key Stirling developments just initiated under recent NRA (NASA Research Announcement) awards will also be discussed. These include a lightweight convertor to be developed by Sunpower Inc. and an advanced microfabricated regenerator to be done by CSU.

Thieme, Lanny G.↗

Nodal Modeling of Liquid Propellant Feed and Pressurization System

Nodal or network flow modeling plays an important role in the design and operation of the feed and pressurization system of a liquid rocket engine. Model development and execution time is relatively short for nodal codes in comparison to the Navier-Stokes based CFD codes. Nodal models also allow the inclusion of several components into one model to predict the behavior of a larger system. Unlike CFD models, the nodal models do not need very fine discretization of the flow field because they use empirical correlations to model fluid friction and heat transfer. This paper presents several applications of nodal modeling of liquid propellant feed and pressurization systems using the Generalized Fluid System Simulation Program (GFSSP), a nodal code developed at NASA/ Marshall Space Flight Center. GFSSP discretizes the flow field into nodes which are connected by branches. The mass and energy conservation equations and the equation of state are solved to calculate pressure, temperature, and resident mass at the nodes. The momentum equations are solved at the branches to calculate flow rates. Applications include a) tank pressurization by inert gas as well as autogenous pressurization by gaseous propellant, b) submerged pressurization by helium, c) self-pressurization due to boil-off of cryogenic propellant, d) chilldown of a transfer line of a cryogenic propellant feed system, and e) chilldown and filling of a cryogenic tank. Each of the above-mentioned models was verified and validated by comparing with test data.

Nodal Model↗

Nodal Modeling of Liquid Propellant Feed and Pressurization System

Nodal or network flow modeling plays an important role in the design and operation of the feed and pressurization system of a liquid rocket engine. Model development and execution time is relatively short for nodal codes in comparison to the Navier-Stokes based CFD codes. Nodal models also allow the inclusion of several components into one model to predict the behavior of a larger system. Unlike CFD models, the nodal models do not need very fine discretization of the flow field because they use empirical correlations to model fluid friction and heat transfer. This paper presents several applications of nodal modeling of liquid propellant feed and pressurization systems using the Generalized Fluid System Simulation Program (GFSSP), a nodal code developed at NASA/ Marshall Space Flight Center. GFSSP discretizes the flow field into nodes which are connected by branches. The mass and energy conservation equations and the equation of state are solved to calculate pressure, temperature, and resident mass at the nodes. The momentum equations are solved at the branches to calculate flow rates. Applications include a) tank pressurization by inert gas as well as autogenous pressurization by gaseous propellant, b) submerged pressurization by helium, c) self-pressurization due to boil-off of cryogenic propellant, d) chilldown of a transfer line of a cryogenic propellant feed system, and e) chilldown and filling of a cryogenic tank. Each of the above-mentioned models was verified and validated by comparing with test data.

Nodal Model↗

Path Toward a Unifid Geometry for Radiation Transport

The Direct Accelerated Geometry for Radiation Analysis and Design (DAGRAD) element of the RadWorks Project under Advanced Exploration Systems (AES) within the Space Technology Mission Directorate (STMD) of NASA will enable new designs and concepts of operation for radiation risk assessment, mitigation and protection. This element is designed to produce a solution that will allow NASA to calculate the transport of space radiation through complex computer-aided design (CAD) models using the state-of-the-art analytic and Monte Carlo radiation transport codes. Due to the inherent hazard of astronaut and spacecraft exposure to ionizing radiation in low-Earth orbit (LEO) or in deep space, risk analyses must be performed for all crew vehicles and habitats. Incorporating these analyses into the design process can minimize the mass needed solely for radiation protection. Transport of the radiation fields as they pass through shielding and body materials can be simulated using Monte Carlo techniques or described by the Boltzmann equation, which is obtained by balancing changes in particle fluxes as they traverse a small volume of material with the gains and losses caused by atomic and nuclear collisions. Deterministic codes that solve the Boltzmann transport equation, such as HZETRN [high charge and energy transport code developed by NASA Langley Research Center (LaRC)], are generally computationally faster than Monte Carlo codes such as FLUKA, GEANT4, MCNP(X) or PHITS; however, they are currently limited to transport in one dimension, which poorly represents the secondary light ion and neutron radiation fields. NASA currently uses HZETRN space radiation transport software, both because it is computationally efficient and because proven methods have been developed for using this software to analyze complex geometries. Although Monte Carlo codes describe the relevant physics in a fully three-dimensional manner, their computational costs have thus far prevented their widespread use for analysis of complex CAD models, leading to the creation and maintenance of toolkit-specific simplistic geometry models. The work presented here builds on the Direct Accelerated Geometry Monte Carlo (DAGMC) toolkit developed for use with the Monte Carlo N-Particle (MCNP) transport code. The workflow for achieving radiation transport on CAD models using MCNP and FLUKA has been demonstrated and the results of analyses on realistic spacecraft/habitats will be presented. Future work is planned that will further automate this process and enable the use of multiple radiation transport codes on identical geometry models imported from CAD. This effort will enhance the modeling tools used by NASA to accurately evaluate the astronaut space radiation risk and accurately determine the protection provided by as-designed exploration mission vehicles and habitats

Lee, Kerry↗

PAYCOS, a multidisciplinary sizing code for hypersonic vehicles

PAYCOS is a computer code developed to rapidly perform concept sizing, concept evaluation, and associated trade studies for supersonic and hypersonic maneuvering vehicles. PAYCOS is a multidisciplinary analysis code that allows the engineer to determine the best geometric configuration for each design through parametric studies and mathematical optimization. This paper presents a general overview of the code, including a brief discussion of the approach used to develop it. The modular structure of the code is reviewed, and a brief discussion of each module is presented. Input data needed to run the code and output data supplied by it are discussed. The role of mathematical optimization in the solution process is discussed in some detail and examples of this process are presented. Finally, current modifications to the code are described along with potential future modifications and applications.

Edington, Larry↗

A zonal approach to V/STOL vehicle aerodynamics

A zonal method based on an iterative coupling between an inviscid panel method and two viscous finite difference methods is applied to solve for the region of jets issued from generic V/STOL models in order to assess the influence of the jet upon V/STOL configurations. The low-order panel method, VSAERO, is used to solve for the entire flow region, which includes the V/STOL model and jet boundary. ARC3D, a well known compressible, thin layer Navier-Stokes (NS) code developed at NASA-Ames, and APPL, a parabolized NS code, are used to solve for the jet region subject to the boundary condition provided by the VSAERO calculation. Overlapping boundaries are used for the purpose of coupling. Results are presented with the available experimental data for the jet and V/STOL configurations.

Yoo, Sungyul↗

Numerical investigations of low-density nozzle flow by solving the Boltzmann equation

A two-dimensional finite-difference code to solve the BGK-Boltzmann equation has been developed. The solution procedure consists of three steps: (1) transforming the BGK-Boltzmann equation into two simultaneous partial differential equations by taking moments of the distribution function with respect to the molecular velocity u(sub z), with weighting factors 1 and u(sub z)(sup 2); (2) solving the transformed equations in the physical space based on the time-marching technique and the four-stage Runge-Kutta time integration, for a given discrete-ordinate. The Roe's second-order upwind difference scheme is used to discretize the convective terms and the collision terms are treated as source terms; and (3) using the newly calculated distribution functions at each point in the physical space to calculate the macroscopic flow parameters by the modified Gaussian quadrature formula. Repeating steps 2 and 3, the time-marching procedure stops when the convergent criteria is reached. A low-density nozzle flow field has been calculated by this newly developed code. The BGK Boltzmann solution and experimental data show excellent agreement. It demonstrated that numerical solutions of the BGK-Boltzmann equation are ready to be experimentally validated.

Deng, Zheng-Tao↗

General Flow-Solver Code for Turbomachinery Applications

Phantom is a computer code intended primarily for real-fluid turbomachinery problems. It is based on Corsair, an ideal-gas turbomachinery code, developed by the same authors, which evolved from the ROTOR codes from NASA Ames. Phantom is applicable to real and ideal fluids, both compressible and incompressible, flowing at subsonic, transonic, and supersonic speeds. It utilizes structured, overset, O- and H-type zonal grids to discretize flow fields and represent relative motions of components. Values on grid boundaries are updated at each time step by bilinear interpolation from adjacent grids. Inviscid fluxes are calculated to third-order spatial accuracy using Roe s scheme. Viscous fluxes are calculated using second-order-accurate central differences. The code is second-order accurate in time. Turbulence is represented by a modified Baldwin-Lomax algebraic model. The code offers two options for determining properties of fluids: One is based on equations of state, thermodynamic departure functions, and corresponding state principles. The other, which is more efficient, is based on splines generated from tables of properties of real fluids. Phantom currently contains fluid-property routines for water, hydrogen, oxygen, nitrogen, kerosene, methane, and carbon monoxide as well as ideal gases.

Dorney, Daniel↗

TPSAS-NF1676L-17560-DND

There has been much work in the past few years updating direct simulation Monte Carlo (DSMC) algorithms and phenomenological models. Algorithmic advances[1] have allowed simulations to be run more efficiently reducing the time to solution as well as allowing simulations to be run at lower altitudes because of the increased efficiency. Improved phenomenological models have focused on chemistry[2, 3] and internal energy modes[4, 5] and have had a profound effect on DSMC simulations by way of expanded physical realism[6] and computational speed. The DAC software[7, 8] has been widely adopted and performs well the jobs it was designed to do, but upgrading DAC to take advantage of these modeling advances has proven difficult due to a lack of modularity in the code base. Agency investment in DSMC code development has been almost non-existent for the past two decades. DAC was developed in the 1990?s at LaRC and has seen little improvement since. However, NASA is currently (under the Hypersonics Entry, Descent and Landing program) investing in the possibility of a stand-alone code to incorporate recent developments to expand physical realism, time to solution, and expand the range of usefulness of DSMC (both in velocity space and altitude).

Derek S Liechty↗