Skip to main content

under development

Project description

drawing

the open source parametric airfoil generator

About

ParaFoil is a declarative tool that parametrically generates turbomachinery and aircraft airfoils and passages with B-splines. The purpose is to generate airfoil shapes from different parameters during fluid simulation optimizations.

Install

pip install git+https://github.com/OpenOrion/parafoil.git#egg=parafoil

Other Versions

# Version 1
pip install git+https://github.com/OpenOrion/parafoil.git@1.0.0#egg=parafoil

Example

Airfoil

import numpy as np
from parafoil import CamberThicknessAirfoil

airfoil = CamberThicknessAirfoil(
    inlet_angle=np.radians(40.0),
    outlet_angle=np.radians(-20.0),
    stagger_angle=np.radians(0.0),
    upper_thick_prop=[0.035, 0.14, 0.14, 0.035, 0.007],
    lower_thick_prop=[0.035, 0.14, 0.14, 0.035, 0.007],
    leading_prop=0.5,
    trailing_prop=0.5,
    chord_length=1
)

airfoil.visualize(include_camber_ctrl_pnts=True)

Airfoil

Passage

from parafoil import TurboRowPassage 

passage = TurboRowPassage(
    airfoil=airfoil,
    spacing_to_chord=1.0,
    leading_edge_gap_to_chord=0.25,
    trailing_edge_gap_to_chord=0.25,
)
passage.visualize()

Passage

Devlopement Setup

git clone https://github.com/OpenOrion/parafoil.git
cd parafoil
pip install -r requirements_dev.txt

Help Wanted

Right now there are some items such as CFD meshing and adding more shaping. Please join the Discord for project communications and collaboration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parafoil-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parafoil-0.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file parafoil-0.0.1.tar.gz.

File metadata

  • Download URL: parafoil-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for parafoil-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3e9098eff9ef3bd4440022734baf247cad9b913e45013b7bd94f759482a652dc
MD5 854aa96b15e0919a60ae623d26e5c2b9
BLAKE2b-256 2b215c6bd7f7d0aa1c114c07ac36d79410284da8d9e4e76ed7531084e385c64e

See more details on using hashes here.

File details

Details for the file parafoil-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: parafoil-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for parafoil-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d544f6d9890173c86811590fe260f11c4d6dd2fc1e4eed9c9c36495678811d
MD5 f8c27cb66b860332af803d6be5e1eb7e
BLAKE2b-256 934d7d9964c98fb4c926378f9db540712073f0ff9ffe32820540e448c54eaafd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page