Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A real building has thousands of degrees of freedom. Yet its response to an earthquake, to wind, or to a passing crowd is dominated, more often than not, by a single swaying motion. Strip that motion down to its essentials and you are left with the single-degree-of-freedom (SDOF) oscillator: a mass, a spring, and a dashpot, which together form the atom of structural dynamics. Understand this one oscillator deeply and everything else in the book is repetition at larger scale.

This chapter does three things: it shows where the SDOF model comes from, it writes down the one equation that governs it, and it ends by running that equation so you can watch a structure ring. Along the way it turns the three physical constants of the model into the two numbers, the natural frequency and the damping ratio, in which the rest of the book is written. The short simulation at the end only previews the solver; Chapter 3 builds it from scratch.

1From a structure to three numbers

A one-story frame swaying sideways (left) and its idealization as a
mass-spring-dashpot oscillator (right).

Figure 1:A one-story frame swaying sideways (left) and its idealization as a mass-spring-dashpot oscillator (right).

When the one-story frame in Figure 1 sways, nearly all the moving weight is concentrated at the roof, and the only motion that matters is the sideways drift u(t)u(t) of that roof. Three physical properties capture the entire dynamic personality of the frame:

Everything that follows is built from these three numbers. The first two come straight from the drawings: mm from the weight that moves with the roof, and kk from the bending stiffness of the columns, as the worked example at the end of this chapter shows. Damping cannot be computed that way, so it is measured on similar structures and quoted as a damping ratio, the number that Chapter 2 learns to read off a vibration record.

2The equation of motion

To find how u(t)u(t) evolves, we balance the forces on the mass. It is easiest to draw the free body of the mass and use d’Alembert’s idea: treat the inertia m u¨m\,\ddot u as a force that, like the others, resists the motion.

Free body of the mass: the applied force p(t) drives the motion to the right;
the inertia m\,\ddot u, the damping c\,\dot u, and the elastic force k\,u
all resist it.

Figure 2:Free body of the mass: the applied force p(t)p(t) drives the motion to the right; the inertia m u¨m\,\ddot u, the damping c u˙c\,\dot u, and the elastic force k uk\,u all resist it.

Setting the applied force equal to the sum of the three resistances in Figure 2 gives the equation of motion of the SDOF system:

m u¨(t)+c u˙(t)+k u(t)=p(t).m\,\ddot u(t) + c\,\dot u(t) + k\,u(t) = p(t).

Read it as a sentence, inertia plus damping plus stiffness equals the applied force, and three things stand out right away.

3When the ground moves

An earthquake does not push on the roof; it shakes the base, and the structure must keep up as the ground accelerates by u¨g(t)\ddot u_g(t).

Base excitation: the ground accelerates by \ddot u_g(t) and the mass displaces
by u relative to its base.

Figure 3:Base excitation: the ground accelerates by u¨g(t)\ddot u_g(t) and the mass displaces by uu relative to its base.

As Figure 3 shows, if uu is the displacement of the mass relative to the ground, the spring and dashpot still feel only that relative motion, so they contribute k uk\,u and c u˙c\,\dot u exactly as before. This relative drift is also the quantity that bends the columns, which is why it is the response we track. The inertia, however, responds to the total acceleration u¨+u¨g\ddot u + \ddot u_g. Balancing forces and moving the known ground term to the right gives

m u¨+c u˙+k u=− m u¨g(t).m\,\ddot u + c\,\dot u + k\,u = -\,m\,\ddot u_g(t).

This is the same equation as (1) with an effective force peff(t)=−m u¨g(t)p_\text{eff}(t) = -m\,\ddot u_g(t). The minus sign and the factor mm say something physical: heavier structures attract larger earthquake forces from the same shaking. But mathematically nothing new has happened: we still have one linear oscillator driven by some right-hand side.

4One equation, every load

That is the punchline of this short chapter, and the plan for the rest of the book. Whether the right-hand side is a harmonic machine force, a blast pulse, a gust of wind, or an earthquake, the left-hand side never changes. A classical textbook derives a different closed-form solution for every kind of load. We instead build one numerical solver for (1) (Chapter 3) and then meet every loading simply by handing it a different p(t)p(t) and looking at the plot.

5Three numbers, three natural properties

Before we run anything, one small piece of algebra pays for itself many times over. It turns the three structural numbers m, c, km,\,c,\,k into just two that carry direct physical meaning, which is why the whole subject is written in terms of ωn\omega_n and ζ\zeta instead of kk and cc. Figure 4 shows the outcome before the algebra explains it. The lower oscillator has four times the mass, stiffness, and damping of the upper one, yet released from the same drift the two trace one and the same curve, its open markers sitting on the line. The time between peaks depends only on the ratio k/mk/m, and the shrinking envelope depends only on c/mc/m.

Two oscillators with different m, k, and c but equal ratios k/m and
c/m (left) and the single free-decay curve they both follow (right).

Figure 4:Two oscillators with different mm, kk, and cc but equal ratios k/mk/m and c/mc/m (left) and the single free-decay curve they both follow (right).

To see why, take the equation of motion (1) and divide every term by the mass mm:

u¨+cm u˙+km u=p(t)m.\ddot u + \frac{c}{m}\,\dot u + \frac{k}{m}\,u = \frac{p(t)}{m}.

Physically nothing has changed (it is the same equation), but look at what now multiplies uu and u˙\dot u. The motion no longer depends on mm, cc, and kk separately; it depends only on the two ratios k/mk/m and c/mc/m. Two structures with the same k/mk/m and c/mc/m therefore ring in exactly the same way, however heavy or stiff each one happens to be, which is what the two oscillators of Figure 4 showed. Those two ratios, not the original three numbers, are what truly govern the response, so each earns a name.

