Upload
ahmed-hanafy
View
235
Download
0
Embed Size (px)
Citation preview
8/6/2019 Ansys Tutorial Solid Model Creation
1/23
Solid Model Creation
Introduction
This tutorial is the last of three basic tuto rials devised to illustrate commom featu res in
ANSYS. Each tutorial bu ilds upo n techniques covered in p reviou s tutorials, it is therefore
essential that you complete the tuto rials in o rder.
The Solid Modelling Tutorial will introduce various techniques which can be used in
ANSYS to create so lid m od els. Fillet ing , extrusion/sweeping , cop ying , and working plane
orientat ion will be covered in de tail.
Two Solid Models will be created within this tutorial.
Problem Description A
We will be creating a solid mode l of the p ulley shown in the following figure.
8/6/2019 Ansys Tutorial Solid Model Creation
2/23
Geometry Generation
We will create this mod el by first tracing out the cross section o f the pulley and the n
sweeping this area about the y axis.
Creation o f Cross Sectional Area
1. Create 3 RectanglesMain Menu > Preprocesso r > (-Mode ling- ) Create > Rectangle > By 2CornersBLC4, XCORNER, YCORNER, WIDTH, HEIGHT
The geo metry of the rectangles:
Rectangle 1 Rectangle 2 Rectangle 3
WP X (XCORNER) 2 3 8
8/6/2019 Ansys Tutorial Solid Model Creation
3/23
WP Y (YCORNER) 0 2 0
WIDTH 1 5 0.5
HEIGHT 5.5 1 5
You shou ld ob tain the following:
2. Add the AreasMain Menu > Preprocesso r > (-Mode ling- ) Operate > (-Boo lean-) Add
> AreasAADD, ALL
ANSYS will label the united area as AREA 4 and the previous th ree areas will be
deleted.
3. Create the rounde d edg es using circlesPreprocessor > (-Modeling -) Create > (-Areas-) Circle > Solid circlesCYL4,XCENTER,YCENTER,RAD
The geometry of the circles:
Circle 1 Circle 2
WP X (XCENTER) 3 8.5
WP Y (YCENTER) 5.5 0.2
8/6/2019 Ansys Tutorial Solid Model Creation
4/23
RADIUS 0.5 0.2
4. Subtract the large circle from the basePreprocessor > Operate > Subtract > Areas
ASBA,BASE,SUBTRACT
5. Copy the smaller circle for the rounded edg es at the topPreprocesso r > (-Modeling-) Copy > Areas
o Click on the small circle and then on OK.o The following window will appear. It asks for the x,y and z offset of the
copied area. Enter the y offset as 4.6 and then click OK.
o Cop y this new area now with an x offset of -0.5
You shou ld ob tain the following
8/6/2019 Ansys Tutorial Solid Model Creation
5/23
6. Add the smaller circles to the large area.Preprocessor > Operate > Add > Areas
AADD,ALL
7. Fillet the inside edges of the top half of the area
Preproce sso r > Create > (-Lines-) Line Fillet
o Select the two lines shown below and click on OK.
8/6/2019 Ansys Tutorial Solid Model Creation
6/23
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 radiusbe tween the following lines
8/6/2019 Ansys Tutorial Solid Model Creation
7/23
8. Create the fillet areaso As shown below, zoom into the fillet radius and plot and number the lines.
Preprocessor > (-Modeling -) Create > (-Areas-) Arbitrary > By Lines
o Select the lines as shown below
8/6/2019 Ansys Tutorial Solid Model Creation
8/23
o Repeat for the other fillet9. Add all the a reas togethe r
Preprocessor > Operate > Add > Areas AADD,ALL
10.Plot the areas (Utility Menu > Plot - Areas )Swee p the Cross Sectional Area
Now we need to sweep the a rea around a y axis at x=0 and z=0 to create the pulley.
1.
Create two keypoints de fining the y axis
Create keypo ints at (0,0,0) an d (0,5,0) and num ber them 1001 and
1002 respe ctively. (K,#,X,Y,Z)
2. By default the g raphics will now show all keypoints. Plot Areas3. Sweep the area abo ut the y axis
Preprocessor > (-Modeling-) Operate > Extrude > (-Areas-) About
axis
o You will first be promp ted to select the areas to be swept so click on thearea.
o Then you will be asked to enter o r pick two keypoints d efining the axis.o Plot the Keypoints (Utility Menu > Plot > Keypoints. Then select the
following two keypoints
8/6/2019 Ansys Tutorial Solid Model Creation
9/23
o The following window will appear prompting for sweeping angles. Click onOK.
You shou ld now see the following in the g raph ics screen .
8/6/2019 Ansys Tutorial Solid Model Creation
10/23
Create Bolt Holes
1. Change the Working PlaneBy default, the working plane in ANSYS is located on the g loba l Carte sian X-Y
plane. However, for us to define the bolt holes, we need to use a different
working plane. There are several ways to de fine a working plane, one o f which isto define it by three keypoints.
o Create the following KeypointsX Y Z
#2001 0 3 0
#2002 1 3 0
#2003 0 3 1
o Switch the view to top view and plot only keypoints.2. Align the Working Plane with the Keypoints
Utility Menu > WorkPlane > Align WP with > Keypoints +
8/6/2019 Ansys Tutorial Solid Model Creation
11/23
o Select Keypoints 2001 then 2002 then 2003 IN THAT ORDER. The firstkeypo int (2001) de fines the origin of the working plane coordinate system,
the second keypo int (2002) de fines the x-axis o rientation, while the third
(2003) defines the orientat ion of the working plane. The following warning
will appear when selecting the keypoint at the origin as there are more
than one in this location.
Just click on 'Ne xt' unt il the o ne selected is 2001.
o Once you have se lected the 3 keypoints an d clicked 'OK' the WP symbol(green) should appe ar in the Graphics window. Another way to make sure
the active WP has moves is:
Utility Menu > WorkPlane > Show WP Status
note the o rigin 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 dep th=1 You should seethe following in the g raph ics screen
8/6/2019 Ansys Tutorial Solid Model Creation
12/23
We will now cop y this volume so th at we rep eat it every 45 degrees. Note that
you must cop y the cylinde r before you use b oo lean operations to subtract it
because you cannot copy an empty space.
4. We need to chang e active CS to cylindrical YUtility Menu > WorkPlane > Change Active CS to > Global Cylindrical
Y
This will allow us to co py radially abo ut the Y axis
5. Create 8 bo lt HolesPreprocesso r > Copy > Volume s
o Select the cylinder volume and click on OK. The following window willappear; fill in the blanks as shown,
8/6/2019 Ansys Tutorial Solid Model Creation
13/23
Youi should ob tain the following mode l,
o Subtract the cylinders from the pulley hub (Boo lean op erations) to createthe bo ltho les. This will result in the following comp lete d structure:
8/6/2019 Ansys Tutorial Solid Model Creation
14/23
Command File Mode of Solution
The above example was solved using a mixture of the Graphical User Interface (or GUI)
and the comm and languag e interface of ANSYS. This prob lem has a lso b een solved
using the ANSYS command lang uag e interface that you may want to b rowse. Open the
.HTML version , cop y and p aste the code into Note pad or a similar text editor and save it
to your computer. Now go to 'File > Read input from...' and select the file. A .PDF
version is also available for printing.
Problem Description B
We will be creating a solid mode l of the Spindle Base shown in the following figure.
http://www.mece.ualberta.ca/tutorials/ansys/CL/CBT/Solid/Print.pdfhttp://www.mece.ualberta.ca/tutorials/ansys/CL/CBT/Solid/Print.html8/6/2019 Ansys Tutorial Solid Model Creation
15/23
Geometry Generation
We will create this mod el by creating the base and the back and then the rib.
Create the Base
1. Create th e base rectangleWP X (XCORNER) WP Y (YCORNER) WIDTH HEIGHT
0 0 109 102
2. Create the curved edg e (using keypo ints and lines to create an area)o Create the following keypoints
X Y Z
Keypoint 5 -20 82 0
Keypoint 6 -20 20 0
Keypoint 7 0 82 0
Keypoint 8 0 20 0
o You shou ld ob tain the following :
8/6/2019 Ansys Tutorial Solid Model Creation
16/23
oo Create arcs joining the keypo ints
Main Menu > Preprocessor > (-Mo deling-) Create > (-Lines-)
Arcs > By End KPs & Rad
Select keypo ints 4 and 5 (either click on them o r type 4,5 into thecommand line) when p rompted.
Select Keypoint 7 as the center-of-curvature when p rompted . Enter the radius of the arc (20) in the 'Arc by End KPs & Radius'
window
Repe at to create an arc from keypoints 1 and 6(Alternat ively, type LARC,4,5,7,20 followed by LARC,1,6,8,20 into the
command line)
o Create a line from Keypoint 5 to 6Main Menu > Preprocessor > (-Modeling-) Create > (-Lines-)
Lines > Straight Line L,5,6
o Create an Arbitrary area within the bo und s of the lines
8/6/2019 Ansys Tutorial Solid Model Creation
17/23
8/6/2019 Ansys Tutorial Solid Model Creation
18/23
(ASBA,3,ALL)
You shou ld ob tain the following:
6. Extrude the basePreprocessor > (-Modeling-) Operate > Extrude > (-Areas-) Along
Normal
The following window will appear o nce you select the area
o Fill in the window as shown (leng th of extrusion = 26mm). Note, toextrude the area in the ne gative z direction you would simply enter -26.
8/6/2019 Ansys Tutorial Solid Model Creation
19/23
(Alternat ively, typeVOFFST,6,26 into the command line)
Create the Back
1. Change the working planeAs in the p revious example, we need to chang e th e working plane. You may have
ob served tha t geometry can only be created in the X-Y plane. Therefore, in order
to create the back of the Spindle Base, we need to create a ne w working plane
where the X-Y plane is pa rallel to the b ack. Aga in, we will define the working
plane by aligning it to 3 Keypoints.
o Create the following keypointsX Y Z
#100 109 102 0
#101 109 2 0
#102 159 102 sqrt (3)/0.02
o Align the working plane to the 3 keypointsRecall when de fining the working plane; the first keypoint d efines the
origin, the second keypo int de fines the x-axis orientation, while the third
defines the orientation of the working plane.
(Alternat ively, type KWPLAN,1,100,101,102 into the com mand line)
2. Create the back areao Crea te the base rectang le (XCORNER=0, YCORNER=0, WIDTH=102,
HEIGHT=180)
o Crea te a circle to obta in the curved to p (XCENTER=51, YCENTER=180,RADIUS=51)
o Add the 2 areas together3. Extrude the area (length of extrusion = 26mm)
Preprocessor > (-Modeling-) Operate > Extrude > (-Areas-) Along
NormalVOFFST,27,26
4. Add th e base and the back togethero Add the two volumes toge ther
8/6/2019 Ansys Tutorial Solid Model Creation
20/23
Preprocesso r > (-Modeling-) Operate > (-Boo leans-) Add >
VolumesVADD,1,2
You shou ld no w have the following g eo metry
Note that the planar areas between the two volumes were not added
together.
o Add the p lanar areas tog ether (don't forget the o ther side!)Preprocesso r > (-Modeling-) Operate > (-Boo leans-) Add >
AreasAADD, Area 1, Area 2, Area 3
5. Create the Upp er Cylind ero Create the outer cylinder (XCENTER=51, YCENTER=180, RADIUS=32,
DEPTH=60)
Preprocessor > (-Modeling-) Create > (-Volumes-) Cylinder >
Solid CylinderCYL4,51,180,32, , , ,60
o Add the volumes togethero Crea te the inner cylinder (XCENTER=51, YCENTER=180, RADIUS=18.5,
DEPTH=60)
8/6/2019 Ansys Tutorial Solid Model Creation
21/23
o Subtract the volumes to o bta in a ho leYou shou ld now have the following geometry:
Create the Rib
1. Change the working planeo First change the active coordinate system back to the global coordinate
system (this will make it easier to a lign to the new coordinate system )
Utility Menu > WorkPlane > Align WP with > Global Cartesian
(Alternat ively, typeWPCSYS,-1,0 into the com mand line)
o Create the following keypointsX Y Z
#200 -20 61 26
#201 0 61 26
#202 -20 61 30
o Align the working plane to the 3 keypoints
8/6/2019 Ansys Tutorial Solid Model Creation
22/23
Recall when de fining the working plane; the first keypoint d efines the
origin, the second keypo int de fines the x-axis orientation, while the third
defines the orientation of the working plane.
(Alternat ively, type KWPLAN,1,200,201,202 into the comm and line)
2. Change active coordinate systemWe no w need to update the coo rdiante system to follow the working p lane
changes (ie make the new Work Plane origin the active coordinate)
Utility Menu > WorkPlane > Change Active CS to > Working PlaneCSYS,4
3. Create th e areao Create the keypoints corresponding to the vertices of the rib
X Y Z
#203 129-(0.57735*26) 0 0
#204129-(0.57735*26) +
38sqrt(3)/2*76 0
o Create the rib area th roug h keypoints 200, 203, 204Preprocessor > (-Modeling-) Create > (-Areas- ) Arbitrary >
Through KPs
A,200,203,204
4. Extrude the area (length of extrusion = 20mm)5. Add the volumes toge ther
You should ob tain the following:
8/6/2019 Ansys Tutorial Solid Model Creation
23/23