Back to main homepage Background of current staff Download electronic publications Current research interests Search the website

Below you will find samples of some of the computer codes we have developed for use in the CASE Lab.


Computational Fluid Dynamics

  • 1D Euler FEM: Space-Time Finite Element solution for the 1D Euler Equations. This code is a good place to get started if you are just getting your feet wet in Finite Element CFD. It uses finite elements which are piecewise constant in time and piecewise linear in space to discretize and solve a 1D shock-tube problem. Artificial dissipation is used to stabilize the solution which is founded iteratively using an implicit formulation. Last updated on January 5, 2002.
    Downloads: Fortran Sources or PC Executable

  • 2D Panel: Unsteady 2D Panel solution to a NACA 0012 airfoil.
    Downloads: PC executable and the required control file test.con


OpenGL Graphics

Note: You will need GLUT installed on your computer to run these programs. GLUT can be downloaded for free at the following site: http://www.opengl.org/resources/libraries/glut/.

  • Eigenvalue Plotter: GLeigplot Version 2.10. This is the latest version of our discrete eigenvalue plotter. It uses OpenGL graphics to plot a set of eigenvalues for a discrete system onto the complex z-plane. This program is completely device independent since it was written exclusively using GLUT and a GUI API that was written in house. It is a nice demo for the capabilities of our OpenGL GUI API, called GLIK. If you are interested in the GLIK library that was used to develop this code, contact us.
    Downloads: PC Executable or Source Code

  • 3D Post-Processing: STARS 3D post-processor Version 6.54. This is the latest version of our OpenGL postprocessor. This is also a device independent graphics package that was written using GLUT and GLIK. It won't be very useful to you if you don't have the STARS codes though. Only an PC executable of this program is available for general release.
    Downloads: PC Executable


STARS Utilities

  • angles: STARS orientation angles calculator. Converts the Euler angles representing roll, pitch, and yaw to the two STARS orientation angles alpha and beta. Before using this utility, it is recommended that you read the FAQ about STARS orientation angles on our FAQs page. Last updated on February 12, 2001.
    Downloads: Fortran Source or PC Executable

  • mkarrays: STARS elastic vectors generator. Generates a standard STARS case.arrays file containing one or more vectors representing motion of the CFD surface geometry for any of the six rigid body degrees of freedom, i.e. x-displ, y-displ, z-displ, roll, pitch, and yaw. Last updated on February 8, 2001.
    Downloads: Fortran Sources or PC Executable


Miscellaneous Utilities

  • Oblique Shock: Simulation of a double wedge in a supersonic flow. Computes the theoretical oblique shock angle and Mach number at the leading edge of the wedge where the flow encounters a sudden, compressive change in direction. Also computes the properties of the Prandtl-Meyer expansion fan which occurs on the back-side of the wedge where the flow is returned to the free-stream. Last updated on September 26, 2000.
    Downloads: Fortran Source or PC Executable

  • Standard Atmosphere: Interactive U.S. Standard Atmospheric look-up tables in metric and English units. Allows a user to look-up an individual data point, or make a table of atmospheric data points. One of the really nice features of this code is its ability to construct curves of constant dynamic pressure over a mach/altitude range.
    Downloads: Fortran Sources or PC Executable

  • NACA 4-Digit Airfoil: Generates stations along the chord of an airfoil using cosine spacing for a specified NACA 4-digit section number, chord, and number of stations. Last updated on January 6, 2002.
    Downloads: Fortran Source or PC Executable

  • 2D Aerodynamic Loads: Uses trapezoidal integration to compute the 2D aerodynamic loads for a cross section of Cp data. Last updated on January 6, 2002.
    Downloads: Fortran Source or PC Executable and Sample Data

  • Time History Evaluator: Evaluates the stability of a set of time history data by extracting the amplitude of oscillation from the last several cycles of oscillation. An approximate frequency and damping is computed to provide an indicator of stability. Last updated on February 24, 2002.
    Downloads: Fortran Source or PC Executable


STARS Computer Libraries

  • NetCDF: NetCDF.dll. Downloads: windows. Place in your Windows system32 directory.


Staff Codes



Oklahoma State University URL: http://www.caselab.okstate.edu/codes.html
Revised: February 24, 2002 [TJC]
Webmaster: caselab@gmail.com
NASA Dryden Flight Research Center