Skip to content
Queensferry

Structural Dynamics

Interactive tools

Every interactive in the course, in one place. Each one exists to teach a specific principle, which is stated beside it — none of them is decoration.

All 29 tools are built and working. Each is driven by the same tested calculation library that produces the numbers in the lessons, so a value read off a tool and a value quoted in a worked example come from the same place.

Every tool can be operated from the keyboard, every slider has a paired number field, every animation starts paused and can be scrubbed rather than watched, and every plot offers the numbers behind it as a table.

Stage A — Foundations of vibration

Stage B — General dynamic response

Stage C — Modal and earthquake response

Stage D — Advanced response and control

The tools

Every tool, in syllabus order. These are the same components the lessons embed.

Module 01 · Dynamic load comparison

Try it

The same peak load, five different ways

Every case below applies the same peak force to the same structure. Only the way it arrives in time is different.

s
kN

Show which cases

Applied force against Time. Slowly applied reaches a peak magnitude of 50 kN. Suddenly applied reaches a peak magnitude of 50 kN. Harmonic at resonance reaches a peak magnitude of 50 kN.00.511.522.533.544.555.5-40-2002040Time (s)Applied force (kN)
  • Slowly applied
  • Suddenly applied
  • Harmonic at resonance
Applied force against Time. Slowly applied reaches a peak magnitude of 50 kN. Suddenly applied reaches a peak magnitude of 50 kN. Harmonic at resonance reaches a peak magnitude of 50 kN.
Displacement against Time. Slowly applied reaches a peak magnitude of 22.7 mm. Suddenly applied reaches a peak magnitude of 42.3 mm. Harmonic at resonance reaches a peak magnitude of 218 mm.00.511.522.533.544.555.5-200-150-100-50050100150200staticTime (s)Displacement (mm)
  • Slowly applied
  • Suddenly applied
  • Harmonic at resonance
Displacement against Time. Slowly applied reaches a peak magnitude of 22.7 mm. Suddenly applied reaches a peak magnitude of 42.3 mm. Harmonic at resonance reaches a peak magnitude of 218 mm.
Show the numbers behind this plot
LoadingPeak xx / x_static
Slowly applied22.7 mm1.00
Suddenly applied42.3 mm1.85
Harmonic at resonance218 mm9.56
Short impulse6.06 mm0.27
Ground acceleration218 mm9.56

Static displacement is 22.8 mm. The worst case here — harmonic at resonance — reaches 9.6 times that. A static calculation would have reported the same number for all five.

What to look for

  • The slowly applied load gives exactly the static answer. That is what 'static' means: applied slowly enough that inertia never enters.
  • The suddenly applied load reaches almost exactly twice the static displacement, and nothing about that requires resonance or unusual loading.
  • The harmonic load at resonance builds up over many cycles. Reduce the damping and watch how much further it goes and how much longer it takes.
  • The short impulse produces a large velocity and a modest displacement. Shorten it further and the peak force stops mattering — only the area under the force curve does.
  • Ground acceleration produces a response even though no force is applied to the structure at all.

What this shows: A load is not described by its magnitude alone. How quickly it arrives, relative to the structure's natural period, changes the response by more than a factor of ten.

Module 02 · Dynamic model builder

Try it

From a physical frame to a dynamic model

Choose what the model keeps. Every simplification buys size and costs behaviour, and both sides are reported.

Two orthogonal frame directions rather than one plane.

Only meaningful in a three-dimensional model.

Elevation of a 3-storey, 2-bay frame.rigid floors
Joints in the physical model
9
Degrees of freedom, unreduced
27
Retained coordinates
3
Reduction factor
9.0×
Transformation
u = T q

T is 27 × 3. The reduced mass is TᵀMT and the reduced stiffness is TᵀKT — the model does not lose the structure, it constrains it.

Planes analysed
1

Retained

  • Nothing has been simplified away.

No longer representable

  • Joint rotations are no longer degrees of freedom, so no rotational inertia is carried and the local bending modes of individual beams cannot appear.
  • Column axial deformation is ignored, so vertical modes and the vertical component of an earthquake cannot be represented at all.
  • A rigid diaphragm ties every joint on a floor to one master coordinate. In-plane floor flexibility disappears — which matters for a long, narrow or heavily perforated floor plate. 9 coordinates became 3.

This is the classical shear-building model: one lateral coordinate per floor. It is the right first model for a regular building under horizontal excitation, and the wrong model for a floor-vibration problem, a vertical earthquake component or anything with a soft or perforated diaphragm.

What this shows: Model reduction is a series of explicit decisions, each removing a class of behaviour. The reduced coordinates are what you can see; the discarded ones are what you have agreed not to look for.

Module 03 · Mass–spring–damper

Try it

The mass, the spring, the damper and the four forces

Set the system moving and watch which force is doing the work at each part of the cycle.

Loading

s

Above 1 the response no longer oscillates.

mm
mm/s
Mass on a spring and damper, displaced 0.0400 metres, with the four forces drawn.kcmxF(t)−kx−cx'−mx''
t = 0.00 s
Response against Time. Displacement x (mm) reaches a peak magnitude of 40. Velocity x' (mm/s ÷ 10) reaches a peak magnitude of 23.3. Acceleration x'' (mm/s² ÷ 100) reaches a peak magnitude of 15.8.012345678-30-20-10010203040nowTime (s)Response
  • Displacement x (mm)
  • Velocity x′ (mm/s ÷ 10)
  • Acceleration x″ (mm/s² ÷ 100)
Response against Time. Displacement x (mm) reaches a peak magnitude of 40. Velocity x′ (mm/s ÷ 10) reaches a peak magnitude of 23.3. Acceleration x″ (mm/s² ÷ 100) reaches a peak magnitude of 15.8.
Show the numbers behind this plot
ωn
6.28 rad/s
fn
1 Hz
Critical damping ccr
62.8 kN·s/m
Regime
underdamped
Inertia force m x″
-7.9 kN
Damping force c x′
-5.4e-18 kN
Stiffness force k x
7.9 kN
Applied force F(t)
0 kN

m x″ + c x′ + k x − F(t) = 0 kN — zero to within round-off. The four forces balance at this instant, as they do at every instant.

Things worth doing here

  • Set ζ = 0 and release from rest. At the extremes the velocity is zero, so the damping force vanishes and the spring alone is balancing inertia. As it passes through zero the spring force vanishes instead.
  • Raise ζ to 1 exactly. The mass returns to equilibrium in the shortest time possible without overshooting — that is what critical damping means, and it is not the same as 'heavily damped'.
  • Raise ζ above 1. It returns more slowly, not faster. Extra damping past critical is a hindrance.
  • Switch to harmonic forcing at β = 1 and watch the applied force stay in step with the DAMPING force, not the spring force. At resonance the load is doing nothing but feeding the damper.

What this shows: Dynamic equilibrium is not equilibrium of applied loads. Inertia, damping and stiffness forces sum to the applied force at every single instant — including instants when the applied force is zero.

Module 04 · Free-vibration explorer

Try it

Free vibration in every damping regime

Displace the mass, release it, and see what damping does to what follows.

s
mm
mm/s
Displacement against Time. ζ = 0 (undamped) reaches a peak magnitude of 30 mm. ζ = 0.05 reaches a peak magnitude of 30 mm. ζ = 1 (critical) reaches a peak magnitude of 30 mm. ζ = 2 (overdamped) reaches a peak magnitude of 30 mm.0123456-30-20-100102030nowTime (s)Displacement (mm)
  • ζ = 0 (undamped)
  • ζ = 0.05
  • ζ = 1 (critical)
  • ζ = 2 (overdamped)
Displacement against Time. ζ = 0 (undamped) reaches a peak magnitude of 30 mm. ζ = 0.05 reaches a peak magnitude of 30 mm. ζ = 1 (critical) reaches a peak magnitude of 30 mm. ζ = 2 (overdamped) reaches a peak magnitude of 30 mm.
Show the numbers behind this plot
t = 0.00 s
Phase-plane view: displacement on the horizontal axis against velocity on the vertical. An undamped response traces a closed ellipse for ever; a damped one spirals in to the origin; an overdamped one runs straight in without circling.-30-20-100102030-200-150-100-50050100150200Displacement (mm)Velocity (mm/s)
  • ζ = 0 (undamped)
  • ζ = 0.05
  • ζ = 1 (critical)
  • ζ = 2 (overdamped)
