Possible bug in pdetoolbox

15 views (last 30 days)
Simon  Le Blond
Simon Le Blond on 15 Oct 2015
Commented: Alan Weiss on 19 Oct 2015
Hi, I am trying to define the geometric layout of a pde problem using the PDEtool GUI that involves two circular regions inside another, occuring several times within a global region. However after trying to define the exact position of the second of these circular regions with a parameter dialogue pop-up I get the error "invalid geomtery detected. Edges overlap or inersect at non-end points". What I am attempting is perfectly valid. I have seen similar recent unanswered questions this year raising this problem with PDEtool in MATLAB 2014b. It seems like there is a bug in the pdetool geometry exception handler. Is this a known bug? Suggested workarounds? I am using Windows 7 enterprise edition with MATLAB 2014b. Many thanks for your kind attention, Simon

Answers (1)

Alan Weiss
Alan Weiss on 15 Oct 2015
Edited: Alan Weiss on 15 Oct 2015
Sorry that you got bit by a bug; at least, that's what it sounds like to me.
I think it might be best to define your geometry at the command line. The documentation for this is pretty complete, if not simple. Make sure that you use parentheses in the set formula to get the geometry that you want.
The other thing to try is to write a script using the pdecirc command, but I don't know if the result would be any different.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
  2 Comments
Simon  Le Blond
Simon Le Blond on 15 Oct 2015
Hi Alan,
Thanks, a command line approach is the conclusion we have come to as well.
It would be helpful if MATHWORKS could look into the bug in the pdetool GUI as being able to use this would dramatically cut dev time for FEM problems where the focus and expertise of the team is elsewhere.
Best wishes,
Simon
Alan Weiss
Alan Weiss on 19 Oct 2015
Simon, it would help us diagnose and fix the bug if you would give us exact reproduction steps. Post here, or email me directly: Alan.Weiss@mathworks.com
Thanks in advance,
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!