Skip to content

Calculates and plots pressure distribution across a diamond-shaped airfoil at specified free stream pressure and speed, wedge angle, and angle of attack.

License

Notifications You must be signed in to change notification settings

janhenrikbern/diamond_airfoil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diamond Airfoil Property Calculator

Calculates and plots pressure distribution across an diamond shaped airfoil at specified free stream pressure and mach, wedge angle, and angle of attack. Furthermore, it saves the property changes in a .csv-file.

Example output: Airfoil Plot Example

System Requirements

  • Python 3.

With

  • Anaconda (for Python 3.6)

Or

  • numpy
  • matplotlib
  • seaborn
  • scipy

Installation

In order for the program to run, aerodynamics.py and diamond_airfoil.py have to be in the same folder. The easiest way to do that is to clone the repositiory.

How to use it

The only script that needs to be called is diamond_airfoil.py.

$ python3 diamond_airfoil.py 3 5 -aoa 6 -ipres 1.5

It's command line input arguments are:

  • Mach number of the incoming flow.
  • Half-wedge angle of the incoming flow in degrees.
  • (Optional) Angle of attach of flow to airfoil in degrees. The default is 0 degrees.
  • (Optional) The freestream pressure of the incoming flow in atm. The default is 1 atm.

For additional documentation use -h.

About

Calculates and plots pressure distribution across a diamond-shaped airfoil at specified free stream pressure and speed, wedge angle, and angle of attack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages