Coding Boundary Conditions - Reaction/Diffusion system of PDE's
17 views (last 30 days)
Show older comments
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444723/image.png)
whereas my boundary conditions
: are
for
and
for
. I am considering system in the slab geometry, therefore
.
is the source term. ε is the constant.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444728/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444733/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444738/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444743/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444748/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444753/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444758/image.png)
3 Comments
Aiman Khalil
on 26 May 2023
Hi sko,
I am also facing the same issue regarding boundary conditions, were you be able to solve this issue?
Thanks
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!