Struggling to understand PDEPE boundary conditions
11 views (last 30 days)
Show older comments
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
Answers (0)
See Also
Categories
Find more on PDE Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!