Following this question, is there a possibility to define different boundary conditions for the same edge?
For example:
I created a 2D rectangle with corner-coordinates as follows:
(0,0),(0,a),(a,b),(a,0).
Now, on one edge [between (0,0)->(0,a)] I need different boundary conditions in different places. (0,0)->(0,a/3): Neumann boundary condition (Insulated du/dx=0) (0,0)->(a/3,2a/3): Dirichlet boundary condition (u=0) (0,0)->(2a/3,a): Neumann boundary condition (Insulated du/dx=0)
Is there a way to write this boundary all together? or I must divide my geometry to three rectangles and define them separately?