The Allen-Cahn equation is a typical phase-field model. In this paper, we study the finite element method for Allen-Cahn equation.The posteriori error estimation based on gradient recovery type is constructed, and the adaptive finite element method based on recovery type a posteriori error estimation is designed and the adaptive algorithm is implemented based on Matlab programming.The numerical results agree well with the article [20][27], indicating that the adaptive algorithm can effectively solve the Allen-Cahn equation,and the designed posteriori error estimator can guide the mesh to be adaptive in the vicinity of the boundary layer. |