Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to implement discontinuity in derivative of electric potential across boundary?
Posted 21 janv. 2012, 17:49 UTC−5 Fluid & Heat, Studies & Solvers 3 Replies
Please login with a confirmed email address before reporting spam
Hello,
I am building a model (in the general PDE mode of COMSOL 4.1) to simulate the behavior of a device using mixed ionic/electronic conductors. I'm using the generalized transport equation (Nernst-Planck) for all charge carriers, and the Poisson equation for the electric potential.
At the interface between two different materials, the relevant boundary condition for the electric potential is that the electric displacement field normal to the boundary is constant. Let's assume here that the direction normal to the boundary is the "x" direction. Therefore, since the electric displacement field is the electric field times the material's permittivity, and the electric field is simply the gradient of the electric potential, we can write this boundary condition in the following way:
e(left)*phi_x(left) = e(right)*phi_x(right)
... where e is the permittivity, phi is the electric potential, and phi_x is the component of the gradient of phi normal to the boundary. (left) and (right) indicate the position relative to the boundary.
Clearly, according to the above equation, when the permittivity changes at the interface between two materials, there will be a discontinuity in the derivative of the electric potential. However, I just can't figure out how to implement this in COMSOL.
How can I specify a discontinuity in the derivative of one of my dependent variables at a boundary? Please note that I am using the general PDE mode rather than one of the physics modules. I like to see what's going on under the hood, and since I'm working with diffusive transport as well as electric potential, it seemed best to keep things general.
I apologize if this is obvious or if it has already been asked -- I have tried my best to look around before posting.
Thanks!
John
I am building a model (in the general PDE mode of COMSOL 4.1) to simulate the behavior of a device using mixed ionic/electronic conductors. I'm using the generalized transport equation (Nernst-Planck) for all charge carriers, and the Poisson equation for the electric potential.
At the interface between two different materials, the relevant boundary condition for the electric potential is that the electric displacement field normal to the boundary is constant. Let's assume here that the direction normal to the boundary is the "x" direction. Therefore, since the electric displacement field is the electric field times the material's permittivity, and the electric field is simply the gradient of the electric potential, we can write this boundary condition in the following way:
e(left)*phi_x(left) = e(right)*phi_x(right)
... where e is the permittivity, phi is the electric potential, and phi_x is the component of the gradient of phi normal to the boundary. (left) and (right) indicate the position relative to the boundary.
Clearly, according to the above equation, when the permittivity changes at the interface between two materials, there will be a discontinuity in the derivative of the electric potential. However, I just can't figure out how to implement this in COMSOL.
How can I specify a discontinuity in the derivative of one of my dependent variables at a boundary? Please note that I am using the general PDE mode rather than one of the physics modules. I like to see what's going on under the hood, and since I'm working with diffusive transport as well as electric potential, it seemed best to keep things general.
I apologize if this is obvious or if it has already been asked -- I have tried my best to look around before posting.
Thanks!
John
3 Replies Last Post 24 juil. 2012, 03:33 UTC−4