- Mapdl.sph4(xcenter='', ycenter='', rad1='', rad2='', **kwargs)#
Create a spherical volume anywhere on the working plane.
APDL Command: SPH4
Defines either a solid or hollow spherical volume anywhere on the working plane. The sphere must have a spatial volume greater than zero. (i.e., this volume primitive command cannot be used to create a degenerate volume as a means of creating an area.) A sphere of 360° will be defined with two areas, each consisting of a hemisphere. See the
sph5commands for other ways to create spheres.
When working with a model imported from an IGES file (DEFAULT import option), you can create only solid spheres. If you enter a value for both
rad2the command is ignored.
- xcenter, ycenter
Working plane X and Y coordinates of the center of the sphere.
- rad1, rad2
Inner and outer radii (either order) of the sphere. A value of zero or blank for either
rad2defines a solid sphere.
Volume number of the sphere.
This example creates a hollow sphere with an inner radius of 0.9 and an outer radius of 1.0 centered at
>>> vnum = mapdl.sph4(0, 0, rad1=0.9, rad2=1.0) >>> vnum 1
- Return type: