Skip to main content
Latest PyPI version License Documentation Status Build Status Coverage

Airfoils

Airfoils is a small Python library for object-oriented airfoil modelling. The library provides tools to easily instantiate airfoil objects and to query geometric information. An airfoil object is defined by upper and a lower surface coordinates.

Example

Airfoil nomenclature. Image in the public domain, via Wikimedia Commons.

Features

  • Airfoil generation with a NACA-4 series definition

  • Import from files

  • Interpolation or computation of airfoil geometry parameters

    • Upper and lower surface coordinates

    • Camber line coordinates

    • Chord line coordinates (TODO)

    • Thickness distribution (TODO)

    • Maximum thickness (TODO)

  • Linear interpolation between two different airfoils (MorphAirfoil)

  • Plotting of airfoils

Example

>>> from airfoils import Airfoil
>>> foil = Airfoil.NACA4('4812')
>>> foil.plot()
Example
>>> foil.y_upper(x=0.5)
array(0.13085448)
>>> foil.y_lower(x=[0.2, 0.6, 0.85])
array([0.00217557, 0.02562315, 0.01451318])
>>> foil.camber_line(x=0.5)
0.07789290253609385

Installation

pip install airfoils

Documentation

License

License: Apache-2.0

Release files for airfoils 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airfoils 0.2.2
File Size Uploaded
airfoils-0.2.2.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airfoils 0.2.2
File Interpreter ABI Platform
airfoils-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / airfoils-0.2.2.tar.gz

Download URL airfoils-0.2.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fe22434253ee3ecaeca216e51b6a228d1649d5524bd6d632f2b76b75304d4498
BLAKE2b-256 checksum
How to use checksums
2fb28162f3b7d4ac78e18ae58b15f129b38a2f1af5b9e8658e340e66e4378ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

Release files / airfoils-0.2.2-py3-none-any.whl

Download URL airfoils-0.2.2-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b46c8665b3fe9b6e482e98a541c896aeeb091b235e960a304d2c9b12b0b690ea
BLAKE2b-256 checksum
How to use checksums
0937bfd8ff2e9a14624f846432469d565e86f1e0733c96302a4888882717c67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page