Coding Boundary Conditions - Reaction/Diffusion system of PDE's

Hi guys,
I am studying reaction+diffusion problem in chemical engineering and I am struggling very much with coding boundary conditions in pdepe. I really dont get it from https://www.mathworks.com/help/matlab/math/solve-system-of-pdes.html how should I code boundary conditions...
The system of interest is defined with a following equation:
whereas my boundary conditions : are for and for . I am considering system in the slab geometry, therefore . is the source term. ε is the constant.

3 Comments

I have written a short note that describes how to define boundary conditions in pdepe.
You can find that here. Hope you find it helpful.
Hi sko,
I am also facing the same issue regarding boundary conditions, were you be able to solve this issue?
Thanks
Hello,
Yes. Follow carefully the procedure from matlab Pdepe

Sign in to comment.

Answers (0)

Categories

Find more on Partial Differential Equation Toolbox in Help Center and File Exchange

Asked:

sko
on 4 Dec 2020

Commented:

sko
on 26 May 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!