Numerical solution of the supersonic flow over a flat plate

Solve the Navier-Stokes equations in laminar regime to simulate supersonic flow over a flat plate.
1.7K Downloads
Updated 25 Jan 2015

View License

This code simulates supersonic flow over a flat plate by solving the complete Navier-Stokes equations in laminar regime. The code structure and the numerical algorithm follow the description given in chapter 10 of Anderson's CFD book (John D. Anderson, JR. - Computational Fluid Dynamics. The Basics with Applications). A time-marching finite difference method based on MacCormack's predictor-corrector technique is used for the solution and discretization. Both the constant temperature and the adiabatic wall cases can be solved. There is also a script that generates the same plots as those in the book for comparison.

Cite As

Ivan Padilla (2026). Numerical solution of the supersonic flow over a flat plate (https://www.mathworks.com/matlabcentral/fileexchange/49155-numerical-solution-of-the-supersonic-flow-over-a-flat-plate), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

Added image to the file entry

1.0.0.0