arXiv:2507.05396eess.AScs.SD2025-07被引 1

对比有限元与有限差分法在声波模拟中的表现,发现两者精度相当但各有优劣。

Comparative Analysis of Finite Difference and Finite Element Method for Audio Waveform Simulation

  • 用吉他弦振动模拟对比两种方法的误差与计算效率。
  • 两者误差周期性相似,但有限元收敛更快,有限差分计算更迅速。
  • 适合需要快速模拟简单结构的研究者,或追求高精度复杂几何建模的工程应用。

在航空航天与国防等领域,波形分析常用于计算物体共振,有限元法(FEM)是标准方法。有限差分法(FDM)较少使用,且文献中缺乏正式依据。本文通过模拟吉他弦振动,比较了FEM与FDM在精度、可行性与仿真时间上的表现,采用Python实现并对照解析解与实验数据。此外,将FDM应用于自行车铃声分析,评估其对真实铃声的可靠性。结果表明,两者误差范围相近,能准确预测系统行为;当改变假设张力时,误差呈现相同周期性但有相位偏移;改变时间间隔时则无相位偏移。然而,随着网格复杂度提升,FEM收敛更快;而FDM计算速度更快,大时间步长下仍可获得稳定解。尽管如此,FDM仅适用于简单构型,复杂形状需大量数学推导,如建模半球体时耗时显著增加。综上,尽管FDM在某些情况下具更快收敛与计算优势,但因灵活性、可扩展性和复杂几何易实现性,FEM仍是工业领域的首选。

原文摘要 · Abstract (English)

In many industries, including aerospace and defense, waveform analysis is commonly conducted to compute the resonance of physical objects, with the Finite Element Method (FEM) being the standard approach. The Finite Difference Method (FDM) is seldom used, and this preference is often stated without formal justification in the literature. In this work, the accuracy, feasibility, and time of simulation of FEM and FDM are compared by simulating the vibration of a guitar string. Python simulations for both methods are implemented, and their results are compared against analytical solutions and experimental data. Additionally, FDM is applied to analyze the sound of a cycling bell to assess its reliability compared to a real cycling bell. Final results show that both FEM and FDM yield similar error margins and accurately predict the system's behavior. Moreover, the errors from FEM and FDM follow the same periodicity with a phase shift when varying the assumed analytical tension and without a phase shift when changing the time interval. However, FEM converges faster with increasing mesh complexity, whereas FDM demonstrates quicker computational performance and achieves stable solutions even with bigger time intervals. Despite this FDM is limited to simpler configurations and often demands extensive mathematical formulation, which can become cumbersome for intricate shapes. For example, modeling a hemispherical object using FDM results in significant simulation times and big calculations. In conclusion, while FDM may offer faster convergence and computation time in certain cases, FEM remains the preferred method in industrial contexts due to its flexibility, scalability, and ease of implementation for complex geometries.

声波模拟有限元法有限差分法数值方法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。