Phase-plane view: displacement on the horizontal axis against velocity on the vertical. An undamped response traces a closed ellipse for ever; a damped one spirals in to the origin; an overdamped one runs straight in without circling.
ωn
6.28 rad/s
Tn
1 s
Regime
underdamped
ωd
6.28 rad/s

0.13% below ωn

Td
1 s

0.13% longer than Tn

Cycles to half amplitude
2.2

At ζ = 0.05 the damped period is only 0.13% longer than the undamped one. Damping has an enormous effect on how long the vibration lasts and almost none on how fast it vibrates — which is why the distinction between ωn and ωd is nearly always ignorable in practice, and why it must not be forgotten in the derivation.

What this shows: The three damping regimes are not three phenomena. They are one solution whose character changes as ζ passes through 1, and at ζ = 1 the oscillation does not slow down — it stops existing.

Module 04 · Damping decay tool

Try it

Where the energy goes

Release the mass from rest and watch the amplitude fall — then watch the energy account that explains why.

s
Displacement against Time. Displacement reaches a peak magnitude of 40 mm. Envelope reaches a peak magnitude of 40.1 mm. reaches a peak magnitude of 40.1 mm.0123456789-40-30-20-10010203040Time (s)Displacement (mm)
  • Displacement
  • Envelope
Displacement against Time. Displacement reaches a peak magnitude of 40 mm. Envelope reaches a peak magnitude of 40.1 mm. reaches a peak magnitude of 40.1 mm.
t = 0.00 s
Energy against Time. Kinetic reaches a peak magnitude of 424 J. Strain reaches a peak magnitude of 493 J. Dissipated (cumulative) reaches a peak magnitude of 493 J. Total mechanical reaches a peak magnitude of 493 J.01234567890100200300400500Time (s)Energy (J)
  • Kinetic
  • Strain
  • Dissipated (cumulative)
  • Total mechanical
Energy against Time. Kinetic reaches a peak magnitude of 424 J. Strain reaches a peak magnitude of 493 J. Dissipated (cumulative) reaches a peak magnitude of 493 J. Total mechanical reaches a peak magnitude of 493 J.
Show the numbers behind this plot
Initial energy E₀
493 J
Energy remaining now
100.0%
Amplitude remaining now
100.0%
Logarithmic decrement δ
0.315
Cycles to half amplitude
2.2
Cycles to 1% amplitude
14.6

Energy goes as amplitude squared, so when the amplitude has halved, three quarters of the energy has already gone. That is why a structure that still looks like it is moving may have almost nothing left in it — and why a damping estimate taken from the tail of a decay trace is the least reliable part of the record.

What this shows: Amplitude decays because the damper is converting mechanical energy into heat. Energy falls as the SQUARE of amplitude, so the energy is gone long before the motion looks small.

Module 04 · Logarithmic decrement tool

Try it

Estimating damping from a decay trace

This is the measurement an engineer actually makes on site. Choose two peaks and read the damping off them.

%
Displacement against Time. Measured decay reaches a peak magnitude of 40 mm.024681012-40-30-20-10010203040peak 0peak 1Time (s)Displacement (mm)
Displacement against Time. Measured decay reaches a peak magnitude of 40 mm.
PeakMeasured (mm)Ratio to previous
040.00
133.571.1914
226.891.2487
323.081.1650
418.751.2310
515.411.2164
613.151.1719
710.501.2531
Cycles between the peaks, n
1
Amplitude ratio
1.1914
δ = (1/n) ln(ratio)
0.175
ζ = δ/√(4π² + δ²)
0.0279
ζ ≈ δ/2π (approximation)
0.0279
True value
0.0300
Error in the estimate
-7.1%

Over one cycle the amplitude falls by only 17.2%. With a 2% reading error on each peak, that is why the estimate is 7% out. Increase the separation between the peaks.

What this measurement cannot tell you

  • It measures the damping at the amplitude of the test. Real damping is amplitude-dependent, and a small-amplitude test on a building will report less damping than the same building shows in a storm.
  • It assumes viscous damping. Friction in cladding, joints and finishes is not viscous, and fitting an exponential to it gives a number that works only over the range measured.
  • The very late peaks are the least reliable, because the signal has fallen towards the noise floor of the instrument.

What this shows: The logarithmic decrement works because consecutive peaks fall by a constant RATIO. Using peaks many cycles apart is not a refinement — at realistic damping levels it is the difference between a usable estimate and noise.

Module 05 · Resonance explorer

Try it

Sweeping through resonance

Move the forcing frequency across the natural frequency and watch both the curve and the time history.

s
kN

What fraction of the force reaches the supports.

Magnification R_d against Frequency ratio β. R_d at ζ = 0.05 reaches a peak magnitude of 10. ζ = 0.02 reaches a peak magnitude of 25. ζ = 0.05 reaches a peak magnitude of 10. ζ = 0.1 reaches a peak magnitude of 5.03. ζ = 0.2 reaches a peak magnitude of 2.55.00.511.522.530246810β nowpeakFrequency ratio βMagnification Rd
  • Rd at ζ = 0.05
  • ζ = 0.02
  • ζ = 0.05
  • ζ = 0.1
  • ζ = 0.2
Magnification Rd against Frequency ratio β. Rd at ζ = 0.05 reaches a peak magnitude of 10. ζ = 0.02 reaches a peak magnitude of 25. ζ = 0.05 reaches a peak magnitude of 10. ζ = 0.1 reaches a peak magnitude of 5.03. ζ = 0.2 reaches a peak magnitude of 2.55.
Phase lag against Frequency ratio β. Phase lag φ reaches a peak magnitude of 178 degrees.00.511.522.5304080120160Frequency ratio βPhase lag (degrees)
Phase lag against Frequency ratio β. Phase lag φ reaches a peak magnitude of 178 degrees.
Response against Time. Response x (mm) reaches a peak magnitude of 63.3. Applied force (kN ÷ 5) reaches a peak magnitude of 4.024681012-60-40-200204060Time (s)Response
  • Response x (mm)
  • Applied force (kN ÷ 5)
Response against Time. Response x (mm) reaches a peak magnitude of 63.3. Applied force (kN ÷ 5) reaches a peak magnitude of 4.
Show the numbers behind this plot
t = 0.00 s
Static displacement F₀/k
6.33 mm
Magnification Rd
10
Steady-state amplitude X
63.3 mm
Phase lag φ
90.0°
Peak magnification available
10
Energy per cycle into the damper
3980 J
Transmissibility
10
Beat period

At β = 1.00 the response is 10.0 times the static value, and the ONLY thing limiting it is the 5.0% damping. Halve the damping and the response doubles.

Things worth doing here

  • Set β = 1 and reduce the damping in steps. The magnification is exactly 1/(2ζ) each time, and the time history takes proportionally longer to reach it.
  • Notice the peak of the curve is NOT at β = 1 — it sits at β = √(1 − 2ζ²), just below. At small damping the difference is invisible; at ζ = 0.3 it is not.
  • Raise ζ past 1/√2 ≈ 0.707. The peak disappears entirely and the response falls monotonically from its static value.
  • Switch to transmissibility. Every curve crosses 1 at β = √2 whatever the damping — and above that point MORE damping makes the transmitted force worse, which is the one place in structural engineering where added damping is not an improvement.

What this shows: Resonance is not a property of a load or of a structure but of the RATIO between them, and at resonance nothing is holding the response down except damping.

Module 06 · Forcing-function builder

Try it

Build a force history and see what it does

Choose a shape and change how long it lasts, measured against the structure's own natural period.

Pulse shape

The single most important parameter on this panel.

