6. Tsunami Simulations

Implementation

Run Configuration

The events are launched through -p tsunamievent2d <bath.nc> <displ.nc>. The computational domain is derived from the bathymetry grid (cell-centered, COARDS); the number of cells in \(x\) is set with -n and the cell size follows as \(d_{xy} = \text{domain width} / n\), with \(n_y\) chosen so that cells stay square. All runs use outflow boundaries on all sides and a fixed end time of \(20{,}000\,\text{s}\).

A station near Sōma is configured in resources/soma_stations.xml and recorded via -c.

Bug Fixes

Two bugs were uncovered while running the events. Both produced NaN values that, once created, spread across the whole domain over the following time steps (“NaN cancer”) and corrupted the simulation.

1. Water height on land ( TsunamiEvent2d::getHeight ). The initial height was computed unconditionally as \(\max(-b_{in}, \delta)\), which placed a \(\delta = 20\,\text{m}\) water column even on land (\(b_{in} \ge 0\), up to \(+2124\,\text{m}\) in the Tohoku domain). This water avalanched off the “mountains” and violated the CFL condition. The height must be zero on land:

if (l_bIn < 0)
  return std::max(-l_bIn, m_delta);
return 0; // dry land

2. Missing wet/dry reflection ( FWave::netUpdates ). At the wet–dry interface the solver originally discarded the edge entirely (both net updates set to zero when either side was dry). This neglected the reflection at the coast, so momentum accumulated one-sidedly in thin shallow cells (velocities up to \(u \approx -60\,\text{m/s}\)); the cells were over-drained until the water height went negative (down to \(-29\,\text{m}\)), and the subsequent \(\sqrt{h}\) produced NaN. The fix mirrors the dry side as a reflecting wall and only updates the wet cell:

if (i_hL <= 0) {           // left side dry -> reflect
  i_hL  = i_hR;
  i_huL = -i_huR;          // reflecting wall
  i_bL  = i_bR;            // -> delta b = 0, no bed-slope source at coast
  l_doUpdateLeft = false;
} else if (i_hR <= 0) { /* mirror */ }

Mirroring the bathymetry (\(b_L = b_R\)) additionally zeroes the bed-slope source term \(\Delta x\,\Psi = -g\,\Delta b\,\bar h\) across the steep coastal step, which was the main momentum injector. After the fix the water height never drops below \(0\) in any cell, so no positivity clamp is required.

Unit Tests

The land-height assertion in TsunamiEvent2d.test.cpp was corrected to expect \(h = 0\) for \(b_{in} \ge 0\). The reflecting wet/dry path is covered by the existing FWave reflection tests. The full suite passes (52 967 assertions in 48 test cases).

Results & Visualizations

2010 M 8.8 Chile Event (6.1)

The input bathymetry and the vertical displacement of the sea floor are visualized below.

../_images/chile_gebco20_usgs_250m_bath_fixed_3d.png
../_images/chile_gebco20_usgs_250m_displ_fixed_3d.png

The event was simulated at 1500 m, 1000 m and 500 m (not shown here) resolution with outflow boundaries. The visualizations show the free surface \(\eta = h + b\).

../_images/chile_1500.webp

Chile simulation at 1500 m resolution.

../_images/chile_1000.webp

Chile simulation at 1000 m resolution.

The computational demands at the studied resolutions (domain \(3500\,\text{km} \times 2950\,\text{km}\), \(h_{max} \approx 9600\,\text{m}\), end time \(20{,}000\,\text{s}\)):

Chile — computational demands

Resolution

Cells (\(n_x \times n_y\))

\(\Delta t\)

Time steps

Cell updates

1000 m

3500 × 2950 = 10.3 M

1.63 s

12 273

1.27 × 1011

1500 m

2333 × 1967 = 4.59 M

2.44 s

8 182

3.75 × 1010

2011 M 9.1 Tohoku Event (6.2)

The input bathymetry and the vertical displacement of the sea floor are visualized below.

../_images/tohoku_gebco20_usgs_250m_bath_3d.png
../_images/tohoku_gebco20_usgs_250m_displ_3d.png

