skillfed

ansys-fluent-core

PyFluent provides Pythonic access to Ansys Fluent.

ansys-fluent-core v0.41.0 81.0K downloads/30d#14,260 on PyPI478
Permissive license MIT Active released

What it is and what it does

PyFluent is a Python wrapper around Ansys Fluent, the commercial computational fluid dynamics (CFD) solver. It lets you launch Fluent from Python, issue text user interface (TUI) commands for meshing and solving, and access built-in postprocessing capabilities—all without leaving your Python environment. This is useful for automating simulation workflows, parameterizing studies, or integrating Fluent into larger Python-based engineering pipelines.

The package requires a licensed local Fluent installation (2024 R2 SP05 or later on Windows or Linux) and handles communication via gRPC. It depends on numpy, pandas, and other standard scientific Python libraries, plus Ansys-specific packages for platform management and file transfer. Installation is straightforward, and the project is actively maintained with regular updates.

Use it for:

  • Automate parametric CFD studies by launching Fluent, setting up geometry and mesh parameters, running solvers, and extracting results in a single Python script.
  • Integrate Fluent simulations into a larger engineering workflow that combines preprocessing, simulation, and postprocessing in one reproducible pipeline.
  • Build batch job submission systems that spawn multiple Fluent instances with different configurations and collect results for comparison.
  • Develop custom analysis tools that query Fluent's TUI to extract intermediate results or monitor solver convergence in real time.
  • Create Python-based optimization loops that adjust simulation inputs, run Fluent, and evaluate objectives without manual intervention.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PyFluent provides Python bindings to launch and control Ansys Fluent, enabling access to its text user interface (TUI) commands for meshing, solving, and postprocessing from within Python scripts.

Yes, if you have a licensed Fluent installation and need to automate or integrate CFD simulations into Python workflows. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low installation friction. The main constraint is the external Fluent dependency and environment variable setup on Linux; if you lack a Fluent license or cannot meet the version requirements (2024 R2 SP05 or later), it will not be useful.

Install

ansys-fluent-core on PyPI

pip

pip install ansys-fluent-core

uv

uv add ansys-fluent-core

poetry

poetry add ansys-fluent-core

Installing ansys-fluent-core

Before you install

Low friction installation with a pure-Python wheel. Active maintenance with a recent release (8 days old) and steady commit activity. Depends on 17 runtime packages including gRPC, numpy, and pandas, all standard ecosystem libraries.

License in practice

MIT license permits commercial and private use with minimal restrictions. No copyleft obligations; you can integrate PyFluent into proprietary code without licensing concerns.

Quickstart

import ansys.fluent.core as pyfluent
solver_session = pyfluent.launch_fluent()
solver_session.is_server_healthy()

Requires a licensed local installation of Ansys Fluent (versions 2024 R2 SP05, 2025 R1 SP04, 2025 R2 SP03, 2026 R1, or later). On Linux, the AWP_ROOT environment variable must be set manually to point to the Fluent installation directory.

Verify before relying

  • Whether the package works with Fluent versions older than 2024 R2 SP05 despite the documentation stating they are no longer supported.
  • Performance characteristics and scalability limits for large-scale simulations or batch job submission.
  • Compatibility details with Fluent's distributed computing features and cluster job scheduling.

Package facts

License MIT (permissive)
Python support supports the current Python release (<3.15,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 17 — ansys-api-fluent, ansys-platform-instancemanagement, ansys-tools-common, ansys-tools-filetransfer, ansys-units, defusedxml, deprecated, docker, grpcio, grpcio-health-checking, grpcio-status, grpcio-reflection, numpy, pandas, pandas-stubs, pyyaml, typing-extensions
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 80,962/month — #14,260 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ansys_fluent_core-0.41.0-py3-none-any.whl

Development Status :: 4 - BetaOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

fluent python interfaceansys fluent automationcomputational fluid dynamics pythonfluent solver controlcfd workflow pythonfluent tui commandsansys fluent scripting
cfd-simulationfluent-automationengineering-workflow

More Scientific/Engineering packages