ansys.mapdl.core.Mapdl.rprism#

Mapdl.rprism(z1='', z2='', nsides='', lside='', majrad='', minrad='', **kwargs)#

Creates a regular prism volume centered about the working plane origin.

Mechanical APDL Command: RPRISM

Parameters:
z1str

Working plane Z coordinates of the prism.

z2str

Working plane Z coordinates of the prism.

nsidesstr

Number of sides in the polygon defining the top and bottom faces of the prism. Must be greater than 2.

lsidestr

Length of each side of the polygon defining the top and bottom faces of the prism.

majradstr

Radius of the major (or circumscribed) circle of the polygon defining the top and bottom faces of the prism. Not used if LSIDE is input.

minradstr

Radius of the minor (or inscribed circle) of the polygon defining the top and bottom faces of the prism. Not used if LSIDE or MAJRAD is input.

Notes

Defines a regular prism volume centered about the working plane origin. The prism must have a spatial volume greater than zero. (that is, this volume primitive command cannot be used to create a degenerate volume as a means of creating an area.) The top and bottom faces are polygonal areas that are parallel to the working plane but neither face need be coplanar with (that is, “on”) the working plane. The first keypoint defined for each face is at θ = 0°. See the rpr4 and prism commands for other ways to create prisms.