s
kN
Force against Time. Applied force reaches a peak magnitude of 60 kN.00.511.522.533.50102030405060Time (s)Force (kN)
Force against Time. Applied force reaches a peak magnitude of 60 kN.
Displacement against Time. Response reaches a peak magnitude of 57.4 mm. Static deflection F₀/k reaches a peak magnitude of 36.5 mm.00.511.522.533.5-60-40-200204060peakpulse endsTime (s)Displacement (mm)
  • Response
  • Static deflection F₀/k
Displacement against Time. Response reaches a peak magnitude of 57.4 mm. Static deflection F₀/k reaches a peak magnitude of 36.5 mm.
Show the numbers behind this plot
t = 0.00 s
Static displacement
36.5 mm
Peak displacement
57.4 mm
Dynamic load factor
1.57
Peak occurs at
0.24 s

after the pulse has ended — the structure is in free vibration

Total impulse ∫F dt
10.9 kN·s
Impulsive estimate I/(mω)
69.1 mm

Not applicable — this pulse is not short compared with Tn

Rectangular shock spectrum
1.62

Around tdTn/2 the pulse and the structure are in step, and this is where the dynamic load factor is largest. It is 1.57 here.

What this shows: What decides the response to a pulse is not its magnitude or even its shape, but its DURATION measured against the natural period. Below about half a period only the area under the curve matters.

Module 06 · Impulse-response visualiser

Try it

What one sharp blow does

A very short force of known total impulse, and the free vibration it leaves behind.

s
tonne
kN·s
The two curves lie exactly on top of each other, because they are the same thing calculated two ways.00.511.522.533.54-400-2000200400600Time (s)Displacement (mm)
  • Response to the impulse
  • Free vibration from x₀ = 0, x′₀ = I/m
The two curves lie exactly on top of each other, because they are the same thing calculated two ways.
Show the numbers behind this plot
Velocity imparted, I/m
5000 mm/s
Peak displacement
590 mm
Predicted peak I/(mω_n)
637 mm

Exact for an undamped system; slightly high once damping is present.

h(0)
0

The mass has not moved yet.

Slope of h at t = 0
1/m = 1.0e-4 m per N·s²
First peak at
0.2 s

A quarter of a damped period after the blow.

Doubling the mass halves the velocity the impulse imparts AND halves the resulting displacement, so a heavier structure is less affected by a blow — the opposite of the static intuition, where mass does nothing at all.

What this shows: An impulse changes momentum, not position. The struck structure starts exactly where it was, moving at I/m — so the impulse response is a free vibration with zero initial displacement.

Module 06 · Convolution explorer

Try it

Building an arbitrary response from impulses

Every slice of the force history is an impulse. Each one starts its own free vibration, and the total is the sum.

Force history

s
s
Force against Time. Force reaches a peak magnitude of 80 kN.00.511.522.533.5020406080this sliceTime (s)Force (kN)
Force against Time. Force reaches a peak magnitude of 80 kN.
Displacement against Time. Total response (convolution) reaches a peak magnitude of 109 mm. Same problem, time-stepped reaches a peak magnitude of 109 mm. Contribution of the impulse at t = 0.15 s reaches a peak magnitude of 4.82 mm. Other individual impulses reaches a peak magnitude of 2.46 mm. reaches a peak magnitude of 4.82 mm. reaches a peak magnitude of 6.08 mm. reaches a peak magnitude of 6.4 mm. reaches a peak magnitude of 5.75 mm. reaches a peak magnitude of 3.91 mm. reaches a peak magnitude of 1.66 mm.00.511.522.533.5-80-60-40-20020406080100120Time (s)Displacement (mm)
  • Total response (convolution)
  • Same problem, time-stepped
  • Contribution of the impulse at t = 0.15 s
  • Other individual impulses
Displacement against Time. Total response (convolution) reaches a peak magnitude of 109 mm. Same problem, time-stepped reaches a peak magnitude of 109 mm. Contribution of the impulse at t = 0.15 s reaches a peak magnitude of 4.82 mm. Other individual impulses reaches a peak magnitude of 2.46 mm. reaches a peak magnitude of 4.82 mm. reaches a peak magnitude of 6.08 mm. reaches a peak magnitude of 6.4 mm. reaches a peak magnitude of 5.75 mm. reaches a peak magnitude of 3.91 mm. reaches a peak magnitude of 1.66 mm.
Show the numbers behind this plot
Slice width dt
0.0117 s
Force in this slice
60.1 kN
Impulse of this slice
0.702 kN·s
Its peak contribution
4.82 mm
Peak of the total
109 mm
Convolution vs time-stepping
0.67%

Two completely different methods, same answer — which is the check that the implementation is right.

What the picture is telling you

  • Each faint curve is one slice of the load acting alone. It is zero until its slice arrives, then it is a decaying free vibration, and it never notices what the other slices do.
  • The heavy curve is their sum. Nothing else has been added: no new physics, only addition.
  • Slices that arrive when the structure is already moving the same way add to the response; slices that arrive against it subtract. That is the whole mechanism behind resonance, seen at the level of individual impulses.
  • Set the damping to zero and look at how long each contribution persists. With no damping, an impulse from the very start of the record is still contributing at the end.

What this shows: The convolution integral is not a new theory. It is linear superposition applied to a load history cut into slices, and the impulse response is the only thing you need to know about the structure.

Module 07 · Dynamic energy visualiser

Try it

The energy account

Every joule the load puts in must be stored, carried or dissipated. Watch the account, and watch whether it balances.

Case

s

Coarsen it and watch the balance stop closing.

Energy against Time. Kinetic reaches a peak magnitude of 592 J. Strain reaches a peak magnitude of 592 J. Dissipated reaches a peak magnitude of 0 J. Total mechanical reaches a peak magnitude of 592 J.0123456780100200300400500600Time (s)Energy (J)
  • Kinetic
  • Strain
  • Dissipated
  • Total mechanical
Energy against Time. Kinetic reaches a peak magnitude of 592 J. Strain reaches a peak magnitude of 592 J. Dissipated reaches a peak magnitude of 0 J. Total mechanical reaches a peak magnitude of 592 J.
Show the numbers behind this plot
t = 0.00 s

Where the energy is, right now

Strain

Kinetic 0 J · Strain 592 J · Dissipated 0 J

Mechanical energy now
592 J
Cumulative dissipation
0 J
Cumulative input work
0 J
Balance residual
-592 J
Worst residual, as a fraction
100.0000%

With no damping the total mechanical energy is a constant: it merely moves between kinetic and strain twice per cycle. The residual is 100.0000% — which is measuring the integration error, not any physics.

What this shows: Energy balance is the strongest available check on a dynamic analysis. If input energy does not equal kinetic plus strain plus dissipated, the analysis is wrong — and the size of the gap tells you how wrong.

Module 08 · Newmark time stepper

Try it

Newmark's method against an answer we already know

Free vibration has an exact solution, so the numerical error can be plotted rather than guessed at.

Scheme

Problem

The only parameter that decides whether the answer means anything.

s
Displacement against Time. Newmark, average acceleration reaches a peak magnitude of 40 mm. Exact solution reaches a peak magnitude of 40 mm.012345678-40-30-20-10010203040Time (s)Displacement (mm)
  • Newmark, average acceleration
  • Exact solution
Displacement against Time. Newmark, average acceleration reaches a peak magnitude of 40 mm. Exact solution reaches a peak magnitude of 40 mm.
Show the numbers behind this plot
Error against Time. Error (numerical − exact) reaches a peak magnitude of 21.2 mm.012345678-20-1001020Time (s)Error (mm)
Error against Time. Error (numerical − exact) reaches a peak magnitude of 21.2 mm.
Time step Δt
0.1 s
Steps in the analysis
81

Halving the step doubles the cost.

Stability limit
unconditionally stable
Worst error
53.11%
Period elongation
3.32%
Amplitude decay per cycle
10.94%

Should be zero for γ = 1/2.

53.1% out. The error is almost entirely PHASE — the numerical solution has the right amplitude at the wrong time. That is the signature of too coarse a step in an average-acceleration scheme.

