next up previous contents index
Next: CONSTRUCT SHAPE Up: CONSTRUCT SET Previous: CONSTRUCT SET OPEN [Set_name]

CONSTRUCT SET [Set_Name] REMOVE

  This command is used to remove geometric parts or elements from a set.

FEMGEN Command          

CONSTRUCT SET [Set_Name] REMOVE [Type] Part

This command removes geometric parts from sets which have been previously activated using the command CONSTRUCT SET OPEN or from the set named in the command.


Set_Name= optional name of the set from which parts are to be removed. This must
be an existing set. If no name is given then parts will be removed from
all the currently open sets. A named set is automatically closed and
completed after execution of the command, whilst the currently open sets
will remain open and uncompleted. The CONSTRUCT SET CLOSE
command will cause a set to be completed, unless it was first opened
with the INCOMPLETE, LIST or LOOP keywords. See note 3.
Type = optional specification of the level of part that is to be removed from the
set (see below). If omitted all levels of parts will be removed.
Part = name of a point, line, surface, body, set, or `ALL' (all parts) to be
removed from the set(s). More than one part may be specified at a
time and parts may be identified by name or by using the graphics cursor
(see below).


Type Comments
No type All the parts that make up the named part are removed from the set(s).
POINTS All the points that make up the named part are removed from the set(s).
LINES All the lines that make up the named part are removed from the set(s).
SURFACES All the surfaces that make up the named part are removed from the set(s).
BODIES All the bodies that make up the named part are removed from the set(s).

Selection of parts using the Cursor
The graphics cursor may be used to identify parts by picking. The graphics cursor is placed near the required part and either a mouse button is used in which case the nearest part of any type will be selected, or a keyboard key may be used to identify the type of part to be picked namely:


P - for a point
L - for a line
S - for a surface
B - for a body

The drivers for some graphics devices are case sensitive such that use of a lower case letter allows the picking process to continue within the same command and use of an upper case letter or a `C/R' will cause the picking process to terminate.

Also, via use of the keyword CURSOR, the graphics cursor can be used to control other remove operations based on the position of a part on the screen as follows:


Control Comments
LEFT removes parts that lie entirely on the specified side of a section
RIGHT line defined by two cursor positions.
TOP
BOTTOM
POLYGON removes parts that lie entirely within the polygon specified by
up to 20 cursor positions. Note that the middle mouse button (or
right button on a two button mouse) should be used to specify
the polygon vertices, the last vertex should be specified with left
button to complete the polygon.

The CURSOR commands are recorded in the history file as CONSTRUCT SET REMOVE MODEL DIVIDE/POLYGON followed by the cursor positions in model coordinates. This is done to ensure reliable playback from history files.

Only parts that are currently being displayed will be considered. Parts are then removed from the set if all of their primary defining parts satisfy the test (ie end points of lines are considered, but points defining the centres of arcs are not).

Return Level: CONSTRUCT SET REMOVE

Notes:

1.
General use
The command may be repeated to remove several parts or previously defined sets. Existing sets can be re-opened to remove more parts.
2.
Limits
A maximum of 10 parts may be specified within the same command.

3.
Set completion
The checks that are performed when a set is closed will depend on how the set was first opened.

Sets that have been created with the default options will be automatically completed, so that all parts used in the definition of higher order parts will be added to the set. Thus, if a body is added to a set, then when the set is closed all the surfaces, lines and points that make up the body are also added to the set.

Sets that have been initially opened with the LIST or LOOP keywords will be checked and modified so that they contain only parts of the given type and LOOP sets will also be checked for validity. The parts in 'LOOP' sets do not need to be given in topological order.

Sets that have been initially opened with the INCOMPLETE keyword are not completed or checked.

Examples:

1.
CONSTRUCT SET REMOVE P1

Remove point P1 from all the currently open sets.

2.
CONSTRUCT SET REMOVE SURFACES B1

