Public Domain Computer Programs For The Aeronautical Engineer
Public Domain Computer Programs For The Aeronautical Engineer
1. D2500 - Wave Drag by Area Rule. This is the famous Harris Wave Drag Program from
NASA Langley. D2500 calculates the supersonic zero-lift wave drag of complex aircraft
configurations by use of the supersonic area rule. This an extension of the transonic area
rule that states that the zero-lift drag of an airplane configuration is the same as that of a
body of revolution having the same cross-sectional area distribution. Instead of using a
single equivalent body, D2500 calculates a series of bodies, one for each roll angle. The
total aircraft configuration wave drag is the integrated average of the equivalent body
wave drags through the full roll range of 360 degrees. There are program options that
permit the calculation of best fuselage shaping for drag reduction. Copies of the original
papers on area rule are included on the CD-ROM. /WAVEDRAG
2. WingBody - Subsonic/Supersonic Panel Code. This is the Woodward panel code
popularly known as the NASA-Ames WingBody Program. This program estimates the
aerodynamics of a simple wing-body-tail combination in subsonic or supersonic flow, as
well as calculating wing shape for minimum drag in supersonic cruise. The body is
represented by line sources and doublets and the lifting surfaces are represented by
source panels and constant pressure panels. /WINGBODY
3. PanAir - This program computes subsonic and supersonic flow about general aircraft
configurations using a higher order panel method. In contrast to the low order codes
such as WingBody, the source and doublet strengths are variable over the individual
panels. This leads to a solution with continuous doublet strength over the surface of the
vehicle, thereby eliminating the flow singularities associated with jumps in doublet
strength.This is necessitated by the more stringent requirements of supersonic problem.
The potential for numerical error is greatly reduced in the PanAir program by requiring
the singularity strength to be continuous. It is also this higher order attribute which
allows PanAir to be used to analyze flow about arbitrary configurations. To perform an
analysis, the aircraft surface is partitioned into several networks of surface grid points.
The user also supplies information concerning the freestream onset flow, the angle of
attack, and the angle of sideslip. Numerous flow quantities are computed at points on
the vehicle surface and at points in space. These include pressure coefficients, total and
perturbation values of velocity and mass flux components, total and perturbation
potential, local Mach number, and vacuum pressure coefficient. The pressure
coefficients on individual panels are fitted with two-dimensional quadratic splines and
integrated to obtain the six components of force and the moment coefficients. These
coefficients may be output for each panel, for columns of panels, for each network, or
for any combination of networks. The user has extensive control over the type and
quantity of data that is output during a PanAir Analysis. (By Boeing, under contract to
NASA Ames and Langley, USAF and USN). The Panair users manual and many
references are on the disc. /PANAIR
4. Coordinates of NACA Airfoils - computes the ordinates of 4-digit, 4-digit-modified,
5-digit, 6-series, and 16-series airfoils. This is a complete revision of the original NASA
Langley programs based on AIAA-2001-5235. The results are shown in various
densities, from coarse to very fine. Numerous sample cases are included to help a user to
become familiar with the input data. In fact, input files for all of the airfoils shown in the
appendices to Abbott and von Doenhoff, Theory of Airfoil Sections are provided.
Coding is provided to show how all of the appendices to Abbott and von Doenhoff have
been recomputed to correct numerous typographic errors in the published book. These
corrected appendices are posted on the PDAS web site. All of the relevant NACA,
NASA, and AIAA reports are on the disc. A copy of the NASA program released in
1996 is also included for reference. /NACA456
5. Digital Datcom - The USAF Data Compendium is a large document describing methods
for computing aircraft stability and control characteristics. Many methods are included
so as to compute the characteristics of a wide variety of airplane and missile
configurations. The Digital Datcom program was developed to automate the process of
extracting variables from the hundreds of empirical charts in the printed document. The
Digital Datcom users manual, AFFDL-TR-79-3032, vol.I and the complete USAF
Datcom report are on the disc. /DATCOM
6. Characteristics of the Standard Atmosphere. - Atmosphere is a program that computes
pressure, density, temperature, speed of sound, and viscosity from sea level to 1000 km,
using the equations of the 1976 Standard Atmosphere. A copy of the official document
from the Government Printing Office is included on the CD-ROM. Separate versions
are available in Basic, C, Fortran77, Pascal (Delphi), Python, C++, and Fortran. Sample
programs in each language allow printing an atmosphere table. The routines from 86 to
1000 km are a contribution of Steve Pietrobon. In addition to the standard atmosphere,
routines are provided for both hot and cold days as well as the MIL-standard arctic and
tropical days. /ATMOS
7. GetMAC - solves for the mean aerodynamic chord of a wing made up of several
segments. This is a straightforward coding of the standard equations combined with a
user interface that should prove easy to use. The output defines the length of the mean
aerodynamic chord as well as its x- and y-positions and the location of the quarter-chord
point. /GETMAC
8. VuCalc - Interactive Compressible Flow Solver. This program was originally written by
Tom Benson of the NASA Lewis Research Center for a SGI workstation. It is now
converted for use with Microsoft Windows. VuCalc permits one to compute
compressible flow quantities. In addition to direct solutions, VuCalc also performs
inverse calculations. VuCalc calculates isentropic flow, normal shock, oblique shock and
flight in the standard atmosphere. VuCalc has now been updated to compute Rayleigh
and Fanno flows. A copy of NACA Report 1135 is included on the CD-ROM.
/VUCALC
9. PanAir Input Preprocessor - Panin allows the user to write a script file in free format
that reads a geometry file in LaWGS format and produces a properly formatted input file
for PanAir. The column formatted file that is the native input for PanAir is quite
efficient, but error prone. The PanAir Input Preprocessor will help you get a correct
input file for PanAir. /PANIN
10. Wing and Fuselage Geometry Generator - The program MakeWgs creates wireframe
models of wings or bodies that are then used with the PanAir preprocessor to create
input files for PanAir, or for HiddenLine or ThreeView. The wings can have NACA
4-digit airfoils as well as several supersonic airfoils. Bodies that have been programmed
include parabolic, Sears-Haack, von Karman Ogive, ellipsoid, etc. A copy of NASA
Memorandum 85767, which is the formal description of LaWGS, is on the disc.
/MAKEWGS
11. Potential Flow About Airfoils with Boundary-Layer Coupled One-Way. This program,
PABLO, solves for potential flow about airfoils and computes the boundary layer,
thereby giving the solution for flow over the combined airfoil and boundary layer.
PABLO has a very nice graphical interface displaying geometry, pressures, and
boundary-layer characteristics. This program is from KTH in Sweden, compliments of
Christian Wauquiez and Art Rizzi. Pablo is written with Matlab and requires that a
version of Matlab (student edition OK) be installed on the user's machine. /PABLO
12. Quiz Program - This program drills the student for simple facts. There are currently
quizzes for the aviation phonetic alphabet, Morse code, dimensionless numbers of fluid
mechanics and 3-letter airport codes. /QUIZ
13. Flow Field in Supersonic Inlet - based on 2D or axisymmetric method of characteristics.
This is a NASA Ames program by Virginia Sorensen. /INLET
14. Arrow Wing Wave Drag and Lift. This module encodes the closed form solution for the
wave drag of an arrow or delta wing with sharp edges. It is based on a paper by Arthur
Rogers that generalized the classic result of Puckett and Stewart. The tedious equations
are coded in a module that should prove easy to use in various aerodynamic programs.
/ROGERS
15. Gas Properties - Thermodynamic and transport properties of gases. GASP has been
written to calculate the thermodynamic and transport properties of argon, carbon
dioxide, carbon monoxide, fluorine, methane, neon, nitrogen, and oxygen. GASP
accepts any two of pressure, temperature, or density as input. In addition, entropy and
enthalpy are possible inputs. Outputs are temperature, density, pressure, entropy,
enthalpy, specific heats, expansion coefficient, sonic velocity, viscosity, thermal
conductivity, and surface tension. A special technique is provided to estimate the
thermal conductivity near the thermodynamic critical point. GASP is a group of Fortran
subroutines. The user typically would write a main program that invoked GASP to
provide only the described outputs. Subroutines are structured so that the user may call
only those subroutines needed for his particular calculations. Allowable pressures range
from 0.l atmosphere to 100 to l,000 atmospheres, depending on the fluid. Similarly,
allowable pressures range from the triple point of each substance to 300 degrees K to
2000 degrees K, depending on the substance. The GASP package was developed to be
used with heat transfer and fluid flow applications. It is particularly useful in
applications of cryogenic fluids. Some problems associated with the liquefication,
storage, and gasification of liquefied natural gas and liquefied petroleum gas can also be
studied using GASP. A copy of the original document, NASA TN D-7808 from NASA
Lewis is included on the CD-ROM. /GASP
16. FLUID - Thermodynamic and transport properties of fluids. The accurate computation
of the thermodynamic and transport properties of fluids is a necessity for many
engineering calculations. The FLUID program was developed to calculate the
thermodynamic and transport properties of pure fluids in both the liquid and gas phases.
Fluid properties are calculated using a simple gas model, empirical corrections, and an
efficient numerical interpolation scheme. FLUID produces results that are in very good
agreement with measured values, while being much faster than older more complex
programs developed for the same purpose. A Van der Waals equation of state model is
used to obtain approximate state values. These values are corrected for real gas effects
by model correction factors obtained from tables based on experimental data. These
tables also accurately compensate for the special circumstances which arise whenever
phase conditions occur. Viscosity and thermal conductivity values are computed directly
from tables. Interpolation within tables is based on Lagrange's three point formula. A set
of tables must be generated for each fluid implemented. FLUID currently contains tables
for nine fluids including dry air and steam. The user can add tables for any fluid for
which adequate thermal property data is available. The FLUID routine is structured so
that it may easily be incorporated into engineering programs. Also from NASA Lewis. A
copy of the original document, NASA TM X-3572 is included on the CD-ROM. FLUID
is a companion program to the gas properties program GASP. /FLUID
17. Three-Dimensional Surface Viewer. - Viewer is a package of Fortran subprograms to
draw three-dimensional surfaces of the form z = f (x, y) over a rectangular domain. It
uses a given recipe to generate views of the surface after arbitrary rotations about the
three spatial axes.The function f and the bounding values for x and y are the inputs. The
surface thus defined may be drawn after arbitrary rotations. Output is to gnuplot. The
viewing algorithm is completely described and sample programs are included. Viewer
was written by Bruce Canwright and Paul Swigert of NASA Lewis. A copy of the
original document, NASA TM X-1598, is included on the CD-ROM. /VIEWER
18. Induced Drag from Span Load Distribution - Advanced aerodynamics textbooks show
you how to compute induced drag by Fourier analysis of the span load function. They
don't tell you what to do if you only know a few discrete points on the loading function.
This procedure allows you to compute the induced drag from the spanwise load
distribution when only a few load values are known. Based on a note by Jerry Lundry.
/INDUCED
19. Wing Shape for Minimum Induced Drag by Vortex Lattice - computes the optimum
shape of a wing-tail or wing-canard using vortex lattice analysis, by John Lamar and
Jeanne Peters of NASA Langley. This program is documented in NASA TN D-8090 and
a copy of this document is on the disc. /VLMD
20. FairData - compute a smoothing spline for plotting wind tunnel data. This program is by
Robert Smith and Lona Howser of NASA Langley. The program is documented in
NASA TN D-7397 and a copy of this report is on the disc. /FAIRDATA
21. Hidden-Line Program - Draws perspective views with hidden line removal of an
arbitrary configuration defined by wireframe meshes of gridpoints. This is the
Silhouette program by David Hedgley of NASA Dryden. The configuration description
is in the format known as the Langley Wire Frame Geometry Standard (LaWGS).
Output is for gnuplot or PostScript. Includes copies of the original documents, NASA
RP-1085, NASA TP 2695, and NASA TM 81369 . /HLP
22. ThreeView - produce plan, side, and rear views from the same input file as HiddenLine.
/3VIEW
23. Conversion Programs - a set of three programs for converting input files for WingBody,
WaveDrag, or PanAir into LaWGS format. The resulting file can be used as input for
HiddenLine or for ThreeView. Includes a copy of NASA Memorandum 85767,
describing the NASA wireframe geometry standard. A fourth program that converts
input files from the S/HABP program into LaWGS is also included on the disc, but must
be regarded as a work in progress. /2WGS
24. Turbulent Skin Friction - a simple subroutine and test program for encoding the
reference temperature method of computing turbulent skin friction. A copy of NACA
TN 3391 by Simon Sommer and Barbara Short is on the disc. /TURBSF
25. Design and Analysis of Low Speed Airfoils - This is the original version of the airfoil
program by Richard Eppler of the University of Stuttgart and Dan Somer of NASA
Langley. This is a classic program for the design of 2-D airfoils including the effects of
the boundary layer. A copy of NASA TM 80210 by Eppler and Sommers is on the disc.
/EPPLER
26. Solution of Quartic and Cubic Polynomials with Real Coefficients. Algorithms have
been developed and coded to avoid overflow and roundoff errors in computing roots of
polynomials with real coefficients, up to quartic order. These subroutines were carefully
written by Alfred Morris and William Davis of the Naval Surface Weapons Center.
/QUARTIC
27. Virtual Reality Model of Airplane Configuration - This program converts a wireframe
model in LaWGS format into a VRML model. Use a VRML viewer to explore the three
dimensional scene. There is a long dormant project to allow web browsers such as
Internet Explorer or Firefox to display three-dimensional objects and visualize the object
from various angles. I am trying to stay on top of this effort in order to be able visualize
wireframes and surfaces if this ever comes to pass. /VRML
28. Contour Plotter - plot contours of a function defined at an arbitrary set of points in 2-D.
The graphical presentation of experimentally or theoretically generated data sets
frequently involves the construction of contour plots. A general computer algorithm has
been developed for the construction of contour plots. The algorithm provides for
efficient and accurate contouring with a modular approach which allows flexibility in
modifying the algorithm for special applications. The algorithm accepts as input data
values at a set of points irregularly distributed over a plane. The algorithm is based on an
interpolation scheme in which the points in the plane are connected by straight line
segments to form a set of triangles. In general, the data is smoothed using a least-
squares-error fit of the data to a bivariate polynomial. To construct the contours,
interpolation along the edges of the triangles is performed, using the bivariable
polynomial if data smoothing was performed. Once the contour points have been
located, the contour may be drawn. ( NASA Ames Research Center ) /CONPLOT
29. Optimum Flight Trajectory - find the best climb, cruise and descent path using energy
methods. (From NASA Ames). /OPTTRAJ
30. Orbiting solar array simulation model. - Solar arrays are becoming an increasingly
important means of generating power for earth orbiting spacecraft. Currently, almost all
unmanned earth satellites utilize solar array electrical power generation
systems.Applications for solar arrays in the near future include providing power for
space shuttle payloads and manned space stations. This computer program was
developed to simulate the capabilities of earth orbiting arrays. The model used is based
on an improved version of a finite-element radiation shape factor subprogram. The
inherent simplicity and speed of the original subprogram has been augmented with an
improved shadow evaluation technique to provide the user with an efficient array model.
The program allows the characteristics of orbiting arrays to be evaluated with a
minimum of user effort and computer cost. Input to the program consists of a brief
description of the array and the orbital parameters. The orbital parameters are used to
determine the direct solar radiation incident on the cells, incident solar radiation
reflected to cells from the earth, and the shadowing of any cells. Once the amount of
thermal radiation gained and lost by the array is known, the amount of power which can
be generated and the temperature of the array is determined. /SOLARARR
31. Tidy. After a computer program has been under development for some time, the
statement numbers and indentation patterns tend to get out of order and lack consistency.
The Tidy program renumbers Fortran programs and indent loops consistently. Tidy can
convert variables to upper or lower case. It can also convert Hollerith strings to quote-
delimited. (From USAF Weapons Center (Kirtland)) /TIDY
32. LineInt and LinIntrp - solve for intersections of straight lines and compute interpolated
points on a straight line. These programs are useful in making configuration layouts.
/LINEINT and /LININTRP
33. Hypersonic Arbitrary Body - an all-new rewrite of the essential inviscid features of the
famous program from Douglas for USAF. New version (Fortran 95) uses LaWGS
geometry input. Includes a major contribution from Igor Polykov of an interactive
version of the original Mark 4 program. A full copy of the Mark 4 program is on the
disc. /HYPER
34. Computer Methods for Mathematical Computation - A translation into Fortran 95 of the
procedures from the classic textbook Computer Methods for Mathematical Computation
by Forsythe, Malcolm and Moler. /FMM
35. Analysis of aircraft motions. This program was developed by Ames Research Center, in
cooperation with the National Transportation Safety Board, as a technique for deriving
time histories of an aircraft's motion from Air Traffic Control (ATC) radar records. This
technique uses the radar range and azimuth data, along with the downlinked altitude
data, to derive an expanded set of data which includes airspeed, lift, attitude angles
(pitch, roll, and heading), etc. This technique should prove useful as a source of data in
the investigation of commercial airline accidents and in the analysis of accidents
involving aircraft which do not have onboard data recorders (e.g., military, short-haul,
and general aviation). The technique used to determine the aircraft motions involves
smoothing of raw radar data. These smoothed results, in combination with other
available information (wind profiles and aircraft performance data), are used to derive
the expanded set of data. This program uses a cubic least-square fit to smooth the raw
data. This moving-arc procedure provides a smoothed time history of the aircraft
position, the inertial velocities, and accelerations. Using known winds, these inertial data
are transformed to aircraft stability axes to provide true airspeed, thrust minus drag, lift,
and roll angle. Further derivation, based on aircraft dependent performance data, can
determine the aircraft angle of attack, pitch, and heading angle. Results of experimental
tests indicate that values derived from ATC radar records using this technique agree
favorably with airborne measurements. /ATC
36. Supersonic Airplane Design. The famous Carlson-Middleton program for analysis and
design of supersonic wings. /TEA201
37. Modified strip analysis method for predicting wing flutter at subsonic to hypersonic
speeds. - A modified strip analysis has been developed for rapidly predicting flutter of
finite-span, swept or unswept wings at subsonic to hypersonic speeds. The method
employs distributions of aerodynamic parameters which may be evaluated from any
suitable linear or nonlinear steady-flow theory or from measured steady-flow load
distributions for the undeformed wing. The method has been shown to give good flutter
results for a broad range of wings at Mach number from 0 to as high as 15.3. The
principles of the modified strip analysis may be summarized as follows:
Variable section lift-curve slope and aerodynamic center are substituted respectively, for
the two-dimensional incompressible-flow values of 2 pi and quarter chord which were
employed by Barmby, Cunningham, and Garrick. Spanwise distributions of these
steady-flow section aerodynamic parameters, which are pertinent to the desired planform
and Mach number, are used. Appropriate values of Mach number-dependent circulation
functionsare obtained from two-dimensional unsteady compressible-flow theory. Use of
the modified strip analysis avoids the necessity of reevaluating a number of loading
parameters for each value of reduced frequency, since only the modified circulation
functions, and of course the reduced frequency itself, vary with frequency. It is therefore
practical to include in the digital computing program a very brief logical subroutine,
which automatically selects reduced-frequency values that converge on a flutter solution.
The problem of guessing suitable reduced-frequency values is thus eliminated, so that a
large number of flutter points can be completely determined in a single brief run on the
computing machine. If necessary, it is also practical to perform the calculations
manually. Flutter characteristics have been calculated by the modified strip analysis and
compared with results of other calculations and with experiments for Mach numbers up
to 15.3 and for wings with sweep angles from 0 degrees to 52.5 degrees, aspect ratios
from 2.0 to 7.4, taper ratios from 0.2 to 1.0, and center-of-gravity positions between 34%
chord and 59% chord. These ranges probably cover the great majority of wings that are
of practical interest with the exception of very low-aspect-ratio surfaces such as delta
wings and missile fins.( NASA Langley Research Center ) /FLUTTER
38. GRAPE- Two-dimensional grids about airfoils and other shapes by the use of Poisson's
equation. - The ability to treat arbitrary boundary shapes is one of the most desirable
characteristics of a method for generating grids, including those about airfoils. In a grid
used for computing aerodynamic flow over an airfoil, or any other body shape, the
surface of the body is usually treated as an inner boundary and often cannot be easily
represented as an analytic function. The GRAPE computer program was developed to
incorporate a method for generating two-dimensional finite-difference grids about
airfoils and other shapes by the use of the Poisson differential equation. GRAPE can be
used with any boundary shape, even one specified by tabulated points and including a
limited number of sharp corners. The GRAPE program has been developed to be
numerically stable and computationally fast. GRAPE can provide the aerodynamic
analyst with an efficient and consistent means of grid generation. The GRAPE procedure
generates a grid between an inner and an outer boundary by utilizing an iterative
procedure to solve the Poisson differential equationsubject to geometrical restraints. In
this method, the inhomogeneous terms of the equation are automatically chosen such
that two important effects are imposed on the grid. The first effect is control of the
spacing between mesh points along mesh lines intersecting the boundaries. The second
effect is control of the angles with which mesh lines intersect the boundaries. Along with
the iterative solution to Poisson's equation, a technique of coarse-fine sequencing is
employed to accelerate numerical convergence. GRAPE program control cards and input
data are entered via the NAMELIST feature. Each variable has a default value such that
user supplied data is kept to a minimum. Basic input data consists of the boundary
specification, mesh point spacings on the boundaries, and mesh line angles at the
boundaries. Output consists of a dataset containing the grid data and, if requested, a plot
of the generated mesh. This program is by Reese Sorensen of NASA Ames Research
Center. /GRAPE
39. Mass properties of a rigid structure. The computer program MASSPROP was developed
to calculate the mass properties of complex rigid structural systems. This program's
basic premise is that complex systems can be adequately described by a combination of
basic elementary structural shapes. Thirteen widely used basic structural shapes are
available in this program. They are as follows: Discrete Mass, Cylinder, Truncated
Cone, Torus, Beam (arbitrary cross section), Circular Rod (arbitrary cross section),
Spherical Segment, Sphere, Hemisphere, Parallelepiped, Swept Trapezoidal Panel,
Symmetric Trapezoidal Panels, and a Curved Rectangular Panel. MASSPROP provides
a designer with a simple technique that requires minimal input to calculate the mass
properties of a complex rigid structure and should be useful in any situation where one
needs to calculate the center of gravity and moments of inertia of a complex structure.
Rigid body analysis is used to calculate mass properties. Mass properties are calculated
about component axes that have been rotated to be parallel to the system coordinate
axes. Then the system center of gravity is calculated and the mass properties are
transferred to axes through the system center of gravity by using the parallel axis
theorem. System weight, moments of inertia about the system origin, and the products of
inertia about the system center of mass are calculated and printed. From the information
about the system center of mass the principal axes of the system and the moments of
inertia about them are calculated and printed. The only input required is simple
geometric data describing the size and location of each element and the respective
material density or weight of each element. This program was written by Reid Hull, John
Gilbert, and Phillip Klitch of NASA Langley. A copy of NASA TM 78681 by Hull,
Gilbert, and Klitch is on the disc.
40. Steady and oscillatory kernel function method for interfering surfaces in subsonic,
transonic and supersonic flow. - Interest has grown considerably in aircraft designed to
operate efficiently in the high subsonic regime. This interest has increased the need for
better unsteady transonic aerodynamic analysis techniques so that flutter and dynamic
response characteristics can be accurately predicted in this flow regime. The
characteristic of transonic flow which causes the greatest difficulty when attempting to
apply uniform flow theory to such problems is the presence of shocks imbedded in the
flow. Linear theory cannot account for this phenomenon and finite difference approaches
often require extremely costly amounts of computer time. This computer program was
developed to provide an analysis method based on a kernel function technique which
uses assumed pressure functions with unknown coefficients. With this technique,
generalized forces can be calculated in unsteady flow and pressure distributions can be
obtained in both steady and unsteady flow. Once the aerodynamic matrices are
computed and inverted, they may be saved and used on subsequent problems at very
little cost as long as Mach number, reduced frequencies, and aerodynamic geometry
remain unchanged. This method should be very useful for design applications where the
structural mode shapes change continually due to structural changes and payload
variations but the aerodynamic parameters remain constant. In this program, a wing over
which the flow has mixed subsonic and supersonic components with imbedded shocks is
treated as an array of general aerodynamic lifting surface elements. Each element is
allowed to have mutual interference with the other elements. Each element is assigned
the appropriate Mach number and its downwash modified accordingly. The Mach
number distribution and shock geometry may be obtained either experimentally or by a
finite difference technique. The solution proceeds in a manner identical to ordinary
aerodynamic interference methods based on a collocation technique. The unknown
pressure function is assumed to be composed of a series of polynomials weighted by a
user selected weighting function that is characteristic of each lifting surface. The non-
planar kernel function is computed using a Mach number and a reduced frequency
determined from values at a downwash control point. To link subsonic and supersonic
linear theory solutions, it is assumed that the appropriate Mach number for computing
downwash at a point is the Mach number at that point and that the reduced frequency is
modified according to the local velocity such that the physical frequency is held
constant. Thus, the computation procedure becomes a problem of testing the Mach
number of the downwash point. If the downwash point is supersonic, the self-induced
downwash and all interference effects at that point are computed with the supersonic
kernel function. Likewise, if the downwash point is subsonic, the subsonic kernel
function is used. The presence of a normal shock is simulated by a line doublet which
represents the load induced by shock movement. The appropriate steady or unsteady
normal shock boundary conditions are satisfied across the shock along the surface of the
wing. The computed aerodynamic matrices may be saved on magnetic tape for use in
subsequent analyses. (By Atlee Cunningham of General Dynamics under contract to
NASA Langley). /KERNEL
41. MISLIFT- Aerodynamic lift on wing-body combinations at small angles of attack in
supersonic flow. Two separate and distinct theories are incorporated in this computer
program to estimate the lift-induced pressures existent on a wing-body combination.
These are (1) the second-order shock-expansion theory, which is used to obtain the
lifting pressures on the body alone at small angles of attack, and (2) the linear-theory
integral equations, which is used to evaluate the lifting pressures induced by the wing.
These equations relate the local surface slope at a point on the lifting surface to the
pressure differential at the point and the influence of the pressures upstream of the point.
The numerical solution of these equations is effected by treating the wing-planform as a
composite of elemental rectangles and applying summation techniques to satisfy the
necessary integral relations. Most of the input required by this program is involved with
the description of the missile planform geometry. The output consists of the computed
value of the lifting pressure slope (the differential pressure coefficient per degree angle
of attack) for each of the elements in the planform array. A force and moment summary
is presented for the configuration under consideration. ( NASA Langley Research Center
) /MISLIFT
42. ORACLS- Optimal regulator algorithms for the control of linear systems. - This control
theory design package, called Optimal Regulator Algorithms for the Control of Linear
Systems (ORACLS), was developed to aid in the design of controllers and optimal filters
for systems which can be modeled by linear, time-invariant differential and difference
equations. Optimal linear quadratic regulator theory, currently referred to as the Linear-
Quadratic-Gaussian (LQG) problem, has become the most widely accepted method of
determining optimal control policy. Within this theory, the infinite duration time-
invariant problems, which lead to constant gain feedback control laws and constant
Kalman-Bucy filter gains for reconstruction of the system state, exhibit high tractability
and potential ease of implementation. A variety of new and efficient methods in the field
of numerical linear algebra have been combined into the ORACLS program, which
provides for the solution to time-invariant continuous or discrete LQG problems. The
ORACLS package is particularly attractive to the control system designer because it
provides a rigorous tool for dealing with multi-input and multi-output dynamic systems
in both continuous and discrete form. The ORACLS programming system is a collection
of subroutines which can be used to formulate, manipulate, and solve various LQG
design problems. The ORACLS program is constructed in a manner which permits the
user to maintain considerable flexibility at each operational state. This flexibility is
accomplished by providing primary operations, analysis of linear time-invariant systems,
and control synthesis based on LQG methodology. The input-output routines handle the
reading and writing of numerical matrices, printing heading information, and
accumulating output information. The basic vector-matrix operations include addition,
subtraction, multiplication, equation, norm construction, tracing, transposition, scaling,
juxtaposition, and construction of null and identity matrices. The analysis routines
provide for the following computations: the eigenvalues and eigenvectors of real
matrices; the relative stability of a given matrix; matrix factorization; the solution of
linear constant coefficient vector-matrix algebraic equations; the controllability
properties of a linear time-invariant system; the steady-state covariance matrix of an
open-loop stable system forced by white noise; and the transient response of continuous
linear time-invariant systems. The control law design routines of ORACLS implement
some of the more common techniques of time-invariant LQG methodology. For the
finite-duration optimal linear regulator problem with noise-free measurements,
continuous dynamics, and integral performance index, a routine is provided which
implements the negative exponential method for finding both the transient and steady-
state solutions to the matrix Riccati equation. For the discrete version of this problem,
the method of backwards differencing is applied to find the solutions to the discrete
Riccati equation. A routineis also included to solve the steady-state Riccati equation by
the Newton algorithms described by Klein, for continuous problems, and by Hewer, for
discrete problems. Another routine calculates the prefilter gain to eliminate control state
cross-product terms in the quadratic performance index and the weighting matrices for
the sampled data optimal linear regulator problem. For cases with measurement noise,
duality theory and optimal regulator algorithms are used to calculate solutions to the
continuous and discrete Kalman-Bucy filter problems. Finally, routines are included to
implement the continuous and discrete forms of the explicit (model-in-the-system) and
implicit (model-in-the-performance-index) model following theory. These routines
generate linear control laws which cause the output of a dynamic time-invariant system
to track the output of a prescribed model. In order to apply ORACLS, the user must
write an executive (driver) program which inputs the problem coefficients, formulates
and selects the routines to be used to solve the problem, and specifies the desired output.
This software was written by Ernest Armstrong of NASA Langley. A copy of NASA TP
1106 is included on the disc. /ORACLS
43. VASP- Variable dimension automatic synthesis program. - VASP is a variable
dimension Fortran version of the Automatic Synthesis Program, ASP. The program is
used to implement Kalman filtering and control theory. Basically, it consists of 31
subprograms for solving most modern control problems in linear, time-variant (or time-
invariant) control systems. These subprograms include operations of matrix algebra,
computation of the exponential of a matrix and its convolution integral, and the solution
of the matrix Riccati equation. The user calls these subprograms by means of a Fortran
main program, and so can easily obtain solutions to most general problems of
extremization of a quadratic functional of the state of the linear dynamical system.
Particularly, these problems include the synthesis of the Kalman filter gains and the
optimal feedback gains for minimization of a quadratic performance index. VASP, as an
outgrowth of the Automatic Synthesis Program, has the following improvements: more
versatile programming language; more convenient input/output format; some new
subprograms which consolidate certain groups of statements that are often repeated; and
variable dimensioning. The pertinent difference between the two programs is that VASP
has variable dimensioning and more efficient storage. The documentation for the VASP
program contains a VASP dictionary and example problems. The dictionary contains a
description of each subroutine and instructions on its use. The example problems include
dynamic response, optimal control gain, solution of the sampled data matrix Riccati
equation, matrix decomposition, and a pseudo-inverse of a matrix. This subroutine
library was written by John White and Homer Lee of NASA Ames. /VASP
44. Variable metric algorithm for constrained optimization. VMACO is a non-linear
program developed to calculate the least value of a function of N variables subject to
general constraints (both equality and inequality). Generally, the first set of constraints is
an equality (the target) and the remaining constraints are inequalities (boundaries). The
VMACO program utilizes an iterative method in seeking the optimal solution. It can be
"hooked" into a driver program (examples are provided) which can calculate the values
for the real function, constraints, and their first order partials with respect to the controls.
The algorithm is based upon a variable metric method presented by M.J.D. Powell and a
quadratic programming method by R. Fletcher. This implementation requires more
overhead in calculating each new control variable, but fewer iterations are required for
convergence. In comparison with other algorithms, it has been found that VMACO
handles test cases withconstraints particularly well, and that less execution time is
necessary for convergence. VMACO was written by J. D. Frick of McDonnell Douglas
Corp./Houston for NASA Marshall. /VMACO
45. W12SC3 - Supersonic wing design and analysis using source and vortex panel
singularity distributions, based on the USSAERO program by Woodward. W12SC3
combines source and vortex panel singularity distributions forcalculating the linear
theory estimate of the configuration aerodynamics. The user can specify Woodward II
calculations for arbitrary body models or Woodward I calculations for an interference
shell that approximates actual body shape. The Carlson correction for supersonic linear
theory wing calculations is applied at wing control points. If desired, COREL will
produce conical panel pressure data for further processing by W12SC3. W12SC3 can
perform the following aerodynamic functions:
1) full analysis,
2) full design,
3) full optimization,
4) mixed design-analysis, and
5) mixed design-optimization.
Results from W12SC3 include wing camber distribution, surface velocities, pressure
coefficients and drag. /W12SC3
46. Rational spline subroutines. - Scientific data often contains random errors that make
plotting and curve-fitting difficult. The Rational-Spline Approximation with Automatic
Tension Adjustment algorithm lead to a flexible, smooth representation of experimental
data. The user sets the conditions for each consecutive pair of knots: (knots are user-
defined divisions in the data set) to apply no tension; to apply fixed tension; or to
determine tension with a tension adjustment algorithm. The user also selects the number
of knots, the knot abscissas, and the allowed maximum deviations from line segments.
The selection of these quantities depends on the actual data and on the requirements of a
particular application. This program differs from the usual spline under tension in that it
allows the user to specify different tension values between each adjacent pair of knots
rather than a constant tension over the entire data range. The subroutines use an
automatic adjustment scheme that varies the tension parameter for each interval until the
maximum deviation of the spline from the line joining the knots is less than or equal to a
user-specified amount. This procedure frees the user from the drudgery of adjusting
individual tension parameters while still giving control over the local behavior of the
spline. This software was developed and coded by James R. Schiess and Patricia A. Kerr
of NASA Langley. A copy of NASA Technical Paper 2366 is included on the CD-ROM.
/RSPLINE
47. Transient response of ablating axisymmetric bodies including the effects of shape
change (ABAXI). Some of the features of the analysis and the associated program are
(1) the ablation material is considered to be orthotropic with temperature-dependent
thermal properties; (2) the thermal response of the entire body is considered
simultaneously; (3) the heat transfer and pressure distribution over the body are adjusted
to the new geometry as ablation occurs; (4) the governing equations and several
boundary-condition options are formulated in terms of generalized orthogonal
coordinates for fixed points in a moving coordinate system; (5) the finite-difference
equations are solved implicitly; and (6) other instantaneous body shapes can be
displayed with a user-supplied plotting routine. NASA Langley program by Lona
Howser. Copies of NASA reports TM X-2375 and TN D-6220 are on the disc. /ABAXI
WORKS IN PROGRESS
I have a number of programs that are incomplete or lacking in documentation. Many of these are
full of interesting source code and might prove useful to the aeronautical engineer interested in
computational methods. I will continue to attempt to bring these programs up to the full standard
for release, but others may wish to examine the inner workings of the code and perhaps discover
some of the missing documents and test cases. These works-in-progress will be included on the
CD-ROM, beginning in January 2009.
THE CD-ROM
Public Domain Computer Programs for the Aeronautical Engineer is published on a CD-ROM in
ISO 9660 format. It is readable on PC, Macintosh, and UNIX machines. Each program includes
full public domain source code and an executable file for Windows. Intel executables for the
Macintosh OS X and Linux are included for most of the programs. Each program also has a
guide for preparing input and comes with several sample input cases and the corresponding
output to confirm that the program is operating correctly on your machine. Copies of many of the
original documents describing the programs are on the CD-ROM.
SUPPORT
The World Wide Web site - http://www.pdas.com - is devoted to the support of this collection of
programs. It includes descriptions of the programs and "Bug Report" pages where notices from
users are posted outlining problems encountered and possible work-arounds. Also see the page
of Frequently Asked Questions.
Ralph Carmichael