Skip to content

dam-break

English | Japanese

« Home · « Free surface

3D dam break: a water column collapses under gravity in a closed tank (walls all round), the classic free-surface / two-phase benchmark (cf. Kleefsman 2005 / SPHERIC Test 2). Writes a VTK time series (phi = water fraction, velocity, density) as dam.pvd for ParaView -- open it, colour by "phi", and Threshold phi > 0.5 to see the water surface evolve.

Geometry

dam-break geometry

Animation

Fields

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

dam-break phi

dam-break umag

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-dam-break

Cost of the computation that made the figures on this page (Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 56.4 s wall.

Validation

Tier T3 — demo (no quantitative gate)
QoI Interface shape (qualitative)
Reference Koshizuka & Oka (1996) (qualitative comparison)
Gate — no gate

Source & run details

View source

Item Value
Target orheo-dam-break
Source native/benchmarks/dam_break.cpp
Lattice —
GPU twin yes (orheo-dam-break-gpu)
Modules two_phase.hpp
Gallery run 2026-07-27 @ 7628c0cf
Args ``
Wall time 56.38 s
CPU time 3795.19 s
Device Miyabi-G Grace CPU (72 cores, -stdpar=multicore)

Computation log

The actual output of this computation (head and tail).

frame 0 (step 0/12000)
frame 1 (step 300/12000)
frame 2 (step 600/12000)
frame 3 (step 900/12000)
frame 4 (step 1200/12000)
frame 5 (step 1500/12000)
frame 6 (step 1800/12000)
frame 7 (step 2100/12000)
frame 8 (step 2400/12000)
frame 9 (step 2700/12000)
frame 10 (step 3000/12000)
frame 11 (step 3300/12000)
frame 12 (step 3600/12000)
frame 13 (step 3900/12000)
...

frame 33 (step 9900/12000)
frame 34 (step 10200/12000)
frame 35 (step 10500/12000)
frame 36 (step 10800/12000)
frame 37 (step 11100/12000)
frame 38 (step 11400/12000)
frame 39 (step 11700/12000)
frame 40 (step 12000/12000)
wrote dam.pvd (41 frames, 128x64x32, ratio 20). Open in ParaView; colour by 'phi', Threshold phi>0.5 for the water.