Skip to content

staneuski/turboCharger

Repository files navigation

About turboCharger

GitHub release (latest by date) GitHub All Releases Readme-RU

Piston engine turbocharger 0D simulation tool

After the successfull simulation the reports are created (in the Markdown language, in Russian for now only) with dimesioned pictures (see example below)

inTurbineWheel

The program was written to open reports in the Markdown editor Typora. It is advisable to use it to display LaTeX formulas correctly in Markdown files (automatic .pdf LaTeX generation in develop).

Report examples

Run type Settings
Radial Compressor Default
Radial Turbine Default
Axial Turbine Not default

Requirements

  1. Python 3 with pillow package
  2. Markdown editor (Typora, preferably)

Usage

Installation

Windows

  1. Install a package managemer for Windows Chocolatey (if not installed). Copy in the PowerShell elevated prompt and run:
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  2. Install Python 3 with required packages and Markdown editor (also using the PowerShell elevated prompt)
    choco install -y python3 typora
    python3 -m pip install pillow
  3. Download turboCharger repository:
    curl "https://github.com/StasF1/turboCharger/archive/v2.3-beta.zip" -o $HOME/Downloads/turboCharger

macOS

  1. Install a package managemer for macOS Homebrew (if not installed). Copy into the Terminal and run:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. Install Python 3 with required packages and Markdown editor
    brew install python3 typora
    python3 -m pip install pillow
  3. Download turboCharger repository:
    curl "https://github.com/StasF1/turboCharger/archive/v2.3-beta.zip" -o $HOME/Downloads/turboCharger

Linux

  1. Install Python required packages
    python3 -m pip install pillow
  2. Download turboCharger repository:
    curl "https://github.com/StasF1/turboCharger/archive/v2.3-beta.zip" -o $HOME/Downloads/turboCharger

Run

cd $HOME/Downloads/turboCharger
python3 turbocharger.py

⚠ A detailed guide is available on Wiki

Structure

turboCharger-2.2-beta
├── compressor
│   ├── post
│   └── pre
├── etc
│   ├── compressor
│   └── turbine
│       ├── axial
│       └── radial
├── results*            # reports and dictionary copies (*config.py-files)
│   ├── compressor
│   └── turbine
│       ├── axial
│       └── radial
└── turbine
    ├── post
    └── pre
#* created during the calculation