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.

Geometry Distribution

Please login with a confirmed email address before reporting spam

Hi all,
Is it possible to create/distribute any geometry randomly inside another geometry in COMSOL?

1 Reply Last Post 17 oct. 2011, 02:21 UTC−4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 oct. 2011, 02:21 UTC−4
Hi

You have a difficult issue there, I have not so far worked with randomly distributed items. I believe you must use something like MATLAB to generate your geometry. And, as you state, selection etc will be a difficult issue, if it’s not that you may select all and remove one (or a few) big rectangle(s).

So long the small rectangles do not overlap, you do not really need to make any “difference”, as normally the “default union” mode will do it for you

--
Good luck
Ivar
Hi You have a difficult issue there, I have not so far worked with randomly distributed items. I believe you must use something like MATLAB to generate your geometry. And, as you state, selection etc will be a difficult issue, if it’s not that you may select all and remove one (or a few) big rectangle(s). So long the small rectangles do not overlap, you do not really need to make any “difference”, as normally the “default union” mode will do it for you -- Good luck Ivar

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.