Things worth doing here

  • Choose central difference and raise Δt/Tn past 0.318. It does not become slightly wrong; it diverges to infinity within a few steps.
  • Choose average acceleration and try Δt/Tn = 0.5. It stays bounded — unconditional stability means the answer will not explode — but a bounded answer is not a correct one, and the error is enormous.
  • Compare linear acceleration and average acceleration at the same modest step. Linear acceleration is the more accurate, which is why it is worth having despite the stability limit.
  • With γ = 0.7, watch the amplitude decay even though ζ is set to zero. That damping is entirely numerical and does not exist in the structure.

What this shows: Newmark makes one assumption — how acceleration varies within a step — and then enforces equilibrium at the end of the step. Everything about accuracy and stability follows from that assumption and from the size of the step relative to the period.

Module 08 · Time-step sensitivity tool

Try it

How small does the time step need to be?

Run the same problem at fourteen time steps and watch the answer stop changing.

Scheme

Quantity checked

Acceleration converges more slowly than displacement — always check the one you need.

s
Error in the peak against Time step Δt / T_n. Relative error reaches a peak magnitude of 95.1 %. 5% line reaches a peak magnitude of 5 %.0.0050.010.020.050.10.20.50510152025303540Time step Δt / TnError in the peak (%)
  • Relative error
  • 5% line
Error in the peak against Time step Δt / Tn. Relative error reaches a peak magnitude of 95.1 %. 5% line reaches a peak magnitude of 5 %.
Δt / T_nStepsPeakErrorChange from previous
0.500254.4395.13%
0.3503528.968.24%84.67%
0.2504989.41.67%67.70%
0.1806813649.71%34.32%
0.1259711526.43%18.41%
0.09013410211.96%12.92%
0.06319395.65.16%6.47%
0.04526893.32.60%2.49%
0.03040191.91.10%1.49%
0.02060191.40.49%0.60%
0.01485891.10.20%0.30%
0.0101201910.11%0.08%
0.0071715910.06%0.05%
0.0052401910.02%0.04%
Exact steady-state amplitude
75.3 mm

Available here only because the forcing is harmonic.

Within 5% at
Δt/Tn = 0.25
Within 1% at
Δt/Tn = 0.02
Cost of the 1% answer
601 steps

12.3× the cost of the 5% answer

The commonly quoted rule Δt ≤ T/10 gets you into the right region and no further. Notice how much the answer is still moving at that step, and how little it moves once you are at T/50.

What this shows: A time step is adequate when halving it stops changing the answer — not when a rule of thumb says so. The rule of thumb is where you START the convergence study.

Module 09 · Two-DOF mode explorer

Try it

Two storeys, two modes

Change one storey and watch BOTH frequencies and BOTH mode shapes move. Nothing in a coupled system changes alone.

tonne
tonne
MN/m
MN/m

Show

mm
mm

Animated

Shear building elevation with 2 storeys, drawn with displacements exaggerated.u₁u₂movement exaggerated
Mode 1 — 0.252 s: storey amplitudes 0.53, 1.00, relative to each other.0.531.00Mode 1 — 0.252 s
Mode 2 — 0.111 s: storey amplitudes -1.41, 1.00, relative to each other.-1.411.00Mode 2 — 0.111 s
t = 0.00 s
Displacement against Time. Floor 1 reaches a peak magnitude of 20 mm. Floor 2 reaches a peak magnitude of 34.1 mm. Mode 1 contribution to floor 2 reaches a peak magnitude of 32.1 mm. Mode 2 contribution to floor 2 reaches a peak magnitude of 2.07 mm.00.10.20.30.40.50.60.70.80.91-30-20-100102030Time (s)Displacement (mm)
  • Floor 1
  • Floor 2
  • Mode 1 contribution to floor 2
  • Mode 2 contribution to floor 2
Displacement against Time. Floor 1 reaches a peak magnitude of 20 mm. Floor 2 reaches a peak magnitude of 34.1 mm. Mode 1 contribution to floor 2 reaches a peak magnitude of 32.1 mm. Mode 2 contribution to floor 2 reaches a peak magnitude of 2.07 mm.
Show the numbers behind this plot

Mass matrix M(tonne)

4000
0300

Stiffness matrix K(MN/m)

1000-400
-400400
T₁
0.252 s
T₂
0.111 s
f₁
3.97 Hz
f₂
9.02 Hz
Frequency separation ω₂/ω₁
2.27
Closed form vs eigensolver
1.4e-14%

Two independent routes to the same frequencies.

Mode 1 effective mass
90.9%
Mode 2 effective mass
9.1%
Mode 1 shape (u₁ : u₂)
1 : 1.88
Mode 2 shape (u₁ : u₂)
1 : -0.71
Orthogonality φ₁ᵀMφ₂
0.0e+0

Zero to machine precision — this is what makes modal analysis possible.

Modal coordinates q₁, q₂ now
20.6, 2.16

Mode 1 has both floors moving the same way; mode 2 has them opposed. Change k₂ alone and watch T₁ AND T₂ both move — in a coupled system there is no such thing as "the stiffness of mode 2".

Things worth doing here

  • Make the upper storey very light. The second mode becomes almost entirely the top floor moving on its own — a local mode with almost no effective mass, which is exactly what a code's 90% mass rule is designed to let you ignore.
  • Make the upper storey very soft. The building becomes a mass on a long soft column, the first period lengthens sharply, and the mode shape shows almost all the deformation in the top storey — a soft-storey mechanism in embryo.
  • Set the initial displacements to match mode 1's shape exactly. Only mode 1 is excited, and the building vibrates in a pure sinusoid. Any other starting shape excites both.

What this shows: A two-degree-of-freedom system has exactly two shapes in which it can vibrate freely without changing shape. Every other motion it can make is a combination of those two.

Module 10 · MDOF matrix builder

Try it

Assembling the matrices, entry by entry

Every number in these matrices has a physical meaning. Change a storey and watch which entries move.

Uncheck to taper mass and stiffness with height.

Reduces that storey's stiffness to 40%.

Mass matrix M(tonne)

40000
04000
00400

Stiffness matrix K(MN/m)

1200-6000
-6001200-600
0-600600

Reading these matrices

  • M is diagonal because the mass is lumped at the floors: accelerating floor 2 produces no inertia force on floor 3. That is an assumption, not a fact, and it is the shear-building assumption.
  • K[i][i] is the sum of the storey stiffnesses above and below floor i, because moving that floor deforms both. Here K[0][0] = 600 + 600 = 1200 MN/m.
  • K[i][i+1] is minus the storey stiffness between them. The minus sign says that pushing floor i towards floor i+1 pulls floor i+1 along.
  • Every entry more than one floor away is zero, because floor 1 has no direct connection to floor 3 — only through floor 2. That is why the matrix is tridiagonal, and why a real frame with outriggers or bracing is not.
  • K is symmetric. It must be: Betti's theorem guarantees it, and a stiffness matrix that is not symmetric has an assembly error in it.
1: 0.365 s: storey amplitudes 0.45, 0.80, 1.00, relative to each other.0.450.801.001: 0.365 s
2: 0.130 s: storey amplitudes -1.25, -0.55, 1.00, relative to each other.-1.25-0.551.002: 0.130 s
3: 0.090 s: storey amplitudes 1.80, -2.25, 1.00, relative to each other.1.80-2.251.003: 0.090 s
ModeT (s)f (Hz)ΓEffective massCumulative
10.3652.741047.3391.4%91.4%
20.1307.69299.757.5%98.9%
30.09011.11-115.121.1%100.0%

Total mass 1200 tonnes, all of it accounted for across 3 modes. The first mode alone carries 91% of it.

What this shows: The stiffness matrix entry K[i][j] is the force needed at i to hold every other floor still while floor j moves one unit. That definition, not a formula, is what makes the tridiagonal pattern obvious.

Module 10 · Lumped and consistent mass

Try it

Lumped mass or consistent mass?

Both are approximations. Compared against a member whose exact frequency is known, they miss from opposite sides.

