Skip to content
Queensferry

Module 15 · Lesson 15.1

Running a linear time-history analysis

Two methods that must agree, four decisions that make them differ, and the outputs that converge at quite different rates.

Why this matters

A response-spectrum analysis gives peaks. That is often enough, and it is cheap.

A time-history analysis gives the whole response: when each peak occurs, in what order, how many large cycles there were, and what the structure was doing at the instant a particular member reached its worst. It also handles cases a spectrum cannot — non-classical damping, and any structure that yields.

It costs more, it needs records selected and scaled, and it presents more opportunities to get a plausible answer that is wrong. This lesson is about doing it defensibly.

By the end of this lesson you should be able to

  • Set up direct and modal time-history analyses and confirm they agree
  • Attribute any difference to the specific choice that caused it
  • Select a time step and demonstrate convergence on the governing quantity
  • Extract each response quantity correctly

What you should already know

  • Newmark integration and convergence (Module 8)
  • Modal decoupling (Module 12)
  • Base excitation (Module 13)

Two routes to the same answer

Direct integration. Step the coupled equations Mü + Cu̇ + Ku = −Mιüg forward in time, solving a linear system at each step. The effective stiffness is factorised once and reused, so the cost is one factorisation plus one back-substitution per step.

Modal superposition. Transform to modal coordinates, integrate each modal SDOF equation independently, and add the contributions. The cost is the eigensolution once, then a scalar integration per mode per step.

With all modes retained and the same time step, these give the SAME answer to machine precision. They are algebraically identical.

The course library asserts exactly this: on a three-storey building the two agree to 1e-6 at every step. Any difference between two real analyses is therefore attributable to a specific decision, and there are only four.

The four choices

How many modes. Modal superposition normally truncates. Direct integration never does — it carries every mode implicitly, including the very high ones that carry no mass and contribute nothing but numerical noise.

The time step. Must resolve the highest mode that matters. Module 8 covered this and it remains the commonest error.

The integration scheme. Constant average acceleration by default. γ > 1/2 introduces numerical damping, which is sometimes exactly what is wanted in a direct integration to quieten the high modes that modal truncation would have removed.

The damping model. Modal damping ratios in a modal analysis; a damping MATRIX in a direct integration. Rayleigh damping delivers the target at only two frequencies, so the two analyses will differ unless the matrix was built to match the modal ratios.

That last point catches people out. A modal analysis with 5% in every mode and a direct integration with Rayleigh damping anchored at two frequencies are not the same problem, and they will not give the same answer.

Which to use

Modal when the structure is linear, the damping is classical, and interpretability matters — the modal contributions can be inspected separately, which direct integration cannot offer.

Direct when the damping is non-classical (base isolation, local dampers, soil–structure interaction), when the structure yields, or when the model is small enough that the eigensolution is not worth the trouble.

The outputs, and the order in which they converge

Relative displacement. Dominated by the first mode. Converges first, with the fewest modes and the coarsest step.

Inter-storey drift. A difference between two displacements, so the common part cancels and what remains is more sensitive to the higher modes. Converges after displacement.

Floor acceleration. The second derivative, dominated by the higher modes. Converges last, and by a wide margin.

Base shear. Sum of the storey inertia forces. Governed by effective mass, so it converges roughly with the mass criterion.

Member actions. Recovered from the displacements at each step, so they follow displacement — but a member near a mode's node can be dominated by a higher mode and behave like acceleration.

Check convergence on the quantity you are going to use. Displacement agreeing between two runs says nothing about whether the floor accelerations have converged.

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.

Worked example

Setting up a time-history analysis defensibly

Given

  • A ten-storey frame; modal analysis gives T₁ = 1.18 s
  • The sixth mode, at T₆ = 0.082 s, is the highest with meaningful effective mass; cumulative mass reaches 94% at mode 6
  • Ground-motion record sampled at 0.02 s, duration 30 s
  • The analysis is required to produce inter-storey drifts AND floor accelerations for equipment

Find

The analysis settings, and the evidence that they are adequate.

