Consider a sponge in contact with water from one side, and all the other sides are insulated. For the sake of simplicity, imagine that the porosity is uniform. What will be the boundary and initial conditions for solving the diffusion equation
$$ \frac{\partial c}{\partial t} = D \frac{\partial^2 c}{\partial x^2}$$