-
I tried using the mixing elbow as an example to pyfluent. I tried using spyder and jupyter notebook. I can run the example in both spyder and jyputer notebook but I cant see any graphs. When I come to the command above nothing seems to happen. I was expecting a png file in the python folder I run from and a picture. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found out tha tI could use the graphics module see https://fluentvisualization.docs.pyansys.com/examples/00-postprocessing/post_processing_exhaust_manifold.html#sphx-glr-examples-00-postprocessing-post-processing-exhaust-manifold-py graphics = Graphics(session=solver_session) |
Beta Was this translation helpful? Give feedback.
-
I am using pyfluent, ansys 22.2 student version, visual studio code. I tried to run the three examples for pyfluent. Everything works fine; but the graphic doesn't show. I CAN see somethings flashes for one second. It may be the graphic but it has difficult to show up correctly. |
Beta Was this translation helpful? Give feedback.
I found out tha tI could use the graphics module see https://fluentvisualization.docs.pyansys.com/examples/00-postprocessing/post_processing_exhaust_manifold.html#sphx-glr-examples-00-postprocessing-post-processing-exhaust-manifold-py
Here is the example for mesh.
graphics = Graphics(session=solver_session)
mesh1 = graphics.Meshes["mesh-1"]
mesh1.show_edges = True
a = mesh1.surfaces_list.allowed_values
mesh1.surfaces_list = a
mesh1.display("window-1")