Skip to content

ekremekc/compressibleflow

Repository files navigation

compressibleflow

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).

Nozzle Geometry

Figure_1

Shock Position

Figure_2

Ma and T Plot

Figure_3

Ma and T Plot (colorbar can be replacable)

Figure_4

About

1D Compressible Flow Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages