Skip to content

Generate and plot the contour of an airfoil using the PARSEC parameterization

Notifications You must be signed in to change notification settings

dqsis/parsec-airfoils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parsecairfoils.py

What is it

parsecairfoils.py is a python script that generates, plots, and exports the contour of an airfoil using the PARSEC parameterization.

PARSEC is a common method for airfoil parameterization. It has the advantange of strict control over important aerodynamic features, and it allows independent control over the airfoil geometry by imposing shape constraints. More on the PARSEC parameterization can be found in the following article: H. Sobieczky, 'Parametric airfoils and wings' in Notes on Numerical Fluid Mechanics, Vol. 68, pp 71-88

Main features

The script, using as input data the following 11 airfoil geometric characteristics:

  • leading edge radius (r_LE)
  • pressure and suction surface crest locations (x_pre, y_pre, x_suc, y_suc)
  • curvatures at the pressure and suction surface crest locations (d2y/dx2_pre, d2y/dx2_suc)
  • trailing edge coordinates (x_TE, y_TE)
  • trailing edge angles between the pressure and suction surface and the horizontal axis (th_pre, th_suc)

Generates and plots the contour of an airfoil - as shown in this example. Is also able to export the airfoil's coordinates, as shown in this plain coordinate file.

Where to get it

The source code is hosted on GitHub at: http://github.com/dqsis/parsec-airfoils.

Dependencies

  • NumPy - for array objects and mathematical operations
  • matplotlib - for plots

Documentation

The only input required by parsecairfoils.py are the 11 PARSEC parameters (found in the file data/parsec_parameters.csv). Note that parsecairfoils.py uses additionally the module parseccoef.py which contains the user function pcoef. pcoef formulates and solves the system that generates the coefficients of the PARSEC polynomial.

Discussion and development

Currently, the script is considered complete. No additional development ideas.

Licence

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Contact

Mail

Twitter (@dqsis)

About

Generate and plot the contour of an airfoil using the PARSEC parameterization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages