5.3. Creating Your Solid Model from the Top Down: Primitives

In top down construction, you use geometric primitives (fully-defined lines, areas, and volumes) to assemble your model. As you create a primitive, the program automatically creates all the “lower” entities associated with it. A geometric primitive is a commonly used solid modeling shape (such as a sphere or regular prism) that can be created with a single Mechanical APDL command.

Because primitives are higher-order entities that can be constructed without first defining any keypoints, model generation that uses primitives is sometimes referred to as "top down" modeling. (When you create a primitive, the program automatically creates all the necessary lower-order entities, including keypoints.) Geometric primitives are created within the working plane.

You can freely combine bottom up and top down modeling techniques, as appropriate, in any model. Remember that geometric primitives are built within the working plane while bottom up techniques are defined against the active coordinate system. If you are mixing techniques, you may wish to consider using the CSYS,WP or CSYS, 4 command to force the coordinate system to follow the working plane.


Caution:  Solid modeling operations in a toroidal coordinate system are not recommended. Areas or volumes generated may not be what you expect.


5.3.1. Creating Area Primitives

Any area primitives you create will lie flat on the working plane and will be oriented according to the working plane coordinate system. Area primitives must have surface areas greater than zero (that is, you cannot create a degenerate area as a means of defining a line).

The interface between two touching primitives will create a seam of discontinuity in the finite element model, unless you take steps to "weld" that seam shut, using commands such as NUMMRG, AADD, or AGLUE.

You can define area primitives using the methods described in the following table.

Create aCommandGUI
rectangular area anywhere on the working plane RECTNG Main Menu> Preprocessor> Modeling> Create> Areas> Rectangle> By Dimensions
rectangular area by corner points BLC4 Main Menu> Preprocessor> Modeling> Create> Areas> Rectangle> By 2 Corners
rectangular area by center and corner points BLC5 Main Menu> Preprocessor> Modeling> Create> Areas> Rectangle> By Centr & Cornr
circular area centered about the working plane origin PCIRC Main Menu> Preprocessor> Modeling> Create> Circle> By Dimensions
circular area anywhere on the working plane CYL4 Main Menu> Preprocessor> Modeling> Create> Circle> Annulus or > Partial Annulus or > Solid Circle
circular area by end points CYL5 Main Menu> Preprocessor> Modeling> Create> Circle> By End Points
regular polygonal area centered about the working plane origin RPOLY Main Menu> Preprocessor> Modeling> Create> Polygon> By Circumscr Rad or > By Inscribed Rad or > By Side Length
regular polygonal area anywhere on the working plane RPR4 Main Menu> Preprocessor> Modeling> Create> Polygon> Hexagon or > Octagon or > Pentagon or > Septagon or > Square or > Triangle
arbitrary polygonal area based on working plane coordinate pairs POLY [1]This command cannot be accessed from a menu.
  1. You must use the PTXY command to define coordinate pairs before issuing the POLY command.

When you define an arc segment of a circular geometric primitive (PCIRC and CYL4 discussed above, or CONE, CYLIND, SPHERE, and TORUS discussed in the next section on volume primitives) the arc sector begins at the algebraically smaller angle, extends in a positive angular direction, and ends at the larger angle. (The input order of THETA1, THETA2 on these commands does not define the starting and ending angles of the arc sector.) The following figure illustrates how these commands work:

Figure 5.15:  Arc Sectors of Circular Geometric Primitives

Arc Sectors of Circular Geometric Primitives

5.3.2. Creating Volume Primitives

Volume primitives are positioned relative to the working plane as outlined in their command descriptions.

The interface between two touching primitives will create a seam of discontinuity in the finite element model, unless you take steps to "weld" that seam shut, using commands such as NUMMRG, VGLUE, or VADD.

You can define volume primitives using the methods described in the following table.

