Welcome to pygasflow’s documentation!
pygasflow is a Python package that provides a few handful functions to quickly perform:
Compressible flow computation in the quasi-1D ideal gasdynamic (perfect gas) regime. The following solvers are implemented:
Isentropic flow:
isentropic_solver()
.Fanno flow:
fanno_solver()
.Rayleigh flow:
rayleigh_solver()
.Normal shock waves:
normal_shockwave_solver()
.Oblique shock waves:
shockwave_solver()
.Conical shock waves:
conical_shockwave_solver()
.Pressure-deflection diagrams:
PressureDeflectionLocus
andPressureDeflectionDiagram
.
If a solver doesn’t suit your needs, try and search into the submodules for a suitable function.
Aerothermodynamic computations (
pygasflow.atd
module):Correlations to estimate boundary layer thickness, heat flux and wall shear stress over a flat plate or a stagnation region.
Newtonian Flow Theory to estimate the pressure distribution around objects and their aerodynamic characteristics.
The following charts has been generated with the functions included in this package:






The following screenshots highlights the interactive capabilities implemented in this module:



Development and Support
If you feel like a feature could be implemented, open an issue or create a PR.
If you really want a new feature but you don’t have the capabilities or the time to make it work, I’m willing to help; but first, open an issue or send me an email so that we can discuss a sponsorship strategy.
Developing this module and its documentation was no easy job. Implementing new features and fixing bugs requires time and energy too. If you found this module useful and would like to show your appreciation, please consider sponsoring this project with either one of these options: