The susceptibility of timestepping algorithms to numerical instabilities is an important consideration when simulating partial differential equations (PDEs). Here we identify and analyze a pernicious numerical instability arising in pseudospectral simulations of nonlinear wave propagation resulting in finite-time blow-up. The blow-up time scale is independent of the spatial resolution and spectral basis but sensitive to the timestepping scheme and the timestep size. The instability appears in multi-step and multi-stage implicit-explicit (IMEX) timestepping schemes of different orders of accuracy and has been found to manifest in simulations of soliton solutions of the Korteweg-de Vries (KdV) equation and traveling wave solutions of a nonlinear generalized Klein-Gordon equation. Focusing on the case of KdV solitons, we show that modal predictions from linear stability theory are unable to explain the instability because the spurious growth from linear dispersion is small and nonlinear sources of error growth converge too slowly in the limit of small timestep size. We then develop a novel multi-scale asymptotic framework that captures the slow, nonlinear accumulation of timestepping errors. The framework allows the solution to vary with respect to multiple time scales related to the timestep size and thus recovers the instability as a function of a slow time scale dictated by the order of accuracy of the timestepping scheme. We show that this approach correctly describes our simulations of solitons by making accurate predictions of the blow-up time scale and transient features of the instability. Our work demonstrates that studies of long-time simulations of nonlinear waves should exercise caution when validating their timestepping schemes.
翻译:时间步进算法对数值不稳定性的敏感性是模拟偏微分方程时的重要考量因素。本文识别并分析了一种在非线性波传播的伪谱模拟中出现的、导致有限时间爆炸的有害数值不稳定性。该爆炸时间尺度与空间分辨率和谱基无关,但对时间步进方案及步长敏感。此不稳定性出现在不同精度阶数的多步与多级隐式-显式时间步进方案中,并已在Korteweg-de Vries方程孤子解及非线性广义Klein-Gordon方程行波解的模拟中被发现。聚焦于KdV孤子情形,我们证明线性稳定性理论中的模态预测无法解释该不稳定性,因为线性色散导致的寄生增长较小,且误差增长的非线性源在时间步长趋于零时收敛过慢。随后,我们建立了一个新颖的多尺度渐近框架,以捕捉时间步进误差的缓慢非线性累积。该框架允许解在多个与时间步长相关的时间尺度上变化,从而将不稳定性恢复为受时间步进方案精度阶数支配的慢时间尺度函数。通过精确预测爆炸时间尺度及不稳定性的瞬态特征,我们证明该方法能正确描述我们的孤子模拟。本研究表明,在验证非线性波长时间模拟的时间步进方案时需保持谨慎。