Skip to content

!NGROUP

Definition of node groups

First line

!NGROUP, NGRP=<ngrp> [, optional parameter]
Parameter
NGRP Node group name (required)
GENERATE Automatic generation of nodes belonging to the node group (optional)
INPUT External file name (optional)
Parameter Value Description
NGRP <ngrp> Node group name
GENERATE None Automatic generation of nodes belonging to the node 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) nod1, nod2, nod3
(Continue in the same format.)
Variable Type Description
nodX I Node number belonging to the node group

Second and subsequent lines (when GENERATE is used)

(2nd line) nod1, nod2, nod3
(Continue in the same format.)
Variable Type Description
nod1 I First node number in the node group
nod2 I Last node number in the node group
nod3 I Node number increment (optional; if omitted, nod3=1)

Notes

  • Any number of nodes may be placed on one line. Any number of lines may also be inserted until the next option begins.
  • The specified nodes must be defined before "!NGROUP".
  • Nodes not defined by the "!NODE" option are excluded and a warning message is displayed.
  • If a specified node already exists in the same group, it is ignored and a warning message is displayed.
  • All nodes belong to the node group named "ALL" (generated automatically).
  • A single group may be defined in multiple separate definitions.

Example

!NGROUP, NGRP= NA01
1, 2, 3, 4, 5, 6
101, 102
!NGROUP, NGRP= NA02
101, 102
!NGROUP, NGRP= NA01              --- "501, 505" are added to group "NA01".
501, 505
!NGROUP, NGRP= NA02              --- "501, 505" are added to group "NA02".
501, 505
!NGROUP, NGRP= NA04,GENERATE     --- to group "NA04",
301, 309, 2                      --- "301,303,305,307,309,311,312,313" are added.
311, 313