Member

m
Exact continuous solution
1350 rad/s (216 Hz)
Consistent mass
1490 rad/s

+10.27% — a consistent-mass model is stiff and light, so it reads high

Lumped mass
1220 rad/s

-9.97% — lumping puts more mass at the moving end, so it reads low

Gap between the two
20.23%

A useful mesh-adequacy check that needs no exact solution: if the two disagree, the mesh is too coarse.

Error in the first frequency against Number of elements. Consistent mass reaches a peak magnitude of 10.3 %. Lumped mass reaches a peak magnitude of 9.97 %. Exact reaches a peak magnitude of 0 %.123456789101112-10-8-6-4-20246810Number of elementsError in the first frequency (%)
  • Consistent mass
  • Lumped mass
  • Exact
Error in the first frequency against Number of elements. Consistent mass reaches a peak magnitude of 10.3 %. Lumped mass reaches a peak magnitude of 9.97 %. Exact reaches a peak magnitude of 0 %.

Consistent mass matrix(kg)

157.0

Lumped mass matrix(kg)

235.5

Look at the off-diagonal entries. The consistent matrix has them and the lumped one does not — that is the whole difference. Physically, the consistent matrix says that accelerating one end of a member generates an inertia force at the other, because the material between them is being accelerated too.

Which to use

  • For a lumped-mass building model where the mass really is at the floors, lumping is not an approximation at all — it is the correct description.
  • For a member whose own distributed mass matters — a long-span floor beam, a chimney, a bridge deck — consistent mass converges faster and is the better choice per element.
  • Lumped mass gives a diagonal matrix, which makes explicit integration cheap. That is why explicit codes for impact and blast use it.
  • With enough elements both converge to the same answer, which is the real reassurance: neither is a different theory, only a different discretisation.

What this shows: Lumping discards the inertia coupling between the ends of a member. Consistent mass keeps it, at the price of a full matrix — and the two bracket the true answer, so the gap between them measures the mesh.

Module 10 · Rigid-diaphragm mass tool

Try it

A floor plate as three degrees of freedom

Translation in two directions and rotation about the vertical axis. The third one is the one models forget.

m
m
kg/m²
m

Offset of the centre of mass from the centre of stiffness.

MN/m
MN/m

Turn it off to see what a model with a missing I₀ reports.

Floor plan 30 by 18 metres, with the centre of stiffness and the centre of mass marked.CRCMa = 30 mb = 18 m

Diaphragm mass matrix, no eccentricity(tonne / tonne·m²)

48600
04860
0049572
Floor mass m
486 tonne
I₀ = m(a² + b²)/12
49600 tonne·m²
Radius of gyration r = √(I₀/m)
10.1 m
I about the offset axis
49600 tonne·m²
Torsional stiffness Kθ
2.4e5 MN·m/rad
Mode 1 period
0.155 s

predominantly translation in x

Mode 2 period
0.155 s

predominantly translation in y

Mode 3 period
0.0894 s

predominantly torsional

With no eccentricity the mass matrix is diagonal and the three modes are pure: two translations and one rotation, entirely independent. Add eccentricity and watch them mix.

What this shows: A rigid diaphragm has three degrees of freedom, not two. Leaving out its mass moment of inertia does not make the torsional period slightly wrong — it deletes the torsional mode.

Module 11 · Eigenmode explorer

Try it

Every mode this building has

Select a mode and watch it. Then change how it is normalised and watch every number move while the physics does not.

Normalisation

Shear building elevation with 5 storeys, drawn with displacements exaggerated.movement exaggerated
t = 0.00 s
Mode
1
ωn
12.4 rad/s
fn
1.98 Hz
Tn
0.506 s
Sign changes in the shape
0

Mode n always has n − 1 of them for a shear building.

Shape as shown
0.253, 0.503, 0.728, 0.901, 1.000
Modal mass with this scaling
8.8e5
Worst orthogonality residual
5.6e-16

Change the normalisation. Every number in the shape row changes and the ratios between them do not — the roof still moves 3.96 times as far as the first floor whichever scaling you choose. That is why a mode-shape ORDINATE from software means nothing on its own, and why comparing two ordinates from the same mode means everything.

What this shows: A mode shape has an arbitrary magnitude and a meaningful shape. Any multiple of it satisfies the eigenproblem equally, so only the RATIOS between its entries carry information.

Module 12 · Modal superposition tool

Try it

How many modes do you actually need?

Add modes one at a time and watch where the missing response was hiding.

Ground motion

Roof displacement against Time. All modes reaches a peak magnitude of 35 mm. First 1 mode reaches a peak magnitude of 33.7 mm.024681012141618-30-20-100102030Time (s)Roof displacement (mm)
  • All modes
  • First 1 mode
Roof displacement against Time. All modes reaches a peak magnitude of 35 mm. First 1 mode reaches a peak magnitude of 33.7 mm.
Show the numbers behind this plot
Peak displacement at each storey. Truncation shows up as a gap between the two profiles, and the gap is not the same at every level.8101214161820222426283032340123456Peak displacement (mm)Storey
  • All modes
  • First 1
Peak displacement at each storey. Truncation shows up as a gap between the two profiles, and the gap is not the same at every level.
ModeT (s)Effective massCumulativePeak |q_n|
10.59083.1%83.1%33.3
20.22111.2%94.4%3.19
30.1393.5%97.9%0.623
40.1061.4%99.3%0.261
50.0900.5%99.8%0.0844
60.0810.2%100.0%0.0486
Peak roof displacement, all modes
35.1 mm
Peak roof displacement, 1 mode
34 mm
Error from truncation
3.09%
Cumulative effective mass retained
83.1%
Modes needed for 90%
2
SRSS of the retained modal peaks
34 mm
CQC of the same peaks
34 mm

Close to SRSS here, because the modes of a regular shear building are well separated.

Only 83.1% of the mass is represented. That is below the 90% a design code would normally require, and the missing mass would show as a base shear that is too small.

What this shows: Truncation error is not spread evenly. The first mode gets the roof displacement nearly right and the storey forces near the top badly wrong, because higher modes contribute little displacement and a great deal of acceleration.

Module 12 · Modal participation tool

Try it

Participation factor is not effective mass

Rescale every mode shape by the same factor and see which quantity moves.

Physically meaningless. Watch which column reacts.

Mass against Mode number. Effective mass fraction reaches a peak magnitude of 79.7 %. Cumulative reaches a peak magnitude of 100 %. 90% target reaches a peak magnitude of 90 %.12345678020406080100Mode numberMass (%)
  • Effective mass fraction
  • Cumulative
  • 90% target
Mass against Mode number. Effective mass fraction reaches a peak magnitude of 79.7 %. Cumulative reaches a peak magnitude of 100 %. 90% target reaches a peak magnitude of 90 %.
ModeT (s)Γ (scale-dependent)M_eff (tonne)% of totalCumulative
10.7531419.8712016.079.75%79.75%
20.292-557.551310.912.30%92.05%
30.182327.340107.24.24%96.28%
40.135219.45248.21.91%98.19%
50.110-154.43823.90.94%99.13%
60.096109.66712.00.48%99.61%
70.087-78.9536.20.25%99.85%
80.08160.6603.70.15%100.00%
Total mass
2530 tonne
Sum of effective masses
2530 tonne

Must equal the total. Every kilogram belongs to some mode.

Modes to reach 90%
2
Mode 1 Γ
1419.871

Changed by the rescaling — it is now 1.0× smaller than at scale 1.

Mode 1 effective mass
2016.0 tonne

Unchanged by the rescaling, whatever you set the slider to.

Set the rescaling slider anywhere you like. The Γ column moves and the effective-mass column does not. Γ is only meaningful alongside the mode shape it was computed with; effective mass is meaningful on its own — and that is the entire reason codes are written in terms of it.

