This Python library has developed in order to simulate compressible flows in 1D domain. By using this library, normal shock position in Converging-Diverging(CD) nozzles can be obtained by iterative numerical methods. Following numerical methods has been integrated and they are optional while solving quadratic equations;
1 - Bisection Method (default method - most stable)
2 - Golden-Section Method
3 - Secant Method
Fluid_Mechanics_White_7th file includes series of solutions of examples of Compressible Flow section (Chapter 9) in Frank White's Fluid Mechanics book (7th Edition).
shock_location.py script determines and visualizes normal shock position in CD Nozzle.
white_9_4.py script is a solution of 4th example of Compressible Flow section (Chapter 9) in Frank White's Fluid Mechanics book (7th Edition).



