コンテンツにスキップ

tgv2d-d3q19

英語 | 日本語

« Home · « 乱流(DNS/LES 照合)

D3Q19 two-dimensional Taylor-Green vortex -- the decaying periodic vortex array with a closed-form unsteady solution, the canonical LBM accuracy / order-of-convergence verification. Fully periodic in x and y (thin, periodic z: a genuinely 2D field embedded in the D3Q19 lattice), BGK collision, no walls.

概要: 2次元テイラー・グリーン渦の減衰。運動エネルギーが exp(-2νk²t) で減衰する解析解と比較でき、粘性の実効値を直接測れる。減衰率誤差 0.03%。

Geometry

tgv2d-d3q19 geometry

Animation

Fields

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

tgv2d-d3q19 umag

tgv2d-d3q19 ux

Build & run

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

tgv2d_d3q19 [N] [Re] [efoldings] [ke_csv] [profile_csv] [U0]

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

Validation

Tier T0 — 収束次数まで確認
QoI ke_decay_rate
Reference analytic 2D Taylor-Green decay exp(-2 nu k^2 t)
Gate — ゲートなし
Measured 0.0001570293 (rel. err +0.03%) — harvest N=64 Re=100

Source & run details

View source

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

Computation log

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

tgv2d_d3q19 N=64 Re=100.0 U0=0.040 k=0.098175 nu=0.004074 tau=0.512223
  analytic KE rate 4nu k^2=1.570796e-04/step  t_efold=6366.2 steps  run=12733 steps
RESULT N=64 Re=100.0 rate_num=1.570293e-04 rate_exact=1.570796e-04 rate_err_pct=-0.0320 l2_t1=1.469824e-02 t1=6366