The event was simulated at 1000 m and 500 m resolution with outflow boundaries. The visualizations show the free surface \(\eta = h + b\); a marker indicates the Sōma station. The right side of the plots covers the water height over time at the Sōma station.

../_images/tohoku_1000.webp

Tohoku simulation at 1000 m resolution.

../_images/tohoku_500.webp

Tohoku simulation at 500 m resolution.

Computational demands (domain \(2700\,\text{km} \times 1500\,\text{km}\), \(h_{max} \approx 9611\,\text{m}\), end time \(20{,}000\,\text{s}\)):

Tohoku — computational demands

Resolution

Cells (\(n_x \times n_y\))

\(\Delta t\)

Time steps

Cell updates

1000 m (run)

2700 × 1500 = 4.05 M

1.63 s

12 280

4.97 × 1010

500 m (run)

5400 × 3000 = 16.2 M

0.81 s

24 560

3.98 × 1011

250 m

10800 × 6000 = 64.8 M

0.41 s

49 121

3.18 × 1012

Time until the first waves leave the domain. With the epicenter near the western coast, the first waves reach an open boundary through the southern edge (the closest open water), followed by the north and finally the far eastern Pacific boundary (1000 m run, threshold \(|\eta| > 0.3\,\text{m}\)):

Tohoku — first arrival at open boundaries (1000 m)

Boundary

Time

South (y = −750 km)

≈ 2480 s (41 min)

North (y = +750 km)

≈ 3870 s (65 min)

East (x = +2500 km)

≈ 9540 s (159 min)

The first waves therefore leave the computational domain after roughly 41 min of simulated time.

Tsunami Arrival at Sōma (6.2.2)

Rule-of-thumb estimate. Using \(\lambda \approx \sqrt{g\,h}\) along the bathymetry cut from the epicenter to Sōma (resources/tohoku_bathymetry_profile.csv) and integrating the travel time \(\tau = \int \mathrm{d}s / \lambda\) over the ocean part of the cut (epicenter at \(\approx 119\,\text{km}\), lon 142.37° E) gives

\[\tau \approx 2770\,\text{s} \approx 46\,\text{min}.\]

This matches the historically measured arrival of the first significant wave at Sōma (≈ 45–60 min after the rupture).

Station measurement. A station was placed just offshore of Sōma at the domain coordinate \((-120{,}000, -50{,}000)\,\text{m}\) (.._fig:tohoku_1000m: and _fig:tohoku_500m:) (water depth ≈ 28 m; the town itself is on land, where a gauge would record only zeros). The recorded water height \(h\), momentum \(hu, hv\) give:

Sōma station — simulated arrival

Quantity

1000 m

500 m

First momentum signal

≈ 2.6 min

≈ 3.0 min

First clear surface rise (\(|\eta - \eta_0| > 0.2\,\text{m}\))

≈ 14.4 min

≈ 14.5 min

Peak amplitude

+4.74 m at 78.9 min

+5.97 m at 62.6 min

Comparison. The \(\sqrt{gh}\) rule of thumb (≈ 46 min) lies between the simulated leading edge (first noticeable rise ≈ 14 min, faster because the deep-ocean front outruns the shallow-water integral) and the main peak (≈ 63–79 min). The order of magnitude agrees with both the rule of thumb and the measured data; the finer 500 m grid resolves a higher and earlier peak (+5.97 m vs. +4.74 m) due to better-resolved shoaling.

Individual Contributions

  • Yannik Köllmann: Simulation and visualization of the Chile event at 1000 m and 500 m resolution. Analysis of computational demands.

  • Jan Vogt: Tsunami arrival at Sōma: estimated the travel time from the epicenter to Sōma with the \(\sqrt{gh}\) shallow-water rule of thumb along the bathymetry profile (≈ 46 min) and compared this estimate against the simulated station arrival and the historically measured wave.

  • Mika Brückner: Bug fixes. Implementation of visualization script for bathymetry data. Visualization of the bathymetry and sea floor displacement. Simulation and visualization of the Tohoku event at 1000 m and 500 m resolution. Analysis of the Sōma station data.