-
-
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
Forum ModeratorHello,
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.
-
- The topic ‘Plotting residuals and definitions plots directly inside Python’ is closed to new replies.
-
3467
-
1057
-
1051
-
929
-
896
© 2025 Copyright ANSYS, Inc. All rights reserved.