Remove all the surfaces that make up B1 from all the currently open sets. If B1 is in the set these surfaces will be reappended on completion.

3.
CONSTRUCT SET SE4 REMOVE B1

Remove B1 and all the parts that make up B1 from set SE4.

4.
CONSTRUCT SET SE3 REMOVE LINES CURSOR TOP

Remove from the set SE3, all the lines that lie above the section line made with 2 cursor hits.

5.
CONSTRUCT SET REMOVE POINTS CURSOR POLYGON

Remove from all the currently open sets, all the points that lie within a polygon defined by up to 20 cursor hits.

FEMVIEW Command
                       

CONSTRUCT SET [Set_Name] REMOVE Type Range

This command removes a specified range of elements or nodes from the currently open sets. Removed elements or nodes will be indicated by the symbol `X' displayed at the element centroid or the node point.


Set_Name= Optional name of an existing set from which elements or nodes are to be
removed. If no name is given then elements or nodes will be removed
from all the currently open sets. A named set, if not currently open,
is automatically closed after execution of the command, whilst the
currently open sets will remain open until the CONSTRUCT SET CLOSE
command is issued.


Part Range Comments
OLD set name(s) The contents of the previously defined
set(s) are removed from the named or
open sets. Up to 10 existing sets may
be specified in one command, but all
must be of the same type i.e. all
node sets or all element sets.
NODES n1 n2 n3 ... Nodes in the specified range of
n1 TO n2 node numbers are removed from the
n1 TO n2 STEPS n3 named or open sets.
CURSOR ... The graphics cursor is used to
control remove operations based on the
position of nodes on the screen.
(See note 1).
IJK [BLOCK n] I n1 TO n2 Nodes within the specified IJK
... J n3 TO n4 K n5 TO n6 range are removed from the named
or open sets. This command is for
IJK regular models only. (Note that
if no BLOCK is specifed the
default is all blocks and that any
IJK range not specified defaults to
n1 - nmax).


Part Range Comments
ELEMENTS n1 n2 n3 ... Elements in the specified range of
n1 TO n2 element numbers are removed from
n1 TO n2 STEPS n3 the named or open set.
CURSOR ... The graphics cursor is used to
control remove operations based on
the position of elements
on the screen. (See note 1).
EXTERNAL All elements with a free face are
removed from the named or open sets.
TOP Angle These commands define a viewpoint
BOTTOM Angle at infinity at the specified side of the
FRONT Angle screen. A surface normal to each
BACK Angle free face of an element is
LEFT Angle calculated and the element removed
RIGHT Angle from the named or open sets if the
angle between its normal and line of
sight from the viewpoint is less than
the specified `Angle'. Effective only
with 3-dimensional solid elements.
XMIN Limit XMAX Limit These commands define a six sided
... YMIN Limit YMAX Limit bounding box in the model
... ZMIN Limit ZMAX Limit coordinate system. Between one and
six `Limits' to the box can be
specified; `Limits' not defined are
considered infinite. Elements that
have all nodes within the bounding
box are removed from the named or open
sets.
IJK [BLOCK n] I n1 TO n2 Elements within the specified IJK
... J n3 TO n4 K n5 TO n6 range are removed from the named
or open sets. This command is for
IJK regular models only. (Note that
if no BLOCK is specifed the
default is all blocks and that any
IJK range not specified defaults to
n1 - nmax).
GROUPS n1 n2 n3 ... Elements in the specified range
n1 TO n2 of element group numbers are
n1 TO n2 STEPS n3 removed from the named or open sets.
MATERIALS n1 n2 n3 ... Elements with material numbers in
n1 TO n2 the specified range are removed
n1 TO n2 STEPS n3 from the named or open sets.
TYPES Element_Type Elements of the specified type are
removed from the set.