Create aCommandGUI
block volume based on working plane coordinates BLOCK Main Menu> Preprocessor> Modeling> Create> Volumes> Block> By Dimensions
block volume by corner points BLC4 Main Menu> Preprocessor> Modeling> Create> Volumes> Block> By 2 Corners & Z
block volume by center and corner points BLC5 Main Menu> Preprocessor> Modeling> Create> Volumes> Block> By Centr,Cornr,Z
cylindrical volume centered about the working plane origin CYLIND Main Menu> Preprocessor> Modeling> Create> Volumes> Cylinder> By Dimensions
cylindrical volume anywhere on the working plane CYL4 Main Menu> Preprocessor> Modeling> Create> Volumes> Cylinder> Hollow Cylinder or > Partial Cylinder or > Solid Cylinder
cylindrical volume by end points CYL5 Main Menu> Preprocessor> Modeling> Create> Volumes> Cylinder> By End Pts & Z
regular prism volume centered about the working plane origin RPRISM Main Menu> Preprocessor> Modeling> Create> Volumes> Prism> By Circumscr Rad or > By Inscribed Rad or > By Side Length
prism volume anywhere on the working plane RPR4 Main Menu> Preprocessor> Modeling> Create> Volumes> Prism> Hexagonal or > Octagonal or > Pentagonal or > Septagonal or > Square or > Triangular
arbitrary prism based on working plane coordinate pairs PRISM [1]This command cannot be accessed from a menu.
spherical volume centered about the working plane origin SPHERE Main Menu> Preprocessor> Modeling> Create> Volumes> Sphere> By Dimensions
spherical volume anywhere on the working plane SPH4 Main Menu> Preprocessor> Modeling> Create> Volumes> Sphere> Hollow Sphere or > Solid Sphere
spherical volume by diameter end points SPH5 Main Menu> Preprocessor> Modeling> Create> Volumes> Sphere> By End Points
conical volume centered about the working plane origin CONE Main Menu> Preprocessor> Modeling> Create> Volumes> Cone> By Dimensions
conical volume anywhere on the working plane CON4 Main Menu> Preprocessor> Modeling> Create> Volumes> Cone> By Picking
toroidal volume [2] TORUS Main Menu> Preprocessor> Modeling> Create> Volumes> Torus
  1. You must use the PTXY command to define coordinate pairs before issuing the PRISM command.

  2. See Creating a Torus or Toroidal Sector for more information on toroidal volumes.

5.3.2.1. Creating a Torus or Toroidal Sector

You can use the TORUS,RAD1,RAD2,RAD3,THETA1,THETA2 command to create either a torus or a toroidal sector. To create a torus, you do not need to specify values for THETA1 or THETA2. You must specify three values to define the radii of the torus (RAD1, RAD2, and RAD3). You can specify the radii in any order. The smallest of the values is the inner minor radius, the intermediate value is the outer minor radius, and the largest value is the major radius. (There is one exception regarding the order of the radii values - if you want to create a solid torus, specify zero or blank for the inner minor radius, in which case the zero or blank must occupy either the RAD1 or RAD2 position.) At least two of the values that you specify must be positive values; they will be used to define the outer minor radius and the major radius.

To create the torus shown in Figure 5.16: Torus Primitive, the command TORUS,5,1,2 was issued. Due to the sizes of the specified radii values relative to one another, 5, 1, and 2 were used to define the major radius, inner minor radius, and outer minor radius of the torus, respectively. Since no values for THETA1 and THETA2 were specified, the default values of 0 and 360 were used as the starting and ending angles of the torus. (See Figure 5.17: Toroidal Sector for a view of a toroidal sector showing all radii.)

See the description of the TORUS command in the Command Reference for additional details.

Figure 5.16:  Torus Primitive

Torus Primitive

To create the toroidal sector shown in Figure 5.17: Toroidal Sector, the command TORUS,5,1,2,0,180 was issued; where 5, 1, and 2 are the major radius, inner minor radius, and outer minor radius of the torus; and 0 and 180 are the starting and ending angles of the torus.

Figure 5.17:  Toroidal Sector

Toroidal Sector


Release 18.2 - © ANSYS, Inc. All rights reserved.