Lab: Computer Aided Engineering
Lab: Computer Aided Engineering
Lab: 02
Geometry Creation
Introduction
This lab is on the basic tutorials devised to illustrate common features of geometric modeling in ANSYS®. The
Solid Modeling Tutorial will introduce various techniques which can be used in ANSYS to create solid models.
Filleting, extrusion/sweeping, copying, and working plane orientation will be covered in detail. Two Solid
Models will be created within this tutorial.
Geometric Modeling in Ansys® is different from other geometric modeling softwares. Here we will study terms
like ‘Key points’, ‘Lines’, ‘Areas’ and ‘Volumes’ and is a separate entity itself.
Key points: Location points, marked by coordinates. Key points are the most basic feature of the geometry
and by the combinations of these points geometry can be build.
Lines: By the combination of two key points a line can be generated.
Areas: By a closed loop of lines an area can be visualized.
Volumes: A closed loop of areas generates volume.
A geometric model can be directly generated and/or can be built by the hierarchy of the basic key points to the
required level. It can also be imported from other solid modelers in mainly *.sat or *.iges are in any other
compatible format.
Problem Description
We will be creating a solid model of the pulley shown in the following figure.
Geometry Generation
We will create this model by first tracing out the cross section of the pulley and then sweeping this area about
the y axis.
Creation of Cross Sectional Area
1. Create 3 Rectangles
Main Menu > Preprocessor > (-Modeling-) Create > Rectangle > By 2 Corners
BLC4, XCORNER, YCORNER, WIDTH, HEIGHT
1
Lab: Computer Aided Engineering
2
Lab: Computer Aided Engineering
3
Lab: Computer Aided Engineering
o The following window will appear prompting for the fillet radius. Enter 0.1
o Follow the same procedure and create a fillet with the same radius between the following lines
4
Lab: Computer Aided Engineering
o The following window will appear prompting for sweeping angles. Click on OK.
5
Lab: Computer Aided Engineering
6
Lab: Computer Aided Engineering
Note the origin of the working plane. By default those values would be 0, 0, 0.
3. Create a Cylinder (solid cylinder) with x=5.5 y=0 r=0.5 depth=1 You should see the following in the
graphics screen
We will now copy this volume so that we repeat it every 45 degrees. Note that you must copy the
cylinder before you use Boolean operations to subtract it because you cannot copy an empty space.
4. We need to change active CS to cylindrical Y
Utility Menu > Work Plane > Change Active CS to > Global Cylindrical Y
this will allow us to copy radially about the Y axis
5. Create 8 bolt Holes
Preprocessor > Copy > Volumes
o Select the cylinder volume and click on OK. The following window will appear; fill in the blanks
as shown,
7
Lab: Computer Aided Engineering
o Subtract the cylinders from the pulley hub (Boolean operations) to create the bolt holes. This will
result in the following completed structure:
Try to understand the following and use GUI to build the model.
/PREP7
BLC4,0,0,109,102 ! Create rectangle
8
Lab: Computer Aided Engineering
K,5,-20,82 ! Keypoints
K,6,-20,20
K,7,0,82
K,8,0,20
LARC,4,5,7,20 ! Line arcs
LARC,1,6,8,20
L,5,6
AL,4,5,6,7 ! Creates area from 4 lines
AADD,1,2 ! Now called area 3
CYL4,0,20,10 ! Area 1
AGEN,2,1, , ,69 ! Mirrors area 1
AGEN,2,1,2, , ,62 ! Mirrors again
ASBA,3,ALL ! Subtracts areas
VOFFST,6,26 ! Creates volume from area
K,100,109,102,0 ! Keypoints
K,101,109,2,0
K,102,159,102,sqrt(3)/0.02
KWPLAN,-1,100,101,102 ! Defines working plane
BLC4,0,0,102,180 ! Create rectangle
CYL4,51,180,51 ! Create circle
AADD,25,26 ! Add them together
VOFFST,27,26 ! Volume from area
VADD,1,2 ! Add volumes
AADD,33,34,38 ! Add areas
AADD,32,36,37
CYL4,51,180,32, , , ,60 ! Create cylinder
VADD,1,3 ! Add volumes
CYL4,51,180,18.5, , , ,60 ! Another cylinder
VSBV,2,1 ! Subtract it
WPCSYS,-1,0 ! This re-aligns the WP with the global coordinate system
K,200,-20,61,26 ! Keypoints
K,201,0,61,26
K,202,-20,61,30
KWPLAN,-1,200,201,202 ! Shift working plane
CSYS,4 ! Change active coordinate system
K,203,129-(0.57735*26),0,0 ! Keypoints
K,204, 129-(0.57735*26) + 38, sqrt(3)/2*76,0
A,200,203,204 ! Create area from keypoints
VOFFST,7,20, ! Volume from area
VADD, ALL ! Add it together
Your model should look like this: