AirfoilDefinitions.jl is a Julia package for generating two-dimensional, chord-normalized airfoil geometries using parametric airfoil definitions.
It supports the following parameterization methods:
-
AirfoilFile -
CST -
HicksHenne -
NACA4 -
NACA5 -
NACA6 -
PARSEC
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")using AirfoilDefinitions
# Step 1. Select an airfoil generation method.
airfoil = NACA4("0012"; open_trailing_edge = true)
# Step 2. Generate the coordinates
coords = coordinates(airfoil)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 (Selig ordering).
Contributions are welcome, particularly new airfoil definition methods and improvements to existing implementations. Please open an issue to discuss substantial changes or new parameterization methods before submitting a pull request.
AirfoilDefinitions.jl is released under the terms of the MIT license. See the License file for further details.
