Search NASA⌕ Search

SEARCH · Search NASA

Results for “code modernization”

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 109 records · Page 6

Low aspect ratio wing code validation experiment

An experiment was performed on a low-aspect ratio wing to define the limits of the validity of codes which are used to predict the flow over modern fighter configurations. The focus of the experiment is to provide data at or near the true operating conditions of transonic aircraft. The Reynolds numbers reached in this experiment reproduce those experienced by an aircraft with a 5-m root chord, flying at 14 to 16 km, from Mach 0.6 to 0.8. The angle-of-attack range of the experiment extends into the regime of leading-edge separation.

Olsen, Michael E.↗

Fighter-like vortical flow experiments/computations

The objective of this research project is to determine the ability of Euler and Navier-Stokes codes to predict vortex/shock-dominated flow that is representative of modern fighter aircraft. The motivation for this project is fourfold: (1) current fighter aircraft are capable of operating beyond C(sub L(sub MAX)); (2) high angle-of-attack vortex/shock-dominated flows are not well understood; (3) current design methods are of the trial-and-error type; and (4) current data bases are inadequate for Computational Fluid Dynamics (CFD) validation. All data and results are presented in viewgraph format.

Erickson, Larry L.↗

Application of Modern Fortran to Spacecraft Trajectory Design and Optimization

In this paper, applications of the modern Fortran programming language to the field of spacecraft trajectory optimization and design are examined. Modern object-oriented Fortran has many advantages for scientific programming, although many legacy Fortran aerospace codes have not been upgraded to use the newer standards (or have been rewritten in other languages perceived to be more modern). NASA's Copernicus spacecraft trajectory optimization program, originally a combination of Fortran 77 and Fortran 95, has attempted to keep up with modern standards and makes significant use of the new language features. Various algorithms and methods are presented from trajectory tools such as Copernicus, as well as modern Fortran open source libraries and other projects.

Trajectory Optimizatio↗

Parallel-vector computation for CSI-design code

Computational aspects of Control-Structure Interaction (CSI) DESIGN code is reviewed. Numerical intensive computation portions of CSI-DESIGN code were identified. Improvements in computational speed for the CSI-DESIGN code can be achieved by exploiting parallel and vector capabilities offered by modern computers, such as the Alliant, Convex, Cray-2, and Cray-YMP. Four options to generate the coefficient stiffness matrix and to solve the system of linear, simultaneous equations are currently available in the CSI-DESIGN code. A preprocessor to use RCM (Reverse Cuthill-Mackee) algorithm for bandwidth minimization was also developed for the CSI-DESIGN code. Preliminary results obtained by solving a small-scale, 97 node CSI finite element model (for eigensolution) have indicated that this new CSI-DESIGN code is 5 to 6 times faster (using 1 Alliant processor) than the old version of CSI-DESIGN code. This speed-up was achieved due to the RCM algorithm and the use of a new skyline solver. Efforts are underway to further improve the vector speed for CSI-DESIGN code, to evaluate its performance on a larger scale CSI model (such as phase zero CSI model) to make the code run efficiently on multiprocessor, parallel computer environment, and to make the code portable among different parallel computers available at NASA LaRC, such as Alliant, Convex, and Cray computers.

Nguyen, Duc T.↗

Modern CFD applications for the design of a reacting shear layer facility

The RPLUS2D code, capable of calculating high speed reacting flows, was adopted to design a compressible shear layer facility. In order to create reacting shear layers at high convective Mach numbers, hot air streams at supersonic speeds, rendered by converging-diverging nozzles, must be provided. A finite rate chemistry model is used to simulate the nozzle flows. Results are compared with one-dimensional solutions at chemical equilibrium. Additionally, a two equation turbulence model with compressibility effects was successfully incorporated with the RPLUS code. The model was applied to simulate a supersonic shear layer. Preliminary results show favorable comparisons with the experimental data.

Yu, S. T.↗

Modern CFD applications for the design of a reacting shear layer facility

