-
Notifications
You must be signed in to change notification settings - Fork 18
Description
π Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
π Description of the bug
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")
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
π Steps to reproduce
test.k manages the multiple .k fils or stages of a simulation.
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
25R2
π Which Python version are you using?
3.13
π¦ Installed packages
aiohappyeyeballs 2.6.1
aiohttp 3.12.15
aiosignal 1.4.0
ansys-api-dyna 0.4.2
ansys-dpf-core 0.14.1
ansys-dyna-core 0.9.0
ansys-tools-path 0.7.3
anyio 4.10.0
appdirs 1.4.4
argon2-cffi 25.1.0
argon2-cffi-bindings 25.1.0
arrow 1.3.0
asttokens 3.0.0
async-lru 2.0.5
attrs 25.3.0
babel 2.17.0
beautifulsoup4 4.13.5
bleach 6.2.0
certifi 2025.8.3
cffi 1.17.1
chardet 5.2.0
charset-normalizer 3.4.3
click 8.2.1
cmcrameri 1.9
cmocean 4.0.3
colorama 0.4.6
colorcet 3.1.0
comm 0.2.3
contourpy 1.3.3
cycler 0.12.1
debugpy 1.8.16
decorator 5.2.1
defusedxml 0.7.1
executing 2.2.0
fastjsonschema 2.21.2
fonttools 4.59.1
fqdn 1.5.1
frozenlist 1.7.0
grpcio 1.74.0
h11 0.16.0
hollerith 0.6.0
httpcore 1.0.9
httpx 0.28.1
idna 3.10
imageio 2.37.0
importlib-metadata 8.7.0
ipykernel 6.30.1
ipython 9.4.0
ipython-pygments-lexers 1.1.1
ipywidgets 8.1.7
isoduration 20.11.0
jedi 0.19.2
jinja2 3.1.6
joblib 1.5.1
json5 0.12.1
jsonpointer 3.0.0
jsonschema 4.25.1
jsonschema-specifications 2025.4.1
jupyter-client 8.6.3
jupyter-core 5.8.1
jupyter-events 0.12.0
jupyter-lsp 2.2.6
jupyter-server 2.17.0
jupyter-server-proxy 4.4.0
jupyter-server-terminals 0.5.3
jupyterlab 4.4.6
jupyterlab-pygments 0.3.0
jupyterlab-server 2.27.3
jupyterlab-widgets 3.0.15
kiwisolver 1.4.9
lark 1.2.2
markdown-it-py 4.0.0
markupsafe 3.0.2
matplotlib 3.10.5
matplotlib-inline 0.1.7
mdurl 0.1.2
meshio 5.3.5
mistune 3.1.3
more-itertools 10.7.0
msgpack 1.1.1
multidict 6.6.4
nbclient 0.10.2
nbconvert 7.16.6
nbformat 5.10.4
nest-asyncio 1.6.0
notebook-shim 0.2.4
numpy 2.3.2
packaging 25.0
pandas 2.3.2
pandocfilters 1.5.1
parso 0.8.5
pillow 11.3.0
pip 25.2
platformdirs 4.3.8
pooch 1.8.2
prometheus-client 0.22.1
prompt-toolkit 3.0.51
propcache 0.3.2
protobuf 5.29.5
psutil 7.0.0
pure-eval 0.2.3
pycparser 2.22
pygments 2.19.2
pyparsing 3.2.3
python-dateutil 2.9.0.post0
python-json-logger 3.3.0
pytz 2025.2
pyvista 0.46.2
pywin32 311
pywinpty 3.0.0
pyyaml 6.0.2
pyzmq 27.0.2
referencing 0.36.2
requests 2.32.4
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rfc3987-syntax 1.1.0
rich 14.1.0
rpds-py 0.27.0
scikit-learn 1.7.1
scipy 1.16.1
scooby 0.10.1
send2trash 1.8.3
setuptools 80.9.0
simpervisor 1.0.0
six 1.17.0
sniffio 1.3.1
soupsieve 2.7
stack-data 0.6.3
terminado 0.18.1
threadpoolctl 3.6.0
tinycss2 1.4.0
tornado 6.5.2
tqdm 4.67.1
traitlets 5.14.3
trame 3.12.0
trame-client 3.10.1
trame-common 1.0.1
trame-server 3.6.0
trame-vtk 2.9.1
trame-vuetify 3.0.2
transformations 2025.1.1
types-python-dateutil 2.9.0.20250822
typing-extensions 4.15.0
tzdata 2025.2
uri-template 1.3.0
urllib3 2.5.0
vtk 9.5.0
wcwidth 0.2.13
webcolors 24.11.1
webencodings 0.5.1
websocket-client 1.8.0
widgetsnbextension 4.0.14
wslink 2.4.0
yarl 1.20.1
zipp 3.23.0