Clear Filters
Clear Filters

PDETOOL - How to find the label of domain?

1 view (last 30 days)
I am having some problems in the pdetool toolbox (Using Matlab 2017a): My code defines the outer geometry of my system as the domain number 1 for a certain geometry:
However, for a second geometry (similar to the previous), the code labels the outer geometry as a different number (3 in this case).
I need to have different PDE coefficients in the outer domain. Is there a way to know which domain number is the outer rectangle of my system?

Accepted Answer

Alan Weiss
Alan Weiss on 8 Mar 2018
I don't know how to choose the label numbers in a geometry except by creating the geometry using a Geometry Function. See Geometry Function Example with Subdomains and a Hole.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Comment
Tadeu Fagundes
Tadeu Fagundes on 8 Mar 2018
Thanks you Mr. Weiss! This was exactly what I needed. I went through the decomposed geometry file and found the labels I needed!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!