-
-
November 10, 2023 at 10:03 pm
Shamkhal Mammadov
SubscriberI started using pyfluent and found it a very nice tool for optimization, automation, and use of machine learning.
However, I am having a hard time plotting my residuals directly inside the python
here are last lines of my code:# Seting up initialization and transient parameters of the simulationsolver.tui.solve.monitors.residual.print('no')solver.solution.initialization.hybrid_initialize()solver.solution.run_calculation.transient_controls = {'type': 'Fixed', 'method': 'User-Specified','max_iter_per_time_step': 300,'time_step_count': 1972,'time_step_size': 5256,'solution_status': False,}solver.solution.run_calculation.calculate()I am wondering how I can access data of residuals and plot them over time as the simulation runs in the background
-
November 14, 2023 at 4:36 pm
Marc Goldbach
SubscriberI am looking to do the same thing. Have you found any solution? In my case I am running the python script from a pbs script, so using the fluent gui is not an option (at least I think so).
-
November 15, 2023 at 7:48 am
Supreetha J
SubscriberHello,
PyAnsys project is developed and supported through GitHub. You can post issues and request new features on the the Issues page for each package, or contact PyAnsys support. For more details, please refer to PyAnsys GitHub page: https://github.com/pyansys
Thank you.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Error with workbench SceneGraphChart
- License Error
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- how to open DesignModeler
- FlexNet Licensing – Not running
- Problem with FlexNet Licensing
- An error occurred when the post processor attempted to load a specific result.
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Numerical Problem Size limits with a model that should run
-
8762
-
4658
-
3151
-
1678
-
1456
© 2023 Copyright ANSYS, Inc. All rights reserved.