PDE: Subdivide edge to assign different boundary conditions

2 vues (au cours des 30 derniers jours)
Bananach
Bananach le 29 Avr 2016
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

Réponse acceptée

Bananach
Bananach le 29 Avr 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.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by