Assumptions

  • Linear elastic response; classical damping assumed and to be verified

    Predict first

    A direct integration and a modal superposition of the same linear building give peak roof displacements of 148 mm and 131 mm. What is the most likely explanation?

    Why one record is not enough

    A single ground motion is one sample from a random process. Two records with the same magnitude, distance and site class can produce peak responses differing by a factor of two, because the detailed phasing of a rupture is not predictable.

    This is not a deficiency in the analysis. It is a property of earthquakes, and it is why design standards require several records rather than one — typically seven, with the MEAN response used, or three, with the MAXIMUM used. The trade is deliberate: more records permit the average, which is less conservative and better founded.

    Reporting a result from one record is reporting a sample, not an estimate, and the sample-to-sample scatter is large enough that the distinction matters.

    Selecting and scaling

    Records are chosen to be consistent with the hazard being designed for — magnitude, distance, site class, and where relevant near-fault characteristics. They are then scaled so that their spectra are consistent with the target over the period range of interest.

    Two cautions worth carrying:

    Scaling changes amplitude and not frequency content. A record scaled up by 3 has three times the acceleration and exactly the same spectral SHAPE. If its shape is wrong for the site, scaling does not fix it.

    Spectrum-compatible records are broader-band than reality. A synthetic record matched to a smooth target at every period simultaneously matches better than any real earthquake does, and can over-drive a structure responding in several modes at once.

    Numerical artefacts to recognise

    High-frequency noise in direct integration. The very high modes of a finite-element model are discretisation artefacts rather than structure. Direct integration carries them; modal truncation removes them. A little numerical damping — γ = 0.6 — is the standard remedy, applied deliberately.

    Baseline drift in integrated quantities. If velocity or displacement is obtained by integrating an acceleration output, small errors accumulate quadratically. The same problem as record processing, with the same remedy.

    Spikes at record boundaries. A record that does not begin and end at zero acceleration imposes a step, which excites everything. Records should be tapered.

    Apparent response before the strong motion arrives. Usually the initial acceleration set to zero instead of computed from equilibrium — Module 8's mistake, showing up here.

    Worked example

    Reading a set of results correctly

    Given

    • A twelve-storey building, storey height 3.4 m
    • Peak roof displacement 214 mm relative to the ground
    • Peak displacements at levels 7 and 8: 141 mm and 158 mm
    • Peak floor acceleration at roof: 6.8 m/s²
    • Seismic mass 8 400 tonnes; peak base shear 14.9 MN

    Find

    The drift, the base shear coefficient, and what each result does and does not establish.

    Assumptions

    • Linear elastic; single record, so these are one sample

      Practice

      A building has T₁ = 1.5 s and its highest significant mode has T₈ = 0.075 s. Using Δt ≤ T/20 on the mode that governs, what time step should be used, in seconds?

      Practice

      A 40 s record is analysed at Δt = 0.002 s. How many time steps does the analysis take?

      Practice

      A building of seismic mass 6 500 tonnes has a peak base shear of 11.2 MN. What is the base shear coefficient V/W?

      Practice

      Floors at 24.0 m and 20.6 m have peak displacements of 132 mm and 118 mm. What inter-storey drift would subtracting the peaks give, as a percentage?

      Check yourself

      Which response quantity converges LAST as the time step is refined and modes are added?

      Check yourself

      What does a time-history analysis give that a response spectrum cannot?

      Worked example

      What a time history gives that a spectrum does not

      Given

      • A response spectrum analysis gives a peak base shear of 162 kN
      • A linear time history using a matched record gives 149 kN

      Find

      Why the two differ, and which to use

        Worked example

        Choosing the time step for a record

        Given

        • A ground motion record digitised at 0.02 s intervals
        • The structure's shortest significant period is 0.10 s

        Find

        Whether the record's step is fine enough

          Summary

          • Direct and modal integration are identical with all modes, same step, same damping
          • Any difference comes from truncation, time step, scheme or damping model
          • Set the step from the highest mode that matters, not from T₁
          • Displacement converges first, then drift, then base shear, then acceleration last
          • The peak of a difference is not the difference of the peaks — compute drift histories
          • One record is one sample; codes require several and a stated combination rule
          • Scaling changes amplitude, not frequency content — it cannot fix a wrong record
          Progress is kept in this browser only.

          This is educational material. It uses simplified examples to teach principles, and must not be relied on for real design or safety-critical decisions. Module overview and checkpoint