Skip to content

Conversation

@mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Dec 16, 2025

Context

Argument name of global list-properties command has been changed in Fluent during 26.1 (PR 620650). This results in inconsistent behavior in PyFluent.

Corresponding Fluent bug - 1385223

Change Summary

Update argument names in PyFluent as per latest Fluent code.

Rationale

list-properties should be called with correct argument names from PyFluent.

Impact

Fix inconsistent behavior, unintended warnings.

Copilot AI review requested due to automatic review settings December 16, 2025 16:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates argument names in PyFluent to align with changes made in Fluent 26.1, where the list-properties command's parameter naming was modified. The changes remove workarounds that were previously necessary to handle parameter name conflicts.

Key Changes:

  • Updated list_properties method to use the new object_path parameter instead of the previous path_1 and name parameters
  • Removed the workaround logic in execute_cmd that renamed path_1 to path
  • Added PyFluent version tracking to the Fluent version information output

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/ansys/fluent/core/solver/flobject.py Updated list_properties to use new object_path parameter with concatenated path
src/ansys/fluent/core/services/settings.py Removed path_1 to path parameter renaming workaround from execute_cmd
src/ansys/fluent/core/codegen/print_fluent_version.py Added PyFluent version output to version information file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Dec 16, 2025
Copilot AI review requested due to automatic review settings December 16, 2025 16:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mkundu1 mkundu1 merged commit 673466e into main Dec 17, 2025
52 of 56 checks passed
@mkundu1 mkundu1 deleted the fix/list-properties branch December 17, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants