How can I couple the ODE for boundary condition in PDE? Now I have one very simple PDE function – diffusion equation.
dt*dC(t,x)=D*dC^2(t,x)/dx^2
But with a complicated boundary condition
C(0,t)/dt=alpha*C(0)
C(1,t)/dt=alpha*C(1)
My question is how can I couple this ODE B.C. in PDEPE solver.
I am a MatLab beginner. Please provide me any suggestion that I can try.
Thank you very much!
Best Answer