コンテンツにスキップ

acoustic-pulse2d

英語 | 日本語

« Home · « AMR・数値検証

Acoustic Gaussian pulse -- LBM linear-acoustics verification. A small initial density (pressure) perturbation on a quiescent, fully periodic lattice radiates as sound at the lattice speed of sound c_s = 1/sqrt(3) ~ 0.57735 lu/step. This is the canonical way to confirm that the D3Q19 BGK scheme carries acoustic (pressure) waves at the correct isotropic speed -- the "noise/gausspulse" acoustics case. Clean-room reimplementation; menu (which case) only from the GPL galleries, no vendor source consulted.

概要: 周期境界中のガウス密度パルス。音速が格子理論値 1/√3 に一致するか、また伝播が等方かを測る。

Geometry

acoustic-pulse2d geometry

Animation

Fields

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

acoustic-pulse2d p

acoustic-pulse2d umag

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-acoustic-pulse2d

acoustic_pulse2d MODE N STEPS TAU A SIGMA OUTPREFIX

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

Validation

Tier T0 — 収束次数まで確認
QoI sound_speed
Reference analytic acoustic pulse, c_s = 1/sqrt(3)
Gate — ゲートなし

Source & run details

View source

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

Computation log

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

acoustic_pulse 2D  Nx=256 Ny=256 tau=0.5100 nu=0.00333 A=1.0e-03 sigma=6.0 steps=180  c_s=0.577350
  wrote snapshot acoustic_snap_45.bin (drho at step 45)
  wrote snapshot acoustic_snap_90.bin (drho at step 90)
  wrote snapshot acoustic_snap_135.bin (drho at step 135)
wrote acoustic_radius.csv
c_s(ref)=0.577350  -- run analysis script for the fitted slope