コンテンツにスキップ

khi-d3q19

英語 | 日本語

« Home · « 乱流(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

この計算が最後の出力ステップで書き出した場をそのまま描いたもの。3D ケースは中央断面。

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]

このページの図を作った計算のコスト(Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 47.0 s wall。

Validation

Tier T2 — 単点比較
QoI vorticity_structure
Reference Minion & Brown (1997) shear-layer roll-up
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

この計算の実際の出力(先頭と末尾)。

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)