Skip to content

khi-d3q19

English | Japanese

« Home · « Turbulence (checked against DNS/LES)

D3Q19 Kelvin-Helmholtz / doubly-periodic shear layer -- the classic incompressible shear-instability roll-up test (waLBerla showcase KelvinHelmholtzInstability). Single fluid, isothermal, fully periodic. Clean-room: implemented from the canonical initial condition of Minion & Brown, "Performance of Under-resolved Two-Dimensional Incompressible Flow Simulations", J. Comput. Phys. 138 (1997) -- NOT from waLBerla source.

Geometry

khi-d3q19 geometry

Animation

Fields

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

khi-d3q19 umag

khi-d3q19 ux

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-khi-d3q19

khi_d3q19 N Re steps [rho] [delta]

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

Validation

Tier T2 — single-point comparison
QoI vorticity_structure
Reference Minion & Brown (1997) shear-layer roll-up
Gate — no gate

Source & run details

View source

Item Value
Target orheo-khi-d3q19
Source native/benchmarks/khi_d3q19.cpp
Lattice D3Q19
GPU twin no
Modules lbm_d3q19.hpp
Gallery run 2026-07-27 @ 7628c0cf
Args ``
Wall time 47.05 s
CPU time 892.50 s
Device Miyabi-G Grace CPU (72 cores, -stdpar=multicore)

Computation log

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

khi_d3q19 N=256 Re=1000 nu=0.01024 tau=0.53072 U=0.040 rho=30 delta=0.050  (T=6400 steps)
  t/T=0.000  KE/KE0=1.00000
  t/T=0.312  KE/KE0=0.95102
  t/T=0.625  KE/KE0=0.91248
  t/T=0.938  KE/KE0=0.87933
  t/T=1.250  KE/KE0=0.84997
done. KE/KE0=0.82906 (viscous decay over 1.5 L/U). roll-up dumped.
OK (shear layers rolled up; energy near-conserved)