Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Nozzle Fluid Flow Simulation

Note: This project was completed as my final project for a multivariable calculus course in high school.

Description

This program simulates steady supersonic flow in a rocket nozzle using the method of characteristics. It computes Mach numbers, flow angles, and nozzle geometry based on Prandtl-Meyer functions and characteristic lines.

Requirements

  • Python 3.6+
  • numpy
  • scipy
  • matplotlib

Setup

  1. Create a virtual environment:
    python3 -m venv venv
  2. Activate the virtual environment:
    source venv/bin/activate
  3. Install dependencies:
    pip install -r requirements.txt

Usage

Run the simulation:

python steadyFlowSimulation.py

Feel free to adjust parameters (wall_angle, num_initial, M_initial, etc.) in steadyFlowSimulation.py to explore different configurations.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages