Skip to main content

A python wrapper for Ansys Fluent parametric workflows

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

PyAnsys PyPI GH-CI MIT Black pre-commit.ci status

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.

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).initialize()
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.

Project details


Download files

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

Source Distribution

ansys_fluent_parametric-0.7.dev0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

ansys_fluent_parametric-0.7.dev0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file ansys_fluent_parametric-0.7.dev0.tar.gz.

File metadata

File hashes

Hashes for ansys_fluent_parametric-0.7.dev0.tar.gz
Algorithm Hash digest
SHA256 1ec696b270a91fd0734855b9854474d8666bbd2f4bacfd2ee6b8378d11980fe4
MD5 e7482fbd1bde0a943fdfd14289ef2317
BLAKE2b-256 f6002d553ac18f1478d017eaa04dd9adf77cf0edff3f6ab95d2f19e2a36ed08a

See more details on using hashes here.

File details

Details for the file ansys_fluent_parametric-0.7.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_fluent_parametric-0.7.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc2d461bb2e3e6bccf199add26003993ff710ca7ab85caf613aff441d100e519
MD5 33219ebab993be518e3b9a24248b0a12
BLAKE2b-256 4817304ec4e32fd26b03de883d150c7b2cfb357d65f8449570da32ef599aad1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page