Boundary condtions for an index reduced DAE system using ode solvers
13 views (last 30 days)
Show older comments
Hey,
so i have the following set of differential equations. Its called the poisson nerst planck equation and i am trying to solve it using the ode solvers of matlab.


with the boundary conditions for
are neuman boudnary conditions
(it depends on i)and for ϕ are dirichlet boundary conditions
Now I have allready tried to formulate this problem into a system of frist oder differential equation as follows:

Now i insert
and
in
and solve for 

The complete ode system should consist of these 3 first oder equations now:

with boundary conditions:

as you can see I have only 3 first oder equations but 4 boundary conditions. aditionally i dont have boundary conditions for for each
but rather two boundary conditions for
and two boudnary condition for
.
Now i am clueless on how to implement the boundary conditions for this system of equations with a suitible ode solver for matlab. Is there a way of implementing two dirichlet and two neuman boundary conditions?
As an extra. I want to solve this set of equations for 3 adjacient regions within the overall domain of
as
, where
for
and
and
for
. This gives the problem a stiff character becasue almost instantanious increas of
at these internal regions.
, where 10 Comments
Answers (0)
See Also
Categories
Find more on Programmatic Scenario Authoring 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!