The RPLUS2D code, capable of calculating high speed reacting flows, has been adopted to design a compressible shear layer facility. In order to create reacting shear layers at high convective Mach numbers, hot air streams at supersonic speeds, render by converging-diverging nozzles, must be provided. A finite rate chemistry model is used to simulate the nozzle flows. Results are compared with one-dimensional, chemically equilibrium solutions. Additionally, a two equation turbulence model with compressibility effects has been successfully incorporated with the RPLUS code. The model has been applied to simulate a supersonic shear layer. Preliminary results show favorable comparisons with the experimental data.

Yu, S. T.↗

Meanline Analysis of Turbines with Choked Flow in the Object-Oriented Turbomachinery Analysis Code

The prediction of turbomachinery performance characteristics is an important part of the conceptual aircraft engine design process. During this phase, the designer must examine the effects of a large number of turbomachinery design parameters to determine their impact on overall engine performance and weight. The lack of detailed design information available in this phase necessitates the use of simpler meanline and streamline methods to determine the turbomachinery geometry characteristics and provide performance estimates prior to more detailed CFD (Computational Fluid Dynamics) analyses. While a number of analysis codes have been developed for this purpose, most are written in outdated software languages and may be difficult or impossible to apply to new, unconventional designs. The Object-Oriented Turbomachinery Analysis Code (OTAC) is currently being developed at NASA Glenn Research Center to provide a flexible meanline and streamline analysis capability in a modern object-oriented language. During the development and validation of OTAC, a limitation was identified in the code's ability to analyze and converge turbines as the flow approached choking. This paper describes a series of changes which can be made to typical OTAC turbine meanline models to enable the assessment of choked flow up to limit load conditions. Results produced with this revised model setup are provided in the form of turbine performance maps and are compared to published maps.

Choked Flow↗

Computations of Axisymmetric Flows in Hypersonic Shock Tubes

A time-accurate two-dimensional fluid code is used to compute test times in shock tubes operated at supersonic speeds. Unlike previous studies, this investigation resolves the finer temporal details of the shock-tube flow by making use of modern supercomputers and state-of-the-art computational fluid dynamic solution techniques. The code, besides solving the time-dependent fluid equations, also accounts for the finite rate chemistry in the hypersonic environment. The flowfield solutions are used to estimate relevant shock-tube parameters for laminar flow, such as test times, and to predict density and velocity profiles. Boundary-layer parameters such as bar-delta(sub u), bar-delta(sup *), and bar-tau(sub w), and test time parameters such as bar-tau and particle time of flight t(sub f), are computed and compared with those evaluated by using Mirels' correlations. This article then discusses in detail the effects of flow nonuniformities on particle time-of-flight behind the normal shock and, consequently, on the interpretation of shock-tube data. This article concludes that for accurate interpretation of shock-tube data, a detailed analysis of flowfield parameters, using a computer code such as used in this study, must be performed.

Sharma, Surendra P.↗

Ice Accretion Prediction for a Typical Commercial Transport Aircraft

Ice accretion calculations were made for a modern commercial transport using the NASA Lewis LEWICE3D ice accretion code. The ice accretion calculations were made for the wing and horizontal tail using both isolated flow models and flow models incorporating the entire airplane. The isolated flow model calculations were made to assess the validity of using these simplified models in lieu of the entire model in the ice accretion analysis of full aircraft. Ice shapes typifying a rime and a mixed ice shape were generated for a 30 minute hold condition. In general, the calculated ice shapes looked reasonable and appeared representative of a rime and a mixed ice conditions. The isolated flow model simplification was good for the main wing except at the root where it overpredicted the amount of accreted ice relative to the full aircraft flow model. For the horizontal tail the size and amount of predicted ice compared well for the two flow models, but the position of the accretions were more towards the upper surface for the aircraft flow model relative to the isolated flow model. This was attributed to downwash from the main wing which resulted in a lower effective angle of attack for the aircraft tail.

Bidwell, C. S.↗

Ice accretion prediction for a typical commercial transport aircraft

Ice accretion calculations were made for a modern commercial transport using the NASA Lewis LEWICE3D ice accretion code. The ice accretion calculations were made for the wing and horizonal tail using both isolated flow models and flow models incorporating the entire airplane. The isolated flow model calculations were made to assess the validity of using these simplified models in lieu of the entire model in the ice accretion analysis for full aircraft. Ice shapes typifying a rime and a mixed ice shape were generated for a 30 minute hold condition. In general, the calculated ice shapes looked reasonable and appeared representative of a rime and a mixed ice conditions. The isolated flow model simplification was good for the main wing except at the root where it overpredicted the amount of accreted ice relative to the full aircraft flow model. For the horizontal tail the size and amount of predicted ice compared well for the two flow models, but the position of the accretions were more towards the upper surface for the aircraft flow model relative to the isolated flow model. This was attributed to downwash from the main wing which resulted in a lower effective angle of attack for the aircraft tail.

