push#

DbElems.push(ielm, elmdat, nodes)[source]#

Push an element into the database.

Examples

Push a new linear hexahedron to MAPDL. This assumes that element type 1 has been set to SOLID185 with mapdl.etype(1, "SOLID185").

>>> elems = mapdl.db.elems
>>> elems.push(
...     1,
...     [1, 1, 1, 1, 0, 0, 1, 0, 0, 0],
...     [1, 2, 3, 4, 5, 6, 7, 8],
... )