e#

Mapdl.e(i='', j='', k='', l='', m='', n='', o='', p='', **kwargs)[source]#

Defines an element by node connectivity.

APDL Command: E

Defines an element by its nodes and attribute values. Up to 8 nodes may be specified with the e() command. If more nodes are needed for the element, use the emore() command. The number of nodes required and the order in which they should be specified are described in Chapter 4 of the Element Reference for each element type. Elements are automatically assigned a number [NUMSTR] as generated. The current (or default) MAT, TYPE, REAL, SECNUM and ESYS attribute values are also assigned to the element.

When creating elements with more than 8 nodes using this command and the EMORE command, it may be necessary to turn off shape checking using the SHPP command before issuing this command. If a valid element type can be created without using the additional nodes on the emore() command, this command will create that element. The emore() command will then modify the element to include the additional nodes. If shape checking is active, it will be performed before the emore() command is issued. Therefore, if the shape checking limits are exceeded, element creation may fail before the emore() command modifies the element into an acceptable shape.

Parameters:
i

Number of node assigned to first nodal position (node i).

j, k, l, m, n, o, p

Number assigned to second (node j) through eighth (node p) nodal position, if any.

Return type:

Optional[int]

Examples

Create a single SURF154 element.

>>> mapdl.prep7()
>>> mapdl.et(1, 'SURF154')
>>> mapdl.n(1, 0, 0, 0)
>>> mapdl.n(2, 1, 0, 0)
>>> mapdl.n(3, 1, 1, 0)
>>> mapdl.n(4, 0, 1, 0)
>>> mapdl.e(1, 2, 3, 4)
1

Create a single hexahedral SOLID185 element

>>> mapdl.et(2, 'SOLID185')
>>> mapdl.type(2)
>>> mapdl.n(5, 0, 0, 0)
>>> mapdl.n(6, 1, 0, 0)
>>> mapdl.n(7, 1, 1, 0)
>>> mapdl.n(8, 0, 1, 0)
>>> mapdl.n(9, 0, 0, 1)
>>> mapdl.n(10, 1, 0, 1)
>>> mapdl.n(11, 1, 1, 1)
>>> mapdl.n(12, 0, 1, 1)
>>> mapdl.e(5, 6, 7, 8, 9, 10, 11, 12)
2