PDE: Subdivide edge to assign different boundary conditions

4 views (last 30 days)
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

Accepted Answer

Bananach
Bananach on 29 Apr 2016
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.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!