Numerical solution of the supersonic flow over a flat plate
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Fluid Dynamics >
- Engineering > Mechanical Engineering > Fluid Mechanics >
- Engineering > Mechanical Engineering > Computational Fluid Dynamics (CFD) >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.