26.2.4 Obtaining part information

Products: ABAQUS/Standard  ABAQUS/Explicit  

References

Overview

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.


GETPARTINFO and VGETPARTINFO (obtain part instance information given global node/element number)

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 number corresponding to INTNUM.

JRCD

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


GETINTERNAL and VGETINTERNAL (obtain global node/element number given part instance information )

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 number to be looked up.

JTYP

An integer flag indicating whether LOCNUM 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

INTNUM

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

JRCD

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

Example