How to set interface boundary conditions? #3067
-
Beta Was this translation helpful? Give feedback.
Answered by
brosaplanella
Jul 3, 2023
Replies: 2 comments 4 replies
-
As the error says, you have too many variables and too few equations so the system is underdetermined. It is a bit hard to miss which equation is missing, it would be great if you can share a minimum working example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue is with the bc:
The problem is that the gradient evaluates on the edges of the discretised volumes (positive electrode in this case) but the particles are evaluated in the nodes of the positive electrode, so there's a mismatch. A possible solutions is to define
grad_Tb_cathode_particle_right
aswhich for the 1D case is the same you had before, but now it evaluates on the nodes. This is a bit of a hack, so probably there is a cleaner solution, b…