Skip to content

gasdyn

gasdyn is a Python package for inviscid compressible-flow relations and conical-flow calculations.

Quick Start

Install

pip install gasdyn

Run

gasdyn oblique run --mach 6.0 --deflection-angle 8.0
1
2
3
4
from gasdyn import solve_oblique

result = solve_oblique(mach=6.0, deflection_angle=8.0)
print(result.shock_angle)

Optional: enable Zsh tab completion

Install gasdyn's completion script once, then open a new shell:

gasdyn --install-completion zsh

You can then complete solver groups, commands, and options with ++tab++.

Feedback & Contributing

Questions, bug reports, and contributions are welcome. If something unexpected comes up while using this package, or there are ideas for improvement, opening an issue or starting a discussion is the best first step.

Using a label when opening an issue helps prioritize and track requests:

For those interested in contributing code or documentation, the Contributing Guide covers how to set up a dev environment, run tests, and submit a PR.

License

GNU General Public License v3.0 or later. See LICENSE for the complete license terms.