"Final Term Paper": CE: 5155 "Finite Element Analysis of Structure System"
"Final Term Paper": CE: 5155 "Finite Element Analysis of Structure System"
System
Haris Alam
Submitted To:
Dr. Muhammad Adil
M.Sc. Structural Engineering
DEPARTMENT OF CIVIL ENGINEERING
UET PESHAWAR.
p = - W
Where is the strain energy, and W is the work done on the body by the external forces.
The principle of minimum potential energy can be stated as follows" Of all possible
displacement states (u. v. and u') a body can assume that satisfy compatibility and given
kinematic or displacement boundary conditions, the state that satisfies the equilibrium
equations makes the potential energy assume a minimum value.
Q # 02
Nodal Coordinates
Nodal Unknowns
1
2
3
4
(0,0)
(300,0)
(300,250)
(150,150)
(U1,U2)
(U3,U4)
(U5,U6)
(U7,U8)
Element
Number
Node 1
Node 2
Node 3
1
2
1
2
2
3
4
4
Formula Used:
1
0
E
1
0
=
D
(1 + )(1 2 )
1 2
0
0
*T =[(1 + )T (1 + )T 0]
(i )
y23
1
=
0
2* Area
x32
0
x32
y23
y31
0
x13
0
x13
y31
y12
0
x21
x21
y12
=
K ( e ) B ( e ) T * D * B ( e ) * ( e )
List of Notations
S.No
Notation
Description
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Em
Nu
Alp
DelT
Len
x1,x2.y3,y4
Ar1
Ar2
Vol1
Vol2
Dmat
Eps
K1mat
K2mat
PEp1
PEp2
17.
Pep1
18.
Pep2
19.
20.
21.
22.
23.
24.
25.
26.
27.
Pt1
Pt2
Pmat
K1MAT
K2MAT
KMatrix
RedKmat
RedPmat
UMat
Modulus of Elasticity
Poisson Ratio
Coefficient of Expansion
Change in Temperature
Length
Nodal Coordinates
Area of Element 1
Area of Element 2
Volume of Element 1
Volume of Element 2
D Matrix
In[1]:=
Em = 3 * 10 ^ 6 * 144
Nu = .20
Out[1]=
Out[2]=
0.2
In[3]:=
Alp = 10 ^ - 5
DelT = 40
1
Out[3]=
100 000
Out[4]=
In[5]:=
40
Design ft
Len = 1
Design
Out[5]=
ft
Out[6]=
In[7]:=
1
x1
x2
x3
x4
y1
y2
y3
y4
Out[7]=
Out[8]=
300
Out[9]=
300
Out[10]=
150
Out[11]=
Out[12]=
Out[13]=
250
Out[14]=
150
In[15]:=
Out[15]=
In[16]:=
Out[16]=
In[17]:=
Out[17]=
In[18]:=
=
=
=
=
=
=
=
=
0
300
300
150
0
0
250
150
y231 = y2 - y4
-150
y311 = y4 - y1
150
y121 = y1 - y2
0
In[19]:=
x321 = x4 - x2
Out[19]=
-150
In[20]:=
x131
x211
y232
y312
y122
x322
x132
x212
Out[20]=
-150
Out[21]=
300
Out[22]=
100
Out[23]=
150
Out[24]=
-250
Out[25]=
-150
Out[26]=
-150
Out[27]=
300
In[28]:=
Out[28]=
In[29]:=
Out[29]=
In[30]:=
Out[30]=
In[31]:=
Out[31]=
In[32]:=
Out[32]=
In[33]:=
Out[33]=
=
=
=
=
=
=
=
=
x1 - x4
x2 - x1
y3 - y4
y4 - y2
y2 - y3
x4 - x2
x1 - x4
x2 - x1
1 1
1
0 300 150
0 0 150
Ar1 = Det@MmatD * 1 2
22 500
Ar2 = Det@Mmat1D * 1 2
18 750
In[34]:=
Out[34]=
In[35]:=
Out[35]=
In[36]:=
B1 = 1 H2 * Ar1L * Bmat1
1
Out[36]=
- 300
1
- 300
1
- 300
- 300
In[37]:=
::-
1
300
1
- 300
1
300
1
150
1
150
- 300
1
, 0,
300
1
, 0, 0, 0>, :0, -
1
, 0, -
300
300
1
1
1
1
:,,,
,
, 0>>
300
300
300 300 150
1
Out[37]=
- 300
- 300
1
1
1
300
0
1
Out[38]=
1
375
0
1
- 300
1
150
1
300
1
150
1
250
- 250
1
375
- 250
- 150
- 250
1
250
1
125
1
125
1
- 150
B1trp = Transpose@B1D
1
- 300
0
Out[39]=
B2 = 1 H2 * Ar2L * Bmat2
- 250
In[39]:=
0
1
- 300
1
- 300 - 300
1
300
- 300
1
150
- 300
1
300
1
150
1
, 0,
300
150
>,
In[40]:=
Out[40]=
B2trp = Transpose@B2D
1
375
- 250
1
250
- 250
In[41]:=
- 250
- 150
1
125
1
375
1
- 250
1
250
1
125
1
- 150
Out[41]=
In[42]:=
Out[42]=
In[43]:=
Out[43]=
In[44]:=
0.
1.2 10
4.8 10
0.
0.
0.
1.8 108
EpsT = Transpose@EpsD
0.00048
0.00048
0
B1TD = B1trp.Dmat
-1.6 106 -400 000. -600 000.
-400 000. -1.6 106 -600 000.
1.6 106
-600 000.
400 000.
Out[44]=
In[45]:=
600 000.
0.
0.
1.2 106
800 000.
3.2 106
0.
B2TD = B2trp.Dmat
1.28 106
-720 000.
320 000.
1.92 10
Out[45]=
-720 000.
480 000.
6
In[46]:=
480 000.
720 000.
-3.2 10
-800 000.
1.44 106
960 000.
3.84 106
-1.2 106
In[47]:=
Out[47]=
7.5 107
7.5 107
1.65 108
1.5 107
-7.5 107
1.5 107
-1.5 107
7.5 107
-9. 10
-6. 10
In[48]:=
Out[48]=
In[49]:=
-9. 10
-2.4 10
6. 10
9. 107
8
9. 10
6. 107
-2.4 108
1.8 10
0.
0.
4.8 108
-2.4 10
1.18 108
-6. 107
1.5 108
-7.8 107
-2.68 108
1.38 108
-6. 107
1.68 108
-7.2 107
1.8 108
1.32 108
-3.48 108
1.5 108
-7.2 107
1.98 108
-9. 107
-3.48 108
1.62 108
-7.8 107
1.8 108
-9. 107
1.98 108
1.68 108
-3.78 108
-2.68 108
1.32 108
-3.48 108
1.68 108
6.16 108
-3. 108
1.38 108
-3.48 108
1.62 108
-3.78 108
-3. 108
7.26 108
2.16 107
Out[49]=
-2.16 107
0.
4.32 107
PEp2 = Vol2 * B2TD.EpsT
1.44 107
-2.16 107
2.16 107
-2.16 107
-3.6 107
4.32 107
In[51]:=
-2.16 107
Out[50]=
-9. 10
-2.16 107
In[50]:=
7.5 107
-6. 107
PEp1
-2.16 107
-2.16 107
2.16 107
Out[51]=
-2.16 107
0.
4.32 107
In[52]:=
Out[52]=
-2.16 107
0
0
0.
4.32 107
In[53]:=
PEp2
1.44 107
-2.16 107
2.16 107
Out[53]=
-2.16 107
-3.6 107
4.32 107
In[54]:=
1.44 107
-2.16 107
Out[54]=
2.16 107
-2.16 107
-3.6 107
4.32 107
In[55]:=
Pt1 = 88992 627.7<, 83 055 127.7<, 80<, 84 125 000<, 80<, 80<, 8992 627.7<, 8992 627.7<<
992 627.7
Out[55]=
3.0551277 106
0
4 125 000
0
0
992 627.7
992 627.7
In[56]:=
Out[56]=
In[57]:=
Pt2 = 880<, 80<, 80<, 80<, 8506 957.5<, 8878 050.3<, 8506 957.5<, 8878 050.3<<
0
0
0
0
506 957.5
878 050.3
506 957.5
878 050.3
Out[57]=
2.21069575 107
-2.07219497 107
-3.45004148 107
8.8270678 107
In[58]:=
MatrixForm@K1matD
Out[58]//MatrixForm=
1.65 108
7.5 107
7.5 107
1.65 108
1.5 107
-7.5 107
1.5 107
-1.5 107
7.5 107
9. 107
-2.4 108
-9. 107
-9. 107
-9. 107
1.8 108
0.
0.
4.8 108
-6. 10
In[59]:=
-2.4 10
6. 10
7.5 107
9. 107
8
-2.4 10
-6. 107
1.65`*^8
7.500000000000001`*^7
7.500000000000001`*^7
1.65`*^8
- 7.500000000000001`*^7 1.5000000000000002`*^7
- 1.5000000000000002`*^7 7.500000000000001`*^7
0
0
0
0
- 9.000000000000001`*^7 - 9.000000000000001`*^7
- 6.000000000000001`*^7 - 2.4000000000000003`*^8
K1MAT =
1.65 108
7
Out[59]=
7.5 107
8
7.5 10
1.65 10
1.5 10
-7.5 107
1.5 107
-1.5 107
0
0
7.5 107
0
0
-9. 107
-9. 107
-9. 107
-6. 10
-2.4 10
6. 10
7.5 10
9. 107
0 0 -9. 10
9. 107
0
0
0 0 1.8 108
8
-2.4 10
0 0
0.
-6. 107
-2.4 108
6. 107
-2.4 108
0
0
0.
4.8 108
- 7.500000000000001`*^7
1.5000000000000002`*^7
1.65`*^8
- 7.500000000000001`*^7
0
0
- 9.000000000000001`*^7
6.000000000000001`*^7
In[60]:=
MatrixForm@K2matD
Out[60]//MatrixForm=
1.18 108
-6. 107
1.5 108
-7.8 107
-2.68 108
1.38 108
-6. 107
1.68 108
-7.2 107
1.8 108
1.32 108
-3.48 108
1.5 108
-7.2 107
1.98 108
-9. 107
-3.48 108
1.62 108
1.8 108
-9. 107
1.98 108
1.68 108
-3.78 108
-7.8 107
8
In[61]:=
Out[61]=
-2.68 10
1.32 10
-3.48 10
1.68 10
6.16 10
-3. 108
1.38 108
-3.48 108
1.62 108
-3.78 108
-3. 108
7.26 108
0
0
0
0
0
0
0
0
K2MAT =
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 1.18`*^8
- 6.`*^7
1.5`*^8
- 7.8`*^7 - 2.68`*^8 1.38`*^8
0 - 6.`*^7
1.68`*^8 - 7.2`*^7
1.8`*^8
1.32`*^8 - 3.48`*^8
0 1.5`*^8
- 7.2`*^7 1.98`*^8
- 9.`*^7 - 3.48`*^8 1.62`*^8
0 - 7.8`*^7
1.8`*^8
- 9.`*^7
1.98`*^8 1.68`*^8 - 3.78`*^8
0 - 2.68`*^8 1.32`*^8 - 3.48`*^8 1.68`*^8 6.16`*^8
- 3.`*^8
0 1.38`*^8 - 3.48`*^8 1.62`*^8 - 3.78`*^8 - 3.`*^8
7.26`*^8
0 0
0 0
0
0
0
0
0
0
0
0
0
0
0
0
0 0
1.18 108
-6. 107
1.5 108
-7.8 107
-2.68 108
1.38 108
0 0
-6. 107
1.68 108
-7.2 107
1.8 108
1.32 108
-3.48 108
0 0
1.5 108
-7.2 107
1.98 108
-9. 107
-3.48 108
1.62 108
0 0 -7.8 10
1.8 10
-9. 10
1.98 10
1.68 10
-3.78 108
0 0 -2.68 108
1.32 108
-3.48 108
1.68 108
6.16 108
-3. 108
-3.48 108
1.62 108
-3.78 108
-3. 108
7.26 108
1.38 108
0 0
In[62]:=
7.5 107
-7.5 107
-1.5 107
-9. 107
-6. 107
7.5 107
1.65 108
1.5 107
7.5 107
-9. 107
-2.4 108
-7.5 107
1.5 107
2.83 108
-1.35 108
1.5 108
-7.8 107
-3.58 108
1.98 108
-1.5 107
7.5 107
-1.35 108
3.33 108
-7.2 107
1.8 108
2.22 108
-5.88 108
1.5 108
-7.2 107
1.98 108
-9. 107
-3.48 108
1.62 108
-7.8 107
1.8 108
-9. 107
1.98 108
1.68 108
-3.78 108
-9. 107
-9. 107
-3.58 108
2.22 108
-3.48 108
1.68 108
7.96 108
-3. 108
-6. 107
-2.4 108
1.98 108
-5.88 108
1.62 108
-3.78 108
-3. 108
1.206 109
-1.5 107
-9. 107
-6. 107
Out[62]=
In[63]:=
MatrixForm@KMatrixD
Out[63]//MatrixForm=
1.65 108
7
7.5 107
8
-7.5 107
7
7.5 10
1.65 10
1.5 10
7.5 10
-9. 10
-2.4 108
-7.5 107
1.5 107
2.83 108
-1.35 108
1.5 108
-7.8 107
-3.58 108
1.98 108
-1.5 107
7.5 107
-1.35 108
3.33 108
-7.2 107
1.8 108
2.22 108
-5.88 108
1.5 108
-7.2 107
1.98 108
-9. 107
-3.48 108
1.62 108
-7.8 107
1.8 108
-9. 107
1.98 108
1.68 108
-3.78 108
-9. 107
-9. 107
-3.58 108
2.22 108
-3.48 108
1.68 108
7.96 108
-3. 108
-6. 107
-2.4 108
1.98 108
-5.88 108
1.62 108
-3.78 108
-3. 108
1.206 109
In[64]:=
Out[64]=
1.65`*^8
0
- 9.000000000000001`*^7 - 6.000000000000001`*^7
0
1.98`*^8
1.68`*^8
- 3.78`*^8
- 9.000000000000001`*^7 1.68`*^8
7.96`*^8
- 3.`*^8
- 6.000000000000001`*^7 - 3.78`*^8
- 3.`*^8
1.206`*^9
RedKmat =
1.65 108
-9. 107
1.98 108
-9. 107
1.68 108
7.96 108
-6. 107
-3. 108
1.206 109
MatrixForm@PmatD
Out[65]//MatrixForm=
-2.06073723 107
-1.85448723 107
3.6 107
-3.9075 107
2.21069575 107
-2.07219497 107
-3.45004148 107
8.8270678 107
In[66]:=
RedPmat =
- 2.06073723`*^7
- 2.07219497`*^7
- 3.45004148`*^7
8.8270678`*^7
-2.06073723 107
-2.07219497 107
Out[66]=
-3.45004148 107
8.8270678 107
In[67]:=
InvRKmat = MatrixForm@Inverse@RedKmatDD
Out[67]//MatrixForm=
In[68]:=
6.856209846 10-9
7.669281463 10-10
7.669281463 10-10
1.398675643 10-8
1.655485749 10-9
4.294892273 10-11
8.099953857 10-10
4.294892273 10-11
2.163063926 10-9
4.093044168 10-9
UMatrix = [email protected]
Out[68]//MatrixForm=
6.856209846 10-9
7.669281463 10-10
7.669281463 10-10
1.398675643 10-8
-10
9.186100167 10
8.099953857 10-10
-9
-1.322661177 10
4.093044168 10-9
-9
-11
1.655485749 10
4.294892273 10
4.294892273 10-11
2.163063926 10-9
-2.06073723 107
.
-2.07219497 107
-3.45004148 107
8.8270678 107
10
In[69]:=
Out[69]=
In[70]:=
Out[70]//MatrixForm=
-0.1173743001
0.101290906
-0.04484583474
0.08794563186
In[71]:=
MatrixForm@UmD
Out[71]//MatrixForm=
-0.1173743001
0.101290906
-0.04484583474
0.08794563186
In[72]:=
U1mat =
- 0.11737430008814587`
0
0
0
- 0.04484583473639064`
0.08794563186218483`
Out[72]=
-0.1173743001
0
0
0
-0.04484583474
0.08794563186
In[73]:=
MatrixForm@UmD
Out[73]//MatrixForm=
-0.1173743001
0.101290906
-0.04484583474
0.08794563186
In[74]:=
U2mat =
0
0
0
0.10129090595767415`
- 0.04484583473639064`
0.08794563186218483`
Out[74]=
0
0
0
0.101290906
-0.04484583474
0.08794563186
In[75]:=
Stre1 = B1.U1mat
Out[75]=
In[76]:=
0.000391247667
0.0005863042124
0.00009227543538
Stress1mat = Dmat.Stre1 - Dmat.EpsT
Out[76]=
-29 844.61437
40 375.74199
16 609.57837
In[77]:=
Stre2 = B2.U2mat
Out[77]=
In[78]:=
Out[78]=
0.0002989722316
0.0002984014311
-0.0005399072665
Stress2mat = Dmat.Stre2 - Dmat.EpsT
-108 685.1571
-108 890.6453
-97 183.30797
11