Skip to content

rbirkl/WingDesigner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wing Designer

An AI-based designer of optimal airplane wings.

Demo

Training_Surrogate.mp4

Optimal_Wing

Contents

Installation

To set up the environment for this project, you'll need to create a conda environment using the provided environment.yml file. Follow these steps:

  1. Clone the repository:
    git clone https://github.com/rbirkl/WingDesigner.git
    cd WingDesigner
    
  2. Create the conda environment:
     conda env create -f environment.yml
    
  3. Activate the conda environment:
     conda activate WingDesigner
    

Usage

To run the program, execute the main.py script:

python main.py

The following features are displayed:

  • Scalar field = fluid density
  • Vector field = fluid velocity
  • Red polygon = airplane wing

When the program is started, it first trains a surrogate model and then optimizes the wing via an AI-based particle swarm.

Features

The following features are supported by Wing Designer

  • Real-time visualizer of physical fields via Pygame
  • Fast field computations via CUDA
  • 4th-order Runke-Kutta solver of compressible Navier-Stokes equations with gravitation
  • Parametrization of wing via Bezier splines
  • Generation of label data via multiple simulation runs
  • Trainer of surrogate MLP-model with cross-validation
  • Wing optimization via particle swarm based gradient descent optimization

Note that theory.txt contains a short theoretical derivation of the numerical equations used.

License

The license is MIT, see the LICENSE file.

About

A designer of airplane wings via machine learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages