Struggling to understand PDEPE boundary conditions

12 次查看(过去 30 天)
Hi all,
I'm new to using MATLAB's PDEPE and I'm struggling to understand the help documentation. I'd like to start out by solving a simple version of Fick's 2nd law and can't seem to make any progress. To start with I'd lke model an initial condition of u(x, 0) = 0 and boundary conditions to be u(0,t) = 1 and u(1,t) = 0 on the interval of 0 ≤x≤1. I'd like to model a 1-D system with no syemmetry (m=0).Eventually I want to specify a more complex initial condition based on some experimental data, but thought I'd start with something simple.
I see the in the help documentation an example function for the boundary conditions and can't seem to figure out what p and q represent or what they're used for. Could anyone point me in the right direction of some resources that describe the meaning of p and q?
Thanks!
Rob
  2 个评论
Bill Greene
Bill Greene 2021-7-13
You might find this tutorial-style note that I wrote describing pdepe boundary conditions, helpful.

请先登录,再进行评论。

回答(0 个)

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by