Skip to content

jxjo/Xoptfoil2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XO2

Xoptfoil2 - The Airfoil Optimizer

Optimize an airfoil based on its aerodynamic characteristics.

Xoptfoil2 follows an approach to airfoil design that could be called 'design by polars' - in contrast to the classic design methods such as 'inverse design' or 'direct design'.

A new, optimized airfoil is described by its aerodynamic properties with objectives at some operating points. The optimizer will try to design an airfoil geometry which satisfies these objectives best possible.

Xoptfoil2 was already used to develop some high end airfoil families for F3B/F3F model gliders.

Get started ... and run your first airfoil optimizations.


Main features

  • Optimization using 'Particle Swarm Optimization'
    • particle retry and rescue
    • dynamic weighting of operating points
  • Aerodynamic evaluation based on Xfoil
    • retry of unconverged operating points
    • outlier detection of xfoil results
  • Available shape functions
    • Hicks Henne bump functions
    • Bezier curves
    • Geometry parameter modification
  • Definition of an optimization task with operating points by
    • min cd, max cl/cd, max cl, min sink
    • target values for cd, cl/cd, cm
    • flap angle or flap angle optimization
  • Geometry targets thickness and camber
  • Curvature control
    • bump detection for Hicks Henne shape type
    • max curvature at trailing edge
  • Rerun optimization with refined targets
  • 'Worker' tool for automization of typical tasks

Documentation

For usage and background information on airfoil optimization please visit the Xoptfoil2 documentation

Installation

The actual version of Xoptfoil2 can be found in the Releases section of this repo. In 'Assets' there some zip files:

  • a ready build version for Windows
  • the source files for building Xoptfoil2 under Linux

Windows

Download the Windows zip-file and extract it in any subdirectory - maybe for the first tries directly on the Windows Desktop. Xoptfoil2 is a very lightweight installation, which doesn't install any other artefacts on your PC.

Examples

There are a few exmaples ready-to-run in the folder './exmaples'. As a first "Hello World" to optimization the example based on the SD7003 airfoil is well suited. Just double click on make.bat (Windows) and the optimization will start.

About the project

Xoptfoil2 is the successor of the awesome Xoptfoil by Daniel Prosser and Xoptfoil-JX, a branch of the original Xoptfoil. The objectives of this project are:

  • building a robust and reliable airfoil optimization engine supporting future extensions in various aspects.
  • an airfoil optimizer GUI, which allows to define, visualize and analyze an optimization task - WiP

Have fun!

👍

Jochen Guenzel