A python wrapper for Ansys TurboGrid
Project description
PyTurboGrid is a Python wrapper for Ansys TurboGrid, a high-quality turbomachinery meshing software app. To run PyTurboGrid, you must have access to a licensed local copy of TurboGrid. PyTurboGrid supports Ansys TurboGrid 2023 R2 and later.
Installation
The ansys-turbogrid-core package supports Python 3.10 on Windows and Linux. Two modes of installation are available:
User installation
Developer installation
User installation
To use PyTurboGrid, you must install the ansys-turbogrid-core package from PyPI.
To ensure that you have the latest version of pip, run this command:
python -m pip install -U pip
To install PyTurboGrid, run this command:
python -m pip install ansys-turbogrid-core
Developer installation
A developer installation consists of cloning the pyturbogrid repository and installing the project in editable mode. When you install PyTurboGrid from source code, you can modify and enhance the code.
Overall guidance on contributing to a PyAnsys library appears in the Contributing topic in the PyAnsys Developer’s Guide. Ensure that you are thoroughly familiar with this guide <https://dev.docs.pyansys.com/>_ before attempting to contribute to PyTurboGrid.
Clone the pyturbogrid repository:
git clone https://github.com/ansys/pyturbogrid.git
To avoid incompatibilites in requirements when working in multiple Python projects, create and activate a virtual environment. For more information, see Virtual environments in the PyAnsys Developer’s Guide.
To ensure that you have the latest version of pip, run this command:
python -m pip install -U pip
Assuming that your current working directory is the top-level directory of your locally cloned pyturbogrid repository, install PyTurboGrid from this local repository in editable mode by running this command:
python -m pip install -e .
Requirements
You must have a licensed local installation of Ansys TurboGrid 2023 R2 or later.
The AWP_ROOTxxx environment variable, where xxx is the three-digit Ansys version, allows PyTurboGrid to find your local TurboGrid installation.
A Windows installation automatically sets this root environment variable. For example, if you install Ansys 2023 R2 in the default directory, the installer sets the AWP_ROOT232 environment variable to C:\Program Files\ANSYS Inc\v232.
A Linux installation does not automatically set this root environment variable. For example, if you install Ansys 2023 R2 in the default directory, you must manually set the AWP_ROOT232 environment variable to /usr/ansys_inc/v232.
License and acknowledgments
PyTurboGrid is licensed under the MIT license.
PyTurboGrid makes no commercial claim over Ansys whatsoever. This library extends the functionality of Ansys TurboGrid by adding a Python interface to TurboGrid without changing the core behavior or license of the original software. The use of the interactive control of PyTurboGrid requires a legally licensed local copy of TurboGrid.
For more information on TurboGrid, see the Ansys TurboGrid page on the Ansys website.
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
File details
Details for the file ansys_turbogrid_core-0.3.dev0.tar.gz
.
File metadata
- Download URL: ansys_turbogrid_core-0.3.dev0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf9466eb72edae6df6ea1ac301863b4bf1ede148211069c8f5cdc807935f148 |
|
MD5 | 42093f3352d9b9d0b40ad2adb8e4bac1 |
|
BLAKE2b-256 | b5ad773ef10c1469ce37ab72901a88acb330d3098be53368c321f2fff7ff533f |
File details
Details for the file ansys_turbogrid_core-0.3.dev0-py3-none-any.whl
.
File metadata
- Download URL: ansys_turbogrid_core-0.3.dev0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d357333c04a95217c1d05c0b7c37ca4260de802e45e6c2696074f993e3a16c86 |
|
MD5 | 292df7d9c7267a547394c3299db839e5 |
|
BLAKE2b-256 | 1167dbd5043a737977e1d219f86e912859a55736ce2322606f179755a59c9c81 |