-
Hi according to api reference, I wonder is there any way to substitute the value of that object's scalar data and display the resulted image |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @alwaysbyx,
Create and display the original temperature data:
Create a dummy temperature data:
Update the data in Fluent:
Send a signal to Fluent that the data has been updated:
Again display the updated temperature data:
We have a detailed documentation on using the solution-variable (https://fluent.docs.pyansys.com/version/stable/user_guide/fields/solution_data.html) services in PyFluent which you can refer for further information. An alternative to displaying in Fluent window is to use the pyfluent-visualization (https://github.com/ansys/pyfluent-visualization) as well. Thanks @ajain-work for your advice. Please let us know if this was helpful, |
Beta Was this translation helpful? Give feedback.
-
Hi @alwaysbyx, |
Beta Was this translation helpful? Give feedback.
Hi @alwaysbyx,
If we understand your query correctly, you want to display your custom data in fluent interface using PyFluent. For this, we have a separate solution variables interface. Below is a sample script which can be used to achieve it:
Create and display the original temperature data: