Skip to content

A Julia package for generating two-dimensional chord-normalized airfoil geometries using parametric airfoil definitions

License

Notifications You must be signed in to change notification settings

gabrielbdsantos/AirfoilDefinitions.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirfoilDefinitions.jl

Stable Dev Build Status Aqua

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

Install

AirfoilDefinitions.jl is not yet a registered Julia package. So to install it,

  1. Download Julia version 1.10 or later.
  2. 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 at x = 1.
  • Airfoil surface coordinates are ordered clockwise, starting from the upper trailing edge (Selig ordering).
Selig ordering

Coordinates arranged according to the Selig ordering. Source: https://doi.org/10.2514/1.J059317.

Contributing

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.

License

AirfoilDefinitions.jl is released under the terms of the MIT license. See the License file for further details.

About

A Julia package for generating two-dimensional chord-normalized airfoil geometries using parametric airfoil definitions

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages