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
I encountered an issue while attempting to define a plane surface using the "three-points" method within the PyFluent API. Specifically, I was setting the p0, p1, and p2 attributes (which are instances of RealList) with lists of floating-point numbers to specify the coordinates. Although the set_state method did not produce any errors, the plane surface points were not correctly assigned, and no visible changes occurred in the Fluent GUI or results.
Steps:
Created a plane surface using the "three-points" method.
Tried assigning p0, p1, and p2 with floating-point values.
Called the set_state method for each point, expecting the plane surface to update.
No errors were raised, but the surface remained unchanged.
Expected Behavior: The set_state method should correctly assign the provided coordinates for the three points, and the plane surface should update accordingly.
🔍 Before submitting the issue
🐞 Description of the bug
I encountered an issue while attempting to define a plane surface using the "three-points" method within the PyFluent API. Specifically, I was setting the p0, p1, and p2 attributes (which are instances of RealList) with lists of floating-point numbers to specify the coordinates. Although the set_state method did not produce any errors, the plane surface points were not correctly assigned, and no visible changes occurred in the Fluent GUI or results.
Steps:
Created a plane surface using the "three-points" method.
Tried assigning p0, p1, and p2 with floating-point values.
Called the set_state method for each point, expecting the plane surface to update.
No errors were raised, but the surface remained unchanged.
Expected Behavior: The set_state method should correctly assign the provided coordinates for the three points, and the plane surface should update accordingly.
📝 Steps to reproduce
ZZ = 18.0375
root.results.surfaces.plane_surface['a1'] = {}
a1 = root.results.surfaces.plane_surface['a1']
a1.method = 'three-points'
a1.p0.set_state([2.985, 0.3187, ZZ])
a1.p1.set_state([3.0959, 0.1308, ZZ])
a1.p2.set_state([3.0959, 0.1308, ZZ-1])
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
24r1
🐍 Which Python version are you using?
3.9
📦 Installed packages
The text was updated successfully, but these errors were encountered: