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+2 20:08
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 months ago 2024年6月26日 GMT+2 17:47
Updated: 2 months ago 2024年6月26日 GMT+2 19:29

Hello Gabriel,

You could write a model method to achieve this. Seethis blogfor 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: 2 months ago 2024年6月26日 GMT+2 20:08

Thank you sir Jeff.

Thank you sir Jeff.

Reply

Please read thediscussion forum rulesbefore posting.

Pleaselog into 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 theSupport Centerfor a more comprehensive response from the Technical Support team.

Baidu
map