Ansys Learning Forum › Forums › Discuss Simulation › LS Dyna › Location of results when using python or cmd to call ls-run to calculate k files › Reply To: Location of results when using python or cmd to call ls-run to calculate k files
Hello,
It does happen for a specific model and a specific LS-DYNA solver that the run is "hanging" and nothing is happening. We can verify by looking at the LS-DYNA process in task manager (CPU usage %, etc.). If the CPU % is almost zero, then the run is hanging. I am not sure how to check this with Python code. Maybe you can find something with a Google search.
Or, you may be able to check the messag file and kill the run if there is nothing written to the file for a certain period of time.
The situation when the LS-DYNA solver is hanging is called a deadlock. You will find more information about deadlocks here:
Deadlocks guide - SQL Server | Microsoft Learn
Introduction of Deadlock in Operating System - GeeksforGeeks
Â
In the above 2 links, you will find ways to identify deadlocks. You can try to implement these methods with Python.
Â
Reno.
Â
Reno.