arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.09671math.NAcs.NA
收藏

Allen-Cahn方程的快速数值模拟

Fast Numerical Simulation of Allen-Cahn Equation

Yongho Kim, Yongho Choi

摘要:

仿真速度取决于代码结构,因此如何构建快速算法至关重要。由于Allen-Cahn方程的求解采用显式有限差分法,因此需要在模拟程序中使用多个for循环来实现网格计算。在编程方面,许多for循环使仿真速度变慢。为了解决这个问题,我们提出了一个模型架构,其中包含一个垫和一个卷积操作的艾伦-卡恩方程。此外,GPU操作用于进一步提高速度。这样,可以改进其它微分方程的模拟。在本文中,各种数值模拟进行确认,艾伦-卡恩方程遵循运动的中曲率和相分离在二维和三维空间。最后,我们证明了我们的算法比未优化的代码和CPU操作快得多。

英文摘要:

Simulation speed depends on code structures, hence it is crucial how to build a fast algorithm. We solve the Allen-Cahn equation by an explicit finite difference method, so it requires grid calculations implemented by many for-loops in the simulation code. In terms of programming, many for-loops make the simulation speed slow. To solve the problem, we propose a model architecture containing a pad and a convolution operation for the Allen-Cahn equation. Also, the GPU operation is used to boost up the speed more. In this way, the simulation of other differential equations can be improved. In this paper, various numerical simulations are conducted to confirm that the Allen-Cahn equation follows motion by mean curvature and phase separation in two-dimensional and three-dimensional spaces. Finally, we demonstrate that our algorithm is much faster than an unoptimized code and the CPU operation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