vendredi 19 janvier 2018

Random Airfoil spline generator

I'm trying to write a genetic algorithm which optimizes an airfoil's lift over drag ratio. I want the program to be able to generate random smooth airfoils with a fixed maximum thickness. Does anyone no a way, and provide me with a pseudo code, to create such random airfoils using splines, Bezier curves etc.? The airfoil spline should start at the trailing edge, which has an x position of 1, then walk to the leading edge, which has an x position of 0, covering the top part of the airfoil. From here the spline walks back to the trailing edge, covering the bottom part of the airfoil.

P.S.

Using only the NACA airfoils, in my opinion, limits the programming in designing an optimal airfoil, as it is not completely free to change the airfoil's spline. If you think this approach may be suitable as well please let me know!

Thanks in advance!




Aucun commentaire:

Enregistrer un commentaire