arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.04322cond-mat.mtrl-sciphysics.comp-ph
收藏

GPU并行化傅里叶谱方法求解相场模型的效率与精度

Efficiency and accuracy of GPU-parallelized Fourier spectral methods for solving phase-field models

A. D. Boccardo, M. Tong, S. B. Leen, D. Tourret, J. Segurado

AI总结:

本文测试GPU并行化半隐式傅里叶谱方法求解相场模型的效率与精度,相比显式有限差分,在同等精度下可提速达4个数量级。

摘要:

相场模型被广泛用于模拟凝固或热处理等过程中微观组织的演化。由此产生的偏微分方程通常强耦合,可通过多种数值方法求解,但这往往导致高昂的计算成本,因此需要先进的数值方法来加速求解。本文定量测试了基于半隐式傅里叶谱的方法在求解耦合Cahn-Hilliard和Allen-Cahn方程的相场模型时的效率与精度,该方法以Python编程语言实现,并在图形处理单元(GPU)上并行化。我们将计算性能和精度与在同一硬件上具有类似GPU并行化的标准显式有限差分(FD)实现进行比较。在相似的空间离散化下,只要时间步长可比FD方案稳定性所允许的步长高5至6倍,半隐式傅里叶谱(FS)求解器就优于FD求解。即使对于粗网格,FS方法的精度也保持优异,而FD的精度则显著下降。因此,在同等精度水平下,半隐式FS方法严重优于显式FD,最多可快4个数量级,因为它们允许更粗的空间和时间离散化。

英文摘要:

Phase-field models are widely employed to simulate microstructure evolution during processes such as solidification or heat treatment. The resulting partial differential equations, often strongly coupled together, may be solved by a broad range of numerical methods, but this often results in a high computational cost, which calls for advanced numerical methods to accelerate their resolution. Here, we quantitatively test the efficiency and accuracy of semi-implicit Fourier spectral-based methods, implemented in Python programming language and parallelized on a graphics processing unit (GPU), for solving a phase-field model coupling Cahn-Hilliard and Allen-Cahn equations. We compare computational performance and accuracy with a standard explicit finite difference (FD) implementation with similar GPU parallelization on the same hardware. For a similar spatial discretization, the semi-implicit Fourier spectral (FS) solvers outperform the FD resolution as soon as the time step can be taken 5 to 6 times higher than afforded for the stability of the FD scheme. The accuracy of the FS methods also remains excellent even for coarse grids, while that of FD deteriorates significantly. Therefore, for an equivalent level of accuracy, semi-implicit FS methods severely outperform explicit FD, by up to 4 orders of magnitude, as they allow much coarser spatial and temporal discretization.

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

↑