fisher_pde_ftcs, a Python code which estimates a solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u), using the forward time centered space (FTCS) method, with an oscillating Dirichlet condition on the left, and a zero Neumann condition on the right. An animation of the solution is created.
The use of the explicit FTCS method requires that the time steps be small; otherwise the computed solution will become unstable.
The information on this web page is distributed under the MIT license.
fisher_pde_ftcs is available in a MATLAB version and an Octave version and an Octave version.
allen_cahn_pde, a Python code which sets up and solves the Allen-Cahn reaction-diffusion system of partial differential equations (PDE) du/dt = nu * uxx - u * (u^2-1) / (2*xi) in 1 space dimension and time.
diffusion_pde, a Python code which solves the diffusion partial differential equation (PDE) dudt - mu * d2udx2 = 0 in one spatial dimension and time, with a constant diffusion coefficient mu, and periodic boundary conditions, using the forward time centered space (FTCS) difference method.
fd1d_advection_lax_wendroff, a Python code which applies the finite difference method to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method to treat the time derivative.
fd1d_heat_explicit, a Python code which uses the finite difference method and explicit time stepping to solve the time dependent heat equation in 1D.
fd1d_heat_implicit, a Python code which uses the finite difference method and implicit time stepping to solve the time dependent heat equation in 1D.
fisher_exact, a Python code which returns an exact solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u).