What a low effective mass means

  • A mode with almost no effective mass contributes almost no base shear, however dramatic its shape looks in the software.
  • It can still matter for local response — a slender element, a plant item, a parapet — because effective mass measures the contribution to GLOBAL inertia, not to local demand.
  • Introduce a soft storey and watch the mass concentrate into the first mode. That is not a good sign; it means one storey is doing all the deforming.

What this shows: The participation factor depends on how the mode shapes happen to be scaled. The effective modal mass does not — which is why design codes accumulate effective mass and never participation factors.

Module 12 · Rayleigh damping explorer

Try it

What Rayleigh damping actually delivers

Choose two modes to anchor the damping at, then look at what every other mode gets.

Damping ratio against Circular frequency ω. ζ delivered reaches a peak magnitude of 100 %. Mass-proportional part a₀/(2ω) reaches a peak magnitude of 100 %. Stiffness-proportional part a₁ω/2 reaches a peak magnitude of 11.7 %. Target reaches a peak magnitude of 5 %.102030405060708090100051015202512345678Circular frequency ω (rad/s)Damping ratio (%)
  • ζ delivered
  • Mass-proportional part a₀/(2ω)
  • Stiffness-proportional part a₁ω/2
  • Target
Damping ratio against Circular frequency ω. ζ delivered reaches a peak magnitude of 100 %. Mass-proportional part a₀/(2ω) reaches a peak magnitude of 100 %. Stiffness-proportional part a₁ω/2 reaches a peak magnitude of 11.7 %. Target reaches a peak magnitude of 5 %.
Modeω (rad/s)ζ deliveredvs targetEffective mass
18.355.00%1.00×79.7%
221.544.07%0.81×12.3%
334.565.00%1.00×4.2%
446.516.14%1.23×1.9%
556.917.22%1.44×0.9%
665.408.14%1.63×0.5%
771.978.85%1.77×0.2%
877.499.46%1.89×0.1%
a₀ (mass-proportional)
0.672 1/s
a₁ (stiffness-proportional)
0.00233 s
Anchor frequencies
8.35 and 34.6 rad/s
Lowest damping delivered
4.07%
Highest damping delivered
9.46%
Worst-damped mode
mode 8 at 9.46%

The anchors have been placed so that every mode carrying meaningful mass is damped close to the target. That is the right way to choose them: bracket the modes that matter, not the first and the last.

How to choose the anchors

  • Bracket the modes that carry the mass. Anchoring on mode 1 and the highest mode with meaningful effective mass is the usual advice.
  • Never anchor on a very long-period mode. The mass-proportional term goes as 1/ω, so a near-rigid-body mode receives absurd damping — and a base-isolated structure is exactly where this bites.
  • If the damping the model delivers in an important mode is wrong by a factor of two, so is that mode's contribution to the answer. Check the delivered values; do not assume the target was achieved.
  • Where every mode's damping must be right, use a modal damping matrix instead. It is not physically realisable as dashpots, but neither is Rayleigh damping.

What this shows: Rayleigh damping is exactly right at two frequencies and wrong at every other. Where the anchors are placed decides which modes are over-damped and which are under-damped — and that is an analyst's choice, not a property of the structure.

Module 13 · Ground-motion explorer

Try it

A ground motion, and what it does to one structure

The ground moves; the structure is dragged along by its supports. What the structure feels depends entirely on its own period.

Record

m/s²

0.24 g

s
Acceleration against Time. Ground acceleration ü_g reaches a peak magnitude of 2.29 m/s².024681012141618-2.5-1.5-0.50.51.55%95%Time (s)Acceleration (m/s²)
Acceleration against Time. Ground acceleration ü_g reaches a peak magnitude of 2.29 m/s².
Show the numbers behind this plot
Velocity against Time. Ground velocity reaches a peak magnitude of 0.236 m/s.024681012141618-0.25-0.15-0.050.050.15Time (s)Velocity (m/s)
Velocity against Time. Ground velocity reaches a peak magnitude of 0.236 m/s.
Displacement against Time. Ground displacement reaches a peak magnitude of 0.109 m.024681012141618-0.12-0.0600.06Time (s)Displacement (m)
Displacement against Time. Ground displacement reaches a peak magnitude of 0.109 m.
Structural response against Time. Relative displacement u (mm) reaches a peak magnitude of 42.7. Absolute acceleration (m/s²) reaches a peak magnitude of 2.65.024681012141618-40-30-20-10010203040Time (s)Structural response
  • Relative displacement u (mm)
  • Absolute acceleration (m/s²)
Structural response against Time. Relative displacement u (mm) reaches a peak magnitude of 42.7. Absolute acceleration (m/s²) reaches a peak magnitude of 2.65.
Show the numbers behind this plot
t = 0.00 s
Peak ground acceleration
2.4 m/s² (0.24 g)
Peak ground velocity
0.237 m/s
Peak ground displacement
109 mm
5–95% significant duration
9.01 s

Full record 20 s

Total Arias intensity
0.808 m/s
Peak RELATIVE displacement
42.8 mm

This is what deforms the structure and generates member forces.

Peak ABSOLUTE acceleration
2.65 m/s²

This is what the people and the equipment on the floor feel.

Peak inertia force per tonne
2.65 kN/tonne
Amplification over the ground
1.11×

At T = 0.80 s the structure is amplifying the ground motion by 1.1×. Both quantities matter and they are different questions.

A note on these records

  • Synthetic record generated for teaching. It is not a recorded earthquake and must not be used for design.
  • Kanai–Tajimi filter with a ground period of 0.30 s and 60% ground damping.
  • High-pass filtered at 0.15 Hz, then integrated to velocity and displacement with a linear trend removed from each.
  • Linearly scaled by 1.00 to a peak ground acceleration of 2.40 m/s².

What this shows: An earthquake applies no force to a structure. It moves the ground, and the resulting inertia force −m·üg is what the structure has to resist — which is why mass is a liability in an earthquake and an asset under wind.

Module 14 · Response-spectrum generator

Try it

Building a response spectrum, one oscillator at a time

A spectrum is the peak response of every possible single-degree-of-freedom structure to one record. This tool computes exactly that, and lets you inspect any one of them.

Record

s

Plot

Compare another record

Pseudo-acceleration against Natural period T_n. ζ = 5% reaches a peak magnitude of 7.21 m/s². Smoothed reaches a peak magnitude of 6.07 m/s².0.020.050.10.20.51201234567inspectingNatural period Tn (s)Pseudo-acceleration (m/s²)
  • ζ = 5%
  • Smoothed
Pseudo-acceleration against Natural period Tn. ζ = 5% reaches a peak magnitude of 7.21 m/s². Smoothed reaches a peak magnitude of 6.07 m/s².
Show the numbers behind this plot

The oscillator at T = 0.60 s, solved in full — its peak is the single point marked on the spectrum above.

Relative displacement against Time. Response of the T = 0.60 s oscillator reaches a peak magnitude of 25.8 mm.024681012141618-20-1001020peakTime (s)Relative displacement (mm)
Relative displacement against Time. Response of the T = 0.60 s oscillator reaches a peak magnitude of 25.8 mm.
Sd at this period
25.3 mm
PS_v
0.264 m/s
PS_a
2.76 m/s² (0.28 g)
Peak elastic force per tonne
2.76 kN/tonne

f = m·PS_a — one multiplication, which is why codes tabulate spectral acceleration.

True peak absolute acceleration Sa
2.78 m/s²

0.6% from PS_a — they coincide only at zero damping.

Peak occurred at
4.61 s

The spectrum does not record this. It is what a spectrum throws away.

Short-period check: PS_a → PGA
0.1% error

A sharp check: PS_a must reach the PGA. Anything above a few per cent here is a units or integration error.

Long-period trend: Sd → PGD
40.6% from PGD

A weak check, and deliberately not scored. The asymptote is only approached when the period far exceeds the record's DURATION, so a large gap here is expected rather than wrong.

Both ends of the spectrum are fixed by physics. As T → 0 the structure is rigid, rides with the ground, and PS_a must approach the peak ground acceleration of 2.4 m/s². As T → ∞ the mass stays still and Sd must approach the peak ground displacement of 109 mm. A computed spectrum that misses either asymptote has a units or integration error in it.

