Skip to content

About

A simple Python 3 script to simulate the flight of a model rocket

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

RocketFlight

A simple Python 3 script to simulate the flight of a model rocket

Usage

Simply execute main.py to get started -- no external dependencies. You will be prompted by default to enter various parameters, but you can uncomment a section of code at the top to fill them in programatically.

Parameters

  1. The rocket's mass without any motors
  2. The rocket's coefficient of drag
  3. The rocket's frontal area
  4. The parachute's frontal area
  5. The local air density
  6. The simulation time step
  7. The number of clustered rockets
  8. A RASP engine file

Output

  1. Max height
  2. Max velocity
  3. Max acceleration
  4. Ascent duration
  5. Descent duration
  6. Ideal parachute ejection delay
  7. Velocity at ground impact

Engine file

Find your motor on thrustcurve.org, download the engine file in RASP format, and place it in the same directory as main.py. Any commented lines should start with ;, the header line should have 7 values, and any data points should be indented with spaces.

About

A simple Python 3 script to simulate the flight of a model rocket

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages