AirfoilDefinitions.jl
AirfoilDefinitions.jl is a Julia package for generating two-dimensional, chord-normalized airfoil geometries using parametric airfoil definitions.
It supports the following parameterization methods:
The following methods are planned:
BezierCurvesHicksHenneNACA5NACA6PARSEC
Install
AirfoilDefinitions.jl is not yet a registered Julia package. So to install it,
- Download Julia version 1.10 or later.
- Launch Julia and type
julia> import Pkg
julia> Pkg.add("https://github.com/gabrielbdsantos/AirfoilDefinitions.jl")Quick start
using AirfoilDefinitions
# Step 1. Select an airfoil generation method.
airfoil = NACA4("0012"; open_trailing_edge = true)
# Step 2. Generate the coordinates
coords = coordinates(airfoil)Coordinate convention
All airfoils are defined in a two-dimensional Cartesian coordinate system with the following conventions:
- Chord length is normalized to unity.
- The leading edge is located at
x = 0, and the trailing edge atx = 1. - Airfoil surface coordinates are ordered clockwise, starting from the upper trailing edge.