A response spectrum is not a design spectrum

  • This curve is jagged because a single earthquake happens to have more energy at some periods than others, by accident of that particular rupture and path.
  • A design spectrum is smooth because it envelopes many records and includes a chosen probability of exceedance. It is a different kind of object and it is never the response of anything.
  • Two structures whose periods differ by 10% can have spectral demands differing by a factor of two on a single-record spectrum. On a design spectrum they will not. That difference is the whole reason design spectra are smoothed.
  • These records are synthetic and generated for teaching. Nothing here is a design value.

What this shows: A response spectrum is a summary of what one earthquake does to every possible SDOF structure. It contains no information about WHEN each peak occurred — which is precisely why modal peaks have to be combined statistically.

Module 15 · Linear time-history workspace

Try it

A linear time-history analysis, with the choices exposed

The same building and the same record, analysed the ways an engineer would actually choose between.

Record

Method

Δt = 0.010 s — that is T₁/60

Integration scheme

Roof displacement against Time. This analysis reaches a peak magnitude of 35.1 mm. Converged reference (direct, all modes, full step) reaches a peak magnitude of 35.1 mm.024681012141618-30-20-100102030Time (s)Roof displacement (mm)
  • This analysis
  • Converged reference (direct, all modes, full step)
Roof displacement against Time. This analysis reaches a peak magnitude of 35.1 mm. Converged reference (direct, all modes, full step) reaches a peak magnitude of 35.1 mm.
Show the numbers behind this plot
Storey against Peak displacement. Peak displacement reaches a peak magnitude of 6.101214161820222426283032340123456Peak displacement (mm)Storey
Storey against Peak displacement. Peak displacement reaches a peak magnitude of 6.
Storey against Peak drift. Peak inter-storey drift reaches a peak magnitude of 6.0.120.140.160.180.20.220123456Peak drift (% of storey height)Storey
Storey against Peak drift. Peak inter-storey drift reaches a peak magnitude of 6.
First period T₁
0.598 s
Δt used
0.01 s

T₁/60

Steps in the analysis
2001
Peak roof displacement
35.3 mm
Error against the reference
0.00%
Peak inter-storey drift
0.232%

at storey 1

Peak base shear
1240 kN
As a fraction of the weight
0.060

Direct integration at Δt = T₁/60 is converged to 0.00%.

Two things this workspace is designed to show

  • Coarsen the time step and watch the roof displacement drift out of phase rather than change in amplitude. That is the signature of the average-acceleration scheme, and it is why a plot that 'looks right' can still be wrong.
  • The time step must resolve the HIGHEST mode you care about, not the first. A step of T₁/50 sounds generous until you notice it is only T₆/5.
  • Displacement converges long before drift does, and drift long before acceleration. Check convergence on the quantity you are going to use.

What this shows: Direct integration and modal superposition give the same answer when all modes are kept. Every difference you see comes from a choice you made — truncation, time step or integration scheme — not from the two methods disagreeing.

Module 16 · Hysteresis explorer

Try it

Yielding, hysteresis and what it buys

Cycle a yielding element and read the loop, then put the same element under an earthquake.

1.0 means the structure is designed to stay elastic.

0 gives elastic–perfectly plastic.

s

Record

Restoring force against Displacement. Prescribed cyclic loop reaches a peak magnitude of 0.719 kN.-40-30-20-10010203040-0.8-0.6-0.4-0.200.20.40.60.8yieldDisplacement (mm)Restoring force (kN)
Restoring force against Displacement. Prescribed cyclic loop reaches a peak magnitude of 0.719 kN.
The same element under the earthquake. Real loops are not symmetric or regular, because the record is not.-100102030405060-0.6-0.4-0.200.20.40.60.8Displacement (mm)Restoring force (kN)
The same element under the earthquake. Real loops are not symmetric or regular, because the record is not.
Displacement against Time. Inelastic response reaches a peak magnitude of 60.5 mm. Elastic response reaches a peak magnitude of 42.7 mm.024681012141618-40-200204060Time (s)Displacement (mm)
  • Inelastic response
  • Elastic response
Displacement against Time. Inelastic response reaches a peak magnitude of 60.5 mm. Elastic response reaches a peak magnitude of 42.7 mm.
Show the numbers behind this plot
Energy against Time. Cumulative hysteretic energy reaches a peak magnitude of 0.114 kJ.02468101214161800.020.040.060.080.10.12Time (s)Energy (kJ)
Energy against Time. Cumulative hysteretic energy reaches a peak magnitude of 0.114 kJ.
Yield force fy
0.66 kN
Yield displacement uy
10.7 mm
Loop area, prescribed cycle
0.0821 kJ
Compare 4fy(u₀ − uy)
0.0847 kJ

Approximate — hardening enlarges the loop.

Equivalent viscous damping at this ductility
48%
Peak elastic force demand
2.64 kN
Peak inelastic force
0.752 kN
Ductility demand μ
5.66
Residual displacement
24.3 mm
Peak elastic displacement
42.8 mm
Peak inelastic displacement
60.6 mm
Effective period at peak ductility
1.78 s

Lengthened from 0.80 s as the structure softened.

Newton iterations that failed
0

Strength reduced to 25% of the elastic demand, and the displacement is 1.42× the elastic value — close to the equal-displacement rule, which predicts a ratio near 1 for structures of this period.

What the numbers behind the rules look like

  • Equal-displacement rule: R = μ, so a ductility of 5.7 would justify a strength reduction of 5.7.
  • Equal-energy rule: R = √(2μ − 1) = 3.21 — more demanding, and the one that applies at short period.
  • Set α to zero and watch the residual displacement grow. Post-yield stiffness is what pulls a structure back towards its original position; without it, drifts accumulate in one direction.
  • Neither rule is a derivation. Both are observations fitted to large numbers of analyses, and they are the reasoning behind the behaviour factors in seismic codes.

What this shows: A hysteresis loop's AREA is energy dissipated per cycle. That is the whole reason a ductile structure survives forces several times its own strength — it converts the earthquake's energy into plastic work instead of storing it.

Module 17 · Base-isolation comparison

Try it

Fixed base against base isolated

The same building, the same earthquake, with and without an isolation layer.

s

Record

Pseudo-acceleration against Period. Fixed base, ζ = 5% reaches a peak magnitude of 7.31 m/s². Isolated, ζ = 15% reaches a peak magnitude of 3.84 m/s².0.050.10.20.512501234567fixedisolatedPeriod (s)Pseudo-acceleration (m/s²)
  • Fixed base, ζ = 5%
  • Isolated, ζ = 15%
Pseudo-acceleration against Period. Fixed base, ζ = 5% reaches a peak magnitude of 7.31 m/s². Isolated, ζ = 15% reaches a peak magnitude of 3.84 m/s².
Spectral displacement against Period. Fixed base, ζ = 5% reaches a peak magnitude of 220 mm. Isolated, ζ = 15% reaches a peak magnitude of 166 mm.0.050.10.20.5125020406080100120140160180200220Period (s)Spectral displacement (mm)
  • Fixed base, ζ = 5%
  • Isolated, ζ = 15%
Spectral displacement against Period. Fixed base, ζ = 5% reaches a peak magnitude of 220 mm. Isolated, ζ = 15% reaches a peak magnitude of 166 mm.
Fixed baseIsolatedRatio
First period0.494 s2.635 s5.34×
Spectral acceleration3.03 m/s²0.739 m/s²0.24×
Base shear7270 kN1770 kN0.24×
Base shear coefficient0.3090.075
Displacement18.7 mm130 mm6.94×
Isolator stiffness required
14 MN/m
Isolated first-mode effective mass
100.0%
Period separation T₁/T₂
9.8×
Fixed-base first-mode effective mass
88.0%
Isolator displacement to accommodate
130 mm

The moat, the services and the isolators themselves must all take this.

Second isolated period
0.269 s

The superstructure's own mode, now largely uncoupled from the ground.

