Boundary condtions for an index reduced DAE system using ode solvers
    14 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Berat Cagan Türkmen
 el 2 de Mzo. de 2023
  
    
    
    
    
    Comentada: Berat Cagan Türkmen
 el 3 de Mzo. de 2023
            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
 are neuman boudnary conditions
 are neuman boudnary conditions
 are neuman boudnary conditions (it depends on i)
    (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
 and  in
 in  and solve for
 and solve for 
 and
 and  in
 in  and solve for
 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
 but rather two boundary conditions for  and two boudnary condition for
 and two boudnary condition for  .
. 
 but rather two boundary conditions for
 but rather two boundary conditions for  and two boudnary condition 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
 as  , where
, where  for
 for  and
 and  and
 and  for
 for  . This gives the problem a stiff character becasue almost instantanious increas of
. This gives the problem a stiff character becasue almost instantanious increas of  at these internal regions.
 at these internal regions.
 as
 as  , where
, where  for
 for  and
 and  and
 and  for
 for  . This gives the problem a stiff character becasue almost instantanious increas of
. This gives the problem a stiff character becasue almost instantanious increas of  at these internal regions.
 at these internal regions.10 comentarios
Respuestas (0)
Ver también
Categorías
				Más información sobre Programmatic Scenario Authoring 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!