Bidwell, C. S.↗

Uplift of Ionospheric Oxygen Ions During Extreme Magnetic Storms

Research reported earlier in literature was conducted relating to estimation of the ionospheric electrical field, which may have occurred during the September 1859 Carrington geomagnetic storm event, with regard to modern-day consequences. In this research, the NRL SAMI2 ionospheric code has been modified and applied the estimated electric field to the dayside ionosphere. The modeling was done at 15-minute time increments to track the general ionospheric changes. Although it has been known that magnetospheric electric fields get down into the ionosphere, it has been only in the last ten years that scientists have discovered that intense magnetic storm electric fields do also. On the dayside, these dawn-to-dusk directed electric fields lift the plasma (electrons and ions) up to higher altitudes and latitudes. As plasma is removed from lower altitudes, solar UV creates new plasma, so the total plasma in the ionosphere is increased several-fold. Thus, this complex process creates super-dense plasmas at high altitudes (from 700 to 1,000 km and higher).

Tsurutani, Bruce T.↗

A New Inversion Routine to Produce Vertical Electron-Density Profiles from Ionospheric Topside-Sounder Data

Two software applications have been produced specifically for the analysis of some million digital topside ionograms produced by a recent analog-to-digital conversion effort of selected analog telemetry tapes from the Alouette-2, ISIS-1 and ISIS-2 satellites. One, TOPIST (TOPside Ionogram Scalar with True-height algorithm) from the University of Massachusetts Lowell, is designed for the automatic identification of the topside-ionogram ionospheric-reflection traces and their inversion into vertical electron-density profiles Ne(h). TOPIST also has the capability of manual intervention. The other application, from the Goddard Space Flight Center based on the FORTRAN code of John E. Jackson from the 1960s, is designed as an IDL-based interactive program for the scaling of selected digital topside-sounder ionograms. The Jackson code has also been modified, with some effort, so as to run on modern computers. This modification was motivated by the need to scale selected ionograms from the millions of Alouette/ISIS topside-sounder ionograms that only exist on 35-mm film. During this modification, it became evident that it would be more efficient to design a new code, based on the capabilities of present-day computers, than to continue to modify the old code. Such a new code has been produced and here we will describe its capabilities and compare Ne(h) profiles produced from it with those produced by the Jackson code. The concept of the new code is to assume an initial Ne(h) and derive a final Ne(h) through an iteration process that makes the resulting apparent-height profile fir the scaled values within a certain error range. The new code can be used on the X-, O-, and Z-mode traces. It does not assume any predefined profile shape between two contiguous points, like the exponential rule used in Jackson s program. Instead, Monotone Piecewise Cubic Interpolation is applied in the global profile to keep the monotone nature of the profile, which also ensures better smoothness in the final profile than in Jackson s program. The new code uses the complete refractive index expression for a cold collisionless plasma and can accommodate the IGRF, T96, and other geomagnetic field models.

Wang, Yongli↗

An Integrated Development Environment for the Prototype Verification System

The steep learning curve of formal technologies is a well-known barrier to the adoption of formal verification tools in industry. This paper presents VSCode-PVS, a modern integrated development environment for the Prototype Verification System (PVS). This new environment integrates the editing and proof management functionalities of PVS in Visual Studio Code, a popular code editor widely used by software developers. VSCode-PVS provides functionalities that developers expect to find in modern verification tools but are not available in the standard Emacs front-end of PVS, such as auto-completion, point-and-click navigation of definitions, live diagnostics for errors, and literate programming. The main features and architecture of the environment are presented, along with a comparison with other similar tools.

Paolo Masci↗

Validation of NASCAP-2K Spacecraft-Environment Interactions Calculations

