Closed Boo-Ya-z closed 1 year ago
It seems to be blocked
@hpohekar please can you triage this just to see if it's reproducible. Ignore the details about when. Just do a straightforward PyFluent-based test.
@seanpearsonuk Yes, solver.solution.run_calculation.interrupt(end_of_timestep=False)
is not working.
We are able to interrupt iterations through GUI mode as follows for now.
We don't have a way to execute settings API commands in non-waiting mode.
We will discuss this with settings API team.
look this ,Integrate it into a web service application and control Fluent through web requests
π Before submitting the issue
π Description of the bug
solver.tui.solve.dual_time_iterate(2000,20)
,fluent is calculating. but i want stop calculating with settings objectssolver.solution.run_calculation.interrupt(end_of_timestep=False)
,it doesn't work...π Steps to reproduce
By using the Python web framework, place pyfluent inside this, use HTTP requests to control fluent, send tui to the app, and execute tui using the python exec function .
exec("fl.Fluent."+tui)
fl.Fluent
is Solver Session object andtui
is tui stringπ» Which operating system are you using?
Windows
π Which ANSYS version are you using?
ansys 2023R1
π Which Python version are you using?
3.10
π¦ Installed packages