This project has been archived by its maintainers, and is no longer receiving any updates.
Overview
PyFluent-Parametric provides Pythonic access to Ansys Fluent’s parametric workflows.
Documentation and issues
For comprehensive information on PyFluent-Parametric, see the latest release documentation.
On the PyFluent-Parametric Issues, you can create issues to submit questions, report bugs, and request new features. To reach the project support team, email pyansys.core@ansys.com.
Installation
The ansys-fluent-parametric package currently supports Python 3.9 through Python 3.11 on Windows and Linux.
Install the latest release from PyPI with:
pip install ansys-fluent-parametric
Alternatively, install the latest from GitHub with:
pip install git+https://github.com/ansys/pyfluent-parametric.git
If you plan on doing local development of PyFluent with Git, install with:
git clone https://github.com/ansys/pyfluent-parametric.git
cd pyfluent-parametric
pip install pip -U
pip install -e .
Dependencies
You must have a locally-installed, licensed copy of Ansys to run Fluent. The first supported version is 2022 R2.
Getting started
Basic usage
The following code assumes that a PyFluent session has already been created and a Fluent case with input parameters has been set up. For a full example, see Defining Parametric Workflows in the PyFluent-Parametric documentation.
import ansys.fluent.core as pyfluent
from ansys.fluent.parametric import ParametricStudy
solver_session = pyfluent.launch_fluent(mode="solver")
study = ParametricStudy(solver_session.parametric_studies)
input_parameters_update = study.design_points["Base DP"].input_parameters
input_parameters_update["inlet1_vel"] = 0.5
study.design_points["Base DP"].input_parameters = input_parameters_update
study.update_current_design_point()
print(study.design_points["Base DP"].output_parameters)
License and acknowledgments
PyFluent-Parametric is licensed under the MIT license.
PyFluent-Parametric makes no commercial claim over Ansys whatsoever. This library extends the functionality of Fluent by adding a Python interface to Fluent without changing the core behavior or license of the original software. The use of the interactive Fluent control of PyFluent-Parametric requires a legally licensed local copy of Fluent.
For more information, see the Ansys Fluent <https://www.ansys.com/products/fluids/ansys-fluent> page on the Ansys website.
Release files for ansys-fluent-parametric 0.10.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 | |
|---|---|---|---|
| ansys_fluent_parametric-0.10.0.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansys_fluent_parametric-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.5 kB
Release files / ansys_fluent_parametric-0.10.0.tar.gz
| Download URL | ansys_fluent_parametric-0.10.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40402bc3aea1159d75117746f0593915a242f420c006fbaa9647e53bb6988bae
|
|
BLAKE2b-256 checksum How to use checksums |
bf19e42c11f76cc4dd36383356ad921144169851bda783c7766e554d3c0eefb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / ansys_fluent_parametric-0.10.0-py3-none-any.whl
| Download URL | ansys_fluent_parametric-0.10.0-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90988799a760f85a42b2d37a6564af1bb2c30efdacf35b4556effc7f64d7f48
|
|
BLAKE2b-256 checksum How to use checksums |
117f4d72d6849dd5205128d3b9d38828fd16707dd3818a54b434b7fe51c1163c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|