pcirc#
- Mapdl.pcirc(rad1='', rad2='', theta1='', theta2='', **kwargs)#
Create a circular area centered about the working plane origin.
APDL Command: PCIRC
Defines a solid circular area or circular sector centered about the working plane origin. For a solid circle of 360°, the area will be defined with four keypoints and four lines. See the
cyl4
andcyl5
commands for alternate ways to create circles.- Parameters:
- rad1, rad2
Inner and outer radii (either order) of the circle. A value of either zero or blank for either
rad1
orrad2
, or the same value for bothrad1
andrad2
, defines a solid circle.- theta1, theta2
Starting and ending angles (either order) of the circular area. Used for creating a circular sector. The sector begins at the algebraically smaller angle, extends in a positive angular direction, and ends at the larger angle. The starting angle defaults to 0.0° and the ending angle defaults to 360.0°. See the Modeling and Meshing Guide for an illustration.
- Returns:
int
Area number of the new circular area.
- Return type:
Examples
In this example a circular area with an inner radius of 0.95 and an outer radius of 1 is created.
>>> anum = mapdl.pcirc(0.95, 1) >>> anum 1