The isolated first mode carries 100.0% of the mass and is 10× longer than the second. That is what a working isolation system looks like: the building above moves essentially as a rigid block on the isolators, and the superstructure's own modes are barely excited.

What isolation does not do

  • It does not help a structure whose fixed-base period is already long. There is no acceleration branch left to move down, and the displacement penalty applies anyway.
  • It does not remove the need for the superstructure to be designed. It reduces the demand; it does not eliminate it.
  • On soft soil the spectrum can still be rising at 2–3 s, so an isolation system tuned for a rock site may buy far less there. Change the record and watch what happens.
  • The isolator displacement is a hard constraint on the building: a moat that is too narrow turns a working isolation system into an impact problem.

What this shows: Isolation lengthens the period. That moves the structure DOWN the acceleration branch of the spectrum and UP the displacement branch — so it buys force reduction with displacement, and the displacement must be accommodated somewhere.

Module 18 · Viscous-damper explorer

Try it

A manufactured viscous damper

Force from velocity, energy from the loop, and what the velocity exponent is really for.

kN·(s/m)^α

1 is linear. 0.3–0.5 is typical for seismic dampers, and it caps the force in a rare event.

degrees
s
mm
Damper force against Relative velocity. α = 0.50 reaches a peak magnitude of 1060 kN. α = 1 (linear) reaches a peak magnitude of 565 kN.-0.25-0.2-0.15-0.1-0.0500.050.10.150.20.25-1000-800-600-400-20002004006008001000peak v hereRelative velocity (m/s)Damper force (kN)
  • α = 0.50
  • α = 1 (linear)
Damper force against Relative velocity. α = 0.50 reaches a peak magnitude of 1060 kN. α = 1 (linear) reaches a peak magnitude of 565 kN.
A linear viscous damper traces an ellipse. Its force is largest where the displacement is zero, which is where a stiffness-based device would be doing nothing.-30-20-100102030-600-400-2000200400600Displacement (mm)Damper force (kN)
A linear viscous damper traces an ellipse. Its force is largest where the displacement is zero, which is where a stiffness-based device would be doing nothing.
The two are ninety degrees out of phase: the damper force peaks exactly when the displacement passes through zero.00.10.20.30.40.50.60.70.80.91-60-40-200204060Time (s)Response
  • Displacement (mm)
  • Damper force (kN ÷ 10)
The two are ninety degrees out of phase: the damper force peaks exactly when the displacement passes through zero.
Peak relative velocity
0.188 m/s
Peak damper force (axial)
868 kN
Brace efficiency cos²θ
0.750
Effective horizontal force
752 kN
Damper stroke required
52 mm
Energy dissipated per cycle
91.1 kJ
Equivalent modal damping (linear damper)
2.7%

Shown for α = 1; a nonlinear damper has no exact modal damping ratio.

Peak response without dampers
90 mm
Peak response with dampers
46.2 mm
Reduction
49%

With α = 0.50, doubling the velocity raises the force by only 41%. That is the point of a nonlinear damper: it delivers nearly full force at moderate velocity and refuses to deliver an enormous force in a rare, fast event — which protects the braces, the connections and the frame behind them.

Sizing and placement

  • Added damping goes with the SQUARE of the relative modal displacement across the damper. A damper in a storey where the mode barely drifts does almost nothing, however large it is.
  • Dampers add damping without adding stiffness, so they do not change the period and do not attract more force to the structure — unlike a brace, which does both.
  • Damper force and structural force peak at different instants, because one depends on velocity and the other on displacement. Adding their peaks arithmetically over-designs the connection.
  • The stroke is a hard limit. A damper that bottoms out becomes a rigid strut, and the force that follows is not a damping force at all.

What this shows: A viscous damper's force depends on VELOCITY, not displacement, so it peaks where the displacement is zero — which is why it adds damping without adding stiffness, and why it does not change the structure's period.

Module 19 · Tuned-mass-damper simulator

Try it

A tuned mass damper

Add a small secondary mass on its own spring, tuned near the structure's frequency, and one resonance becomes two.

3.0% of the structure's mass

Amplitude / static against Forcing frequency ratio ω/ω₁. Without the damper reaches a peak magnitude of 50. With the damper reaches a peak magnitude of 7.34. Auxiliary mass reaches a peak magnitude of 34.2.0.20.40.60.811.21.41.61.8201020304050drivingForcing frequency ratio ω/ω₁Amplitude / static
  • Without the damper
  • With the damper
  • Auxiliary mass
Amplitude / static against Forcing frequency ratio ω/ω₁. Without the damper reaches a peak magnitude of 50. With the damper reaches a peak magnitude of 7.34. Auxiliary mass reaches a peak magnitude of 34.2.

The structure and its auxiliary mass, driven at ω/ω₁ = 1.00. Watch the phase between them.

Structure and tuned mass damper moving; amplitudes to scale relative to each other.structureTMD
t = 0.00 s
Peak amplitude / static against Error in the assumed structural frequency. Peak response after mistuning reaches a peak magnitude of 20.8.-15-10-5051015048121620tunedError in the assumed structural frequency (%)Peak amplitude / static
Peak amplitude / static against Error in the assumed structural frequency. Peak response after mistuning reaches a peak magnitude of 20.8.
Optimum f (Den Hartog)
0.9709
Optimum ζ₂
0.1045
In use: f
0.9709
In use: ζ₂
0.1045
Peak without the damper
50.0
Peak with the damper
7.34
Reduction
85%
Auxiliary mass amplitude at ω₁
29.1× static

The damper moves far more than the structure does. Its stroke is a real design constraint.

Peak after a 10% tuning error
13.02

77% worse than the tuned case

A mass ratio of 3.0% has taken the peak from 50 to 7.3 — a reduction of 85%. Notice what happened to the SHAPE: the single tall peak has split into two shorter ones, and the frequency the structure used to resonate at now sits in the trough between them. The auxiliary mass is moving 4.6 times as far as the structure, and that motion is where the energy is going.

Why the optimum tuning looks flat

  • Den Hartog's optimum makes the two peaks equal in height rather than digging one deep notch. A deep narrow notch would give a lower minimum and would miss it entirely as soon as the structure's real frequency differed from the model's.
  • A tuned mass damper is commissioned by measurement, not by calculation. The structure's real frequency is measured after construction and the damper is retuned to it.
  • Turn off the optimum and set f well away from 1. The device stops working, and the structure's original resonance comes back.
  • The optimum here is for harmonic forcing of an undamped structure. Under wind or earthquake, and with the structure's own damping present, the best tuning shifts — this is a starting point, not a final answer.
  • The auxiliary mass has to travel. On a real building that means a stroke of the order of a metre, plus a stopper for the case where the design event is exceeded.

What this shows: A tuned mass damper does not absorb energy by being large. It works by moving out of phase with the structure so that its inertia opposes the motion — which is why a 3% mass ratio can halve the response, and why it stops working if the tuning is wrong.

Module 20 · Dynamic software audit

Try it

Audit the output

Six analyses that ran to completion without a single warning. Each one has something wrong with it.

Cases

A four-storey steel frame, braced in both directions, modelled in a general-purpose package. The modal analysis runs without error and reports the following.

Analysis output

Model
4-storey braced steel frame, 3D
Total mass
1 640 tonne
Mode 1 period
47.2 s
Mode 1 effective mass, X
0.1%
Mode 2 period
0.61 s
Mode 2 effective mass, X
71%
Analysis status
Completed. No warnings.
Mode 1 — 47.2 s: storey amplitudes 0.02, 0.03, 0.03, 1.00, relative to each other.0.020.030.031.00Mode 1 — 47.2 s

M_eff,X = 0.1%

Mode 2 — 0.61 s: storey amplitudes 0.28, 0.55, 0.82, 1.00, relative to each other.0.280.550.821.00Mode 2 — 0.61 s

M_eff,X = 71%

What is wrong with this analysis?

What this shows: Analysis software reports a mechanism, a missing mass, a wrong unit and an unresolved time step in exactly the same confident format it uses for a correct answer. The checks that catch them are performed by the engineer, not the program.