Finite Element Method - Hw2: University of Ulsan Professor: YEO, TAE-IN Student: Nguyen Khanh Hoan Student ID: 20195827

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

FINITE ELEMENT METHOD - HW2

UNIVERSITY OF ULSAN

Professor: YEO, TAE-IN


Student: Nguyen Khanh Hoan
Student ID: 20195827

Problem 1.

a)
At node B,
 
FBAx + FBDx =0 FBA = FBD
⇒ (1)
FBAy + FBC + FBDy + F = 0 FBA cos π3 + FBC + FBD cos π3 = −500
At node C,
 
FBCx =0 FBC = 0
⇒ (2)
FCAy + FCDy = 0 FCA = FCD
At node D,
π
FBDy + FDCy = 0 ⇒ FBD cos + FDC = 0. (3)
6
From (1) and (2), we get FAB = FBD = −500, thus,
π √
(3) ⇒ FDC = 500cos = 250 3N = FAC
6
b) Using Matlab to calculation,
main.m file

1
function dof matrix.m

2
function stiffness matrix.m

Results

Figure 1: Displacement

3
Figure 2: Displacement

(a) Displacement (b) Reaction force


(follow in ordinal (follow in ordinal
uAx , uAy , uBx , uBy , uCx , uCy ) FAx , FAy , FBx , FBy , FCx , FCy )

Figure 3: Matlab calculation results

c) Results from ANSYS-APDL,


Half model results,

Figure 4: Deformation displacement - Half model

4
Figure 5: x-direction displacement - Half model

Figure 6: y-direction displacement - Half model

Figure 7: x-direction reaction force - Half model

Figure 8: y-direction reaction force - Half model

5
Full model results,

Figure 9: Deformation displacement - Full model

Figure 10: x-direction displacement - Full model

Figure 11: y-direction displacement - Full model

6
Figure 12: x-direction reaction force - Full model

Figure 13: y-direction reaction force - Full model

d)Conclusion:With half model, the results get from ANSYS-APDL software is similar with
the manual calculation results. At node B and C (correspondingly node 2 and 3 in the software
results), y-direction displacements are similar between full model and half model. x-direction
displacement at node A (correspondingly node 1) in half model is similar to x-direction dis-
placement at node B and C in full model.

Problem 2.

Z 1
I= (1 + y 02 )dx − 6y(1)
0

with y(0) = 1
We have,
Z 1
δI = (δ1 + δy 02 )dx − δ(6y(1)) , ∀δy
0
Z 1
= 2y 0 (δy 0 )dx − 6δy(1) , ∀δy
0
Z 1
= 2y 0 (δy)0 dx − 6δy(1) , ∀δy
0
Z 1
0 1
= [2y δy]0 − 2y 00 δydx − 6δy(1) , ∀δy
0

Z 1
0 1
[2y δy]0 − 2y 00 δydx − 6δy(1) = 0
Z0 1
2(y 0 )y=1 δy(1) − 2(y 0 )y=0 δy(0) − 2y 00 δydx − 6δy(1) = 0
0

7
Z 1
0 0
(y )y=1 δy(1) − (y )y=0 δy(0) − y 00 δydx − 3δy(1) = 0
0
Z 1
0 0
((y )y=1 − 3) δy(1) − (y )y=0 δy(0) − y 00 δydx = 0, ∀δy
0

From that,
Geometric B.C. y(0) = 1 ⇒ δy(0) = 0
G.E. y 00 = 0
Force B.C. x = 1; y 0 − 3 = 0

Problem 3.

a) Work done by the external force during virtual displacement

δWext = P δx = P δ(x1 + x2 )

Work done by internal force during virtual displacement


k1 k2
δWint = F δx = kxδx = (x1 + x2 )δ(x1 + x2 )
k1 + k2
Principle of virtual work

δWext = δWint
k1 k2
P δ(x1 + x2 ) = (x1 + x2 )δ(x1 + x2 )
k1 + k2
k1 k2
P = (x1 + x2 )
k1 + k2
b) Strain Energy from the internal force
1 1 k1 k2
U = kx2 = (x1 + x2 )2
2 2 k1 + k2
Work done by the external force

Wext = P x = P (x1 + x2 )

Total Potential
1 k1 k2
Π = U − Wext = (x1 + x2 )2 − P x
2 k1 + k2

8
Minimize
δΠ k1 k2
= (x1 + x2 )δ(x1 + x2 ) − P δ(x1 + x2 )
δx1 k1 + k2
 
k1 k2
= (x1 + x2 ) − P δ(x1 + x2 )
k1 + k2
=0
k1 k2
P = k1 +k2
(x1 + x2 ).

c)Principle of conservation of energy


Strain energy
1 1 k1 k2
U = kx2 = (x1 + x2 )2
2 2 k1 + k2
Work done by external force
1 1
W = P x = P (x1 + x2 )
2 2
Conservation of energy

U =W
1 k1 k2 1
(x1 + x2 )2 = P (x1 + x2 )
2 k1 + k2 2
k1 k2
P = k1 +k2
(x1 + x2 ).

You might also like