pdepe coupled boundary conditions

2 views (last 30 days)
Chris Viets
Chris Viets on 31 Jan 2023
Edited: Torsten on 31 Jan 2023
I'm solving a set of two PDEs with boundary conditions (du1/dx, du2/dx) = 0 for x=0 and x=1. My function f from pdefun is f = [k1*du/dx(1) - k2*u(1)*du/dx(2); k3*du/dx(2)]. I cannot find q(x,t) and p(x,t,u) to write my boundary conditions in the form pdepe expects. How do I find q and p when dealing with coupled systems like this one? Is it even necessarily possible? Thanks.

Answers (1)

Torsten
Torsten on 31 Jan 2023
Edited: Torsten on 31 Jan 2023
pl = pr = 0, ql = qr = 1 for both components u1 and u2. What's the problem ?

Categories

Find more on Partial Differential Equation Toolbox 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!