PyTurboWizard
OSS disclaimer
PyTurboWizard depends on OSS (Open Source Software), which is subject to its own terms and conditions and might contain vulnerabilities. Ansys is not responsible for such third-party software.
You should consult your company’s software security department before installing any software on company hardware.
PyTurboWizard is licensed under the MIT License.
Overview
PyTurboWizard provides a standardized testing setup for turbomachinery cases in Ansys Fluent through Pythonic access with PyFluent. This matrix describes functionalities:
| Case | Fluid | Inlet BC | Outlet BC | Expression template | Stages | Interface types | Parametric study support |
|---|---|---|---|---|---|---|---|
| Gas turbine (compressible) | Ideal air | Total pressure, mass flow, volume flow | Static pressure, exit corrected mass | ||||
| Flow, mass flow, volume Flow | Yes | Unlimited | General, periodic, no pitch-scale, pitch-scale, mixing plane | Yes | |||
| Compressor (compressible) | Ideal air | Total pressure, mass flow, volume flow | Static pressure, exit corrected mass | ||||
| Flow, mass flow, volume flow | Yes | Unlimited | General, periodic, no pitch-scale, pitch-scale, mixing plane | Yes | |||
| Gas turbine (incompressible) | Ideal air | Total pressure, mass flow, volume flow | Static pressure, exit corrected mass | ||||
| Flow, mass flow, volume flow | Yes | Unlimited | General, periodic, no pitch-scale, pitch-scale, mixing plane | Yes | |||
| Compressor (incompressible) | Ideal air | Total pressure, mass flow, volume flow | Static pressure, exit corrected mass | ||||
| Flow, mass flow, volume flow | Yes | Unlimited | General, periodic, no pitch-scale, pitch-scale, mixing plane | Yes |
Note: The default rotation axis is expected to be the z-axis (0,0,1) with axis origin (0,0,0).
Getting started
PyTurboWizard is developed for Ansys Fluent 2024 R1 and later. When running the Ansys GPU Solver, you can use PyTurboWizard with the -gpu flag in the launching options. However, not all features
are supported.
Installation
You should create a dedicated Python virtual environment to install PyTurboWizard in. To quickly create and install this environment, consider using the Ansys Python Manager.
Use pip to install PyTurboWizard in this environment:
pip install ansys-ptw
All needed libraries are installed automatically.
For developers
If you plan on doing local development of PyTurboWizard with Git, install the latest release:
git clone https://github.com/ansys/pyturbowizard
pip install -e .
How to run
After installing the latest version of PyTurboWizard, you can prepare data in your working directory and then run it:
-
Copy Fluent data, including mesh data and profiles, into you working directory.
-
Copy a configuration file to your Fluent working directory.
-
Adjust the configuration file to your setup. For more information, see Set up the configuration file.
-
Execute the script:
ansys-ptw <PathToConfigurationFile.json/yaml>
Useful documents
Metadata
Release files for ansys-ptw 0.3.3
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 |
|---|---|---|---|---|
| ansys_ptw-0.3.3.tar.gz | 69.2 kB | With provenance | Details for ansys_ptw-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ansys_ptw-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for ansys_ptw-0.3.3-py3-none-any.whl |
Total release size: 171.0 kB
Release files / ansys_ptw-0.3.3.tar.gz
| Download URL | ansys_ptw-0.3.3.tar.gz |
|---|---|
| Size | 69.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a47782a460635b7f772ea49df108c26002549da0367ce6fd1928b193f74bb18
|
|
BLAKE2b-256 checksum How to use checksums |
28fb89c98595c302b4963523ea74a489566df9263afeb7f20ec03f817b363966
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logRelease files / ansys_ptw-0.3.3-py3-none-any.whl
| Download URL | ansys_ptw-0.3.3-py3-none-any.whl |
|---|---|
| Size | 101.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52349975fff2b08235a20e0a175346e3e0e3a840174b472165f4e0ba121287bb
|
|
BLAKE2b-256 checksum How to use checksums |
8b119a2558ff8b8781d3a585849885357935eb8d89c375870b36a7cde92788af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logSecurity for ansys-ptw 0.3.3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ansys_ptw-0.3.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logA 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.