Btech Project Part 2 by Sandeep Birua
Btech Project Part 2 by Sandeep Birua
B. Tech Project
CE 4291
by
SANDEEP BIRUA
2020CEB060
May, 2024
1
INDIAN INSTITUTE OF ENGINEERING SCIENCE AND TECHNOLOGY,
SHIBPUR
Signature of student(s)
Name(s):
Date:
Place:
2
Board of Examiners
executed by
Sandeep Birua
3
ACKNOWLEDGEMENT
Date: - 15-05-2024
4
CONTENT
TOPICS
PAGE NO.
1. Introduction
1.1 A brief overview 6
3. Numerical Results
3.1 Graphs
3.1.1 constant force applied to mass (𝑀1 ) 19
3.1.2 constant force applied to mass (𝑀2 ) 21
3.1.3 constant force applied to mass (𝑀1 & 𝑀2 ) 23
3.1.4 sinusoidal force applied to mass (𝑀1 ) 25
3.1.5 sinusoidal force applied to mass (𝑀2 ) 27
3.1.6 sinusoidal force applied to mass (𝑀1 & 𝑀2 ) 29
REFERNCES 32
APPENDIX 33
5
CHAPTER 01
INTRODUCTION
1.1 A Brief Overview
Dynamics of structure is an important topic in the civil engineering curriculum.
Most of the time, static analysis based approaches are herculean task at
undergraduate level to analyse and design structures. However, at senior
undergraduate level and graduate level, dynamics of structures are instructed.
This is so because, dynamic analysis or design based on dynamic consideration
are mathematically more involved. Nevertheless, with the more awareness on
the hazards caused due to earthquake and storms, the need to teach and learn
the subject is becoming globally popular.
The simplified structure can be modelled as a mass spring system with applied
force as shown below.
7
CHAPTER 02
NUMERICAL FORMULATION OF WILSON’S 𝜽 METHOD
̂𝑦𝑖̈ + 𝐶𝑦̇ (Δ
𝑀Δ ̇ ̂𝑦 ) = Δ
̂ 𝑦𝑖 ) + 𝐾(𝑦)(Δ ̂𝐹𝑖 … … … … … . 𝑒𝑞 1
𝑖
̂𝑦𝑖 = 𝑦(𝑡𝑖 + 𝜏) − 𝑦(𝑡𝑖 ) … … … … … . . 𝑒𝑞 2
Δ
̂𝑦𝑖̇ = 𝑦̇ (𝑡𝑖 + 𝜏) − 𝑦̇ (𝑡𝑖 ) … … … … … . . 𝑒𝑞 3
Δ
̂𝑦𝑖̈ = 𝑦̈ (𝑡𝑖 + 𝜏) − 𝑦̈ (𝑡𝑖 ) … … … … … 𝑒𝑞 4
Δ
From the given figure we can write linear expression for acceleration as
̂𝑦̈ 𝑖
Δ
𝑦̈ (𝑡) = 𝑦̈ 𝑖 + (𝑡 − 𝑡𝑖 ) … … … … … … . 𝑒𝑞 2.1
𝜏
8
Integration eq 2.1 twice we get,
̂𝑦̈ 𝑖
1Δ
𝑦̇ (𝑡) = 𝑦̇ 𝑖 + 𝑦̈ 𝑖 (𝑡 − 𝑡𝑖 ) + (𝑡 − 𝑡𝑖 )2 … … … 𝑒𝑞 2.2
2 𝜏
and
1Δ̂𝑦̈ 𝑖
𝑦(𝑡) = 𝑦𝑖 + 𝑦̇ 𝑖 (𝑡 − 𝑡𝑖 ) + (𝑡 − 𝑡𝑖 )2
2 𝜏
1Δ ̂𝑦̈ 𝑖
+ (𝑡 − 𝑡𝑖 )3 … … … … … … … 𝑒𝑞 2.3
6 𝜏
̂𝑦𝑖 = ̅̅̅̅
̅𝑖 Δ
𝐾 ̂𝑖 … … … … … … 𝑒𝑞 2.8
Δ𝐹
9
where,
6 3
̅𝑖 = 𝐾𝑖 +
𝐾 𝑀 + 𝐶𝑖 … … … … … … … 𝑒𝑞 2.9
𝜏2 𝜏
̅̅̅̅ 6 𝜏
̂𝑖 = Δ
Δ𝐹 ̂𝐹𝑖 + 𝑀 ( 𝑦̇ 𝑖 + 3𝑦̈ 𝑖 ) + 𝐶𝑖 (3𝑦̈ 𝑖 + 𝑦̈ 𝑖 ) … … … … 𝑒𝑞 2.10
𝜏 2
The incremental acceleration Δ𝑦̈ for the normal time interval Δt is then
obtained by a simple linear interpolation,
̂𝑦̈
Δ
Δ𝑦̈ = … … … … … … … 𝑒𝑞 2.11
𝜃
From eq 2.4 and 2.5
We get,
1
Δ𝑦̇ 𝑖 = 𝑦𝑖̈ Δ𝑡 + Δ𝑦𝑖̈ Δt … … … … … 𝑒𝑞 2.12
2
and
1 1
Δ𝑦𝑖 = 𝑦̇ 𝑖 Δt + 𝑦𝑖̈ Δ𝑡̈ 2 + Δ𝑦𝑖̈ Δ𝑡 2 … … … … … 𝑒𝑞 2.13
2 6
𝑡𝑖+1 = 𝑡𝑖 + Δt
Finally, the displacement 𝑦𝑖+1 and velocity 𝑦𝑖+1
̇ at the end of the
normal time interval are calculated by,
𝑦𝑖+1 = 𝑦𝑖 + Δ𝑦𝑖 … … … … … … … 𝑒𝑞 2.14
̇ = 𝑦𝑖 + ̇ Δ𝑦𝑖̇ … … … … … … … 𝑒𝑞 2.15
𝑦𝑖+1
10
where,
𝐶𝑦𝑖+1
̇ 𝑎𝑛𝑑 𝐾𝑦𝑖+1
𝑟𝑒𝑝𝑟𝑒𝑛𝑠𝑒𝑛𝑡𝑠 𝑑𝑎𝑚𝑝𝑖𝑛𝑔 𝑓𝑜𝑟𝑐𝑒 𝑎𝑛𝑑 𝑠𝑡𝑖𝑓𝑓𝑛𝑒𝑠𝑠 𝑓𝑜𝑟𝑐𝑒 𝑣𝑒𝑐𝑡𝑜𝑟𝑠. [1]
2.2 Algorithm for step by step solution of a linear system using Wilson
𝜽 Method
11
̅̅̅̅ 6 𝜏
̂ ̂
Δ𝐹𝑖 = Δ𝐹𝑖 + 𝑀 ( 𝑦̇ 𝑖 + 3𝑦̈ 𝑖 ) + 𝐶𝑖 (3𝑦̈ 𝑖 + 𝑦̈ 𝑖 )
𝜏 2
̇ = 𝑦𝑖 + ̇ Δ𝑦𝑖̇
𝑦𝑖+1
13
For free vibration condition the equation becomes,
0.136 0 𝑦̈ 75.0 −44.3 𝑦1 0
[ ] [ 1] + [ ] [𝑦 ] = [ ]
0 0.066 𝑦2̈ −44.3 44.3 1 0
14
The initial acceleration is calculated from,
0.136 0 𝑦̈ 75.0 −44.3 0 0
[ ] [ 10 ] + [ ][ ] = [ ]
0 0.066 𝑦20 ̈ −44.3 44.3 0 10
̈ = 0 𝑖𝑛/𝑠𝑒𝑐 2
𝑦10
̈ = 151.51 𝑖𝑛/𝑠𝑒𝑐 2
𝑦20
Take,
Δ𝑡 = 0.02 , 𝜃 = 1.4
Therefore,
𝜏 = 𝜃Δ𝑡 = 0.028
Calculating the constant values,
3
𝑎1 = = 107.14
𝜏
6
𝑎2 = = 214.28
𝜏
𝜏
𝑎3 = = 0.014
2
6
𝑎4 = 2 = 7653
𝜏
Effective stiffness is given by,
̅ = 𝐾 + 𝑎4 𝑀 + 𝑎1 𝐶
𝐾
̅,
Calculating 𝐾
̅ = [ 75.0 −44.3] + 7656 [0.136
𝐾
0
]
−44.3 44.3 0 0.066
̅ = [1115.8
𝐾
−44.3
]
−44.3 549.4
15
Effective force is given by,
̅̅̅̅
̂𝐹 = Δ
Δ ̂𝐹 + (𝑎2 𝑀 + 3𝐶 )𝑦̇ + (3𝑀 + 𝑎3 𝐶)𝑦̈
̂𝐹 = 0
Take Δ
Therefore,
̂𝐹 = [ 0 ]
̅̅̅̅
Δ
30
Therefore,
̂𝑦 = [0.002175]
Δ
0.054780
From eq 2.6 we get,
2 2
0 0.02 0 0.02 11.891 0.0008
Δ𝑦 = [ ] (0.02) + [ ]+ [ ]=[ ]
0 2 151.51 6 −25.21 0.0286
17
Therefore,
{𝑦̈ } = [ 8.875 ]
132.85
Reference :[1]
18
CHAPTER 03
NUMERICAL RESULTS
3.1 GRAPHS
3.1.1 Constant Force Applied to Mass (𝑴𝟏 )
19
Figure 5: velocity vs time response when constant force is applied to mass 01
20
3.1.2 Constant Force Applied to Mass (𝑴𝟐 )
21
Figure 9: acceleration vs time response when constant force is applied to mass 02
22
3.1.3 Constant Force Applied to Both Masses (𝑴𝟏 𝒂𝒏𝒅 𝑴𝟐 )
Figure 10: displacement vs time response when constant force is applied to masses
1 &2
Figure 11:velocity vs time response when constant force is applied to mass 1&2
23
Figure 12: acceleration vs time response when constant force is applied to mass 1&2
24
3.1.4 Sinusoidal Force Applied to Mass (𝑴𝟏 )
Figure 13: displacement vs time response when sinusoidal force is applied to masses
01
Figure 14: velocity vs time response when sinusoidal force is applied to mass 01
25
Figure 15: acceleration vs time response when sinusoidal force is applied to mass 01
26
3.1.5 Sinusoidal Force Applied to Mass (𝑴𝟐 )
Figure 17: velocity vs time response when sinusoidal force is applied to mass 02
27
Figure 18: acceleration vs time response when sinusoidal force is applied to mass 02
28
3.1.6 Sinusoidal Force Applied to Both Masses (𝑴𝟏 𝒂𝒏𝒅 𝑴𝟐 )
Figure 19: displacement vs time response when sinusoidal force is applied to masses
1&2
Figure 20: velocity vs time response when sinusoidal force is applied to masses
29 1&2
Figure 21: acceleration vs time response when sinusoidal force is applied to masses
1&2
30
CHAPTER 04
SUMMARY & FUTURE WORK
4.1 Summary
In this project we wrote a Python code to model the 2DOF time history
response of an elastic system under forced excitation using Wilson’s 𝜃
method.
31
REFERENCE
1) Paz, M. and Leigh, W., 1991. Structural dynamics. Springer US
2) Pandit, D., Naoroibam, V. and Biswas, T., 2023. Simple and Unified Way of Elasto-
Plastic Dynamic Analysis. Journal of Vibration Engineering & Technologies, pp.1-9.
32
APPENDIX
PYTHON CODE GITHUB LINK :
https://github.com/sandeep-birua/btechproject2/tree/main
33