Function IELEMTYPE

Returns the type of element i. If k is not zero, then k is the external element number associated with the external element number i.

Calling convention:

ii = ielemtype(i,k)
Variable name Data type Description
Return value
ii Integer Integer that indicates the type of element i.

ii = -1 means that the input i is out of the range of labels for both model elements and thermal solver created elements. In this case, the labels do not exist.

ii = 0 i is defined in the user model.

ii = 1 i is a reverse side element associated with element k.

ii = 2 i is an Oppenheim element associated with element k.

ii = 3 i is an element surface coated on element k. It is not possible to retrieve ii = 3 from the model.

ii = 4 i is a uniform multilayer element of element k.

ii = 5 i is an Oppenheim element of reverse side of element k.

ii = 6 i is a space element.

ii = 7 i is a CFD element.

ii = 8 i is a thermal solver created hydraulic element connected to k.

ii = 9 i is a thermal solver created element that is connected to element k. An example of these elements are boundary elements.

Arguments
i Integer The input value of external element number.
k Integer The returned value of the external element number associated with element i. For example, if ii=2, then i is an Oppenheim element associated with element k. If ii=1, then i is a reverse side and k is the front side label.