Hi I'd like to model adsorption of a substance onto activated carbon, using the homogenous surface diffusion model. This model uses a partial differential equation: dq/dt = K/r^2 d/dr(r^2 dq/dr)
I can solve this equation easily using pdepe. In the next step, I'd like to solve this equation in a loop, where the calculated end-state (q(x, t_end)) should be used as new initial condition.
However, I can't use a vector as initial condition. In the newsgroups I found exactly my problem. Unfortunately I don't fully understand its solution, how to use pdeval... anonymissy, "assigning initial conditions on PDE solver?" #, 11 Mar 2004 12:52 am </WebX?50@@.eed2dac>