Simulate diffusion into a cylindrical dead-end pore with an infinitely fast reaction on the wall. The pore has a radius and a length . The diffusion coefficient in both radial and axial directions is .
Questions:
Provide the governing PDE for the two-dimensional diffusion in the pore.
What are the proper boundary conditions?
Perform the spatial discretization of this (axially symmetric) 2D problem to obtain a matrix-vector equation.
Provide a Python implementation.
Note that the implementation should be consistent with the governing equations and boundary conditions.