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
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!