To create an airfoil object that can be used to build a wing, perform the following steps:
1. Initialize airfoil object with data points that represent airfoil geometry
In [8]: <Airfoil_Name> = Airfoil('<path_to_foils_directory>/<data_pts_file_name>')
2. Check if airfoil has a blunt trailing edge
In [73]: draw(<Airfoil_Name>)
Out[73]: Figure(width=800, height=600)
3. Fit Airfoil with Bspline curve
In [56]: <Airfoil_Name>.fit()
4. Make Airfoil Blunt Trailing Edge Sharp (if required)
In [21]: <Airfoil_Name>.sharpen()
Note: may have to play with "l" parameter to get the trailing edge curves to intersect
5. Re-fit Sharpened Airfoil With Bspline curve
In [56]: <Airfoil_Name>.fit()
6. Cleanup Newly Created Airfoil Object
In [24]: <Airfoil_Name>.transform()
The above "transform" command does the following:
- Make the chord equal to 1.0
- put airfoil origin at 1/4 chord
To create an airfoil object that can be used to build a wing, perform the following steps:
1. Initialize airfoil object with data points that represent airfoil geometry
In [8]: <Airfoil_Name> = Airfoil('<path_to_foils_directory>/<data_pts_file_name>')
2. Check if airfoil has a blunt trailing edge
In [73]: draw(<Airfoil_Name>)
Out[73]: Figure(width=800, height=600)
3. Fit Airfoil with Bspline curve
In [56]: <Airfoil_Name>.fit()
4. Make Airfoil Blunt Trailing Edge Sharp (if required)
In [21]: <Airfoil_Name>.sharpen()
Note: may have to play with "l" parameter to get the trailing edge curves to intersect
5. Re-fit Sharpened Airfoil With Bspline curve
In [56]: <Airfoil_Name>.fit()
6. Cleanup Newly Created Airfoil Object
In [24]: <Airfoil_Name>.transform()
The above "transform" command does the following:
- Make the chord equal to 1.0
- put airfoil origin at 1/4 chord