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.

Linear Structural Dynamics

One numerical engine, every load

Structural dynamics is usually taught as a wall of integrals. Free vibration gets one closed-form solution, a harmonic force gets another, a pulse gets a third, an earthquake gets a fourth, and somewhere in all that arithmetic the single idea that ties them together slips out of view. That idea is simple: a structure in motion is a mass on a spring with a little damping, and everything the mass does, ring, resonate, drift, yield, is that one oscillator answering a different push.

I wrote this book to teach that idea the way I wish I had first met it, by watching it happen. Instead of memorizing a separate formula for every kind of load, we build one small numerical solver for the equation of motion

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

and then we meet every load, a machine, a gust, a blast, an earthquake, by handing that solver a different right-hand side p(t)p(t) and looking at the plot. Where a classical text such as Chopra reaches for algebra, here you reach for a few lines of Python and watch the response come out. Almost every figure in the book is drawn by code you can run, change, and deliberately break to see what happens.

This is not theory-free; it is theory that earns its place. Every idea starts from a physical picture, a roof that sways, an amplitude that fades, and the mathematics is carried far enough to show why a result is true, but no further. Then the result is put to work in code that prints the very number sitting beside it. Nothing here is a black box you are asked to trust. If a curve is on the page, the program that drew it is on the page too.

What you need, and what you don’t

You need a first course in mechanics of materials and differential equations, and enough Python to read a short script and change a number. You do not need any prior structural dynamics; that is the thing we build, one oscillator at a time. And you do not need to be a programmer. The code stays short, and once the solver is built in Chapter 3 the later chapters call it through a tiny module, sdtools, so the mathematics never has to share the page with plumbing.

The book leans on two familiar tools, one for the mathematics and one for the structures. NumPy and SciPy do the mathematics: we rewrite the second-order equation of motion as a first-order state-space system and march it forward in time. OpenSeesPy does the structural modeling, the same engine used across research and practice, first driving a single oscillator and later a whole multi-story building, so you can see how little code a real dynamic analysis takes.

How to read it

Read it with the code running, because every chapter is a live notebook: press play on a cell, change a stiffness or a damping ratio, and run it again. Where a process unfolds over time, a resonance building up, a response spectrum assembled point by point, an animation waits in a drop-down beneath the static figure. Read actively, because the book rewards a reader who argues with it.

The path runs from one mass to a whole building:

  1. The SDOF model and equation of motion, where mm, cc, and kk come from and what p(t)p(t) really is.

  2. Free vibration, how a structure rings and how fast it forgets.

  3. The numerical engine, state space and time integration; the solver every later chapter reuses.

  4. Harmonic and periodic loads, resonance, frequency response, and beating.

  5. Arbitrary loads, impulses, pulses, and measured force histories.

  6. Earthquake response and response spectra, from a ground motion to a design spectrum, built by code.

  7. Nonlinear SDOF, yielding, hysteresis, and ductility with OpenSeesPy.

  8. From SDOF to MDOF, how modal analysis turns a real building back into the simple oscillators we already understand.

  9. Earthquake response of MDOF buildings and code-based design, response-spectrum analysis, the equivalent lateral force method, and the RR factor of ASCE 7.

Two appendices and a reference list follow the nine chapters. Appendix A is a starter for one-dimensional dynamics in OpenSeesPy, and Appendix B collects the notation, the units, and the sdtools reference. The books and papers this text builds on are gathered in the References.

One last word before we start: dynamics has a reputation for being hard, and parts of it genuinely are. But the hard parts are almost always a familiar oscillator wearing a new disguise. Keep that one picture in mind, run the code, trust the plot, and the wall of integrals turns back into what it always was: a single, well-behaved mass on a spring, answering whatever the world asks of it. Turn to Chapter 1, and we will set that mass in motion.

Citation

If this material is useful in your teaching or research, please cite it:

@misc{talebi2026LSDbook,
  author       = {Talebi-Kalaleh, M.},
  year         = {2026},
  title        = {Linear Structural Dynamics [e-book]},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.23842415},
  url          = {https://doi.org/10.5281/zenodo.23842415}
}