Obtaining Part Information

Several utility routines are available to allow you to obtain information about your part instances.

Utility routines GETPARTINFO and VGETPARTINFO can be called from any Abaqus/Standard or Abaqus/Explicit user subroutine, respectively, to retrieve the part instance name and original node or element number corresponding to an internal node or element number. Utility routines GETINTERNAL and VGETINTERNAL can be called from any Abaqus/Standard or Abaqus/Explicit user subroutine, respectively, to retrieve the internal node or element number corresponding to a part instance name and original node or element number. The part file (jobname.prt) must be available. The expense of calling these routines is not trivial, so minimal use of them is recommended.

This page discusses:

GETPARTINFO and VGETPARTINFO (Obtain Part Instance Information Given Global Node/Element Number)

Utility Routine Interface

      CHARACTER*80 CPNAME
      ...
      CALL GETPARTINFO(INTNUM, JTYP, CPNAME, LOCNUM, JRCD)
      or
      CALL VGETPARTINFO(INTNUM, JTYP, CPNAME, LOCNUM, JRCD)

Variables to Be Provided to the Utility Routine

INTNUM

The internal (global) node or element number to be looked up.

JTYP

An integer flag indicating whether INTNUM is a node or element number. Set JTYP=0 to look up a node number, and set JTYP=1 to look up an element number.

Variables Returned from the Utility Routine

CPNAME

The name of the part instance that contains INTNUM. An empty part instance name indicates that the node or element is at the assembly level and is not included in any part instance.

LOCNUM

The part-local node or element label corresponding to INTNUM.

JRCD

Return code (0–no error, 1–error).

GETINTERNAL and VGETINTERNAL (Obtain Global Node/Element Number Given Part Instance Information )

Utility Routine Interface

      CHARACTER*80 CPNAME
      ...
      CALL GETINTERNAL(CPNAME, LOCNUM, JTYP, INTNUM, JRCD)
      or 
      CALL VGETINTERNAL(CPNAME, LOCNUM, JTYP, INTNUM, JRCD)

Variables to Be Provided to the Utility Routine

CPNAME

The name of the part instance that contains LOCNUM.

LOCNUM

The part-local node or element label to be looked up.

JTYP

An integer flag indicating whether LOCNUM is a node or element label. Set JTYP=0 to look up a node number, and set JTYP=1 to look up an element number.

Variables Returned from the Utility Routine

INTNUM

The internal (global) node or element label corresponding to LOCNUM in part instance CPNAME.

JRCD

Return code (0–no error, 1–error).