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.

Constructing geometry with spheres whose centers and radii are known

Please login with a confirmed email address before reporting spam

My geometry consists 300 - 400 spheres whose centers and radii data are known (data in an excel sheet). Is there a way to automate geometry building of such a system?

regards, Surya Karla


1 Reply Last Post Apr 26, 2023, 2:57 p.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 year ago Apr 26, 2023, 2:57 p.m. EDT

Yes, you can automate your geometry creation using a model method, see this blog post. Another approach, if you have LiveLink for MATLAB on your license, would be to script the geometry creation that way.

Best,

Jeff

-------------------
Jeff Hiller
Yes, you can automate your geometry creation using a model method, see [this blog post](https://www.comsol.com/blogs/how-to-create-a-randomized-geometry-using-model-methods/). Another approach, if you have [LiveLink for MATLAB](https://www.comsol.com/livelink-for-matlab) on your license, would be to script the geometry creation that way. Best, Jeff

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.