Numerical Evaluation of Dynamic Response: Expected Outcome
Numerical Evaluation of Dynamic Response: Expected Outcome
Expected outcome:
1. Students can determine response of SDF systems due to any excitation by numerical
methods.
2. Students can choose appropriate methods and use appropriate parameters for
analysis.
Analytical solution is usually not possible when excitation varies arbitrarily with time
or if the system is nonlinear. Such problems can be solved by numerical time-stepping
methods for integration of differential equations.
or
mu cu f S u , u p t for inelastic system (5.2)
ti ti 1 ti (5.3)
is usually constant, although this is not necessary.
In each step, the response is determined at discrete time instant ti . The displacement
5-1
mui cui kui pi (5.4)
ti 1 :
We first apply the procedure to time step i 0 to determine response at time step i 1 and
repeat the procedure again to determine response at time step i 2 and so on. Therefore, this
progressive calculation is called “time-stepping method.”
The response at time step i 1 determined from response at time step i is usually not
exact. Many approximate procedures implemented numerically are possible. The
requirements for a numerical procedure are
(1) Convergence—the numerical solution should approach the exact solution as the
time step decreases,
(2) Stability—the numerical solution should be stable even if there is some round-off
error or approximation,
(3) Accuracy—the numerical solution should provide results that are close enough to
the exact solution.
5-2
These issues are very important in numerical methods of solving equations. They will govern
the limitation of time-stepping procedures.
For simplicity, we will show derivation of this procedure for a system without
damping, although this procedure can be extended to damped systems. The equation to be
solved is
pi
mu ku pi (5.8)
ti
5-3
The response u over time 0 ti is the sum of three parts:
pi
3) Response to ramp force with zero initial condition
ti
Analytical solution derived in Chapters 2 and 4 can be used to determine the above
three parts of responses and we will get
u ui pi p 1
ui sin n cos n sin n i 1 cos n (5.10)
n n k k n ti
Evaluating these equations at ti gives the displacement ui 1 and velocity ui 1 at time
i 1 :
ui pi p 1
ui 1 ui cos(n ti ) sin n ti 1 cos(n ti ) i n ti sin n ti (5.11)
n k k n ti
ui 1 ui pi p 1
ui sin n ti cos n ti sin n ti i 1 cos n ti (5.12)
n n k k n ti
Substitute pi by Eq. 5.7. Then, these equations can be rewritten as recurrence formulas:
where coefficients A, B, C , D, A, B, C , and D are constant in terms of k , n ,and t . If the
time step t is constant, the coefficients A , B , … D ' in this procedure need to be
computed only once. These parameters for damped SDF systems are summarized in Table
5.1.
These formulae were derived from exact solution of the equation of motion.
Therefore, the result is exact if the excitation actually varies linearly during each time step as
usually assumed for earthquake ground excitation, which is recorded at closely spaced time
5-4
intervals. Note that the exact solution used in deriving this procedure is available only if the
system is linear.
The only restriction on the size of time step is that it should provide a close
approximation to the excitation function and provide response results at closely spaced time
intervals so that the response peaks are not missed.
Table 5.1 Coefficients in recurrence formulas Eq. (5.13) and (5.14) for damped system
A e n t sin D t cos D t
1 2
1
B e n t sin D t
D
1 2 1 2 2 2
C e n t sin D t 1 cos D t
k n t D t 1 2
n t
1 2 n t 2 1
2
2
D 1 e sin D t cos D t
k n t D t n t
A e n t n
sin D t
1 2
B e n t cos D t sin D t
1 2
1 1 n t
1
C e n
sin D t cos D t
k t 1 2 t 1 2
t
1
D 1 e n t sin D t cos D t
k t 1 2
5-5
Example 5.1
Solution
1. Initial calculations
2. Apply the recurrence equations (Eq. 5.13 and 5.14). The results are summarized in
Table E5.1a and E5.1b.
3. Compute the theoretical response. Forced vibration solution can be computed by Eq.
(3.11) for response to harmonic force, which is valid for 0< t ≤ 0.6 sec. Then, Eq.
(2.17) free vibration of damped SDF system with initial displacement and velocity
equal to u 0.6 and u 0.6 from the end of forced vibration is used for t ≥ 0.6 sec.
Deformation at each time step ti are evaluated and shown in Table E5.1a. Then,
derivatives of Eq. (3.11) and Eq. (2.17) are also evaluated for each ti, and results are
given in Table E5.1b.
4. Check the accuracy of the numerical results. The numerical solution based on
piecewise linear interpolation of the excitation agrees reasonably well with the
5-6
theoretical solution. The discrepancy arises because the half-cycle sine curve has been
replaced by the series of straight lines shown in Fig. E5.1. With a smaller Δt the
piecewise linear approximation would be closer to the half-cycle sine curve, and the
numerical solution would be more accurate.
5-7
5.3 Central difference method
ui 1 ui 1 ui 1 2ui ui 1
ui and ui (5.15)
2t t
2
ui 1 2ui ui 1 ui 1 ui 1
m c kui pi (5.16)
t 2 t
2
We assume that ui and ui 1 are known from previous steps. Transferring known quantities to
m c m c 2m
ui 1 pi ui 1 k 2 i
u (5.17)
t 2t t 2t t
2 2
or
ˆ
i 1 pi
ku ˆ (5.18)
where
m c
kˆi (5.19)
t 2t
2
m c 2m
pˆ i pi u k 2 i
u (5.20)
t 2t t
2 i 1
pˆ i
Then, the unknown ui 1 is then given by u i 1
kˆ
Note that ui 1 is obtained without using equation of motion at time i 1 but from
equation of motion at time i (Eq. 5.16). And, ui 1 can be computed explicitly from the
5-8
In the first step ( i 0 ), we need to use u1 to compute u1 , but we only have u0 u 0 and
u0 u 0 from the given initial conditions. So we need to find u1 by using finite difference
Using the first equation in Eq. (5.21) to eliminate u1 in the second equation in Eq. (5.21) and
arranging the terms to have only u1 on the left-hand side, we then have
t
2
We arrange the terms in Eq. (5.23) to have only u0 on the left-hand side and obtain
p0 cu0 ku0
u0 (5.24)
m
We can use Eqs. (5.24) and (5.22) for determining u1 by first computing u0 using Eq. (5.24)
from the given initial conditions u0 u 0 and u0 u 0 and then substituting u0 together
with u0 and u0 in Eq. (5.22) to obtain u1 . The whole procedure is summarized in Table 5.2.
5-9
Table 5.2 Central difference method
1. Initial calculations
p0 cu0 ku0
1.1 u0
m
t
2
m c
1.4 a
t 2t
2
2m
1.5 b k
t
2
Replace i by i+1 and repeat steps 2.1 through 2.3 to obtain ui 1 for the next time step.
This central difference method will give meaningless results, and become “unstable”, if the
time step is not short enough. The requirement for stability of this procedure is that
t 1
(5.25)
Tn
However, this requirement is never a constraint because the time step needs to be much
shorter, typically t / Tn 0.1 , to obtain acceptable accuracy of results. In analysis of
earthquake response, a time step about 0.005 to 0.02 sec is normally used to define and
record ground excitation.
5 - 10
Example 5.2
1. Initial calculations
p0 cu0 ku0
1.1 u0 0
m
t
2
m c
1.4 a 24.53
t 2t
2
2m
1.5 b k 40.66
t
2
3. Computation in Steps 2.1 and 2.2 are repeated for i = 0, 1, 2, 3, … leading to Table
E5.2, wherein the theoretical result (from Table E5.1a) is also included.
5 - 11
Table E5.2 Numerical solution by central difference method
ti pi ui 1 ui pˆ i ui 1 Theoretical ui 1
This method is developed by Nathan M. Newmark in 1959 based on the following equations:
The parameters and define the variation of acceleration over a time step and
determine the stability and accuracy characteristics of the method. Typical selection is =0.5
and 1
6 14 .
Special cases
1. Average acceleration
If 1
2 and 1
4 are chosen, the above equations for ui 1 and ui 1 corresponds to
the special case that acceleration of the mass during the time step i is constant and equal to
the average of ui and ui 1 as shown in the left column of Table 5.3.
5 - 12
2. Linear acceleration
If 1
2 and 16 are chosen, the above equations for ui 1 and ui 1 corresponds to
the special case that acceleration of the mass during the time step i varies linearly between
ui and ui 1 as shown in the right column of Table 5.3.
1
u ui 1 ui u ui ui 1 ui
2 t
2
u ui ui 1 ui u ui ui ui 1 ui
2 2t
t t
ui 1 ui ui 1 ui ui 1 ui ui 1 ui
2 2
2 2 3
u ui ui ui 1 ui u ui ui ui ui 1 ui
4 6t 2
t
2
21 1
ui 1 ui u t
i ui 1 ui ui 1 ui ui t t ui 1 ui
4 6 3
Time-Stepping Formula
“implicit method.”
5 - 13
From the basis equations of Newmark in Table 5.3,
and
1 1 1
ui ui ui ui (5.31)
t t 2
2
ui ui ui t 1 ui (5.32)
t 2
Substitute ui and ui [Eq. (5.32) and (5.31)] in the incremental form of equation of motion:
pˆ i
We can compute ui (5.35)
kˆ
1
where k̂ k c m (5.36)
t t
2
1 1
and pˆ i pi m c ui m t 1 c ui (5.37)
t 2 2
Once ui is known, ui , ui , ui 1 , ui 1 , and ui 1 can be computed.
pi 1 cui 1 kui 1
ui 1 (5.39)
m
5 - 14
Table 5.4 Newmark’s method: Linear system
Special cases
(1) Average acceleration method ( 1 2, 1 4)
(2) Linear acceleration method ( 1 2, 1 6)
1. Initial calculations
p0 cu0 ku0
1.1 u0
m
1.2 Select t
1
1.3 kˆ k c m
t t
2
1 1
1.4 a m c; and b m t 1 c
t 2 2
3. Repetition for the next time step. Replace i by i+1 and repeat Steps 2.1 to 2.5 for the next time
step
t 1 1
(5.40)
Tn 2 2
t
12 and 14 (5.41)
Tn
5 - 15
This implies that average acceleration method is stable for any t , although results
would not be accurate for large t . It is so called “unconditionally stable.” This quality can
be useful when the method is applied to higher modes which have very short natural period of
vibration.
For Linear acceleration method
t
12 and 16 0.551 (5.42)
Tn
This requirement is not significant because a much smaller time step is required for accurate
representation of excitation and response.
Example 5.3
1. Initial calculations
p0 cu0 ku0
1.1 u0 0
m
1.2 t 0.1
2 4
1.3 kˆ k c m 114.5
t t
2
4
1.4 a m 2c 10.45; and b 2m 0.5066
t
3. Repetition for the next time step. Steps 2.1 and 2.5 are repeated for successive time
steps and are summarized in Table E5.3.
5 - 16
Table E5.3 Numerical solution by Newmark’s average acceleration method.
Example 5.4
1. Initial calculations
p0 cu0 ku0
1.1 u0 0
m
1.2 t 0.1
3 6
1.3 kˆ k c m 166.8
t t
2
6 t
1.4 a m 3c 15.68; and b 3m c 0.7679
t 2
5 - 17
6
2.4 ui ui tui 3ui 600 ui 0.1ui 3ui
t
2
3. Repetition for the next time step. Steps 2.1 and 2.5 are repeated for successive time
steps and are summarized in Table E5.4.
5.5 Stability
Numerical procedures that give bounded results if time step is shorter than a certain
limit are called “conditionally stable.” Numerical procedures that give bounded results
regardless of time step size, no matter how large, are called “unconditionally stable.”
5 - 18
Computational error
Error is inherent in any numerical method both from round-off error and
approximation of solution.
Figure 5.3 Free vibration solution by for numerical methods ( t 0.1Tn ) and
All numerical methods give results that have amplitude decay, implying that these
procedures introduce numerical damping. Most methods make the period of vibration longer
except the central difference method, which gives result that has shorter period than the exact
result. Period shortening in the central difference method is highly significant when t / Tn is
5 - 19
Figure 5.4 (a) Amplitude decay versus t / Tn ; (b) definition of AD and PE;
The linear acceleration Newmark’s method seems to be most accurate with regard to
least period elongation error for these methods considered for linear SDF system. The choice
of methods would be different for MDF system or nonlinear response analysis.
The choice of time step also depends on the time variation of the dynamic excitation
and natural period of the system. t 0.1Tn gives reasonably accurate results, but it also has
to be small enough to avoid distortion of the excitation function. For earthquake excitation
t is usually less than 0.02 sec.
A useful technique for selecting the time step is to solve the problem with a time step
that seems reasonable and re-solve the problem with a small time step. The time step is
deemed small enough if results from two analyses are essentially the same, otherwise reduce
the time step and repeat such comparison until two successive solutions are close enough.
5 - 20
Exercises
1. The SDF frame system has the following properties: m 35 ton ; k 1400 kN/m ; and
damping 0.05 . Compute displacement at the top of the frame subjected to the blast
loading history shown in Fig. P5.1 with t 0.1sec by using
m p (t) p (kN)
45 45
c 30
k (total)
20
5
t (sec)
6 @ 0.1=0.6 sec
(a) (b)
Figure P5.1 Structure and force function for Problems 1 to 3
2. The damping of SDF system in Problem 1 is now modified to 0.2 . Determine the
response of SDF system in Problem 1 by central difference method. Plot the response as a
function of time, compare with the solution of Problem 1, and comment on how damping
affects the peak response.
3. Repeat Problem 1 with t 0.05sec . How does time step size affect the accuracy of the
solution?
5 - 21