rayleigh-taylor2d¶
English | Japanese
« Home · « Two-phase flow (phase field)
2D single-mode Rayleigh-Taylor instability -- OpenRheo two-phase phase-field benchmark (clean-room). A heavy fluid rests on top of a light one under gravity; a single-mode cosine perturbation of the horizontal interface grows, the heavy spike falls and the light bubble rises, and the interface rolls up into the characteristic Kelvin-Helmholtz "mushroom" by t* ~ 3-4.
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-rayleigh-taylor2d
Cost of the computation that made the figures on this page (Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 4.1 s wall.
Validation¶
| Tier | T2 — single-point comparison |
| QoI | spike_position, bubble_position |
| Reference | He, Chen & Zhang (1999) single-mode RT front positions |
| Gate | 🧩 module gate (two_phase_laplace) |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-rayleigh-taylor2d |
| Source | native/benchmarks/rayleigh_taylor2d.cpp |
| Lattice | D2Q9 |
| GPU twin | no |
| Modules | two_phase.hpp |
| Gallery run | 2026-07-27 @ 7628c0cf |
| Args | `` |
| Wall time | 4.12 s |
| CPU time | 198.64 s |
| Device | Miyabi-G Grace CPU (72 cores, -stdpar=multicore) |
Computation log¶
The actual output of this computation (head and tail).
# RT2D nx=64 ny=256 d=64 At=0.500 Re=256.0 g=2.500e-05 nu=1.000e-02 sigma=1.00e-04 amp=6.40
# inviscid linear rate n=sqrt(At g k)=1.1078e-03 t*=step*4.4194e-04 (t*=1 at step 2263)
step 100 t*=0.044
step 200 t*=0.088
step 300 t*=0.133
step 400 t*=0.177
step 500 t*=0.221
step 600 t*=0.265
step 700 t*=0.309
step 800 t*=0.354
step 900 t*=0.398
step 1000 t*=0.442
step 1100 t*=0.486
step 1200 t*=0.530
...
step 9300 t*=4.110
step 9400 t*=4.154
step 9500 t*=4.198
step 9600 t*=4.243
step 9700 t*=4.287
step 9800 t*=4.331
step 9900 t*=4.375
step 10000 t*=4.419
done. csv -> rt2d.csv