A python wrapper for Ansys Fluent parametric workflows
Project description
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 PyAnsys support team, email pyansys.support@ansys.com.
Installation
The ansys-fluent-parametric package currently supports Python 3.7 through Python 3.10 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/pyansys/pyfluent-parametric.git
If you plan on doing local development of PyFluent with Git, install with:
git clone https://github.com/pyansys/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.
from ansys.fluent.parametric import ParametricStudy
study_1 = ParametricStudy(session.solver.root.parametric_studies).initialize()
input_parameters_update = study_1.design_points["Base DP"].input_parameters
input_parameters_update["inlet1_vel"] = 0.5
study_1.design_points["Base DP"].input_parameters = input_parameters_update
study_1.update_current_design_point()
print(study_1.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.
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
Hashes for ansys-fluent-parametric-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a162bdcad9af19cc2c65335b93b6b3c9f789b31dbc63d96bc0b1d0c6b97a8005 |
|
MD5 | 841dcdc15ef5e04f7634d03c14c548f7 |
|
BLAKE2b-256 | 45d5a4bf5a5ce2895d8d86841ce69193690c806b9452299030f64276e3465c13 |
Hashes for ansys_fluent_parametric-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3633342a050d2ffe1bed2ef36c8324fedebc343aca0053eb626fa5e77028401 |
|
MD5 | 38c92433842f3b65886567dff29efc74 |
|
BLAKE2b-256 | 9f75b7da909ac0e6e4c3a5d11314033a9a4af7da09260073f12c6cd67e5b9c4f |