Part Range Comments
RESULTS ABOVE v1 [BELOW v2] Nodes or elements respectively
BELOW v1 [ABOVE v2] (depending on whether the results are
BETWEEN v1 v2 nodal or elemental) with result
values equal to or above or below
or between the specified threshold
values are removed from the named
or open sets. A loadcase and
results attribute must be current.
Note that even if both ABOVE and
BELOW thresholds are specified
only one thresholdtest need be satisfied
for the node/element to be selected.
(ie. the test is a logical .OR. not a
logical .AND.) (See notes 2 and 3).
CURSOR ...... The graphics cursor is used to
control remove operations based on
the position of elements on the screen
for element sets, and the position of
nodes on the screen for node sets.
(See note 1).

Notes:

1.
The CURSOR control
The graphics cursor can be used as follows. Note that for operations on elements, the entire element (i.e. all it's nodes) must satisfy the control for the element to be selected.
Control Comments
LEFT Nodes/Elements that lie on the specified side
RIGHT of a section line defined by two cursor positions are
TOP removed from the named or open sets.
BOTTOM
POLYGON Nodes/Elements that lie within the polygon specified
by up to 20 cursor positions are removed from the
named or open sets. Note that the middle mouse
button (or right button on a two button mouse) should be
used to specify the polygon vertices. The last vertex
should be specified with the left button to complete the
polygon or by making a `hit' close to the 1st vertex.

2.
Removing elements (or element sets) from node sets
All the nodes that define the specified elements will be removed from the node set.

3.
Removing nodes (or node sets) from element sets
Any element connected to any of the specified nodes will be removed from the element set.

Examples:

1.
CONSTRUCT SET FRED REMOVE OLD RING SIDE TAIL

The contents of the existing sets named `RING', 'SIDE' and `TAIL' are removed from the set named `FRED'.

2.
CONSTRUCT SET REMOVE NODES 1 2 3 4 5

Nodes 1, 2, 3, 4 and 5 are removed from all the open sets.

3.
CONSTRUCT SET REMOVE ELEMENTS TOP 27.0

Elements with a free face, having a surface normal making an angle of less than or equal to 27.0 degrees with a line of sight from the top of the screen, are removed from all the open sets.

4.
CONSTRUCT SET REMOVE ELEMENTS XMIN 1.0 XMAX 2.0 YMIN 25

Elements having all nodes with X coordinates greater than or equal to 1.0 and less than or equal to 2.0 and Y coordinates greater than or equal to 25 are removed from all the open sets.

5.
CONSTRUCT SET REMOVE GROUPS 2 3 4

Elements in groups 2, 3 or 4 are removed from all the open sets.

6.
CONSTRUCT SET MATRL REMOVE MATERIALS 1 TO 3

Elements with material number 1, 2 or 3 are removed from the set named `Matrl'.

7.
CONSTRUCT SET REMOVE TYPES QU4 TR3

Elements of type `QU4' (4 node quadrilaterals) and type `TR3' (3 node triangles) are removed from all the open sets.

8.
CONSTRUCT SET PETE REMOVE RESULTS BELOW -1.5E4

Nodes or elements respectively (depending on whether the results are nodal or elemental) having current results values below -1.5E4 are removed from set `PETE'.

9.
CONSTRUCT SET PETE REMOVE ELEMENTS IJK I 2 TO 6

Elements in an IJK regular model having I values of 2 to 6, J values 1 to Jmax and K values 1 to Kmax are removed from set `PETE'.

10.
CONSTRUCT SET REMOVE ELEMENTS IJK BLOCK 1 J 3 K 10 TO 20

Elements in block 1 of an IJK regular model having I values of 1 to Imax, a J value of 3 and K values 10 to 20 are removed from all open sets.

See also the following commands

'UTILITY TABULATE CONSTRUCT SETS'
'UTILITY TABULATE SETS'


next up previous contents index
Next: CONSTRUCT SHAPE Up: CONSTRUCT SET Previous: CONSTRUCT SET OPEN [Set_name]

Femsys Limited
1st October 1999