PyTurboWizard (PTW) provides Pythonic way to setup & run a turbomachinery simulation with Ansys Fluent.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ansys_ptw-0.2.0.tar.gz.
File metadata
- Download URL: ansys_ptw-0.2.0.tar.gz
- Upload date:
- Size: 56.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b4b609d500d371726756449adaa71bbbecb7cd54c644aa413dcd4e32cf076c
|
|
| MD5 |
0b2cbf4aecff587c8969b74486ead741
|
|
| BLAKE2b-256 |
627015d7bb4aaa43e2ab02ff7984ee5ea071632b4c99156396199d9105483aff
|
Provenance
The following attestation bundles were made for ansys_ptw-0.2.0.tar.gz:
Publisher:
ci_cd.yml on ansys/pyturbowizard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ansys_ptw-0.2.0.tar.gz -
Subject digest:
f6b4b609d500d371726756449adaa71bbbecb7cd54c644aa413dcd4e32cf076c - Sigstore transparency entry: 1399440750
- Sigstore integration time:
-
Permalink:
ansys/pyturbowizard@efe90545e03c93d23c625b8949dc3f231f279a34 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ansys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_cd.yml@efe90545e03c93d23c625b8949dc3f231f279a34 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ansys_ptw-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ansys_ptw-0.2.0-py3-none-any.whl
- Upload date:
- Size: 87.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cdaa102b61e938f1fed7eb61ac44b160d45c99ec241b36436cae7f45e66cca9
|
|
| MD5 |
ddb83d8e4bf358c3b2c3c46061c7028b
|
|
| BLAKE2b-256 |
ca53b8039c00de5e715c01604c79c55e037a3485e4aee6c7a18124ae5457802f
|
Provenance
The following attestation bundles were made for ansys_ptw-0.2.0-py3-none-any.whl:
Publisher:
ci_cd.yml on ansys/pyturbowizard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ansys_ptw-0.2.0-py3-none-any.whl -
Subject digest:
2cdaa102b61e938f1fed7eb61ac44b160d45c99ec241b36436cae7f45e66cca9 - Sigstore transparency entry: 1399440754
- Sigstore integration time:
-
Permalink:
ansys/pyturbowizard@efe90545e03c93d23c625b8949dc3f231f279a34 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ansys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_cd.yml@efe90545e03c93d23c625b8949dc3f231f279a34 -
Trigger Event:
push
-
Statement type: