Professional Documents
Culture Documents
On this study we are trying to develop a MATLAB code for FEM analysis of the simple chassis
frame made from tubes elements, the results obtained from the MATLAB code would be compared
with results of the simulation by PATRAN 2017 as a commercial software to confirm the codes
implementations. The design parameter has been defined to design chassis such that the torsional
rigidity of the chassis is 16 kN m/degree.
The next important step would be defining an appropriate global coordinate system, Figure 1
illustrated the coordinate system considered as global system
Considering the nodal coordinates, we could develop the connectivity elements for these nodes,
table 3 depicted the assumed elements for the finite element analysis.
Detailed properties of the elements including cross section properties for all elements are listed
on table 4, and the nodes numbering are illustrated on figure 3.
Beam-5
Length:962.042mm
Volume:0.000359054m^3
Mass Density:7300kg/m^3
Mass:2.6211kg
Weight:25.6867N
Beam-6
Length:537.678mm
Volume:0.000192791m^3
Mass Density:7300kg/m^3
Mass:1.40737kg
Weight:13.7923N
Beam-7
Length:607.901mm
Volume:0.000226809m^3
Mass Density:7300kg/m^3
Mass:1.6557kg
Weight:16.2259N
Beam-10
Length:577.643mm
Volume:0.000206391m^3
Mass Density:7300kg/m^3
Mass:1.50665kg
Weight:14.7652N
Beam-11
Length:1224.75mm
Volume:0.000447605m^3
Mass Density:7300kg/m^3
Mass:3.26751kg
Weight:32.0216N
Beam-12
Length:531.006mm
Volume:0.000187353m^3
Mass Density:7300kg/m^3
Mass:1.36767kg
Weight:13.4032N
Beam-13
Length:1183.5mm
Volume:0.000441707m^3
Mass Density:7300kg/m^3
Mass:3.22446kg
Weight:31.5997N
Beam-14
Length:1435.17mm
Volume:0.000529749m^3
Mass Density:7300kg/m^3
Mass:3.86717kg
Weight:37.8982N
Beam-15
Length:548.867mm
Volume:0.000190706m^3
Mass Density:7300kg/m^3
Mass:1.39216kg
Weight:13.6431N
Beam-16
Length:537.678mm
Volume:0.000192791m^3
Mass Density:7300kg/m^3
Mass:1.40737kg
Weight:13.7923N
Beam-17
Length:689.467mm
Volume:0.000252839m^3
Mass Density:7300kg/m^3
Mass:1.84572kg
Weight:18.0881N
Now in order to fulfill the requirement of the project we need to consider the equation of the
torsional rigidity, since it has been asked to set in to be 16 kN m/degree. And as the chassis we
are studying has a symmetrical layout and boundary condition, we could simply assume that
the rotational angle denoted by 𝜃𝑟 & 𝜃𝑙 are identical and the equation od the torsional
stiffness would be:
1.1
𝑇𝑆 = 𝐹 ×
2×𝜃
Here we have assumed the force exerted on nodes 1 and 3 would be equal and on opposite
directions and also equals to 200N.
On the other hand, we know that the there exist a relation between the nodes 1 or 3 displacement
along perpendicular axis and the rotational angle so
2𝑦1
𝜃 = tan−1( )
1.1
So, by using above relation after finding the displacement of node 1 we can simply find the
corresponding value of Ɵ ,then by using the equation of torsional stiffness we could simply find
the TS, now that we are told to have specific value of TS we would solve the problem as F to be
parametric so we could have the rigidity of 16 as requested.
Torque
Beam Joints Axial(N) Shear1(N) Shear2(N) Moment1(N.m) Moment2(N.m)
(N.m)
-3.64867e-
1 -0.076616 0.00317401 0.000778914 0.000618121 -0.00254369
27 05
1 0 0 0 0 0 0
34
2 328.127 966.414 1371.6 -640.09 453.294 10.3772
1 0 0 0 0 0 0
40
2 1738.14 -41.2402 -253.945 -60.4726 21.1171 8.01287
0 0 0 0 0 0 0
56
2 -15010.8 -948.542 -419.44 -239.878 86.7386 7.27492
Upper bound
Bending Bending Torsional
Beam Joints Axial(N/m^2) axial and
Dir1(N/m^2) Dir2(N/m^2) (N/m^2)
bending(N/m^2)
1 6.9633e+06 -5.18235e+07 -874501 1.38007e+07 5.87942e+07
1 2 6.9633e+06 -3.21332e+07 -8.96554e+06 -1.3800e+07 4.03238e+07
1 -1.49081e+07 4.08347e+08 1.60947e+08 1.67777e+07 4.53828e+08
2 2 -1.49081e+07 -4.25681e+08 -1.71375e+08 -1.6777e+07 4.73791e+08
1 -1.33052e+07 2.02394e+08 -6.18006e+06 6.15524e+06 2.15793e+08
3 2 -1.33052e+07 -2.09891e+08 1.38705e+07 -6.1552e+06 2.23654e+08
1 6.66676e+06 -1.24178e+06 7.18656e+06 7.55518e+06 1.39598e+07
4 2 6.66676e+06 878411 -5.00767e+07 -7.5551e+06 5.67512e+07
1 6.70924e+06 -1.01734e+07 -732002 -9.1770e+06 1.69089e+07
5
2 6.70924e+06 -1.52165e+07 2.64299e+07 9.17702e+06 3.72065e+07
1 -8.70718e+06 3.12339e+07 1.14095e+07 -1.0177e+07 4.19598e+07
6
2 -8.70718e+06 4.11923e+07 -1.9506e+07 1.01773e+07 5.42845e+07
1 2.27741e+07 2.08206e+07 -1.14939e+07 1.8294e+06 4.65565e+07
7
2 2.27741e+07 1.32816e+06 1.6154e+06 -1.8294e+06 2.48654e+07
1 -7.77581e+06 6.26691e+06 -1.65927e+06 1.61884e+07 1.42587e+07
8
2 -7.77581e+06 -6.75724e+06 1.53785e+07 -1.6188e+07 2.45734e+07
1 -1.35045e+06 -1.31298e+07 -3.98129e+07 -9.0120e+06 4.32725e+07
9 2 -1.34824e+06 1.36185e+07 4.53708e+07 8.90689e+06 4.87188e+07
Upper bound
Bending Bending Torsional
Beam Joints Axial(N/m^2) axial and
Dir1(N/m^2) Dir2(N/m^2) (N/m^2)
bending(N/m^2)
1 760118 1.05895e+06 -9.39988e+06 3.52433e+07 1.02195e+07
10 2 -2.60247e+06 -1.75421e+07 6.57448e+06 1.28261e+07 2.13361e+07
1 8.17912e+06 -5.26902e+06 -5.1141e+07 -1.9328e+07 5.95908e+07
11 2 8.17912e+06 3.93962e+06 2.51335e+06 1.93283e+07 1.28522e+07
1 -5.30876e+06 -7.99359e+06 -4.18673e+06 6.29141e+06 1.43324e+07
12 2 -5.30876e+06 1.26131e+07 3.35545e+07 -6.2914e+06 4.11556e+07
1 -1.72172e+07 3.8254e+07 -1.89964e+06 -1.2381e+07 5.55183e+07
13
2 -1.72172e+07 6.12429e+07 1.96502e+07 1.23813e+07 8.15354e+07
1 2.52114e+07 -3.8666e+07 -1.98416e+07 1.79816e+07 6.86712e+07
14
2 2.89524e+07 1.21232e+07 8.12556e+07 -9.0444e+06 1.11107e+08
1 3.24417e+07 3.81908e+08 -7.21783e+07 2.45498e+07 4.21111e+08
15
2 3.24417e+07 -3.22164e+08 5.53445e+07 -2.4549e+07 3.59325e+08
1 1.25638e+07 5.40185e+07 -1.08241e+07 1.0688e+07 6.76562e+07
16
2 1.25638e+07 5.47849e+07 -6.87961e+06 -1.0687e+07 6.7779e+07
1 7.73992e+06 4.61322e+07 3.51043e+06 -1.296e+07 5.40055e+07
17 2 7.73992e+06 -5.03698e+07 508487 1.296e+07 5.81123e+07
1 3.48778e+06 -9.88571e+06 3.15906e+08 -2.6645e+07 3.19548e+08
18 2 3.48778e+06 -1.63573e+07 -1.85962e+08 2.66459e+07 1.90167e+08
1 -6.59524e+06 4.10191e+06 3.18261e+07 -2.3785e+06 3.86846e+07
19 2 -6.59524e+06 -9.39917e+06 7.99641e+07 2.37857e+06 8.71099e+07
1 -1.41229e+06 -2.54529e+07 -939337 1.18976e+07 2.68825e+07
20 2 -1.40927e+06 2.53776e+07 -4.58375e+06 -1.2235e+07 2.71975e+07
1 8.75244e+06 3.21805e+07 -4.11577e+06 -9.0080e+06 4.1195e+07
21 2 8.75244e+06 3.34291e+07 3.59533e+06 9.00804e+06 4.23744e+07
1 -8.7569e+06 -4.71607e+07 7.3798e+06 -8.3833e+06 5.64915e+07
22 2 -8.7569e+06 -4.90834e+07 2.90224e+06 8.38337e+06 5.7926e+07
1 -9.07099e+06 -4.49605e+07 3.23901e+06 -5.2566e+06 5.41481e+07
23 2 -9.07099e+06 -3.88701e+07 7.55836e+06 5.25663e+06 4.86691e+07
1 -4.01203e+07 6.44611e+06 4.3483e+07 8.82046e+06 8.40785e+07
24 2 -9.55356e+06 -2.31887e+07 1.04068e+07 1.59038e+07 3.49704e+07
1 -2.16029e+07 1.83058e+07 5.37394e+07 1.62192e+07 7.83746e+07
25 2 -3.72306e+06 -2.86006e+06 4.22776e+06 6.39013e+06 8.82736e+06
1 4.71039e+07 -7.82851e+07 6.15799e+07 -9.9295e+06 1.46706e+08
26 2 4.71039e+07 1.2304e+08 -2.78934e+07 9.92963e+06 1.73266e+08
1 -205.284 248.587 1022.98 -7.33683 1258.04
27 2 -205.284 -127.482 -508.852 7.33588 729.862
1 -4.42314e+06 -2.77809e+07 -2.81653e+08 -3.0318e+07 2.87443e+08
28 2 -4.42314e+06 1.48583e+07 2.01475e+08 3.03186e+07 2.06445e+08
1 6.70924e+06 -1.01734e+07 -732000 9.17702e+06 1.69089e+07
29 2 6.70924e+06 -1.13572e+07 -2.63915e+07 -9.1770e+06 3.54407e+07
1 -1.76213e+07 6.0812e+07 1.31566e+08 2.19052e+06 1.62561e+08
30 2 -2.9342e+07 -7.46084e+07 -2.58777e+07 1.8866e+07 1.08311e+08
1 2.48346e+06 8.29583e+06 7.24774e+07 -7.4681e+06 7.54341e+07
31
2 2.48346e+06 1.84385e+06 -8.04054e+07 7.46816e+06 8.291e+07
1 2.43939e+06 208857 9.6175e+06 -8.8466e+06 1.20592e+07
Upper bound
Bending Bending Torsional
Beam Joints Axial(N/m^2) axial and
Dir1(N/m^2) Dir2(N/m^2) (N/m^2)
bending(N/m^2)
32 2 553028 -9.64239e+06 -6.29526e+07 1.77603e+07 6.42398e+07
1 1.09672e+07 9.97547e+06 -660785 1.65128e+07 2.09646e+07
33 2 1.09672e+07 -1.48173e+07 -1.04361e+07 -1.6512e+07 2.90908e+07
1 0 0 0 0 0
34 2 -879175 2.57422e+08 1.82299e+08 2.08666e+06 3.16313e+08
1 1.7217e+07 -4.51604e+06 -402460 -79369 2.17509e+07
35 2 3.59297e+07 2.53675e+07 6.8793e+06 1.92081e+07 6.22134e+07
1 7.82588e+06 -5.37578e+06 1.27732e+06 -2.4999e+07 1.33513e+07
36
2 7.82684e+06 4.32206e+06 110267 2.50009e+07 1.21503e+07
1 3.8623e+06 -2.4292e+06 -3.07876e+07 -6.4485e+06 3.47456e+07
37 2 3.8623e+06 781918 -4.88358e+07 6.44849e+06 5.27044e+07
1 -5.75784e+06 1.30612e+06 -1.42753e+07 2.14282e+07 2.00928e+07
38 2 0 0 0 0 0
1 3.86322e+07 -3.25926e+06 -3.87283e+06 -3.0262e+06 4.3694e+07
39 2 3.86322e+07 -1.0868e+07 1.10576e+06 3.02621e+06 4.95563e+07
1 0 0 0 0 0
40 2 4.65712e+06 -2.43199e+07 -8.49255e+06 1.61125e+06 3.04172e+07
1 -9.65614e+06 -2.04895e+07 2.88037e+08 -1.9981e+07 2.98421e+08
41 2 -9.65614e+06 1.30637e+07 -1.92408e+08 1.9981e+07 2.02507e+08
1 -3.59679e+07 5.36113e+07 -1.39331e+06 5.72455e+06 8.95973e+07
42
2 -3.59679e+07 -3.46462e+07 1.02141e+07 -5.7245e+06 7.20884e+07
1 -5.35446e+06 -2.72675e+07 6.20544e+06 4.67315e+06 3.33192e+07
43
2 0 0 0 0 0
1 -2.95325e+07 3.26224e+08 3.56997e+07 2.53632e+07 3.57704e+08
44
2 -2.95298e+07 -2.7471e+08 -5.50824e+07 -2.26765+07 3.09708e+08
1 3.36335e+07 1.09133e+07 2.86605e+07 -2.0975e+06 6.43015e+07
45
2 3.36335e+07 -5.32835e+07 -2.31852e+07 2.09754e+06 9.17428e+07
1 8.90517e+06 2.33156e+07 -2.31413e+08 -1.4717e+07 2.4149e+08
46
2 8.90517e+06 -7.9761e+06 1.73552e+08 1.47176e+07 1.82641e+08
1 7.42266e+06 -4.6163e+07 -5.36437e+06 -7.3940e+06 5.38963e+07
47 2 7.42266e+06 -3.12643e+07 -6.37727e+06 7.39404e+06 3.93308e+07
1 -7.04098e+06 -7.83952e+06 -9.99418e+06 -2.1928e+07 1.9743e+07
48 2 -7.04098e+06 7.14352e+06 7.57613e+06 2.19284e+07 1.74538e+07
49 1 -4.83051e+06 3.918e+07 -4.57054e+06 -8.5062e+06 4.42762e+07
2 -4.83051e+06 -4.60507e+07 5.57891e+06 8.50622e+06 5.12179e+07
50 1 -3.42439e+07 3.41061e+07 -1.48498e+07 5.09535e+06 7.14426e+07
2 -3.42439e+07 -4.56847e+06 -3.57301e+06 -5.0998e+06 4.00437e+07
51 1 0 0 0 0 0
2 -5.26451e+06 -6.17855e+06 -8.60899e+06 -1.5504e+07 1.58612e+07
52 1 -2.48858e+06 3.97753e+07 1.64561e+07 -1.9229e+07 4.55337e+07
2 -2.48113e+06 -4.10139e+07 -2.58586e+07 1.89081e+07 5.09663e+07
53 1 -2.81671e+07 -3.91545e+07 5.29732e+06 3.94765e+06 6.76783e+07
2 -2.81671e+07 -3.68074e+07 -1.01365e+07 -3.9476e+06 6.63447e+07
54 1 -1.99877e+06 -8.53162e+07 3.52424e+07 -1.3905e+07 9.43074e+07
2 -1.99877e+06 -8.53162e+07 3.52424e+07 -1.3905e+07 9.43074e+07
Upper bound
Bending Bending Torsional
Beam Joints Axial(N/m^2) axial and
Dir1(N/m^2) Dir2(N/m^2) (N/m^2)
bending(N/m^2)
55 1 -1.41648e+07 -6.02926e+07 -1.26632e+07 -6.4635e+06 7.57728e+07
2 -1.41648e+07 -2.14283e+07 -2.23306e+06 6.46357e+06 3.57091e+07
56 1 0 0 0 0 0
2 -4.02197e+07 -9.64704e+07 -3.48832e+07 1.46286e+06 1.42803e+08
57 1 2.68797e+07 6.37148e+07 2.96417e+07 8.51041e+06 9.71521e+07
2 2.68791e+07 -4.87375e+07 -1.35354e+07 -8.5121e+06 7.74612e+07
58 1 4.15303e+07 -9.77058e+07 2.86893e+07 -5.2722e+06 1.43361e+08
2 4.15303e+07 -5.71619e+06 -1.04895e+07 5.27225e+06 5.34762e+07
A MATLAB code developed for this 3D frame; it has been tried to develop a code in a way that
it could be also used for different parameters as much as possible. Figure bellow illustrated the
graphical display of the results from MATLAB code running.
The results of displacement for node 1 and 3 from MATLAB shows the vertical displacement of
0.065 meter which by placing this value on relation defined for the rotation of the element 1 we
would find the angle to be 0.065, then by considering this angle in the equation of the torsional
rigidity we would find the TS equal to
1.1
𝑇𝑆 = 200 × = 15.7
2×7
Figure – the nodes and BC and curves defined for base chassis on PATRAN workspace
The results from the analysis are displayed bellow both for the stress plot and the displacements