拖动黄色点声源可以移动默认短脉冲声源。点击“发射脉冲”手动发射一次 1 个周期的正弦脉冲。
选择“绘制障碍”后在场中拖动,可以放置一个或多个刚性障碍。波遇到障碍后会反射,并与后续波产生干涉。
数值模型使用二维波动方程:
∂²u/∂t² = c²(∂²u/∂x² + ∂²u/∂y²)
这里用有限差分近似偏微分方程,并使用 9 点拉普拉斯算子减少方形网格伪影:
u(t+1)=2u(t)-u(t-1)+r²∇²₉u
This demo solves the 2D wave equation with a finite-difference update. Click TX Trigger to emit one short 1-cycle point-source pulse. The solver uses a more isotropic 9-point Laplacian to reduce square grid artifacts.