Main Help → All Commands → MPM Grid and Material Points → Cylinder
The Cylinder
command defines a cylindrical volume to be filled with material points or defined as a hole:
Cylinder (xmin),(xmax),(ymin),(ymax),(zmin),(zmax),(axis),<(radius)>
where
xmin
, xmax
, ymin
, ymax
, zmin
, and zmax
, respectively, are the ranges for the cubical volume that encloses the cylinder (in length units). If xmax<xmin
, ymax<ymin
, or zmax<zmin
, they will be automatically switched to define the cylindrical volume.(axis)
is 1, 2, 3 (or x, y, z) for the axial direction of the cylinder to be in the x, y, or z direction, respectively.(radius)
is an optional parameter with a value between -1 and 1. This value gives the relative radius of the cylinder at the top (if > 0) or at the bottom of the cylinder (if < 0) while the opposite end will have relative radius of 1. Entering 0 gives a cone with a point on the top (to get a cone with point on the bottom enter a small negative number). The relative radius varies linearly along the length on the cylinder.