Presets
Playback
Parameters
Camera
Layers
Quality
Model check
The science
What you see. A train crosses a single-span railway girder bridge. The girder is built from 24 slices that bend with the computed deflection; the bending is magnified by the factor you choose (real deflections are a few millimetres), and the cars ride on the bent rails.
The model. The girder is a simply supported Euler–Bernoulli beam of span L, mass per length μ and stiffness EI. Its deflection is a sum of sine modes, w(x,t) = Σ qn(t) sin(nπx/L), with natural frequencies ωn = n²ω1 and f1 = (π/2L²) √(EI/μ); you set f1 and EI follows. Each mode is a damped oscillator driven by the axle loads that are on the span: q″ + 2ζωnq′ + ωn²q = (2/μL) Σ P sin(nπxa/L), with xa = vt − offset. The equations are integrated by the Newmark average-acceleration method. The bending moment is M = EI Σ qn(nπ/L)² sin(nπ/2) at midspan.
Dynamic factor and resonance. The dynamic amplification factor DAF is the largest midspan deflection of the moving train divided by the largest static one (loads crawling across, from the closed-form influence line P a (3L² − 4a²)/(48 EI)). A train is a repeating pattern of axles with period d, the car length. Each car arrives one period later and pushes the girder in step with its vibration when v = f1 d / j (j = 1, 2, 3 ...), so the response grows car after car until damping stops it. Faster trains on soft, light bridges are the dangerous case; this is why high-speed lines check resonance explicitly.
Honest simplifications. A single simply supported span of constant section; the train is a row of constant point axle loads (no vehicle suspension, no wheel–rail interaction, no track irregularity, no wind, no vertical inertia of the cars); the bridge mass includes ballast and track; damping is the same ratio in every mode; shear deformation and the mass of the supports are ignored. The graph of DAF against speed uses the first three odd modes (the only ones that act at midspan) for speed; the live animation uses six modes. Numbers are representative, not a design calculation for any real bridge.
Checks. (1) the modal series against the closed-form static deflection P L³/(48 EI); (2) the Newmark integrator against the exact solution for one moving force; (3) the free-vibration logarithmic decrement against the damping ratio; (4) the resonance peak of a long undamped-like train against v = f1 d / j.