porous_medium_exact, a Fortran code which returns an exact solution of the porous medium equation (PME), dudt=Del^2(u^m), a partial differential equation (PDE) related to the diffusion equation, based on the Barenblatt solution.
The information on this web page is distributed under the MIT license.
porous_medium_exact is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
f90_exact, a Fortran90 code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).