Create+Airfoil+Object

Click here to return to top level Genair page.

To create an airfoil object that can be used to build a wing, perform the following steps:

In [8]: // = Airfoil('///////')
 * 1. Initialize airfoil object with data points that represent airfoil geometry**

In [73]: draw(////) Out[73]: Figure(width=800, height=600)
 * 2. Check if airfoil has a blunt trailing edge**

In [56]: ////.fit
 * 3. Fit Airfoil with Bspline curve**

In [21]: //.sharpen
 * 4. Make Airfoil Blunt Trailing Edge Sharp (if required)**

Note: may have to play with "l" parameter to get the trailing edge curves to intersect

In [56]: ////.fit
 * 5. Re-fit Sharpened Airfoil With Bspline curve**

In [24]: //.transform
 * 6. Cleanup Newly Created Airfoil Object**

The above "transform" command does the following: - Make the chord equal to 1.0 - put airfoil origin at 1/4 chord