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.

How to fill a 2D geometry with simple points

Please login with a confirmed email address before reporting spam

Hello, I would like to know if there is a practical way to fill a 2D point object with simple points.

The following is an attempt to do this using the array option (screenshots in imgur link). In this case, I would like to keep only the points that are inside the circle and exclude the others (inside the area in red).

Link to screenshots (https://imgur.com/a/0cQGvKp)


1 Reply Last Post 16.08.2022, 21:30 GMT-4
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 16.08.2022, 21:30 GMT-4

Yes, you can do this. Create your points with the help of the array tool. Then do a boolean Union of them, so they can be treated as one object. Then create your other 2D object. Then do an intersection of that object with the (unioned) array of points.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Yes, you can do this. Create your points with the help of the array tool. Then do a boolean Union of them, so they can be treated as one object. Then create your other 2D object. Then do an intersection of that object with the (unioned) array of points.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.