GithubHelp home page GithubHelp logo

thetywat / turbn-turbine-design Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abdolrezat/turbn-turbine-design

0.0 1.0 0.0 1.83 MB

A MATLAB GUI for estimating some properties of turbines, the code is mainly based on Mattingly's "Elements of Propulsion". This repository is made for educational purposes, it does solve the problems in the book so it would be a useful resource for students. See the interface screenshots or just run the code, it's pre-loaded with examples!

License: MIT License

MATLAB 100.00%

turbn-turbine-design's Introduction

TURBN-Turbine-Design MATLAB DOI

A MATLAB GUI for calculating detailed properties of multi-stage axial turbines. See the interface screenshots or just run the code, it's pre-loaded with examples!

Run the program

To get a simple demonstration of the code using readily available examples, run the script below in MATLAB.

Turbine_StageDesign_v2.m

Input Properties of a two-stage axial turbine is already loaded into the program. Notice that by playing around with buttons, examples load automatically allowing the user to get a sample of the results by one click!

Changing the Inputs

You can run the code with different inputs:

  • Determine how many stages there are in the area labeled in the figure above as 2.1.2.
  • Define which parameters of the engine input you have and which parameters you don't have using the radio buttons in 2.1.1.
  • Fill out the necessary inputs in the area labeled as 2.1.3.
  • Fill out the required properties of each stage in the area labeled as 2.1.4. These parameters depend on the buttons chosen in steps 1 & 2.

How it works

The general outline of the code can be illustrated in the figure below

There are two main parts to the code. First one is Turbine_Stage_Design.m where inputs are taken and calculations happen. This is the code you run first. The next process happens automatically, the results are passed to another GUI, where these results are properly shown to the user. The user can then see the overall engine properties and scroll through detailed properties at each stage.

The algorithm for calculating the results which happens in the heart of Turbine_Stage_Design.m is shown in the figure below, along with the names of the functions that are used.

Asterisks determine the name of the function that is being used, which is different depending on which option (radio button) is chosen. The flowchart below contains how these functions are named:

Additional formulas for calculations can be found in these functions. See the Appendix of the manual (Chapter 5) for a proportion of the formulas. Some of the formulas are available directly in the book, some formulas, however, were derived by hand and do not exist in the book, but are present in the figures in the book.

Acknowledgments

The code is mainly based on Jack D. Mattingly's "Elements of Propulsion", it contains the name TURBN similar to the actual program mentioned in the book which is not available on the internet. This repository is made for educational purposes, it does solve the problems in the book so it would be a useful resource for students. However, it does not have all the features of the commercial program.

License

This project is licensed under the MIT License - Author: Abdolreza Taheri

Contribute

If you're interested in improving the capabilities of this program, please contribute or contact me. ;)

turbn-turbine-design's People

Contributors

abdolrezat 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.