spheric-test2-fs¶
English | Japanese
SPHERIC Test 2 -- 3D dam break against an obstacle (Kleefsman et al. 2005, MARIN experiment; J. Comput. Phys. 206:363) with the SINGLE-PHASE FREE-SURFACE LBM (free_surface.hpp; Koerner/Thuerey + MRT + Smagorinsky LES + free-slip tank walls, the setup validated on the Koshizuka dam break). Companion to the two-phase spheric_test2.cpp. Only the water is simulated; the gas is an atmospheric-pressure BC, so the box-face pressure is gauge pressure directly (no trapped-air offset) and the violent run-up stays stable.
Geometry¶

Animation¶
Fields¶
The fields this computation wrote at its last output step, plotted as they are. 3D cases show the mid-plane.


Build & run¶
cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-spheric-test2-fs
Validation¶
| Tier | T2 — single-point comparison |
| QoI | P1-P4, H1-H4 |
| Reference | Kleefsman et al. (2005) / MARIN |
| Gate | 🧩 module gate (free_surface) |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-spheric-test2-fs |
| Source | native/benchmarks/spheric_test2_fs.cpp |
| Lattice | — |
| GPU twin | yes (orheo-spheric-test2-fs-gpu) |
| Modules | free_surface.hpp |
| Gallery run | failed — exit 1 |
Computation log¶
The actual output of this computation (head and tail).
SPHERIC Test 2 (free-surface LBM): grid 128x40x40 (dx=0.0250 m), dt=1.596e-04 s, glat=1.0e-05, nu=0.0010, cs=0.16, MRT, free-slip walls
drop_isolated=0, sigma=0.0000, plic=0, box=1
box cells x[26,32] y[0,6] z[11,28]; front P x-cell=33
step 0/20000 t=0.000 s P1=0 Pa umax=0.00e+00
frame 0 (step 0/20000, t=0.000 s)
frame 1 (step 333/20000, t=0.053 s)
frame 2 (step 666/20000, t=0.106 s)
frame 3 (step 999/20000, t=0.159 s)
step 1000/20000 t=0.160 s P1=0 Pa umax=2.52e-02
frame 4 (step 1332/20000, t=0.213 s)
frame 5 (step 1665/20000, t=0.266 s)
frame 6 (step 1998/20000, t=0.319 s)
step 2000/20000 t=0.319 s P1=0 Pa umax=3.11e-02
frame 7 (step 2331/20000, t=0.372 s)
...
frame 21 (step 6993/20000, t=1.116 s)
step 7000/20000 t=1.117 s P1=3489 Pa umax=7.29e-02
frame 22 (step 7326/20000, t=1.170 s)
frame 23 (step 7659/20000, t=1.223 s)
frame 24 (step 7992/20000, t=1.276 s)
step 8000/20000 t=1.277 s P1=3963675135538082408352867174839952080896 Pa umax=2.20e+04
frame 25 (step 8325/20000, t=1.329 s)
frame 26 (step 8658/20000, t=1.382 s)
FAIL: NaN at step 8870