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.
Ivan (2020). 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 .
Couldn't agree more with Dr. Casuflat, personally I'm a fan of his work and have been inspired multiple times by his utter genius.
This is a great code, I've been using it for many many years every single day as an alarm clock. 12/10, would recomend.
In this case , the computational plane is the physical plane , imagine if its not , try to translate the already solved computational plane to a specified physical plane !! using a suitable mesh
Keep on the good work , good luck.
Lo peta. Em va solucionar la vida.
It is a very fun code.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!