The recently released Nascap-2k, version 2.0, three-dimensional computer code models interactions between spacecraft surfaces and low-earth-orbit, geosynchronous, auroral, and interplanetary plasma environments. It replaces the earlier three-dimensional spacecraft interactions codes NASCAP/GEO, NASCAP/LEO, POLAR, and DynaPAC. Nascap-2k has improved numeric techniques, a modern user interface, and a simple, interactive satellite surface definition module (Object ToolKit). We establish the accuracy of Nascap-2k both by comparing computed currents and potentials with analytic results and by comparing Nascap-2k results with published calculations using the earlier codes. Nascap-2k predicts Langmuir-Blodgett or Parker-Murphy current collection for a nearly spherical (100 surfaces) satellite in a short Debye length plasma depending on the absence or presence of a magnetic field. A low fidelity (in geometry and time) Nascap-2k geosynchronous charging calculation gives the same results as the corresponding low fidelity NASCAP/GEO calculation. A high fidelity calculation (using the Nascap-2k improved geometry and time stepping capabilities) gives higher potentials, which are more consistent with typical observations. Nascap-2k predicts the same current as a function of applied potential as was observed and calculated by NASCAP/LEO for the SPEAR I rocket with a bipolar sheath. A Nascap-2k DMSP charging calculation gives results similar to those obtained using POLAR and consistent with observation.

Davis, V. A.↗

Enabling Execution of a Legacy CFD Mini Application on Accelerators Using OpenMP

We describe the process and outcome of our efforts to port a legacy Fortran benchmark code to heterogeneous GPU-accelerated computing architectures using OpenMP. The benchmark code is one of the multi-zone NAS Parallel Benchmarks (NPB-MZ) called SP-MZ. This “mini-app” mimics the computation and data movement that is found in popular legacy and modern implicit computational fluid dynamics (CFD)solvers. Our objective was to examine how efficiently legacy Fortran codes can be ported to accelerators by leveraging OpenMP directives. We describe the development and optimization process and demonstrate the performance impact of various code modifications. We show select profiling results from the Nvidia nvvp profiler to help others diagnose and overcome performance issues in their own applications. We present results for two compute systems endowed with Nvidia V100 accelerators.

Ioannis Nompelis↗

Designing a configuration control mechanism for a flight software validation facility

Embedded computer systems and supporting operating systems have recently enabled the automation of many time-critical flight functions. This automation requires the integration of computer hardware and software, aircraft hardware, and the flight application. To properly integrate and control these critical functions requires a real-time environment that is provided by the onboard flight computer, a real-time operating system, and a real-time flight application that supplies the input commands to the aircraft and responds to the resulting actions. The increased complexity of developing and testing such real-time applications can best be supported by a separate test facility that provides the processing visibility and control which is virtually impossible in the actual real-time operating environment. Such a flight software validation facility has been developed at the NASA Langley Research Center to support applications using the Shuttle real-time language HAL/S. The development and control of this facility are described. Some of the management techniques used were project schedules, status monitoring, code walk-throughs, configuration control, phased releases, validation suites, and modern programming techniques.

Smith-Taylor, R.↗

Implementation of the Lanczos eigen-solver for the CSI code on high performance computers

The focus of this research is to implement a Lanczos algorithm for the Control-Structure Integration (CSI) code which can exploit both parallel and vector capabilities provided by modern, high performance computers. A partial restoring orthogonality scheme is also developed and incorporated into the basic Lanczos algorithm. The numerical performance of the proposed parallel-vector Lanczos algorithm is demonstrated by solving for the frequencies and mode shapes of the Phase Zero CSI model. The superior performance of the Lanczos algorithm is illustrated in tabular form.

Nguyen, Duc T.↗

A coupled implicit solution method for turbulent spray combustion in propulsion systems

Many reacting flows in propulsion devices cannot be efficiently calculated by modern compressible flow CFD algorithms. Most low-speed reacting flow codes based on TEACH-type technologies are inefficient and lack robustness for complex flows. Tremendous progress has been made in high-speed compressible flow CFD in the past two decades; extending its application range to low-speed regimes is highly desirable. The objectives of this document is to present an efficient and robust algorithm for multi-phase chemically reacting flows at all speeds, with emphasis on low Mach number flows, and to calculate turbulent spray combustion flow in a gas turbine combustor.

Chen, K.-H.↗