Skip to content

JuanPabloRoldan/HyPyRider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyPyRider

Description

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.


Getting Started

Prerequisites

  1. Install Git: Download Git and install it.
  2. Install Python 3.8+: Ensure Python is installed on your system.
  3. Install VS Code: Download Visual Studio Code and install it.
    • Install the Python Extension for VS Code.
  4. Install Required Python Libraries: The required libraries are listed in requirements.txt.

1. Clone the Repository

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 HyPyRider

2. Create a Branch

Before 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-name

3. Install Dependencies

Install the required Python libraries listed in requirements.txt:

pip install -r requirements.txt

4. Edit and Test the Code

  1. Open the project in VS Code:
    code .
  2. Edit the relevant script for your sub-project (e.g., conical_flow_analyzer/main.py or busemann_inlet_design.py).
  3. Test your changes by running the appropriate script:
    python conical_flow_analyzer/main.py

5. Add and Commit Changes

After making and testing your changes:

  1. Stage your changes:

    git add .
  2. Commit your changes:

    git commit -m "Descriptive message about your changes"

6. Push Your Branch

Push your branch to the remote repository:

# Push your branch to GitHub
git push origin your-branch-name

7. Create a Pull Request

  1. Go to the GitHub repository in your browser.
  2. Navigate to the Pull Requests tab.
  3. Click New Pull Request.
  4. Select your branch and compare it to main.
  5. Add a title and description for your pull request.
  6. Submit the pull request.

Your changes will now be reviewed and merged into the main branch by the project maintainer.


Project Structure

WIP

Collaboration Workflow

  1. Clone the repo: git clone https://github.com/JuanPabloRoldan/HyPyRider.git
  2. Create a branch: git checkout -b your-branch-name
  3. Make changes and test locally.
  4. Commit and push your changes: git commit -m "message" and git push origin your-branch-name.
  5. Submit a pull request on GitHub.

Dependencies

The required Python libraries are listed in requirements.txt. Install them with:

pip install -r requirements.txt

License

WIP

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages