I'm working on a simulation project using LS-DYNA and integrating it with a Python-based workflow using PyDyna. The same .k file runs successfully in GUI (Graphical User Interface) mode, but fails when executed via PyDyna.
from ansys.dyna.core.run import run_dyna
run_dyna("test.k", working_directory=r"../test3")
>>> test.k manages the multiple .k files or stages of a simulation.
Error Message (from lsrun.out.txt):
*** Error 10149 (KEY+149)
can find neither internal nor external lscasedriver program
while executing C:\Program Files\ANSYS Inc\v252\ansys\bin\winx64\lsdyna_dp.exe
Execution cannot continue
Try executing with "case" as a command line option (no quotes) to
turn on the built in case handling capability
Warning: can't find "C:\lscasedriver.exe
Will attempt to use lsdyna instead
Error termination
version : 25R2
Python version : 13.3.5
```