Examples#

These examples show end-to-end workflows for using PyDyna to create keyword files for LS-DYNA and then solve them from Python. Many are adapted from the LS-DYNA Knowledge Base.

“””

Jupyter notebook plotting

Jupyter notebook plotting

Beer can buckling#

This example is adapted from https://lsdyna.ansys.com/example-nonlinear-2/ to run from Python. It is a highly nonlinear problem that whose solution will not fully converge, but that is expected.

Buckling of beer can example

Buckling of beer can example

Pendulum#

This example is adapted from https://lsdyna.ansys.com/pendlum/ to run from Python.

John Reid pendulum example

John Reid pendulum example

Pipe#

This example is adapted from https://lsdyna.ansys.com/pipe-d51/ to run from Python.

John Reid pipe example

John Reid pipe example

Optimization#

This example demonstrates how to optimize the thickness of a plate using PyDYNA.

Plate Thickness Optimization

Plate Thickness Optimization

Taylor bar impact#

This example, inspired by the https://lsdyna.ansys.com/bar-a/ example, shows how to use PyDyna to parameterize a LS-DYNA problem and compare results.

Taylor bar example

Taylor bar example

Gallery generated by Sphinx-Gallery