imat_elem/imat_elem


Purpose

Create an IMAT_ELEM element object.

Syntax

elem=imat_elem
elem=imat_elem(tl)
elem=imat_elem(s)
elem=imat_elem(id,type,conn,color,prop,beamdata)
elem=imat_elem(id,type,conn)

Description

The IMAT_ELEM class contains FEM element information. It provides a number of methods for working with the data.

IMAT_ELEM with no arguments will create an empty IMAT_ELEM object.

IMAT_ELEM(TL), where TL is an imat_tl, converts the traceline into an IMAT_ELEM object. It uses imat_tl/to_elem to perform the conversion.

IMAT_ELEM(S), where S is a structure containing fields with the same name as the properties of IMAT_ELEM will convert the structure into an IMAT_ELEM object.

IMAT_ELEM(ID,...) where the input argument are the same as the ADD method, will create an IMAT_ELEM with the element information added.

The IMAT_ELEM object contains several properties that define the elements:

.id Element IDs (list must be unique and positive)
.type

Vector of element types (non-negative). The type follows the NASTRAN convention.

.color

Vector of node colors (non-negative). The colors follow the I-deas convention.

.prop

Nx2 matrix of property IDs. IMAT does not use this information; it is stored here for round-trip completeness with Universal files. The first column contains the physical property ID and the second contains the material property ID.

.beamdata Nx3 matrix of beam data IDs. IMAT does not use this information; it is stored here for round-trip completeness with Universal files. For non-beam elements, the entries will be 0. For beam elements, the first column contains the beam orientation node number. The second column contains the fore end beam cross-section, and the third column contains the aft end ID.
.extra Nx1 cell array containing element-specific "extra" data.
.conn Cell array of numeric vectors containing the node IDs defining the element connectivity. For parabolic elements, the corner nodes are specified first, followed by the midside nodes.


See Also

imat_fem, imat_cs, imat_node, imat_tl, imat_fem/partition, imat_tl/to_elem, imat_fem/validate