Use a polygon instead of a rectangle (which is created as special case of a polygon anyway). Create multiple vertices on the side of the square which you want to subdivide.
PDE: Subdivide edge to assign different boundary conditions
3 次查看(过去 30 天)
显示 更早的评论
I want to solve a 2nd order elliptic PDE on a two-dimensional square.
Can I assign different boundary conditions to two pieces of the same side of this square?
I am currently creating my geometry with geometryFromEdges and decsg
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!