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.
“””
Airbag examples#
These examples show how to create and use airbag models.
Beer can buckling#
Note: due to https://github.com/ansys/pydyna/issues/583, this example is not available in the documentation. But it can be found in the code at https://github.com/ansys/pydyna/tree/main/examples/Buckling_Beer_Can
EM examples#
These examples show how to create and use electromagnetic models.
Resistive heating 2D connect isopotential
Resistive heating 2D multiple-connect isopotential
Explicit examples#
These examples show how to create and use explicit models.
ICFD examples#
These examples show how to create and use ICFD incompressible computational fluid dynamics) models.
ISPH examples#
These examples show how to create and use ISPH (incompressible smooth particle hydrodynamics) models.
Implicit examples#
These examples show how to create and use implicit models.
Pendulum#
This example is adapted from https://lsdyna.ansys.com/pendlum/ to run from Python.
Pipe#
This example is adapted from https://lsdyna.ansys.com/pipe-d51/ to run from Python.
NVH examples#
These examples show how to create and use NVH (noise, vibration, and harshness) models.
FRF for a colume model with a hole
S-ALE examples#
These examples show how to create and use S-ALE (Structured ALE) models.
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.
Thermal examples#
These examples show how to create and use thermal models.