/aerokit

python package of compressible flow functions

Primary LanguagePythonMIT LicenseMIT

aerokit

Python packages for compressible flow computations

PyPi Version PyPI pyversions Build Status Doc Slack

GitHub stars PyPi downloads codecov lgtm

Features

  • Mach dependent functions for isentropic total pressure, temperature and mass flow
  • local Rankine-Hugoniot shock wave equations (or 2d planar shocks)
  • conical shock waves
  • Fanno equations for momentum losses in a duct
  • Rayleigh equations for heating/cooling in a duct
  • unsteady compressible 1D flows
  • applications: nozzle flows and (Riemann) shock tube
  • misc: degree based trigo functions

Installation & usage

pip install aerokit

Documentation is available on readthedocs. More examples are available in the repository.

Requirements

  • numpy
  • scipy
  • examples are plotted using matplotlib