Closed baldang closed 1 month ago
At present it is not possible.
We can look into implementing this as a PyFluent feature. One option is to use the AutoPauseEvent
event.
Many thanks for the support, I updated ansys-fluent-core to 0.19.2 (fluent 23R2) but I get the following error:
ansys.fluent.core.exceptions.DisallowedValuesError: AutoPauseEvent is not an allowed event-name name.
The most similar names are: AboutToReadCaseEvent.
Many thanks for the support, I updated ansys-fluent-core to 0.19.2 (fluent 23R2) but I get the following error:
ansys.fluent.core.exceptions.DisallowedValuesError: AutoPauseEvent is not an allowed event-name name. The most similar names are: AboutToReadCaseEvent.
The AutoPauseEvent
is available in the main branch only. For now, the script shared above should work, we plan to release this as a feature in future.
🔍 Before submitting the issue
🐞 Description of the bug
I am running an unsteady simulation and I am using a callback at the end of each time step
I would like to have a "synchronous" behavior, meaning that the next time step is computed only when the computations (above replaced with a 5s sleep) inside the
callback_executed_at_end_of_time_step
are terminated. Is there any chance to obtain this?The same behavior is reproducible in Linux and Windows with python 3.11.
📝 Steps to reproduce
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
23R2
🐍 Which Python version are you using?
3.11
📦 Installed packages