HyPyRider (Hypersonic Python-based waveRider design tool) is a repository for designing and analyzing a waverider through multiple sub-projects, including:
- Conical Flow Analyzer: Solves conical flow problems using oblique shock and Taylor-Maccoll solvers.
- Busemann Inlet Design: Designs optimal inlet geometry for supersonic flow.
- Compression/Expansion Surfaces: Analyzes flow interactions with compression and expansion surfaces.
- Turbo Ramjet Cycle Analysis: Simulates and evaluates turbo ramjet engine cycles.
- Axisymmetric Method of Characteristics Analyzer: Solves axisymmetric flow problems using the method of characteristics.
- Hypersonic Waverider Viscous Corrections: Incorporates viscous effects into waverider designs.
- Hypersonic Waverider Expansion Surface Design: Designs expansion surfaces for hypersonic flows.
This guide provides clear instructions for setting up the project, making changes, and collaborating using Git and VS Code.
- Install Git: Download Git and install it.
- Install Python 3.8+: Ensure Python is installed on your system.
- Install VS Code: Download Visual Studio Code and install it.
- Install the Python Extension for VS Code.
- Install Required Python Libraries: The required libraries are listed in
requirements.txt.
To get started, clone the repository to your local machine:
# Clone the repository from GitHub
git clone https://github.com/JuanPabloRoldan/HyPyRider.git
# Navigate into the project directory
cd HyPyRiderBefore making any changes, create a new branch based on the main branch:
# Pull the latest changes from the main branch
git pull origin main
# Create and switch to a new branch
# Replace "your-branch-name" with a descriptive name for your branch
git checkout -b your-branch-nameInstall the required Python libraries listed in requirements.txt:
pip install -r requirements.txt- Open the project in VS Code:
code . - Edit the relevant script for your sub-project (e.g.,
conical_flow_analyzer/main.pyorbusemann_inlet_design.py). - Test your changes by running the appropriate script:
python conical_flow_analyzer/main.py
After making and testing your changes:
-
Stage your changes:
git add . -
Commit your changes:
git commit -m "Descriptive message about your changes"
Push your branch to the remote repository:
# Push your branch to GitHub
git push origin your-branch-name- Go to the GitHub repository in your browser.
- Navigate to the Pull Requests tab.
- Click New Pull Request.
- Select your branch and compare it to
main. - Add a title and description for your pull request.
- Submit the pull request.
Your changes will now be reviewed and merged into the main branch by the project maintainer.
WIP
- Clone the repo:
git clone https://github.com/JuanPabloRoldan/HyPyRider.git - Create a branch:
git checkout -b your-branch-name - Make changes and test locally.
- Commit and push your changes:
git commit -m "message"andgit push origin your-branch-name. - Submit a pull request on GitHub.
The required Python libraries are listed in requirements.txt. Install them with:
pip install -r requirements.txtWIP