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.
Airfoil nomenclature. Image in the public domain, via Wikimedia Commons.
Features
Airfoil generation with a NACA-4 series definition
Import from files
Full support for airfoils from the UIUC Airfoil Coordinates Database
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()
>>> 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
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| airfoils-0.2.2.tar.gz | 9.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for airfoils 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.