Keywords#
The keywords
module can be used to interact with LS-DYNA keywords.
Overview#
The keywords` module of PyDyna provides Python libraries to build an Ansys LS-DYNA keyword deck.
Usage#
Here’s an example of how you can generate a *SECTION_TSHELL` keyword:
>>> from ansys.dyna.core.keywords import keywords
>>> shell = keywords.SectionTShell()
>>> shell
*SECTION_TSHELL
$# secid elform shrf nip propt qr icomp tshear
1 1.0 2 1.0 0 0 0
Examples#
Examples showing end-to-end workflows for using PyDyna -
write a deck using the keywords
module and run the solver using the run
module.
Buckling_Beer_Can
John_Reid_Pendulum
John_Reid_Pipe
Taylor_Bar