Skip to content

!EGROUP

Definition of an element group

First line

!EGROUP, EGRP=<egrp> [, optional parameter]
Parameter
EGRP Element group name (required)
GENERATE Automatic generation of nodes belonging to the element group (optional)
INPUT External file name (optional)
Parameter Value Description
EGRP <egrp> Element group name
GENERATE None Automatic generation of nodes belonging to the element group
INPUT <filename> External file name (optional); may also be used with the second and subsequent lines

Second and subsequent lines (when GENERATE is not used)

(2nd line) elem1, elem2, elem3 ...
(Continue in the same format.)
Variable Type Description
elemX I Element number belonging to the element group

Second and subsequent lines (when GENERATE is used)

(2nd line) elem1, elem2, elem3
(Continue in the same format.)
Variable Type Description
elem1 I First element number in the element group
elem2 I Last element number in the element group
elem3 I Element number increment (optional; elem3=1 when omitted)

Notes

  • Any number of elements can be entered on one line. Any number of lines can also be inserted until the next option begins.
  • The specified elements must be defined before !EGROUP.
  • Elements not defined by the !ELEMENT option are excluded and a warning message is displayed.
  • If a specified element already exists in the same group, it is ignored and a warning message is displayed.
  • All elements belong to the element group named ALL (generated automatically).
  • A single group can be defined in multiple separate definitions.

Example

!EGROUP, EGRP=EA01
1, 2, 3, 4, 5, 6
101, 102
205

!EGROUP, EGRP=EA02
101, 102

!EGROUP, EGRP=EA01                 "501, 505" are added to group "EA01".
501, 505

!EGROUP, EGRP=EA04, GENERATE      The following are added to group "NA04":
301, 309, 2                       "301,303,305,307,309,311,312,313".

311, 313