Skip to main content

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:

  1. Copy Fluent data, including mesh data and profiles, into you working directory.

  2. Copy a configuration file to your Fluent working directory.

  3. Adjust the configuration file to your setup. For more information, see Set up the configuration file.

  4. Execute the script:

    ansys-ptw <PathToConfigurationFile.json/yaml>

Useful documents

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansys_ptw-0.3.2.tar.gz (69.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansys_ptw-0.3.2-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file ansys_ptw-0.3.2.tar.gz.

File metadata

  • Download URL: ansys_ptw-0.3.2.tar.gz
  • Upload date:
  • Size: 69.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for ansys_ptw-0.3.2.tar.gz
Algorithm Hash digest
SHA256 114b697616559b3c42ee33977fb57982ea720efab231f495a8ada69fd252860f
MD5 3634ebe05f62c815d834bd025117fc32
BLAKE2b-256 eb79e51cd49e021e9cbfeb23e9f4a0072fe9e5cb826bddb973dec4ca5fb92708

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_ptw-0.3.2.tar.gz:

Publisher: ci_cd.yml on ansys/pyturbowizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ansys_ptw-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: ansys_ptw-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for ansys_ptw-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd86cbdfdc2770cc0fa4ad946c7254808924ab9269bc00c6446c9c08b5dbdb0
MD5 3cc38188d4dd43958e2b7f5f09c9d206
BLAKE2b-256 3101dd7eb93ce1cabf0265290383abf09edac8eb1326264be3246eaca296f4f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_ptw-0.3.2-py3-none-any.whl:

Publisher: ci_cd.yml on ansys/pyturbowizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.3

2 files

This release

0.3.2 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page