You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: Missing Fluent 27.2 preferences API in PyFluent 0.43.1 and newerΒ #5670
I have searched the existing issues and did not find a duplicate.
I am using a Python virtual environment.
I have confirmed this is a PyFluent issue, not a problem with Ansys Fluent. See the posting issues guide.
π Description of the bug
When using PyFluent 0.43.1 or newer with Fluent 27.2, accessing solver_session.preferences fails because the generated preferences
object-model API for Fluent 27.2 is missing from the installed PyFluent package.
Fluent launches successfully, but PyFluent raises a FileNotFoundError when
it attempts to load:
solver_session.preferences loads successfully and allows the Fluent preferences state to be accessed or modified.
π₯ Actual behavior / traceback
FileNotFoundError: [Errno 2] No such file or directory:
<venv>/site-packages/ansys/fluent/core/generated/v272/object_model/preferences.py
RuntimeError: Please run `python codegen/allapigen.py` from the top-level
pyfluent directory to generate the local datamodel API classes.
Activity
prmukherj commentedon Nov 27, 2026
@juandoval, should be fixed in v0.45.0