Live numbers
1. Mogi point source (ground deformation)
A pressurised magma chamber of radius a at depth d inflates by dV = pi a^3 dP / mu. In an elastic half-space the surface moves by
uz(r) = (1-nu)/pi * dV * d / (r^2 + d^2)^(3/2)
ur(r) = (1-nu)/pi * dV * r / (r^2 + d^2)^(3/2)
tilt = d uz / dr = -3(1-nu)/pi * dV * d r / (r^2+d^2)^(5/2)
nu = 0.25, mu = 30 GPa (typical crust). The ratio ur/uz = r/d lets GPS stations fix the depth. The 3D mesh is displaced by this field, multiplied by the exaggeration slider so a few centimetres are visible.
2. Seismicity
rate(dP) = 3/h * exp(5 dP / P_crit) (illustrative law)
N(≥M) ~ 10^(-b (M - Mmin)) Gutenberg-Richter, b = 1
M_detect(Δ) = M_noise - 0.9 + 1.66 log10 Δ (attenuation, illustrative)
An event is counted when at least 3 of the 5 seismometers detect it. Location uses S-P times: distance = t_SP * Vp*Vs/(Vp-Vs), with Vp = 5.5 km/s and Vs = Vp/sqrt(3), then a Gauss-Newton fit of the intersection of the spheres (5 stations, 0.05 s pick noise).
3. SO₂ flux (DOAS traverse)
Q = u * ∫ c(x) dx c = column density (kg/m2), u = wind speed
c(x) = Q/(sqrt(2 pi) sigma u) * exp(-x^2/(2 sigma^2))
Q_source = 60 t/d * (1 + 14 (dP/P_crit)^2) + eruption pulse
The scanner sweeps across the plume, integrates the column density and multiplies by the wind speed; 8 % noise is added per sample. The source law is illustrative.
4. Pressure budget and alert
d(dP)/dt = R - dP/tau tau = 40 d, R = recharge (MPa/day)
eruption when dP ≥ P_crit = 16 MPa -> dP resets to 0.35 P_crit
Alert is escalated by agreement of independent streams: uplift > 0.5 mm/day, > 4 detected quakes/h, SO₂ > 150 t/d. One stream = yellow, two = orange, three or an extreme swarm = red. Thresholds are illustrative; real observatories use volcano-specific baselines.
Honest simplifications
Point source in a homogeneous elastic half-space (no topography, no viscoelastic shell, no sill or dyke geometry); a single constant plume width; no InSAR, tilt noise, rain or temperature effects; hypocentres are random around the conduit rather than driven by stress.
Independent numerical checks
Volume integral of the uplift vs 2(1-nu)dV, analytic tilt vs finite difference, S-P location of a known event, DOAS integral vs true flux, GPS inversion of exact data, and RK4 pressure vs closed form.
Run checks
Credits
Edifice, cut section, chamber, conduit and instruments: Blender 5.2 with Cycles-baked textures. Three.js r160 + WebGL.