Escolar Documentos
Profissional Documentos
Cultura Documentos
Case-studies
2. Falling bodies
“Some schools may have eradicated ‘fail grades’ and given you as long as you want to
get the right answer…. This bears NO resemblance to reality!!”
Bill Gates
The problem A ball falling from an initial height. Model the maximum height reached
by the ball after each bounce
The Fundamental Principle involved Energy balance
Assumption 1 The initial height is small
Consequence 1.1 The maximum velocity of the ball
is small
Consequence 1.2 The air resistance can be neglected
20.00
18.00
16.00
14.00 k=0.9
12.00 k=0.8
k=0.7
10.00
k=0.6
8.00 k=0.5
k=0.4
Height of bounces
6.00
Parameter study: 4.00
2.00
Initial height – constant
0.00
0 5 10 15 20 25
0.4 ≤ k ≤ 0.9
Number of bounces
The problem Model the velocity of a falling body close to the Earth’s surface
The Fundamental Principle “The time rate of change of momentum of a body equals
the resultant force acting upon it”.
Isaac Newton – The Second Law of Motion
d dv
m
( )v = m = ma = F
dt dt
m
Assumption The body is subjected to a downwards force FD
g
only, due to the gravitational acceleration field (free-fall model).
FD = m g
g
FD = m g
This is what
we’ve modelled
This is what
really happens!
Validity question – how well does this model represent the reality?
An improved model
velocity
Feather
Terminal velocity
time
120
FU Modelling error v=gt
90 Truncation and
discretisation
errors
c
m v t + δt = v t + g − v t δ t
60 m
Velocity (m/s)
30 c
FD = m g g m − t
v= 1 − e m
c
0
0 3 6 9 12
Time (s)
g
FD = m g
DIRECTED STUDY 2
The problem A tank is emptied through a short pipe of diameter “d”. Model the
effect of the size of "d" on the discharging rates of the tank
π D2 π D2 πd2
The mass balance: hnew ρ = hold ρ − vδ tρ
4 4 4
h d
v hnew − hold d2 dh d2
Leading to =− 2v → =− 2v
δt D dt D
v – fluid’s exit velocity, δt – time increment
Applying Runge-Kutta’s method to our model gives an explicit solution for the
instantaneous height of the fluid in the tank, with initial conditions h = h0
1
hi +1 = hi + ( k1,i + 2k2,i + 2k3,i + k4,i ) with kn,i = f δ t, − R2 2 g h
( )
6
n = 1,..,4 δt = ti +1 − ti
D 1
0.9
0.8 RK_R0.1
0.7 RK_R0.05
0.6 RK_R0.02
RK_R0.01
0.5
Euler_R0.01
h d 0.4 Euler_R0.02
d 0
R= 0 20 40 60 80 100
D Time (s)
Comment: Higher order methods deliver a better accuracy where dealing with steep
changes of field variables.
1
D
0.9
0.8 RK_0.02_5
0.7 Euler_0.02_5
0.6 RK_0.1_5
Euler_0.1_5
0.5
RK_0.02_20
h d 0.4 Euler_0.02_20
R = 0.1, 0.02 Step = 5s, 20s Time step / method sensitivity analysis
Comment: Higher order methods require additional computational effort but are less
sensitive to an increase in the time step.
hnew − hold d2 dh d2
= − 2 vav → = − 2 vav
δt D dt D
dh d2
= − 2 Cv vmax Average velocity
dt D vav = Cv vmax
h 1 1
y ' xn + ≈
y ' ( xn ) ≈ f ( xn , yn ) = k1 f xn + h, yn hk1 = k 2
2 2 2
h 1 1
y ' xn + ≈ f xn + h, yn hk 2 = k3 y ' ( xn +1 ) ≈ f (xn +1 , yn hk3 ) = k 4
2 2 2