Skip to content

acoustic-pulse2d

English | Japanese

« Home · « AMR and numerical verification

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.

Geometry

acoustic-pulse2d geometry

Animation

Fields

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

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

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

Validation

Tier T0 — order of convergence verified
QoI sound_speed
Reference analytic acoustic pulse, c_s = 1/sqrt(3)
Gate — no 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

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

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