Beruflich Dokumente
Kultur Dokumente
Pramote Dechaumphai
Sedthawat Sucharitpwatskul
α
Alpha Science International Ltd.
Oxford, U.K.
Finite Element Analysis with ANSYS Workbench
280 pgs.
Pramote Dechaumphai
Department of Mechanical Engineering
Chulalongkorn University
Pathumwan, Bangkok
Thailand
Sedthawat Sucharitpwatskul
National Metal and Materials Technology Center
National Science and Technology Development Agency
KlongLuang, Pathumthani
Thailand
Copyright © 2018
ALPHA SCIENCE INTERNATIONAL LTD.
7200 The Quorum, Oxford Business Park North
Garsington Road, Oxford OX4 2JZ, U.K.
www.alphasci.com
ISBN 978-1-78332-369-2
E-ISBN 978-1-78332-433-0
The book “Finite Element Analysis with ANSYSWorkbench” is written for students
who want to use the software while learning the finite element method. The book
is also suitable for designers and engineers before using the software to analyze
realistic problems.
The book contains twelve chapters describing different analyses of engineering
problems. These problems are in the fields of solid mechanics, heat transfer and fluid
flows. In each chapter, the governing differential equations and the finite element
method are presented. An academic example is used to demonstrate the ANSYS
procedure for solving it in detail. An application example is also included at the end
of each chapter to highlight the software capability for analyzing realistic problems.
The ANSYS files for application problems can be downloaded from the book
website:
https://goo.gl/BDSBRQ
These files can be modified to increase understanding on how to use the
software.
The authors would like to thank the ANSYS, Inc., USA for providing the
software to prepare this book and the CAD-IT Consultants (Asia) Pte Ltd for the
book distribution. The authors appreciate Dr. Edward Warute Dechaumphai for
proof-reading the book manuscript.
Pramote Dechaumphai
Sedthawat Sucharitpwatskul
CONTENTS
Preface iii
Chapter 1 Introduction 1
1.1 Solving Engineering Problems 1
1.1.1 Problem Ingredients 2
1.1.2 Solution Methods 3
1.2 Finite Element Method 4
1.2.1 What is the Finite Element Method? 4
1.2.2 Finite Element Method Procedure 5
1.3 ANSYS Software 6
1.3.1 ANSYS Workbench 7
1.3.2 Screen and Tool Bars 7
1.3.3 Analyzing steps 9
1.4 Advantages of Finite Element Method 11
Bibliography 259
Index 263
Chapter
1
Introduction
Step 3: The third step is the most important step of the finite
element method. This step is the derivation of the finite element
6 Chapter 1 Introduction
Step 4: The finite element equations from all elements are then
assembled to become a large set of algebraic equations.
Assembling element equations must be done properly. This is
similar to placing jigsaw pieces at appropriate locations to yield the
complete picture.
Truss Analysis
x
0
x
where x is the truss axial stress.
u1 u2
F1 F2
1 A, E 2
x
L
The displacement distribution is assumed to vary
linearly along the element axial x-direction in the form,
u
u ( x) N1 ( x) u1 N2 ( x) u2 N1 ( x) N2 ( x) 1
u2
N ( x ) u
(1 2) (21)
3 x 2 x2 4 x 4 x2
N1 ( x ) 1 2 ; N2 ( x) 2 ;
L L L L
x 2 x2
N3 ( x )
L L2
The assumed displacement distribution of the three-
node element is more complicated than that of the two-node
element. Thus, the three-node element can provide higher solution
accuracy. However, the element requires more computational time
because it contains more nodal unknowns.
The finite element equations for the two-node element
are,
AE 1 1 u1 F1
L 1 1 u2 F2
If we have a finite element model consisting of 10 elements, we
need to establish 10 sets of finite element equations. These element
equations are then assembled to form up a system of equations.
The problem boundary conditions are applied before solving for the
displacement unknowns at nodes.
If a finite element model containing many truss
elements is in two or three dimensions, the finite element equations
above are needed to transform into to two or three dimensions
accordingly. The transformation causes the finite element matrices
to become larger leading to a larger set of algebraic equations.
Such the larger set of algebraic equations requires more computer
memory and computational time. However, these requirements do
not pose any difficulty to current computers. Commercial software
packages today have been developed to analyze complex truss
structures containing a large number of elements effectively.
the lengths of 0.5 and 1.0 m, cross-sectional areas of .002 and .001
m2, and made from materials with Young’s modulus of 5 107 and
10 107 N m 2 , respectively. The left end of the model is fixed at
a wall while the connecting point and the right end are subjected to
the forces of 300 and 500 N, respectively. By using only one two-
node element to represent each truss member, determine the
deformed configuration and the truss member stresses.
A1 .002 m 2 A2 .001 m 2
E1 5 10 7 N m 2 E2 10 10 7 N m 2
500 N
1 2 300 N 3 x
1 2
0.5 m 1.0 m
enter the Poisson Ratio value as 0.3 and hit Enter, and
close this window.
Repeat the same process to provide data of the second
material with the Young’s Modulus of 10e7 and Poisson
Ratio of 0.3 and assign the name as “Material 2”.
Then, close the Engineering Data tab and click at the
Project tab on the upper menu, it will bring back to the
main Project Schematic window.
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Click on Sketch1 to start drawing the first line for the left
truss element.
Click the Sketching tab and select Draw. Choose Line to
create the first line with the end coordinates of (0,0) and
(0.5,0). This is done by first clicking at the coordinates of
(0,0), move the cursor to the coordinates of (0.5,0), and
click the mouse again. Click on Generate (the icon with
yellow lightning on the upper-left part of the screen). The
first line will become dark green.
If the model contains many lines that have same material
property and cross-sectional area, the same process can be
used to create the additional lines.
The next important step is to click the Concept tab on top
of the screen and select Lines From Sketches.
Then, select Sketch1, this line will become yellow.
22 Chapter 2 Truss Analysis
Click Apply icon on the right side of the Base Objects tab
in the Details View window at the lower left of the screen.
The line will become cyan, then click on Generate. The
right side of the Base Objects tab will show 1 Sketch. The
1 Part, 1 Body item will appear in the Tree Outline
window.
To draw the second line representing the right element,
select New Sketch, the item Sketch 2 will pop up beneath
Sketch 1. The second line that connects between the
coordinates of (0.5,0) and (1.5,0) can be drawn using the
same process. Then, select Concept and Lines From
Sketches.
Select Sketch 2, this second line will become yellow.
Before clicking on Apply button, be sure to change Add
Material on the right side of Operation in the Details
View window to Add Frozen. Without doing this, by
default, the two lines would become a single line and only
one material property is allowed.
Click on Base Objects again, the Apply button appears.
Select Sketch 2 and click Apply, the second line will
become cyan. The 2 Parts, 2 Bodies will appear in the
Tree Outline window.
together, hold Ctrl key and select both Line Body. Then,
right click and select Form New Part. The two line bodies
will be connected to become 1 Part, 2 Bodies.
At this point, we now have a model consisting of two lines.
Next step is to create the cross sections of the two lines.
For the left line, select Rectangular item in Cross Section
under the Concept tab. In the Details of Rect1 window,
change the base value B to 0.05 and hit Enter, the height
value H to 0.04 and hit Enter. A blue rectangular cross
section will appear on the main Graphic window. Then,
click Generate.
edge and click at it, a small green spot will appear. Then,
click Apply button next to the Geometry button under the
Details of “Fixed Supports” window.
For truss analysis, all the nodes must be the hinge type
which is free to rotate. Click Tools at the upper tab and
select Options…. Select Connections and change the right
side of Fixed Joints to No and click OK.
The problem is now ready to solve for solution. Right click
on the Solution item under Static Structural and select the
Solve tab.
Click the Solution item, the Deformation tab will appear
on the lower menu bar. Click on this Deformation tab and
Select the Total option, the Total Deformation item will
pop-up beneath the Solution item. Right click at the Total
Deformation item and select Evaluate All Results, the
displacement solution in form of color fringe plot will
appear.
Note that the node and element numbers can be displayed
by clicking at the Preferences tab on the upper part of the
screen. Then, select Node Numbers and Element
Numbers under Mesh Display and click Enter.
Nodal displacement values can also be exported as a text
file by right clicking on Total Deformation or Directional
Deformation. Then, select Export… and Export Text
File, respectively.
28 Chapter 2 Truss Analysis
1m
2500 N
500 N
X
1m
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Click on Sketch1 to start drawing the two truss elements.
Click the Sketching tab and select Draw. Choose Line to
create the first line with the end coordinates of (0,0) and
(1,0). This is done by first clicking at the coordinates of
(0,0) on the model, move the cursor to the coordinates of
(1,0), and click the mouse again. Then, follow the same
procedure to create the second line with the end coordinates
of (0,1) and (1,0). Click on Generate (the icon with yellow
lightning on the upper-left part of the screen). The desired
two lines will become dark green.
The next important step is to go to the Concept tab on top
of the screen and select Lines From Sketches.
Select the Sketch1, the two lines will become yellow.
Click Apply icon on the right side of the Base Objects tab
in the Details View at the lower left of the screen. Both
two lines will become cyan. Then, click on Generate. The
right side of the Base Objects tab will show 1 Sketch. The
1 Part, 1 Body item will appear in the Tree Outline
window.
We now have a model consisting of two lines.
2.3 Academic Example 33
2.4 Application
2.4.1 Twenty-one Truss Members in Two Dimensions
5m
X
1000 N 1000 N
2000 N 2000 N
4000 N
The finite element model consisting of 21 two-node truss
elements can be constructed easily by using the Line command.
The boundary conditions of fixed x- and y-displacements at the left
and right end hinges and the concentrated forces at lower nodes of
the model can be applied conveniently as shown in the figure.
40 Chapter 2 Truss Analysis
Beam Analysis
p ( x)
z
w
u
x y
w1 w2 Distribution of the
1 2 deflection w is assumed
E, I in the form,
1 2
x
L
w1
w( x) N1 N2 N3 N4 1 N ( x )
w2 (1 4) (41)
2
where the element interpolation functions are,
x 2 x 3 2
N1 1 3 2 x 1
x
; N2
L L L
x 2 x2 x
N3 3 2
x
; N4 1
L L L L
where F1 and F2 are the forces, while M1 and M2 are the moments,
at node 1 and 2, respectively. The last vector contains the nodal
forces and moments from the distributed load p0 which is uniform
along the element length.
The finite element equations above can be used to
determine beam bending behavior. If a problem contains only few
beam elements, we can use a calculator to solve for the solution.
However, if a problem consists of many beam elements, we need to
develop a computer program to solve for the solution instead. For
a frame structure containing a large number of beam elements
oriented in three dimensions, the element matrices as shown above
3.3 Academic Example 45
1m
2500 N
500 N
X
1m
46 Chapter 3 Beam Analysis
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Next, we draw the two beam elements. Click on Sketch1.
Click the Sketching tab and select Draw. Choose Line to
create the first line with the end coordinates of (0,0) and
(1,0). This is done by clicking at the coordinates of (0,0) on
3.3 Academic Example 49
A .1 .1 .01 m 2 Y
E 2 1011 N m2
5m 1m
5m
X
1000 N 1000 N
2000 N 2000 N
4000 N
The finite element model consisting of 21 two-node beam
elements can be constructed easily by using the Line command.
The boundary conditions of the complete constraint at the left and
56 Chapter 3 Beam Analysis
right ends and the concentrated forces at lower nodes of the model
can be applied conveniently as shown in the figure.
Once the problem has been set up, solutions of the
deformed shape and stresses in the beam members can be obtained
without difficulty as shown in the figures. The figures show the
deformation shape and stresses that occur in these beam members.
3.4 Application
x xy
0
x y
xy y
and 0
x y
where x and y is the normal stress in the x and y direction,
respectively, while xy is the shearing stress. The basic unknowns
of the two equations above are the u and v displacement in the x-
and y-direction, respectively.
E u v E u v
0
x 1 2 x y y 2(1 ) y x
4.2 Finite Element Method 63
E u v E u v
0
x 2(1 ) y x y 1 2 x y
which could be solved for the two displacement components u and
v in the x- and y-direction, respectively. Determination of the
strain components x , y , xy and stress components x , y , xy
can then be followed.
3 3
4
5
2 2
6
1 1
3 7 3
4 4
6
8
2 2
1 1 5
v ( x, y ) 3
u2
v2
2
Displacement
t
y
1
x
1
A x2 ( y3 y1 ) x1 ( y2 y3 ) x3 ( y1 y2 )
2
In the above equations, xi , yi ; i 1, 2, 3 are coordinates of the
three nodes. The parameters ai , bi , ci ; i 1, 2, 3 depend on the
nodal coordinates as follows,
a1 x2 y3 x3 y2 b1 y2 y3 c1 x3 x2
a2 x3 y1 x1 y3 b2 y3 y1 c2 x1 x3
a3 x1 y2 x2 y1 b3 y1 y2 c3 x2 x1
The finite element equations corresponding to the
three-node triangular element above are,
K F
(66) (61) (61)
K B T C B t A
(66) (63) (33) (36)
b1 0 b2 0 b3 0
1
where B 0 c1 0 c2 0 c3
(36) 2A
c1 b1 c2 b2 c3 b3
T u1 v1 u2 v2 u3 v3
(61)
1m x
.2 m
1.4 m
Since the problem has its solution symmetry, the upper
right quarter of the plate can be used for analysis. Model of the
upper right quarter is shown in the figure with symmetrical
boundary condition along the left and bottom edges.
y
0 7 107 N/m 2
.5 m
.2 m
x
.7 m
Steps for analyzing this problem by employing the
ANSYS Workbench are as follows.
4.3 Academic Example 67
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Click again on the same New Sketch icon to create
Sketch2.
Next we draw the rectangle. Click on Sketch1.
Click the Sketching tab and select Draw. Choose
Rectangle to create a rectangle with the vertices of (0,0)
and (.7,.5). This is done by clicking at the coordinates of
(0,0) on the model, move the cursor to the coordinates of
(.7,.5), and click the mouse again. Click on Generate (the
icon with yellow lightning on the upper-left part of the
screen). The desired rectangle will pop up in dark green.
Next we draw the circle. Click the Modeling tab and select
Sketch2. Then click the Sketching tab.
Select the Draw tab and choose Circle. Draw a circle with
center at the coordinates of (0,0). Do not worry about the
size of the circle, it will be taken care later. Then, click the
Generate button.
Select the Dimensions tab and choose Radius. Left click
on the circle that just drew, drag the mouse outward without
releasing the mouse until seeing an arrow with notation R1,
then release the mouse. The desired circle will pop up in
dark green.
70 Chapter 4 Plan Stress Analysis
Click the Solution item, the Stress tab will appear on the
lower menu bar. Click on this Stress tab and Select the
Equivalent (von-Misses) option, the Equivalent Stress
item will pop-up beneath the Solution item. Right click at
the Equivalent Stress item and select Evaluate All
Results, the solution in form of color fringe plot will appear
as shown in the figure.
76 Chapter 4 Plan Stress Analysis
4.4 Application
4.4.1 Stress in Motorcycle Chain Wheel
A motorcycle chain wheel as shown in the figure is
made from steel. The steel material has the Young’s modulus of
2 1011 N m 2 and Poisson’s ratio of 0.3. The chain wheel is
subjected to an applied torque at the center and the chain resistant
force along one side of the outer rim. The ANSYS file of this
problem can be downloaded from the book website.
78 Chapter 4 Plan Stress Analysis
u
x
v
w
y h
z
2 w 2 w 2 w 2 w
M x D 2 2 ; M y D 2 2
x y x y
2 w E h3
M xy D(1 ) ; D
x y 12(1 2 )
In these bending moment component equations, D
represents the plate flexural rigidity that depends on the Young’s
modulus E, the Poisson’s ratio , and the plate thickness h .
Substituting these bending moment component equations into the
governing differential equation above yields the final form of the
plate differential equation. The final form is of fourth-order
differential equation containing only one unknown of the deflection
w.
E E 2 w 2 w
y ( x y ) z
1 2 1 2 x2 y 2
E E 2 w
xy xy z
2(1 ) 1 x y
84 Chapter 5 Plate Bending analysis
3 7 3
4
4 6
5
8
2
2
6
1 1 5
5.2 Finite Element Method 85
x 2m
2
p 1200 N /m
2m h 0.01 m
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Next we draw the square. Click on Sketch1.
Click the Sketching tab and select Draw. Choose
Rectangle to create a square with the vertices of (-1,-1) and
(1,1). This can be done by clicking at the coordinates of (-
1,-1) on the model, move the cursor to the coordinates of
(1,1) and click it again. Click on Generate (the icon with
yellow lightning on the upper-left part of the screen). The
desired square will pop up in dark green.
cursor to the plate face and click at it. Click Apply button,
and change Magnitude value to 1200, and hit Enter. If
preferred, mesh can be shown by clicking the Show Mesh
icon on the upper menu bar.
5.4 Application
Three-Dimensional
Solid Analysis
where x y z xy xz yz
T
and T x y z xy xz yz
The matrix C is the elasticity matrix which depends on the
Young’s modulus and Poisson’s ratio.
6.2 Finite Element Method 101
w3
w1 v3
3
v1 u3
z
u1 1 w2
y
x v2
u2 2
w( x, y, z ) N1 N 2 N 3 N 4 w
where vT v1 v2 v3 v4
wT w1 w2 w3 w4
Thus, the element vector of nodal unknowns contains the total of
12 unknowns as,
T u1 v1 w1 u 2 v2 w2 u3 v3 w3 u 4 v4 w4
The element vector containing the six strain compo-
nents can be determined from,
B
(61) (612) (121)
p
4
E 10 7psi
0.3
3
p 2, 000 psi
Y
Fixed 4
1 X
2
6
Z
Retype the name in the lower blue tab as the desired project
name, e.g., Solid Stress Problem, and hit Enter.
Right click on the Engineering Data tab and select the
Edit… option, the A2: Engineering Data window will
pop-up. Double click on Click here to add a new
material and type in a new material name, e.g., “My
Aluminum Material”, and hit Enter.
Click at the Isotropic Elasticity under Linear Elastic and
drag it to the Property list at the bottom of the window.
Change the unit of Young’s Modulus to psi and enter the
value of 1e7 and hit Enter, enter the Poisson Ratio value as
0.3 and hit Enter, and close this window.
Close the Engineering Data tab and click at the Project tab
on the upper menu, it will bring back to the main Project
Schematic window.
size of the circle, it will be taken care later. Then, click the
Generate button.
Select the Dimensions tab and choose Radius. Left click
on the circle that just drew, drag the mouse outward without
releasing the mouse until seeing an arrow with notation R1,
then release the mouse. The desired circle will pop up in
dark green.
On the Details View window that just appears on the lower
left of the DM screen, adjust the radius to 1 and hit Enter.
Click on Generate, the circle will radius of 1” will appear.
Click on Modeling tab, and then click Generate.
Click on the ISO tab on the upper menu bar so that the
model is shown in isometric view
Select Sketch1 and click Extrude to make a solid body of
the lower square with thickness of 2”. Click Apply next to
the Geometry under the Details View window, and change
the FD1 value under the Details of Extrude1 window to be
2, and hit Enter. Then, click Generate so that the lower
square becomes a 3D solid in dark grey as shown in the
Figure.
Select Sketch2 and click Extrude to make a solid body of
the upper rectangle with thickness of 2”. Click Apply next
to the Geometry under the Details View window, and
change the FD1 value under the Details of Extrude2
window to be 2, and hit Enter. Then, click Generate so
that the upper rectangle becomes a 3D solid in dark grey.
Select Sketch3 and click Extrude to make a solid body of
the circle with thickness of 8”. Click Apply next to the
Geometry under the Details View window, and change the
FD1 value under the Details of Extrude3 window to be 8,
and hit Enter. Then, click Generate so that the circle
becomes a solid cylinder in dark grey.
Save the project as 3D Solid Stress and close the DM
window.
The model is ready for meshing, but before that, we will
specify the boundary conditions on model geometry first.
6.3 Academic Example 111
Next, the boundary conditions of the fixed left end and the
pressure load can be applied. This will be done, one at a
time, starting from the left end face.
On the main Project Schematic window, double click on
Setup. Select Analysis Settings under Static Structural.
Select the Supports tab on the upper menu bar and select
Fixed Support item, then select Face icon (box with arrow
and green face). Move the cursor to the left end face and
click at it, this face will become green. Click Apply button
next to the Geometry button.
6.3 Academic Example 113
6.4 Application
Vibration Analysis
k
k
t
m u
u0
m
x
u
x T
d 2u
m ku 0
dt 2
d 2u
or, 2 u 0
dt 2
where 2 k m represents the square of the circular frequency,
i.e.,
k
m
In the above equation, m is the mass and k is the
spring stiffness. The general solution of the governing differential
equation is,
7.1 Basic Equations 119
u (t ) A sin t B cos t
where A and B are constants that can be determined from the initial
conditions. As an example, if the initial displacement and velocity
are u0 and zero, respectively, the mass movement behavior is as
shown in the figure.
For an oscillating cycle of T, the frequency f that
represents the cycles per second, or Hertz, is,
1
f
T
Thus, the circular frequency and the frequency f are related by,
2 f
(rad sec) (2 rad cycle) (cycles sec)
The value of above is also known as the natural circular
frequency. The oscillation in this classical example is called free
vibration.
If the mass is subjected to an
external force F (t ) in the form,
k F (t ) F0 sin f t
then, the governing differential equation of
the mass-spring system becomes,
m
u (t ) d 2u
m ku F0 sin f t
dt 2
F (t )
1D Truss
2u 2u
A EA
t 2 x 2
The displacement u u ( x , t ) varies with the axial coordinate x of
the truss and time t, is the material density, A is the cross-
sectional area, and E is the material Young’s modulus.
1D Beam
2w 4w
A EI
t 2 x 4
The deflection w w( x , t ) varies with the axial coordinate x of the
beam and time t, is the material density, A is the cross-sectional
area, E is the material Young’s modulus and I is the moment of
inertia of area.
7.1 Basic Equations 121
2D Plate
2w Eh 3 4 w 4w 4w
h 2 2
t 12(1 2 ) x 4 x 2 y 2 y 4
The deflection w w ( x , y , t ) varies with the coordinates x, y and
time t, is the material density, h is the plate thickness, E is the
material Young’s modulus and is the Poisson’s ratio.
3D Solid
2u x xy xz
2
t x y z
2v xy y yz
2
t x y z
w
2 xz z
2
yz
t x y z
The displacement components u u ( x , y , z , t ), v v ( x , y , z , t ), w
w ( x , y , z , t ) vary with the coordinates x, y , z and time t . The
quantities x , y , z are the normal stress components while xy ,
xz , yz are the shearing stress components.
1D Truss
The stress is determined from the computed dis-
placement u as,
u
E
x
1D Beam
The stress of the beam is determined at any z
coordinate from the computed deflection w as,
122 Chapter 7 Vibration Analysis
2w
Ez
x 2
2D Plate
The stress components x , y , xy of the plate are
determined at any z coordinate from the computed deflection w
as,
E 2w 2w
x
1 2 x 2 y 2
z
E 2w 2w
y
1 2 x 2 y 2
z
E 2 w
xy x y z
1
3D Solid
The three normal stress components x , y , z and
three shearing stress components xy , xz , yz are determined from
the computed displacement components u , v, w as,
E u v w
x (1 )
(1 )(1 2 ) x y z
E u v w
y (1 )
(1 )(1 2 ) x y z
E u v w
z (1 )
(1 )(1 2 ) x y z
E u v
xy
2(1 ) y x
E u w
xz
2(1 ) z x
E v w
yz
2(1 ) z y
7.2 Finite Element Method 123
M N N d
T
1 Kg/m 3
E 10.92 10 6 N/m 2
v 0.3 1m
h 0.01 m
X
1m
Right click on the Geometry tab and select the New Geo-
metry…. This will launch the ANSYS Design Modeler
(green logo DM).
7.3 Academic Example 127
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Next we draw the square. Click on Sketch1.
128 Chapter 7 Vibration Analysis
7.4 Application
Failure Analysis
8.1 Buckling
8.1.1 Fundamentals
Buckling is a common failure of frame structure caused
by too high compressive loading. Beam buckling is an academic
example often shown in undergraduate class because it is easy to
understand. A beam with the length of L and moment of inertia of
I is made from material that has the Young’s modulus of E. The
beam is constrained at the left end while the right end is subjected
to a compressive load of P as shown in the figure.
E, I
P
Pcr ( mode 1) 2 E I L2
This critical bucking load corresponds to the first mode shape.
For the second mode, the beam shape is similar to an S-
curve as shown in the following figure. The corresponding
buckling load is,
Pcr ( mode 2) 4 2 E I L2
E, I
P
For higher modes, the beam shapes behave in the same fashion but
are more complicated.
The example above contains only a single beam, deter-
mination of its mode shapes and critical buckling loads is not
difficult. For a complicated structure with many beams and plates,
the classical method cannot provide solution effectively. The finite
element method offers a convenient way to yield the mode shapes
with critical buckling loads. The method starts from deriving finite
element equations for all elements in the structural model. These
element equations are in the algebraic form of,
M K 0
where M is the mass matrix; K is the stiffness matrix; is
the vector containing nodal unknowns; and is the vector con-
taining nodal accelerations.
Then, the eigenvalue problem is solved from,
K 2 M 0
where denotes the natural frequency. The equations above lead
to the eigenvalues i and corresponding eigenvectors. Details for
finding the eigenvalues and eigenvectors can be found in advanced
finite element textbooks, including the book written by the author.
138 Chapter 8 Failure Analysis
y
h
P
x b
L
L 1 m ; E 2 1011 N m2 ; P 1N
b .02 m 1 3
I b h 1.666667 109 m4
h .01 m 12
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
Next we draw the beam model. Click on Sketch1.
Click the Sketching tab and select Draw. Choose Line to
create the first line with the end coordinates of (0,0) and
(1,0). This is done by clicking at the coordinates of (0,0) on
the model, move the cursor to the coordinates of (1,0) and
click the mouse again. Click on Generate (the icon with
yellow lightning on the upper-left part of the screen). The
desired line will become dark green.
If the model is too small to see, it can be enlarged by
clicking at the Box Zoom icon on the upper part of the
screen. Click it again after finishing.
The next important step is to go to the Concept tab on top
of the screen and select Lines From Sketches.
Select the Sketch1, the line will become yellow.
Click Apply icon on the right side of the Details of Line1
tab in the Details View at the lower left of the screen. The
line will become cyan. Then, click on Generate. The right
side of the Base Objects tab will show 1 Sketch. The 1
Part, 1 Body item will appear in the Tree Outline window.
142 Chapter 8 Failure Analysis
8.1.3 Application
Buckling of Detergent Bottle
A detergent bottle, lying down in the horizontal z-
direction as shown in the figure, is made from polyethylene
material that has the Young’s modulus of 1.1109 N m 2 and the
Poisson’s ratio of 0.42. The bottle is subjected to an external
compressive loading in the z-direction of 5 Kg. In addition, the
148 Chapter 8 Failure Analysis
figure is 3.3892. This means the critical bucking load of the bottle
is 166.24 N because the applied load is 49.05 N. In another word,
the bottle won’t buckle if the applied compressive load is less than
166.24 N.
8.2.1 Fundamentals
Fatigue is one of the common problems that causes
structural failure. The failure may occur even though the stress is
less than the yield or ultimate stress if the structure is under cyclic
loading. As shown in the figure, the cyclic stress varies up and
down with cycles, where max is the maximum stress, mim is the
minimum stress, m is the mean stress, and a is the alternating
stress.
8.2 Fatigue and Life Prediction 151
Stress
a
max
m
min
Cycles
Stress
S-N curve
e
Endurance limit
Se
Cycles
Ne
Gerber
Se
Goodman
Soderberg
m
y u
.2 R .05
p 108 Pa
.2
x
.2 .6 .2
Select the Settings tab and then Grid, activate the buttons
Show in 2D and Snap, the grid will appear on the main
window. Grid snapping provides convenience when
drawing model.
Change the Major Grid Spacing to 1 m, Minor-Steps per
Major is 5, and Snaps per Minor is 1.
Enlarge the scale by clicking at the Box Zoom icon on the
upper part of the screen (icon with plus sign on the
magnifying glass) and draw a box with appropriate size to
zoom in. Click it again after appropriate scale is showing
on the window.
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
156 Chapter 8 Failure Analysis
window and input the value of 1e8 and hit Enter. Click
Show Mesh button on the upper tab to display mesh on the
model.
8.2.3 Application
Fatigue and Life Prediction of Piston Rod
A piston rod lying in the x-y-z coordinates as shown in
the figure is made from a material that has the Young’s modulus of
2 1011 N m2 and Poisson’s ratio of 0.3. The rod is subjected to a
force from the piston pin with the magnitude of 20,000 N in the
negative y-direction. We will use ANSYS through its Workbench
to estimate the life span of this piston rod.
8.2 Fatigue and Life Prediction 163
1 2
x
L A
9.2 Finite Element Method 169
cAL 2 1 1
kA 1
C ; Kc
6 1 2 L 1
1
QAL 1 q pL 1 hT pL 1
QQ 2 1 ; Qq s2 1 ; Qh 2 1
These closed-form matrices and vectors can be used to develop a
finite element computer program directly.
The three-node triangular element is a simple element
type for learning the finite element method in two dimensions. The
element consists of a node at each corner as shown in the figure.
The finite element matrices and load vectors can be derived in
closed form. Examples of these matrices and load vectors are,
h(T T )
qs 3 (T 4 T4 )
Q
2
y
t
x 1
2 1 1 1
cAt QAt
C 1 2 1 ; QQ 1
12 3
1 1 2 1
2 1 1 1
hA hT A
Kh 1 2 1 ; Qh 1
12 3
1 1 2 1
b1b1 c1c1 b1b2 c1c2 b1b3 c1c3
kt
Kc b1b2 c1c2 b2b2 c2c2 b2b3 c2c3
4A
b1b3 c1c3 b2b3 c2c3 b3b3 c3c3
where bi , ci ; i =1, 2, 3 are the coefficients that depend on the
nodal coordinates xi , yi and A is the element area. Details for
determining these coefficients and area are given in chapter 4.
170 Chapter 9 Heat Transfer Analysis
h(T T )
qs 4
3
(T 4 T4 )
Q
y
1
2
x t
4 qs
Q h(T T )
(T 4 T4 )
1 3
z
y 2
x
9.3 Academic Example 171
2 1 1 1 1
cV 1 2 1 1 QV 1
C
20 1 1 2
1
; QQ
4 1
1 1 1 2 1
where V is the element volume.
5 qs
h(T T )
6 8
7 (T 4 T4 )
1
2 4
z
y
x 3
sin( x 2) sinh( y 2)
T ( x, y )
sinh( 2)
Y T sin( x 2)
1T 0 k 1
T 0
X
T 0
2
9.4 Application
9.4.1 Three-dimensional Heat Transfer through Fins
A three-dimensional heat sink, consisting of fins as
shown in the figure, is made from a material that has the thermal
conductivity coefficient of k 237 W m- C . The heat sink trans-
fers heat from the bottom surface to the surrounding air by fins.
The bottom surface of the heat sink is subjected to a specified
heating of q 1500 W m2 . The convection coefficient of fin
surface is h 40 W m2 - C and the surrounding air temperature is
T 30 C . We will use ANSYS through its Workbench to deter-
mine the temperature distribution of this heat sink.
180 Chapter 9 Heat Transfer Analysis
k 237 W/m - C
1
2
8 h 40 W/m 2 - C
T 30 C
2
Z
2 X
15
q 1500 W/m 2
where x y z xy xz yz
T
95F
Y
1'
X
95F
1'
1.5' 1.5'
95 F
1'
245 F
X
1.5'
Close the Engineering Data tab and click at the Project tab
on the upper menu, it will bring back to the main Project
Schematic window.
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting an option.
194 Chapter 10 Thermal Stress Analysis
Next, to draw the rectangle with the size of 1.5 1 ft, click
on Sketch1.
Click the Sketching tab and select Draw. Choose Rectan-
gle to create a rectangle with the vertices of (0,0) and
(1.5,1). This is done by clicking at the coordinates of (0,0)
on the model, move the cursor to the coordinates of (1.5,1),
then click the mouse again. Click on Generate (the icon
with yellow lightning on the upper-left part of the screen).
The desired rectangle will pop-up in dark green.
The next important step is to go to the Concept tab on top
of the screen and select Surfaces From Sketches.
Select Sketch1, the rectangle will become yellow.
Click Apply icon on the right side of the Base Objects tab
in the Details View at the lower left of the screen. The
rectangle will become cyan. The right side of the Base
Objects tab will show 1 Sketch, with 1 Part, 1 Body
appears in the Tree Outline window.
Then, click on Generate. We now have rectangular
domain representing the upper right quarter of the plate.
Click the Solution item, the Stress tab will appear on the
lower menu bar. Click on this Stress tab and Select the
Equivalent (von-Mises) option, the Equivalent Stress
10.3 Academic Example 201
10.4 Application
10.4.1 Thermal Stress in Combustion Engine Cylinder
A combustion engine cylinder as shown in the figure is
made from a material that has the thermal conductivity coefficient
of 237 W m- C , the Young’s modulus of 7.11010 N m2 , the
Poisson’s ratio of 0.3, and the thermal expansion coefficient of
2.3 105 C . The top surface of the cylinder is subjected to an
internal pressure of 106 N m2 and heat flux of 100,000 W m2 .
10.4 Application 203
k 237 W m- C
h 40 W m2 - C
T 30 C
q 100, 000 W m2
E 7 10 10 N m2
0.3
2.3 10 5 C
Incompressible
Flow Analysis
p v v
( uv) ( vv)
x y y x x y y
p cell
u cell
j2
N
J 1
staggered
j 1
W P E grid
y J
original
y j grid
2 J 1
S
j 1
J 2 v cell
j2
I 2 I 1 I I 1
i2 i 1 i i 1 i2
x
x
2
where Au is the flow area on the left and right edges of the cell.
The subscript nb means the neighbor cells of the u cell.
Similarly, the velocity v is determined from,
aPv vP anbv vnb ( pI , J 1 pI , J ) Av
where Av is the flow area on the top and bottom edges of the cell.
The coefficients aP and anb in the equations above
consist of the convection and diffusion terms of the p cell. These
11.2 Finite Volume Method 211
p v
and aPv vP anbv vnb
y
A
Av p
and vP vP
aPv y
while p is obtained by solving the differential equation,
Au p Av p u v
u v
x aP x y a P y x y
uL
Re
y
u 1
1
1 Fluid
0.01
x
1
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting options.
Next, to draw the unit square, click on Sketch1.
Click the Sketching tab and select Draw. Choose Rectan-
gle to create a square with the vertices of (0,0) and (1,1).
This is done by clicking at the coordinates of (0,0), move
the cursor to the coordinates of (1,1) and click the mouse
again. Click on Generate (the icon with yellow lightning on
the upper-left part of the screen). The desired square will
pop up in dark green.
216 Chapter 11 Incompressible Flow Analysis
Place the cursor near the top edge of the square and click,
the top edge will become green. Then, right click to select
11.3 Academic Example 217
3
x
Next, the boundary names of the flow inlet, flow outlet and
cylinder edge are assigned as Inlet, Outlet and Cylinder,
respectively. This will provide the convenience in applying
boundary conditions later.
y
uv0
(0,10)
1
u 1 0.1 10
v0 3
6
p0
x
6
10 10 20 10
11.4 Application
11.4.1 Flow in Piping System
A piping system as shown in the figure consists of
pipes with different diameters, reservoir, reducing adapter and
elbow. Water flows into the larger pipe on the left side of the
figure at the speed of 1 m/s. The water leaves the smaller pipe on
the right side of the figure at the atmospheric pressure. The water
density is 998.2 kg/m3 and its viscosity is 0.001003 kg/m-s. We
will use Fluent in ANSYS to analyze the flow behavior in this
piping system.
Compressible
Flow Analysis
2 u v 2 v u
x = μ 2 ; y = 2 ;
3 x y 3 y x
u v
xy =
y x
The heat fluxes qx and q y vary with the temperature T according to
the Fourier’s law,
T T
qx = k ; qy = k
x y
The fluid thermal conductivity k is determined from,
k = cp Pr
where Pr is the Prandtl number and is the dynamic viscosity that
can be determined from the Sutherland’s law.
U
t
dA ( E I n x FI n y ) dS = 0
A S
3 ny n̂ 3 v Vn
Vt
S1 nx u
S2 S1
S2
2 2
y S3 y S3
1 1
x x
236 Chapter 12 Compressible Flow Analysis
Fn dS = Fn dS
S S
So that the finite volume equations become,
t
U m1 U m = Fn dS
A S
~
The numerical flux Fn from the left cell L to the right cell R with
the common edge of length S is determined using the Roe’s
averaging method,
~ 1 1
Fn = ( FnL FnR ) A (UL UR )
2 2
where FnL and FnR are the fluxes of the left cell L and the right
cell R, respectively. The determinant A is computed from the
Jaco-bian matrix which will be shown later. The quantities U L and
U R represent the conservation variables of the left cell L and the
right cell R, respectively. The final form of finite volume equations
becomes,
t
U m1 U m =
2A
S FnL
m m
FnR A m (ULm URm )
A = R 1 R
where
1 0
1 1
c2 2c 2 2c 2
u u cx u cx
ny
c2 2c 2 2c 2
R 1
=
v cy v cy
v
2 nx
c 2c 2 2c 2
Vn c 1 Vn c 1
2 Vt
c 2c 2 2 2c 2 2
Vn 0 0 0
0 Vn 0 0
=
0 0 Vn c 0
0 0 0 Vn c
c 2 u v
Vt ny nx 0
R =
Vn c c x u c y v
Vn c c x u c y v
Values in these equations are average between the left and right
cell values,
L H L R H R
= L R ; H =
L R
L uL R uR L vL R vR
u = ; v =
L R L R
where the subscripts L and R refer to the left and right cells,
respectively.
Inviscid .546
Symmetry 20 wall
x
0 .5 1 .5
c p 1004.5 m 2 sec 2 K
the figure with the fluid properties and flow conditions. The
problem has analytical solution so that the computed solution can
be compared. The shock wave angle is determined from the
transcendental function,
M 2 sin 2 1
2 cot 2 = tan
M cos 2 2
We will employ Fluent in ANSYS through its Workbench to solve
for the flow behavior.
Click on Modeling tab, and then click the New Sketch icon
(a small blue geometry symbol with * on the upper part of
the DM window) to create Sketch1 which will appear under
XYPlane. Note that this name Sketch1 can be deleted or
renamed by right clicking on it and selecting options.
Next, to draw the flow domain, click on Sketch1.
12.3 Academic Example 241
Click Apply icon on the right side of the Base Objects tab
in the Details View at the lower left of the screen. The
domain boundary will become cyan. The right side of the
Base Objects tab will show 1 Sketches.
Then, click on Generate. We now have the desired flow
domain.
Hold the Ctrl key while clicking the mouse at the left, top
and right edges, these edges will become green. Then, right
click to select Named Selection, and click Apply tab next
to the Geometry tab in the lower left of Details View
window. The right tab will become 3 Edges. Then, click
on Generate.
Right click at the NameSel1 in the Tree Outline window
and choose Rename. Type Farfield and hit Enter. Then,
click on Generate.
Symmetry: On the upper tools bar, select the Selection
Filter: Edges icon again.
Click the mouse at the bottom edge, this edge will become
green. Then, right click to select Named Selection, and
click Apply tab next to the Geometry tab in the lower left
of Details View window. The right tab will become 1
Edge. Then, click on Generate.
Right click at the NameSel2 in the Tree Outline window
and choose Rename. Type Symmetry and hit Enter.
Then, click on Generate.
Wedge: On the upper tools bar, select the Selection Filter:
Edges icon again.
Click the mouse at the inclined edge, this edge will become
green. Then, right click to select Named Selection, and
click Apply tab next to the Geometry tab in the lower left
of Details View window. The right tab will become 1
Edge. Then, click on Generate.
Right click at the NameSel3 in the Tree Outline window
and choose Rename. Type Wedge and hit Enter. Then,
click on Generate.
244 Chapter 12 Compressible Flow Analysis
(d)) Setting up
u for Analyysis
(f) Displayin
ng Results
Under Result
R section in the Tree window
w, select Grraphics.
Choose and doublee-click on Contours
C an
nd select Deensity…
250 Chap
pter 12 Coompressiblee Flow Ana
alysis
Computational
domain 1.4
R 287 m2/sec2-K
Bow shock .45 T 300 K
M 3
M=3 a 347.19 m/sec
u 1041.57 m/sec
1.18 kg/m3
p 101598 N/m2
.15
Cylinder cp 1004.5 m2/sec2-K
Symmetry
.15 .15
Next, we assign the name for the upper left curvature and
the right vertical line as Farfield. We also assign the names
for the symmetrical line and cylinder edge as Symmetry
and Cylinder, respectively. These assigned names aid
application of the boundary conditions later.
12.4 Application
11.4.1 Flow over Shuttle Nose and Cockpit
During reentry at high-speed, the Shuttle is subjected to
high aerodynamic heating and pressure. Inviscid flow analysis is
normally used as the first step to provide flow behavior around the
vehicle. The analysis also provides good estimation of the
aerodynamic pressure on the vehicle body. As shown in the figure,
the Shuttle geometry is rather complicated. The flow domain
surrounding the vehicle is thus huge and complicated too. Such the
flow domain requires a large amount of small cells to capture
detailed flow behavior.