Giter VIP home page Giter VIP logo

panel-method-a-basic-application-for-hand-drawn-airfoils's Introduction

Panel Method: A Basic Application for Hand-Drawn Airfoils

About

This simple Python program has the objective to calculate common airfoil parameters by just setting a few inputs and drawing the geometry of the body in a dynamic way. There is certain freedom for the user to draw any airfoil (or arbitrary figure) by connecting dots, interpolating and later applying the Panel Method theory to do the calculations.

Setting the Airfoil

Input Parameters

The user must set four aerodynamic and geometric parameters for the calculation to be done. This is a very straightforward action, done by clicking the SET buttons as seen below. The default values are unit chord and unit velocity, zero angle of attack and air density at sea level.

Program Image #1

Drawing / Loading Airfoil

By clicking DRAW, the user is able to draw any arbitrary airfoil by connecting dots. However, some things should be noted in order for the calculation to return meaningful output:

Program Image #2

The program itself is going to use a spline method to interpolate the dots and make a much smoother airfoil.

Notes:

  • Airfoil coordinates are in relation to the chord.
  • The gray rectangle is used just for reference.

By clicking LOAD, the user is able to load several NACA airfoils. New files can be uploaded to the “SampleAirfoils” folders. The “x” and “y” coordinates in these files are also set in clockwise direction, with the last node being the same as the first (the trailing edge).

Output Parameters

Once the input parameters and airfoil are set, the user can calculate the output parameters by clicking the Click to Calculate button. Some common parameters such as lift and moment coefficients are seen in the main window, while three plots are available for visualization (velocity stream plot, pressure coefficient over airfoil, and pressure coefficient contour plot).

For example:

image

References

This program uses the Source and Vortex Panel Method which can be found in John D. Anderson's Fundamentals of Aerodynamics.

The geometric parametrization of the airfoil was based on JoshTheEngineer's Panel Method series on YouTube.

panel-method-a-basic-application-for-hand-drawn-airfoils's People

Contributors

lafleur93 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.