Advanced Flight Simulation

From OpenRocket wiki
Jump to navigation Jump to search

↑ Back to Contents

The current User's Guide is very much a work in progress, any help would be greatly appreciated!
If you'd like to contribute something, just hit the 'Edit' tab at the top.


Advanced Flight Simulation

OpenRocket offers more advanced options for simulating flight. You can plot your rocket's predicted acceleration, climb, eject and landing, make a prediction for how far downrange and in which direction your flight will land, and even experiment with different models of Earth's geometry, as it affects your flight. Once you're satisfied with a sim, you can export your data for analysis and charting in other packages.

 

Plotting your rocket's flight

To begin learning about OpenRocket's plotting features, first, click the Plot / Export button on the Flight simulations window.

The Plot / export Button.


On the Edit simulation panel, you'll see tabs marked Plot data and Export data. The Plot data opens first. Here you can define many parameters that will determine what values are plotted, and what events are marked on the plot.

The Plot / export window.


Here you'll be able to quickly choose from a number of standard plots:

Standard plots


You'll also be able to assign to the X and Y axes any one of over 50 parameters:

  • Time
  • Altitude
  • Vertical velocity
  • Vertical acceleration
  • Total velocity
  • Total acceleration
  • Lateral distance
  • Lateral direction
  • Lateral velocity
  • Lateral acceleration
  • Latitude
  • Longitude
  • Gravitational acceleration
  • Angle of attack
  • Roll rate
  • Pitch rate
  • Yaw rate
  • Mass
  • Propellant mass
  • Longitudinal moment of inertia
  • Rotational moment of inertia
  • CP location
  • CG location
  • Stability margin calibers
  • Mach number
  • Reynolds number
  • Thrust
  • Drag force
  • Drag coefficient
  • Axial drag coefficient
  • Friction drag coefficient
  • Pressure drag coefficient
  • Base drag coefficient
  • Normal force coefficient
  • Pitch moment coefficient
  • Yaw moment coefficient
  • Side force coefficient
  • Roll moment coefficient
  • Roll forcing coefficient
  • Roll damping coefficient
  • Pitch damping coefficient
  • Reference length
  • Reference area
  • Vertical orientation (zenith)
  • Lateral orientation (azimuth)
  • Wind velocity
  • Air temperature
  • Air pressure
  • Speed of sound
  • Simulation time step
  • Computation time
  • Position parallel to wind
  • Position upwind

 

You can assign multiple parameters to the Y-axis, and choose whether their scales appear on the left, or the right side of the plot. You can add Y-axis parameters with the New Y-axis plot type button, or delete parameters from the plot with the X buttons. (The X-axis takes only a single plotted parameter, typically Time).

Additionally, you can choose from several flight events, any or all of which can be called out on your plot, in reference to the simulated time of occurrence.

Setting Y-axes and Events for plotting


Below you can see a plot of A simple model rocket, simulation number 4, flying on a C6-5. Note that the five events checked in the above screen have been marked on the plot (some very close to each other, or to the edge): Motor ignition, Motor burnout, Apogee, Recovery device deployment, and Ground hit.

You can also see that the three Y-axis parameters described above: Altitude, Vertical velocity, and Vertical acceleration appear as lines of three different colors.

A Plot of the simulation.


As your rockets get more complex, with features like dual-deploy, air-start and multiple stages, your plots can grow in complexity to simulate their expected behavior. Below is a plot (from the example rockets) of a "High Power Airstart" rocket, modeled after a Patriot missile. The central motor starts on the launch pad, while the surrounding motors start while the rocket is in the air (hence, an "airstart"). The plot records the separate motor start events, and the deployment of both a drogue, and a main parachute.

A Plot of the "High Power Airstart" example rocket.


The Edit simulation window: Launch conditions.


The Edit simulation window: Simulation options.



↑ Back to Contents