File Exchange

image thumbnail

Optimization of an airfoil shape using Genetic algorithm(GA)

version 1.0.0 (5.98 KB) by Ziad Saad
an example of genetic algorithm optimization on an airfoil using PARSEC method to describe the shape of the airfoil


Updated 12 Oct 2018

View License

This code allows you to parametrize an airfoil shape using PARSEC method, then the code is using Genetic algorithm as an optimizer, you can view:
1- the airfoil before an after parameterization
2- Coefficient of lift change
the genetic algorithm is coded without using the embedded MATLAB optimizer for faster computation and simpler.
in case you need the GA in a generic format for any application to utilize it please comment and i will upload it.

Cite As

Ziad Saad (2021). Optimization of an airfoil shape using Genetic algorithm(GA) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (14)


I would be interested in seeing the GA in the generic format


Hello sir, How to get the initial parsec parameters?

Milen Ramadhani

Hello Sir, could you please upload the generic format for this code? thank you

Chengwei Liang

Hello sir,
Could you tell me how to select the rang of the initial value?

vahid gh

Na Zhao

Hi Ziad, could you show how to get the Cd ?

Soe Thiha Tun


kindly upload the generic format

abdul mateen

I need GA in a generic format for airfoil otimization. kindly uplaoad it or provide the link

Joshua Ott

For the NACA-0012 airfoil I believe you should get a value of 0 for the coefficient of lift at 0 AOA. However, this is not the case. I'm not sure why -- does anyone have any ideas how to fix this?


Hallo ir
I also need the GA in a generic format to find cl/cd ratio for an arifoil and cascade


Hello sir,
I need the GA in a generic format so that I can utilize it by using CST method. I will be thankful to you for this.



I want to parametrize an asymmetrical airfoil shape using CST method, may I get the genetic algorithm code link with CST to get coefficient of lift. If you can please upload genetic algorithm code, I will try myself to link with CST.
Thank you so much in advance.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!