Escolar Documentos
Profissional Documentos
Cultura Documentos
Pre-Processing Phase:
Parameters
Scalar Parameters
LENGTH = 5.0
WIDTH = 2.0
RAD = 1.0
PI = ACOS(-1.0)
Preprocessor
Add
Element Type
Add/Edit/Delete
8node 82Plane
FEG
Linear Static Analysis of a Plate with Hole 3. Dene the plate thickness: ANSYS Main Menu
Preprocessor
Add
Real Constants
Add/Edit/Delete
Preprocessor
Material Props
Structural EX PRXY OK
Material Models
Elastic Isotropic
Linear
10.0E+06 0.3
Material
Exit
Preprocessor
Modeling
Create
1
Keypoints
In Active CS
NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number: FEG
RAD
Linear Static Analysis of a Plate with Hole X, Y, Z Location in active CS: Apply NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number:
RAD*COS(PI/8) RAD*SIN(PI/8) 0
3 RAD*COS(PI/4) RAD*SIN(PI/4) 0
4 0
X, Y, Z Location in active CS: RAD*COS(3/8*PI) RAD*SIN(3/8*PI) Apply NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number: X, Y, Z Location in active CS: Apply NPT Keypoint number: X, Y, Z Location in active CS: FEG
5 0 RAD 0
6 0 WIDTH 0
7 WIDTH WIDTH 0
8 WIDTH 0 0
9 LENGTH 0 0
Linear Static Analysis of a Plate with Hole Apply NPT Keypoint number:
10 LENGTH WIDTH 0
Preprocessor
Modeling
Create
Lines
Arcs
Through 3 KPs
Apply
< Pick Keypoints: 3, 5, and then 4 >
OK
Preprocessor
Modeling
Create
Lines
Lines
Straight line
< Pick Keypoints: 1, and then 8 > < Pick Keypoints: 3, and then 7 > < Pick Keypoints: 5, and then 6 > < Pick Keypoints: 6, and then 7 > < Pick Keypoints: 7, and then 8 > < Pick Keypoints: 8, and then 9 > < Pick Keypoints: 9, and then 10 > < Pick Keypoints: 7, and then 10 >
Cancel
PlotCtrls
Numbering
on 6
Plot
Lines
You should see a model similar to that in Fig. 2. In the next steps, we will create three areas; those areas are surrounded by lines, for Area 1: L2, L4, L6, L5; for Area 2: L1, L3, L7, L4; and for Area 3: L7, L8, L9, L10.
Figure 2: Model of plate with hole having line numbers turned on. 8. Create three areas: ANSYS Main Menu
Preprocessor
Modeling
Create
Areas
Arbitrary
By Lines
Apply
< Pick lines: L1, L3, L7, and then L4 >
Apply
< Pick lines: L7, L8, L9, and then L10 >
FEG
Preprocessor
Lines :
Meshing
Set
MeshTool
PlotCtrls
Numbering
on
Plot
Areas
Preprocessor
Shape : Shape : Mesh
Meshing
MeshTool
Quad Mapped
FEG
NDIV = 4
PLANE42
PLANE82
PLANE42
PLANE82
FEG
Figure 4: The plate with hole model having area numbers turned on.
Important note
The results, especially the stress, of a nite element analysis strongly depends on the mesh. Concerning the mesh, Nicholas M. Baran [2] suggests followings:
Mesh Transition: You can use a tringle or control the mesh spacing ratio. However,
Element Aspect Ratio: Aspect ratio (l=w) should be kept less than 3, if possible.
l w w Excessive aspect ratio
Element Skewness: Try to keep the skew angle, , less than 30 degrees. Nastran
FEG
10
Figure 5: The nite element mesh of the plate with hole model.
Important note
Solution Phase:
Solution
Analysis Type
New Analysis
Static
Solution
Dene Loads
Apply
Structural
Displacement
Symmetry B.C
OK FEG 11
However, the symmetricalness does not only about the geometry, but also the constraints and the loading conditions. For an example, see following:
Symmetry point
Anti-symmetry point
Solution
Dene Loads
Apply
Structural
Pressure
On Lines
Solution
Solve
Current LS
OK
Close
FEG
12
General Postproc
Plot Results
Deformed Shape
Figure 6: The deformation and undeformed plate with hole. 2. Plot the von Misses stress: ANSYS Main Menu
General PostProc
Plot Results
Contour Plot
Stress
Nodal Solu
Linear Static Analysis of a Plate with Hole OK The results are shown in Fig. 7.
Figure 7: The von Misses stress in the loaded plate with hole. 3. Select the nodes along ligament: ANSYS Pulldown Menu
Plot Select
Nodes Entities
Nodes OK Select Nodes:
Box
< Click and drag your mouse to form a box; for example, see Fig. 8. >
OK
FEG
14
General PostProc
List Results
Nodal Solution
Nodal Solution
Stress X-Component of stress
The exact solution can be seen in Refs. [1, 4] that the stress concentration factor, K is dened as
K=
Highest value of actual stress on hole; max : Nominal stress for minimum cross section
(1)
For d=W = 0:50, where d is the hole diameter, and W is the plate width, the K is 2.169 (see Fig. 9). Meanwhile, the nominal stress for the minimum cross section is 4=2 1 psi = 2.0 psi; therefore, the highest theoretical stress is
max = 2:169 2:0 = 4:338 psi:
(2)
ANSYS provides you, at Node 2, x = 4.2351 psi, or 2.37 % lower than the exact solution.
5. In addition, you also needs those nodes locations: ANSYS Pulldown Menu
List
Nodes
Sort rst by: OK NODE Number
FEG
15
2.169
Figure 9: Stress concentration factor for a
at bar with a transverse hole in axial tension [1]. You should obtain, after removing the midside nodes
NODE 2 10 12 14 16 X 0.0000 0.0000 0.0000 0.0000 0.0000 Y 1.0000 2.0000 1.2500 1.5000 1.7500 Z 0.0000 0.0000 0.0000 0.0000 0.0000 THXY 0.00 0.00 0.00 0.00 0.00 THYZ 0.00 0.00 0.00 0.00 0.00 THZX 0.00 0.00 0.00 0.00 0.00
Figure 10: The normal stress along the plate ligament. Figure 10 concludes the rst part of this module. In the second part, we will discusss the top-down approach in creating a nite element model. In addition, we also discuss about ANSYS-APDL code for the present problem.
FEG
16
lines
area
volume
meshing
boolean operations
meshing
We study the top-down approach in this section. In the next section, the APDL code also will be based on the present log le. CREATE A NEW FOLDER
Pre-Processing Phase:
1. Select element type, dene the thickness, and also dene material properties. Repeat the previous pre-processing phase, the rst four steps. 2. Create two rectangles: ANSYS Main Menu
Preprocessor
WP X WP Y Width Height Apply WP X WP Y Width Height OK
Modeling
Create
Areas
Rectangle
By 2 Corners
3. Turn on the keypoint number, the area numbers and the line numbers: ANSYS Pulldown Menu
FEG
17
PlotCtrls
Numbering
On
Preprocessor
WP X WP Y Radius OK
Modeling
Create
Area
Circl
Solid Circle
Preprocessing
Modeling
Operate
Booleans
Substract
Areas
OK
< Pick Area A3 >
Preprocessor
Numbering
Ctrls
Merge Items
FEG
18
Linear Static Analysis of a Plate with Hole Label Type of item to be merge OK Keypoints
Preprocessing
Modeling
Create
Keypoints
In Active CS
Preprocessing
Modeling
Create
Lines
Lines
Strainght Line
OK OK
Preprocessing
Modeling
Operate
Booleans
Divide
Area by Line
OK
< Pick Line L1 >
OK You should obtain A1, A2, and A3 10. Merges coincident Keypoints: ANSYS Main Menu
FEG
19
Preprocessor
Numbering
Ctrls
Merge Items
Keypoints
Figure 11: Model with the line numbers turned on. 11. Create a new parameter: ANSYS Pulldown Menu
Parameter
Scalar Parameters
Selection: OK
NOE = 4
Preprocessor
Lines
Meshing
Set
MeshTool
< Pick Lines L10, L11, L13, L14, L3, L4, L2, L6 >
20
Quad Mapped
*SET,LENGTH,5 *SET,WIDTH,2 *SET,RAD,1 *SET,PI,ACOS(-1.0) /PREP7 ET,1,PLANE82 KEYOPT,1,3,3 KEYOPT,1,5,0 KEYOPT,1,6,0 R,1,0.125,
FEG
21
K,100,0.0,0.0,0.0, LSTR, ASBL, NUMMRG, KP *SET,NOE,4 LESIZE,_Y1, , ,NOE, , , , ,1 LESIZE,_Y1, , ,NOE*3/2, , , , ,1 MSHAPE,0,2D MSHKEY,1 AMESH,_Y1 FINISH /SOL ANTYPE,0 DL,P51X, ,SYMM SFL,P51X,PRES,-1.0, SOLVE 100, 4, 3 1
The commands that need to be retouched are shown in lines 26, 27, 34, and 35. Those funny stus, Y1 and
P51X, are the problem. For the command LESIZE in lines 26 and 27, the complete command is (see manual)
LESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
where NL1 is the line number, and NDIV is the number of elements. We modied those two commands with following commands:
LESIZE, 10, , ,NOE, , , , ,1 LESIZE, 11, , ,NOE, , , , ,1 LESIZE, 13, , ,NOE, , , , ,1 LESIZE, 14, , ,NOE, , , , ,1 LESIZE, 3, , ,NOE, , , , ,1 LESIZE, 4, , ,NOE, , , , ,1 LESIZE, 2, , ,NOE, , , , ,1
where LINE is the line number; therefore, we rewrite line 34 with FEG
22
The last is SFL command; as you may guess, it should be replaced with
SFL, 6, PRES,-1.0,
! Create a rectangle
blc4, width, 0.0, length-width, width ! Create a rectangle cyl4, 0.0, 0.0, rad asba, 1, 3 k, 100, 0.0, 0.0, 0.0, lstr, 100, 3 asbl, 4, 1 nummrg, kp ! Create a circle ! Cut the rectangle ! Create a point ! Create a line ! Divided an area ! Merge nodes
lesize, 10, , , NOE, , , , ,1 lesize, 11, , , NOE, , , , ,1 lesize, 13, , , NOE, , , , ,1 lesize, 14, , , NOE, , , , ,1 lesize, lesize, lesize, 3, , , NOE, , , , ,1 4, , , NOE, , , , ,1 2, , , NOE, , , , ,1
lesize, lesize,
5, , , NOE*3/2, , , , ,1 6, , , NOE*3/2, , , , ,1
mshape, 0, 2d
FEG
23
mshkey, 1 amesh, 1 amesh, 2 amesh, 3 finish /sol antype, 0 dl, 14, ,symm dl, 13, ,symm dl, 5, ,symm sfl, 6, pres,-1.0, solve finish ! Static analysis ! Symmetric constraints ! ! ! Apply uniform tensile stress ! Solve ! Mesh Area 1 ! Mesh Area 2 ! Mesh Area 3
Within the miracle of APDL and a set of untold bedtime stories, following lines may save your time and may keep your laziness above everything:
/post1 xStressExact = 2.169*2.0 myNode = node(0.0, RAD, 0.0) *get, xStress, node, myNode, S, X error = ABS(xStressExact - xStress)/xStressExact*100 *cfopen, sensitivityStudyResult, dat, , append *vwrite, NOE, xStress, xStressExact, error (F15.0, 2X, E15.4, 2X, E15.5, 2X, E15.4) *cfclos finish
sensitivityStudyResult.dat;
0.2372E+01 0.7178E+00 0.4887E-01 0.1673E+00 0.2287E+00 0.2452E+00
such as:
or graphically Finally, you know what you see, grasp the reality that ANSYS may dissappoint you.
FEG
24
4.36 4.34 4.32 SX (psi) 4.3 4.28 4.26 4.24 4.22 0 FE Solution Exact Solution 50 100 150 Number of elements (NOE)
FEG
25