Skip to content

RCmags/ornithopter-airfoil-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ornithopter airfoil simulator

This program calculates the motion of an airfoil attached to an ornithopter wing. The airfoil undergoes a sinusoidal oscillation and its angle is found through a torque balance. With this angle, the lift and drag of the airfoil are calculated along with their subsequent torque. It's assumed the airfoil is subject to the inertial reaction of its mass, an aerodynamic force, and a damped angular spring. Each of these forces/torques can be adjusted along with the amplitude and frequency of the oscillation. Therefore, it's possible to try out different parameters and observe how they affect the x and y components of the aerodynamic force.

Requirements

The scripts were written in Python 3.9.5 and require the following libraries:

How to use

To execute the program, open the terminal/command prompt and browse to the folder containing main.py and run the command:

>> python3 main.py

If you are using windows, you can simply double click interface.py and to open it with IDLE.

To adjust the calculations, open input_parameters.py with a text editor and change the variables.

Sample output

image

image

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy