allen_cahn_pde, a Python code which sets up and solves the Allen-Cahn reaction-diffusion system of partial differential equations (PDE) in 1 space dimension and time.


The computer code and data files described and made available on this web page are distributed under the MIT license


allen_cahn_pde is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:


  1. Costica Morosanu, Silvio Paval,
    On the numerical approximation of a nonlinear reaction-diffusion equation with non-homogeneous Neumann boundary conditions. Case 1D,
  2. Jian Zhang, Qiang Du,
    Numerical studies of discrete approximations to the Allen-Cahn equation in the sharp interface limit,
    SIAM Journal on Scientific Computing,
    Volume 31, Number 4, pages 3042-3063, 2009.

Source Code:

Last revised on 10 November 2020.