NairnFEAMPM Icon

PolyPt Command

A series of PolyPt commands defines a shape specified by some points to be filled with material points, to assign element materials, to be defined as a hole, or for boundary conditions. It can define either a 2D shape or a 3D shape.

In 2D simulations, the PolyPt command points define a polygon region:

PolyPt (x1),(y1)
PolyPt (x2),(y2)
   . . .
PolyPt (xn),(yn)
PolyPt

where x and y (or R and Z if axisymmetric) are 2D coordinates of points (in length units) to be connected into a polygon. If the arguments are omitted, the polygon is completed, which allows a region or hole to have more than one polygon. The last point will automatically be connected to the first point to define a closed polygon.

In 3D simulations, the PolyPt commands define 4 to 8 points in 3D space defining various types of 3D shapes:

PolyPt (x1),(y1),(z1)
PolyPt (x2),(y2),(z2)
   . . .
PolyPt (xn),(yn),(zn)
PolyPt (style),(details)

where (x, y, z) are 3D coordinates of points (in length units). The polyhedron defined by the points is determined by the final PolyPt command where:

Some graphics illustrating these shapes is on-line here.