English

Fast Numerical Simulation of Allen-Cahn Equation

Numerical Analysis 2022-01-11 v1 Numerical Analysis

Abstract

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.

Keywords

Cite

@article{arxiv.2105.09671,
  title  = {Fast Numerical Simulation of Allen-Cahn Equation},
  author = {Yongho Kim and Yongho Choi},
  journal= {arXiv preprint arXiv:2105.09671},
  year   = {2022}
}

Comments

11 pages, 3 tables, 13 figures

R2 v1 2026-06-24T02:17:52.224Z