ppc_porous_medium


ppc_porous_medium, a C code which solves the porous medium equation, dudt=Del^2(u^m), from Rouben Rostamian's "Programming Projects in C";

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

ppc_porous_medium is available in a C version.

Related Data and Programs:

ppc_porous_medium_test

porous_medium_exact, a C 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.

ppc_xmalloc, a C code which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";

Reference:

  1. Rouben Rostamian,
    Programming Projects in C for Students of Engineering, Science, and Mathematics,
    SIAM, 2014,
    ISBN: 978-1-611973-49-5
  2. https://userpages.umbc.edu/~rostamia/cbook/
  3. ppc_porous_medium.pdf , "The porous medium equation", a revision of the original chapter, presenting an improved implementation.

Source Code:


Last revised on 17 May 2024.