Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Coordinate based selection whithin arbitrarily shaped (closed) curve
Posted Apr 21, 2022, 3:16 a.m. EDT LiveLink for MATLAB, Geometry Version 5.6 2 Replies
Please login with a confirmed email address before reporting spam
Hi, I would like to parametrize a 2D geometry build-up using comsol 5.6, where a number of circes is built up automatically with certain symmetries and the circles whithin a given boundary curve are selected (the other ones deleted....). For this, I would like to import a 2D curve (closed curve with arbitrary shape) and - after creating the pattern of circles - would like to select all objects that lie inside the curve and delete the rest (for clarity see the example picture attached).
For simple shapes, such as circles, rectangles etc., the built-in coordinate based selections "box selection" or "circles selection" does just that. However, if the curve is not easily approximated by either a box or a circle, this seems to be troublesome.
Is there a way to does such a selection of "objects inside a certain curve" using the Comsol Desktop? If not, using Matlab LiveLink or the comsol Method Builder would also be an alternative, though not preferred.
Thanks in advance! :-)
Attachments: