Boundary conditions for a ring PDE
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to model a Fitzhugh-Nagumo like equation set along a ring geometry. The equation is set in 1-D, but the boundary conditions are described such that the u(0,t) = u(1, t) and du/dt(0, t) = du/dt(1, t). I know how to format the PDE itself into the required form for pdepe, but I'm not sure how to formulate the boundary conditions such that this ring effect is correct. Is pdepe the right way to be approaching this problem? Thanks!
0 comentarios
Respuestas (1)
Josh Meyer
el 30 de En. de 2020
pdepe does not allow for time derivatives in the boundary conditions. The boundary conditions are expressed in terms of the flux term f(x,t,u,dudx) in the PDE equation, which only includes the spatial derivative.
If you instead had du/dx(0, t) = du/dx(1, t) on the ring, then you could use m = 1 for a spherical geometry. Whenever m > 0 pdepe automatically imposes its own left boundary condition to account for the singularity at the origin, so then you would just need to code the right boundary condition.
0 comentarios
Ver también
Categorías
Más información sobre PDE Solvers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!