pset

Give a name to a selected set of points.

Formats

pset / pset_name / seq / ifirst, ilast, istride

pset / pset_name / logic_oper / pset1 [pset2 / ... / psetn]

pset / pset_name / list

pset / pset_name / delete

pset / pset_name / attribute / attribute_name / ifirst, ilast, istride / value / relation_oper

pset / pset_name / zq / attribute_name / ifirst, ilast, istride / value / relation_oper

pset / pset_name / region / region_name /ifirst, ilast, istride

pset / pset_name / mregion / mregion name / ifirst, ilast, istride

pset / pset_name / geom. / xyz / ifirst, ilast, istride / xl, yl, zl / xu, yu, zu / xcen, ycen, zcen

pset / pset_name / geom. / rtz / ifirst, ilast, istride / r1, t1, z1 / r2, t2, z2 / xcen, ycen, zcen

pset / pset_name / geom. / rtp / ifirst, ilast, istride / r1, t1, p1 / r2, t2, p2 / xcen, ycen, zcen

pset / pset_name / surface / surface_name / [ifirst, ilast, istride]

pset / pset_name / eset / eset_name

 

pset Parameters

Parameters

Type/Value

Description/Default

pset_name

char*32

 

seq

seq

forms a pset of the nodes in ifirst, ilast, istride

ifirst, ilast, istride

integers

1,0,0 refers to all nodes; 0,0,0 refers to the last set of nodes created; i,j,k refers to points I through j using stride k.

logic_oper

union

inter

not

delete

Logical operations on previously defined psets. The definition of the unary operator not is extended such that not/p1/p2 means
p1 and (not(p2)).

pset1 [pset2 / ... / psetn

char*32

 

list

list

list lists nodes in a pset or names of all psets

delete

delete

delete deletes a previously defined pset

attribute

attribute

attribute forms a pset from all points in ifirst,ilast,istride which have the specified value for a node based attribute. This option was previously named zq.
If the optional comparator field is given; that operation is used to compare the attribute value to the requested value.

attribute_name

char*32

 

value

eal

 

relation_oper

le

ge

lt

le

ne

eq

 

zq

zq

See attribute above, under this command.

region

region

 

region_name

char*32

 

mregion

mregion

Will return all nodes that are in the specified mregion - the definition of the mregion is evaluated to determine membership. Hence the result may vary from what would be returned if the 'imt1' value of the nodes had been queried using the attribute option.

mregion_name

char*32

 

geom

geom

 

xyz

xyz

Forms a pset from all points inside the box whose corners are xl,yl,zl and xu,yu,zu relative to the geometry center at xc,yc,zc.

xl, yl, zl

reals

 

xu, yu, zu

reals

 

xcen, ycen, zcen

reals

 

rtz

rtz

Forms a pset of nodes within the cylinder or cylindrical shell given by radius r1 to r2, angle t1 to t2 and height z1 to z2.

r1, t1, z1

reals

 

rtp

rtp

Forms a pset of nodes within the sphere, sperical shell or sperical section given by r1 to r2, and angles t1 to t2 and p1 to p2. See the section of Mesh Definitions for an explanation of angles theta and phi.

r1, t1, p1

reals

 

r2, t2, p2

reals

 

surface

surface

Selects the nodes that are on the specified surface.

surface_name

-interface-

All interface nodes will be returned.

 

-boundary-

All nodes on external bounding surfaces will be returned.

 

-all-

All nodes on any surface are returned.

eset

eset

Return all the nodes that are vertices of the elements in the specified element set.

eset_name

char*32

Previously assigned element set name

Examples

pset / apset / seq /1, 0, 0

associate the pset name apset with all points.

 

pset / apset / seq / 0, 0, 0

associate the pset name apset with the last set of nodes created.

 

pset / apset / union / pset1, pset2, pset3

associate the pset name apset with the set of nodes which belong to at least one of pset1, pset2, pset3.

 

pset / apset / inter / pset1, pset2, pset3

associate the pset name apset with the set of nodes which belong to pset1, and pset2, and pset3.

 

pset / apset / not / pset1, pset2, pset3

associate the pset name apset with the set of nodes which belong to pset1, and do not belong to pset2, and do not belong to pset3

 

pset / apset / not / pset1

associate the pset name apset with the set of nodes which do not belong to pset1

 

pset / / list

list the names of all psets

 

pset / apset / attribute / itp / 1, 0, 0 / 10 / ge

associate the name apset with the points whose type field (itp1) has value greater than or equal to 10 (these would be boundary nodes).

 

pset / mypset / list

list the node numbers of the members of mypset


pset / mypset / geom. / xyz / 1, 0, 0 / 1., 1., -5. / 10., 20., 10.

associate the name mypset with all nodes that fall with the box with corners at (1,1,-5) and (10,20,10)

 

pset / mypset / geom. / rtz / pset, get, oldpset

associate the name spseta with the set of nodes that lie on the surface s2 and which are members of the pset spset This command and the previous command would identify the nodes that are on the intersection of surfaces s1 and s2 and give the name spseta to these nodes.

Assigns the processee and processor numbers that run this job.