Xfoil.jl

Julia wrapper for the 2D airfoil panel code XFOIL
Author byuflowlab
Popularity
19 Stars
Updated Last
2 Months Ago
Started In
January 2018

Xfoil.jl

Julia wrapper for the 2D airfoil panel code XFOIL

Author: Taylor McDonnell

Xfoil.jl is a Julia wrapper for a Mark Drela's 2D airfoil panel code, XFOIL, with the GUI features removed.

This package was originally a fork of pyXLIGHT (which has since been renamed to CMPLXFOIL), but has since undergone some development to introduce new features. The version of XFOIL that this package wraps is that of the xfoil_light project.

Package Features

  • Inputs airfoils and flow parameters directly into XFOIL, rather than through files.
  • Redistributes panels over the surface of an airfoil using XFOIL's PANE command.
  • Computes inviscid and viscous airfoil coefficients using XFOIL.
  • Can return pressure coefficients computed by XFOIL for inviscid and viscous analyses.
  • Can return boundary layer parameters computed by XFOIL for viscous analyses.
  • Provides full access to the internal state variables of XFOIL.
  • Provides a complex step enabled version of XFOIL for sensitivity analysis.

Sensitivity Analysis

This code actually wraps two versions of Mark Drela's XFOIL code, one of which may be used to compute sensitivities using the complex step method. The complex step enabled version of XFOIL may be called by appending _cs to the end of each functions name. Note that there is no interaction between the two versions of XFOIL wrapped by this package, so if you wish to use the complex step version of the code you must use the functions that end with _cs.

Installation

Enter the Julia package manager by typing ] and then run the following:

pkg> add Xfoil

Usage

See the guide.

Development

Pull requests for this package or its companion package xfoil_light are always welcome.