PDE: Subdivide edge to assign different boundary conditions

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

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

Asked:

on 29 Apr 2016

Answered:

on 29 Apr 2016

Community Treasure Hunt

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

Start Hunting!