USRELEM, NNODES
, NDIM
, KeyShape
, NREAL
, NSAVEVARS
, NRSLTVAR
, KEYANSMAT
, NINTPNTS
, KESTRESS
, KEYSYM
Specifies the characteristics of the user-defined element USER300.
NNODES
The number of nodes.
NDIM
The number of dimensions (of nodal coordinates). Valid values are 2 or 3.
KeyShape
One of the following element shape options:
ANYSHAPE | — | Any shape (that is, no specified shape). This value is the default. (The ANSYS MeshTool is unavailable.) |
POINT | — | Point. |
LINE | — | Straight line. |
TRIAN | — | Triangle. |
QUAD | — | Quadrilateral. This shape can be degenerated to a triangle. |
TET | — | Tetrahedron. |
BRICK | — | Brick. This shape can be degenerated to a wedge, pyramid, or tetrahedron. |
NREAL
The number of real constants.
NSAVEVARS
The number of saved variables.
NRSLTVAR
The number of variables saved in results files.
KEYANSMAT
Key for element formulation control:
0 | — | Create your own material codes within the element formulation. In this case, the real constants are available to input material properties. You can also input linear material properties via MP and MPDATA commands . |
1 | — | Use ANSYS standard material routines
or the |
NINTPNTS
The maximum number of integration points (used when KEYANSMAT
= 1).
KESTRESS
Key for the element stress state (used when KEYANSMAT
= 1):
0 | — | Plane stress elements. |
1 | — | Axisymmetric elements. |
2 | — | Plane strain elements. |
3 | — | 3-D solid elements. |
4 | — | 3-D solid-shell elements. |
5 | — | Generalized plane strain elements. |
6 | — | Beam elements. |
7 | — | Link/truss elements. |
8 | — | 3-D shell elements. |
9 | — | Axisymmetric shell elements. |
KEYSYM
Key for specifying whether element stiffness matrices are symmetric or unsymmetric:
0 | — | Symmetric. |
1 | — | Unsymmetric. |
The USRELEM command specifies the characteristics of the user-defined element USER300.
Although you can intersperse other commands as necessary for your analysis, issue the USRELEM command as part of the following general sequence of commands:
The number of real constants (NREAL
) can refer to geometry quantities, material quantities, or any parameters
for element formulation.
ANSYS saves variables in the .esav file
to preserve element data when you specify a positive NSAVEVARS
value. When KEYANSMAT
= 0, all variables of both material and kinematic formulation are
saved. When KEYANSMAT
= 1, only the variables
for kinematic formulation (such as deformation gradient tensor) are
saved; in this case, the material routine saves all necessary material
data automatically.
Element data saved in results files (NRSLTVAR
) are accessible only as nonsummable miscellaneous data. ANSYS saves
stress and total strain data for structural elements in the .rst file automatically (as it does for equivalent variables
such as thermal gradient and thermal flux in thermal elements); therefore, NRSLTVAR
does not need to include stress and total
strain data.
To learn more about creating user-defined elements, see Creating a New Element in the Programmer's Reference.