3D cylinder with spheres

Please login with a confirmed email address before reporting spam

Hello everyone, how's it going?

I would like to know how to construct a 3D geometry of a cylinder containing spheres formed into a tetrahedral shape. The height of the cylinder is 2 meters, with 50 mm diameters filled with 1 mm spheres up to approximately 1 m. Is there a way to do this in comsol?

Thanks.


2 Replies Last Post 2024年6月26日 GMT-4 14:08
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 days ago 2024年6月26日 GMT-4 11:47
Updated: 3 days ago 2024年6月26日 GMT-4 13:29

Hello Gabriel,

You could write a model method to achieve this. See this blog for a starting point. Another approach, if you have LiveLink for MATLAB on your license, is to use that to script your geometry.

Best,

Jeff

PS: Beware that you're talking about a lot of spheres in that cylinder, so that the model will be very large. Depending on what you are trying to get out of the simulation, other approaches than representing each sphere explicitly may be more appropriate (e.g. using effective properties in the region where the spheres are).

-------------------
Jeff Hiller
Hello Gabriel, You could write a model method to achieve this. See [this blog](https://www.comsol.com/blogs/how-to-create-a-randomized-geometry-using-model-methods) for a starting point. Another approach, if you have LiveLink for MATLAB on your license, is to use that to script your geometry. Best, Jeff PS: Beware that you're talking about a lot of spheres in that cylinder, so that the model will be very large. Depending on what you are trying to get out of the simulation, other approaches than representing each sphere explicitly may be more appropriate (e.g. using effective properties in the region where the spheres are).

Please login with a confirmed email address before reporting spam

Posted: 3 days ago 2024年6月26日 GMT-4 14:08

Thank you sir Jeff.

Thank you sir Jeff.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.