ansys-fluent-core
PyFluent provides Pythonic access to Ansys Fluent.
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-coreuv
uv add ansys-fluent-corepoetry
poetry add ansys-fluent-coreInstalling 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
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
ansys-api-fluentProvides auto-generated gRPC Python interface…
permissive · top 15,000 on PyPI
ansys-dpf-coreProvides a Python interface to Ansys Data…
permissive · top 15,000 on PyPI
ansys-tools-visualization-interfaceProvides a Python API that abstracts…
permissive · top 15,000 on PyPI
fluent.pygmentsAdds syntax highlighting support for Fluent…
permissive · top 15,000 on PyPI
pyaedtPyAEDT provides a Python API to script and…
permissive · top 15,000 on PyPI
ansys-edb-corePyEDB-Core is a Python client for the…
permissive · top 15,000 on PyPI
ansys-tools-commonProvides shared utilities and tools for the…
permissive · top 15,000 on PyPI
ansys-platform-instancemanagementPyPIM provides a Python client to communicate…
permissive · top 15,000 on PyPI