Skip to content

Python package to compute the characteristics of an airplane or an airfoil based on simple flight mechanics equations.

License

Notifications You must be signed in to change notification settings

PaulCreusy/flight-mech

Repository files navigation

Flight-Mech

PyPI - VersionPyPI - DownloadsPylint BadgePytest Badge

License

This software has been developed by Paul Creusy and is shared under the MIT License.

Getting started

Installation

Pip installation

To install this module with pip, please use:

pip install flight-mech

Manual installation

For a manual installation, please clone the repository and install the required Python libraries using the command:

pip install -r requirements.txt

Documentation

The documentation is available online here.

Otherwise, if you decided to clone the repository, you can generate the documentation using the following commands:

cd docs
make html

And open the file docs/_build/html/index.html in your browser.

Functionalities

This software includes various modules to build a numerical plane model and compute its characteristics. The modules implemented are the following:

  • aerodynamics : contains functions to compute quantities in the boundary layer of a fluid flow.
  • airfoil : allows to define the geometry of an airfoil and compute the lift and moment coefficients.
  • atmosphere : defines several atmosphere models to compute density, temperature, pressure and other quantities.
  • environment : defines environmental quantities such as gravity.
  • fuel : defines several types of broadly used fuels in aeronautics.
  • gas : defines several gas models to compute their properties.
  • maneuver : allows to define maneuvers for a plane model.
  • motor : defines an electric motor model.
  • plane : allows to define a numerical plane model, binding the previous modules, to compute its flight characteristics.
  • turbine : allows to define several types of turbine to compute their thrust and consumption at various operating conditions.
  • wing : allows to define the geometry of a wing and compute the lift and drag coefficients.