The first ratio, k/mk/m, has units of (rad/s)2(\text{rad/s})^2, so its square root is a frequency, the natural circular frequency

ωn=km(rad/s).\omega_n = \sqrt{\dfrac{k}{m}}\quad(\text{rad/s}).

It is not merely a convenient grouping: it is the rate at which the structure naturally swings. Set c=0c=0 and p=0p=0 in (3) (an undamped frame, struck once and left alone) and you are left with u¨=−(k/m) u=−ωn2 u\ddot u = -(k/m)\,u = -\omega_n^2\,u. A motion whose acceleration is always −ωn2-\omega_n^2 times its displacement is a sinusoid: try u=cos⁡(ωt)u=\cos(\omega t) and you get −ω2cos⁡=−ωn2cos⁡-\omega^2\cos = -\omega_n^2\cos, which forces ω=ωn\omega=\omega_n. So a struck, frictionless frame swings back and forth at exactly ωn=k/m\omega_n=\sqrt{k/m}. That is the physical meaning behind the symbol. From it we read off the natural period (seconds per cycle) and natural frequency (cycles per second):

Tn=2πωn(s),fn=1Tn=ωn2π(Hz).T_n = \dfrac{2\pi}{\omega_n}\quad(\text{s}), \qquad f_n = \dfrac{1}{T_n} = \dfrac{\omega_n}{2\pi}\quad(\text{Hz}).

The second ratio, c/mc/m, carries units of 1/s1/\text{s}, the same as ωn\omega_n, so the natural thing is to measure it in units of ωn\omega_n. Writing c/m=2ζ ωnc/m = 2\zeta\,\omega_n defines the dimensionless damping ratio

ζ=c2 m ωn=c2k m(dimensionless).\zeta = \dfrac{c}{2\,m\,\omega_n} = \dfrac{c}{2\sqrt{k\,m}}\quad(\text{dimensionless}).

The factor of 2 is chosen so that ζ=1\zeta=1 falls exactly on the boundary between a structure that still oscillates and one so heavily damped it merely creeps back without ever crossing zero (Chapter 2 shows why that boundary sits at ζ=1\zeta=1). The damping coefficient at that boundary, ccr=2mωnc_\mathrm{cr}=2m\omega_n, is the critical damping, and ζ=c/ccr\zeta=c/c_\mathrm{cr} is simply the fraction of it that a real structure carries. A bare steel or concrete frame typically has ζ\zeta between 0.02 and 0.05 (2 to 5 %), so cc is small and the structure rings many times before it settles. Rearranging gives the handy recipe c=2ζk mc = 2\zeta\sqrt{k\,m} that we use below to set the dashpot from a target ζ\zeta.

Substituting k/m=ωn2k/m=\omega_n^2 and c/m=2ζωnc/m=2\zeta\omega_n back into (3) gives the standard form of the equation of motion, the form you will meet again and again for the rest of the book:

u¨+2ζ ωn u˙+ωn2 u=p(t)m.\ddot u + 2\zeta\,\omega_n\,\dot u + \omega_n^2\,u = \frac{p(t)}{m}.

This is why we speak of ωn\omega_n and ζ\zeta rather than kk and cc: they are the two numbers the structure’s motion actually responds to, and each carries a meaning you can picture: how fast it swings, and how quickly that swinging dies away. Exactly how the rest of the story (the damped frequency ωd\omega_d and the decaying envelope) falls out of solving this equation is the subject of Chapter 2; here we just needed the definitions. Example 1 puts them to work on a real frame, starting from its drawings rather than from given values of mm and kk.

The next cell repeats Example 1 with sd.natural, the helper that returns all the natural properties of an oscillator at once.

m = 24.46 t    k = 15,600 kN/m
omega_n = 25.25 rad/s    T_n = 0.249 s    f_n = 4.02 Hz
c_cr = 1236 kN*s/m    c = 61.8 kN*s/m

The printed values match the hand calculation to every digit shown, so the helper and the definitions (4) to (6) agree.

6A first look: how a structure rings

Here is the entire workflow in a few lines. We give our frame round-number properties, nudge the roof, release it, and plot the free vibration. This frame is deliberately softer than the one in Example 1, with a light 2 t roof on flexible columns, so its period is about five times longer and each swing is slow enough to follow on a plot. The solver sd.sdof_response is the engine we will build from scratch in Chapter 3; for now just enjoy how little code real dynamic analysis takes.

natural period    Tn = 1.257 s
natural frequency fn = 0.796 Hz   (omega_n = 5.00 rad/s)
<Figure size 962x390 with 1 Axes>
<Figure size 962x390 with 1 Axes>

Figure 5:Free vibration of the idealized frame after a 20 mm initial nudge.

The plot in Figure 5 already contains most of free vibration: a clean oscillation that repeats about every 1.26 s, the natural period printed above, inside an envelope that decays because of the 5 % damping. Chapter 2 takes this picture apart: what sets the period, what sets the decay rate, and how to read the damping straight off a measured trace.

7Summary

Chapter 2 starts with the simplest load of all, none. The frame is displaced, released, and left to ring, and the free-decay curve of Figure 5 is taken apart into its period, its envelope, and the damping ratio hidden in its peaks. No new tool is needed for that: the same sd.sdof_response call, given p(t)=0p(t)=0 and a nonzero starting drift, produces all of its free-decay curves.