Possible bug in pdetoolbox

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

回答(1 个)

Alan Weiss
Alan Weiss 2015-10-15
编辑:Alan Weiss 2015-10-15

0 个投票

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 个评论

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
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

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by