Skip to content

A minimal framework for creating parameterized airfoil geometries

License

Notifications You must be signed in to change notification settings

gabrielbdsantos/klingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Klingo

A minimal framework for creating parameterized airfoil geometries.

About

The core concept is simple:

  1. Parameterization based on array manipulation via numpy.
  2. Geometry generation via numpy-stl.

Klingo adopts the concept of sections to define the blade geometry. Each section consists of a two-dimensional airfoil with respect to some plane in the three-dimensional space. The various sections are then grouped together to define the three-dimensional blade geometry. The coordinates defining each section are stored using numpy, which makes ease to perform a number of geometrical manipulations. Klingo already provides the most common ones: scale, translation, and rotation.

Klingo is tailored for meshing in snappyHexMesh. So, it also provides a simple method for exporting the final geometry to .stl, separating the different surfaces into their own solid.

Install

Rye

$ rye add git https://github.com/gabrielbdsantos/klingo.git

Pip

$ pip install git https://github.com/gabrielbdsantos/klingo.git@master

TODO

  • Add examples
  • Add tests

License

This project is licensed under the MIT License. For further information see the LICENSE.

About

A minimal framework for creating parameterized airfoil geometries

Topics

Resources

License

Stars

Watchers

Forks

Languages