How can I use pdepe to solve a PDE with an integral boundary condition?
Ältere Kommentare anzeigen
I would like to solve a PDE of the form
du(x,t)/dt = - du/dx - u
with the boundary condition
u(0,t) = int(u(x,t),x0,xf).
Since the usual @bcfun does not have argument u, is this boundary condition possible? If so, how would I formulate it?
Thanks in advance for any help.
Antworten (2)
Youssef Khmou
am 27 Sep. 2013
0 Stimmen
why not solve, first, for u(0,t) for known x0 and xf, using integral or quad or trapz next follow the routine ?
1 Kommentar
Jessica
am 28 Sep. 2013
Youssef Khmou
am 28 Sep. 2013
0 Stimmen
hi, take a look at the file,
Kategorien
Mehr zu Boundary Conditions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!