et

Mapdl.et(itype='', ename='', kop1='', kop2='', kop3='', kop4='', kop5='', kop6='', inopr='', **kwargs)

Define a local element type from the element library.

APDL Command: ET

Parameters
itype

Arbitrary local element type number. Defaults to 1 + current maximum.

ename

Element name (or number) as given in the element library in Chapter 4 of the Element Reference. The name consists of a category prefix and a unique number, such as PIPE288. The category prefix of the name (PIPE for the example) may be omitted but is displayed upon output for clarity. If ename=0, the element is defined as a null element.

kop1, kop2, kop3, kop4, kop5, kop6

KEYOPT values (1 through 6) for this element, as described in the Element Reference.

inopr

If 1, suppress all element solution printout for this element type.

Notes

The ET command selects an element type from the element library and establishes it as a local element type for the current model. Information derived from the element type is used for subsequent commands, so the ET command(s) should be issued early. (The Element Reference describes the available elements.)

A special option, ename=0, permits the specified element type to be ignored during solution without actually removing the element from the model. Ename may be set to zero only after the element type has been previously defined with a nonzero Ename. The preferred method of ignoring elements is to use the select commands (such as ESEL).

KOPn are element option keys. These keys (referred to as KEYOPT(n)) are used to turn on certain element options for this element. These options are listed under “KEYOPT” in the input table for each element type in the Element Reference. KEYOPT values include stiffness formulation options, printout controls, and various other element options. If KEYOPT(7) or greater is needed, input their values with the KEYOPT command.

The ET command only defines an element type local to your model (from the types in the element library). The TYPE or similar [KATT, LATT, AATT, or VATT] command must be used to point to the desired local element type before meshing.

To activate the ANSYS program’s LS-DYNA explicit dynamic analysis capability, use the ET command to choose an element that works only with LS-DYNA (such as SHELL163).

Examples

Define an element type. Allow MAPDL to pick your the element type.

>>> etype_num = mapdl.et('', 'SURF154')
>>> etype_num
1

Define an element type while specifying the element type number.

>>> etype_num = mapdl.et(2, 'SOLID186')
>>> etype_num
2
Return type

Optional[int]