🚀 2-DOF Flight Simulation Model for Sounding Rockets

Version 1.0.3 (154 KB) by Aylin
2DOF Sounding Rocket Modeling with Simulink
108 Downloads
Updated 25 Apr 2025

View License

🔧 Model Components
1. Thrust Model
  • Time-dependent thrust is implemented using a 1D lookup table.
  • Propellant mass flow rate is computed from thrust and specific impulse (Isp).
  • Instantaneous rocket mass is updated in real time based on burn time and flow rate.
2. Aerodynamic Drag Force Model
  • The drag coefficient (Cᴅ) can be defined in two alternative ways:
  • 1D Lookup Table: where Cᴅ is a function of Mach number only
  • 2D Lookup Table with Prelookup blocks: where Cᴅ depends on both Mach number and altitude
  • Users can switch between these options depending on the fidelity of their CFD data or simulation needs.
3. Atmospheric Model
  • Uses Standard Atmosphere Model (ISA) from Aerospace Blockset
  • Calculates temperature, pressure, density (ρ), and speed of sound (a) based on altitude
  • Required for accurate Mach and drag force computation
4. Equations of Motion
  • Flight dynamics are modeled in 2D, aligned with the velocity vector
  • Governed by Newton’s laws, the simulation integrates both translational and vertical accelerations:
5. Flight Phase Logic
  • Apogee detection is implemented by monitoring vertical velocity (Vz) and triggering a stop condition when Vz =< 0
📌 Notes
  • This simulation is intended as a baseline reference model. Teams are expected to update Cᴅ tables (Mach, Altitude) with data from their own rocket geometries, preferably obtained through CFD or wind tunnel tests.
  • All units follow SI (MKS) standards.
  • Requires MATLAB + Simulink + Aerospace Blockset to run.
👩🚀 Who Is This For?
  • University-level rocket competition teams
  • Aerospace or mechanical engineering students
  • Educators teaching model-based design and flight dynamics
  • CFD or propulsion simulation enthusiasts

Cite As

Aylin (2025). 🚀 2-DOF Flight Simulation Model for Sounding Rockets (https://au.mathworks.com/matlabcentral/fileexchange/180864-2-dof-flight-simulation-model-for-sounding-rockets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.3

Description update

1.0.2

2DOF.slx model update

1.0.1

Description update

1.0.0