Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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

Reno Genest
Ansys Employee

Hello,

The timeout may throw an error message. You may want to catch the error with try: and except: as in the code block in my previous post:

try:

     subprocess.run([...], timeout=3000)

except:

       print("Run time exceeded. Go to the next run.")

 

Let me know how it goes.

 

Reno.

[bingo_chatbox]