Turbodash
turbodash is an interactive Dash application for the meanline design of turbine stages.
- 🔗 App: turbodash.onrender
- 📦PyPI: pypi.org/project/turbodash-core
Key features
- Supports axial and radial turbine stages.
- Visualization of the meridional channel and blade-to-blade view
- Visualization of total-to-static and total-to-total efficiencies.
- Adjustable stator/rotor geometry, reaction degree, loss coefficients, and blade velocity ratio.
- Lightweight, dependency-minimal design based on Plotly Dash.
- Automatic synchronization between sliders and numeric inputs.
- Support import/export of configuration files.
- Experimental app with three tabs: meanline calculation, turbine geometry, and mesh generation/inspection.
- Optional TurboMoC integration in the experimental app for cylindrical axial blade models (STL), periodic 3D passage meshes (Gmsh/CGNS), and VTK geometry/mesh visualization with cell-quality inspection.
- Documentation describing the derivation of governing equations.
🛠️ Installation
From PyPI:
Install the latest stable release directly from PyPI:
pip install turbodash-core
From source (Poetry):
To get the latest development version, clone the repository and install it using Poetry:
git clone https://github.com/turbo-sim/turbodash.git
cd turbodash
poetry install
Enable experimental 3D geometry and meshing:
For development with the companion repository, install it in the same Python
environment as Turbodash. From the turbodash directory:
python -m pip install -e .
python -m pip install -e ../method_of_characteristics
Alternatively, poetry install -E mesh installs the published TurboMoC 1.2.0
recorded in poetry.lock. With pip, use python -m pip install -e ".[mesh]";
for the published Turbodash package, use python -m pip install "turbodash-core[mesh]".
The stable meanline app does not require this optional dependency.
See the integration assessment and mesh workflow
for assumptions, outputs, and the Python API.
🚀 Run the app locally
The stable turbine meanline app keeps its existing Python launcher:
python -c "import turbodash; turbodash.launch_app_turbine()"
The equivalent console command is turbodash. With Poetry, prefix either
command with poetry run, for example:
poetry run python -c "import turbodash; turbodash.launch_app_turbine()"
This will start a local server and open the dashboard in your web browser.
To launch the experimental app with the Meanline, Turbine geometry and Mesh tabs, use its separate command:
turbodash-experimental
After updating an existing checkout, rerun poetry install or
python -m pip install -e . to register the new console command.
Or use the Python launcher, which also opens your browser:
python -c "import turbodash; turbodash.launch_app_experimental()"
The stable app lives in turbodash/apps/turbine.py; the experimental workspace
lives in turbodash/apps/turbine_experimental.py so it can be refined independently
before becoming the default. The original single-stage app is also available
with turbodash-stage or turbodash.launch_app_stage().
Render and the Procfile continue to launch the stable turbine app. To host the
experimental app separately, install the mesh extra and use
gunicorn turbodash.apps.turbine_experimental:server.
Application examples and package organization
Four YAML-driven app runners are available under
demos/apps/. Each app has its own runner and startup case. The
applications guide explains the stable, experimental,
original stage and dimensionless efficiency applications.
Calculations live in turbodash/core/, blade geometry in geometry/, plotting
in visualization/, report generation in reporting/, and external-format
adapters in io/. Production loss models remain in turbodash/loss_models/.
Import implementations from these packages directly. The former flat module
paths and root module aliases have been removed. Root scientific functions and
Python app launchers remain available. See the refactor evaluation and migration map.
Documentation
The turbine apps use continuous blade counts for meanline losses and efficiency,
and separate integer geometry for physical visualization, meshing and export.
Axial and radial rows take true-chord solidity (solidity_chord = chord / pitch)
as their spacing input. Existing Zweifel inputs remain supported for archived
cases; the apps convert them at the loaded design point.
The loss audit separates individual
loss-function diagnostics from full stage/turbine loss and efficiency sweeps.
All analyses and turbine solvers use the production models in
turbodash/loss_models/, selected by benner, kacker_okapuu, moustapha,
or isentropic (zero losses). The shared KO components include the bounded
shock, finite high-Reynolds correction and physical-turning loading formulation.
The stage reports compare isentropic, constant-loss, Kacker–Okapuu and Benner predictions using
the same continuous geometry, true-chord solidity and Benner half-height cap.
Each section includes the scripts and inputs needed to regenerate its figures,
using the existing model functions in this repository.
The Arianna reproduction prompt describes how to reproduce the original analyses and distinguish historical whole-model changes from a controlled comparison of loss correlations.
The theoretical derivation of the governing equations, efficiency definitions, and validation against analytical special cases are available in the stable app's Documentation tab and the experimental app's expandable Documentation section in the Meanline tab.
License
This project is released under the MIT License.
Metadata
Release files for turbodash-core 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| turbodash_core-0.7.0.tar.gz | 226.3 kB | Without provenance | Details for turbodash_core-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| turbodash_core-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for turbodash_core-0.7.0-py3-none-any.whl |
Total release size: 479.1 kB
Release files / turbodash_core-0.7.0.tar.gz
| Download URL | turbodash_core-0.7.0.tar.gz |
|---|---|
| Size | 226.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c932ee63110c306f3a1fe57b8b19b05c764ad8288c009c88b3a2a9911c72c95
|
|
BLAKE2b-256 checksum How to use checksums |
0cb36f331059260ea43ce76e3d35ad024541e9b01ca3c1eee13ff203c3c880b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.15 Linux/6.17.0-1022-azure
|
Release files / turbodash_core-0.7.0-py3-none-any.whl
| Download URL | turbodash_core-0.7.0-py3-none-any.whl |
|---|---|
| Size | 252.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7c845a161bf488eaa18aa13ceeeb4fe628941baa6aa2bc3377f9d2caf60448d
|
|
BLAKE2b-256 checksum How to use checksums |
793292f857f780a6fde8daaf09ff5f955e4300743e813029063b352b0eb52aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.15 Linux/6.17.0-1022-azure
|
Security for turbodash-core 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.