Coder Social home page Coder Social logo

tristancb / airfoil Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.19 MB

Computes velocity and pressure coefficient around an airfoil. Code was translated from (Kuethe & Chow, 1986) p. 134.

Fortran 19.79% Python 80.21%
airfoil simulation-modeling

airfoil's Introduction

Airfoil

Computes velocity and pressure coefficient around an airfoil. Code was translated from (Kuethe & Chow, 1986) p. 134 *.

Example use:

The main section of airfoil.py reproduces fig.26 of caphter 5 section 11: The Airfoil of Arbitrary Thickness and Camber from (Kuethe & Chow, 1986) p. 134. python airfoil.py

Example results for NACA2412 Foil at varying angles of attack exampleResults

NACA.py can be used to create .txt files formatted as needed for curve generation by ANSYS's design modeller.

from NACA import fourDigitSeries, ansysPtFormat
# Get's XY scatter defining airfoil
XB, YB = fourDigitSeries(2412, NUMBER_OF_PANELS)
# Output coordinates textfile for use by DesignModeler 3D curve tool.
ansysPtFormat("./NACA2412.txt", XB, YB)

Description

Involves the representation of the airfoil with a closed polygon of vortex panels. Circulation density on each panel varies linearly from one corner to the other and is continuous across the corner. The kutta condition is easily incorporated and the computation stable unless a large number of panels is chosen or an airfoil with a cusped trailling edge.

To dos

Ensure that profiles start at 0,0 and end at 1,0; I beleive this is needed to calculate lift as described in Moran (2003).

Notes on compiling FORTRAN

The compiler was taken from http://www.mingw.org/.

References

Kuethe, Arnold M, and Chuen-Yen Chow. Foundations of Aerodynamics : Bases of Aerodynamic Design. 4th ed., J. Wiley, 1986.

Moran, Jack. An Introduction to Theoretical and Computational Aerodynamics. Dover Publications, 2003.

airfoil's People

Contributors

tristancb avatar

Stargazers

 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.