Ansys Fluent (PyFluent) driver and bundled skill for sim
Project description
sim-plugin-fluent
Ansys Fluent plugin for sim, built on PyFluent. It provides a live-session
driver, Fluent-focused inspect targets, artifact classification, and a bundled
agent skill for choosing between live sim sessions, direct PyFluent scripts,
and file-side artifact review.
Install
uv pip install sim-plugin-fluent
Check that sim can discover Fluent:
sim check fluent
Live Session Quickstart
sim connect --solver fluent --mode solver --ui-mode no_gui \
--driver-option dimension=3 \
--driver-option precision=double \
--driver-option processor_count=2
sim inspect session.versions
sim inspect session.health
sim inspect fluent.files
sim exec --label smoke --code "_result = {'status': 'ok'}"
sim inspect last.result
sim disconnect
Direct PyFluent Quickstart
from ansys.fluent.core import launch_fluent
solver = launch_fluent(mode="solver", ui_mode="no_gui", precision="double")
try:
solver.settings.file.read_case(file_name="case.cas.h5")
solver.solution.initialization.hybrid_initialize()
solver.solution.run_calculation.iterate(iter_count=10)
finally:
solver.exit()
Inspect Targets
session.summarysession.healthsession.versionslast.resultworkflow.summaryfield.catalog/fluent.field.catalogfluent.models.summaryfluent.boundaries.summaryfluent.case.summaryfluent.mesh.summaryfluent.files
Compatibility
The plugin supports PyFluent >=0.37,<0.39. See
src/sim_plugin_fluent/compatibility.yaml
for the solver and SDK profile matrix.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sim_plugin_fluent-0.2.0.tar.gz.
File metadata
- Download URL: sim_plugin_fluent-0.2.0.tar.gz
- Upload date:
- Size: 316.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eb5f8129c5633f2d60078df6b223b3bab3a844797ff924aeb149968590e88a6
|
|
| MD5 |
f3a7b7732a019624d8f16686d69dc417
|
|
| BLAKE2b-256 |
15d6b1e8d9e05c93252901c4bfc86debfdcb339e05a86873f91e6350b3a7418a
|
File details
Details for the file sim_plugin_fluent-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sim_plugin_fluent-0.2.0-py3-none-any.whl
- Upload date:
- Size: 263.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2ccfbea361240ba028eaad87f75f54a0641049998991576fb63104e11c52276
|
|
| MD5 |
674e43c0b132c34eabaaa7a74ef058ab
|
|
| BLAKE2b-256 |
b3342353a5bfd78dc6bbb55914e5af30983001b7666379273092b90a4d269b6a
|