GithubHelp home page GithubHelp logo

cescjf / hypersim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from f35-vin-desh/hypersim

0.0 1.0 0.0 604 KB

Nonlinear simulation of hypersonic flight dynamics, made with MATLAB and FlightGear

MATLAB 94.36% Objective-C 1.93% Batchfile 3.72%

hypersim's Introduction

HyperSIM

Nonlinear simulation of hypersonic flight dynamics, made with MATLAB and FlightGear

The MATLAB functions included are:

pvnrt.m: STP atmospheric properties, calculates air density

rayleigh_flow.m: Rayleigh flow inside the scramjet combustor, calculates heat added and exit Mach Number at the combustor

comb_inlet.m: Evaluates flow properties at the combustor inlet (Mach, Temperature, Pressure)

ctrlsurf.m: Control surface scramjet model (calculated aerodynamic lift/drag), Prandtl-Meyer Expansion and Oblique Shock computations

main_SINGLE_LOOP.m: ONE iteration of the main program

shockangle.m: Calculates oblique shock angle numerically (False Position method)

runfirst.m: Run this first to use in Simulink and FlightGear (SIMULINK AND FLIGHTGEAR ONLY)

oblique_down.m: Calculates oblique shock pressure and temperature.

exp_and_thrust.m: Calculates thrust of the scramjet

fnctns.m: EOM for a 3-DOF vehicle.

main.m: The main program (utilizes all subsystems above). Includes a 4th order RK solver for the 6 ODE'S

runfg.bat: FLIGHTGEAR ONLY, use to load FlightGear with MATLAB.

Run main.m first, it will output 6 graphs of the vehicle states (position, force etc.)

If you have SIMULINK and FlightGear, use the runfirst.m and the model.slx files to run your simulation. The CAD file is also included.

hypersim's People

Contributors

f35-vin-desh 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.