Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 months ago
Jun 26, 2024, 11:47 a.m. EDT
Updated:
9 months ago
Jun 26, 2024, 1:29 p.m. EDT
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:
9 months ago
Jun 26, 2024, 2:08 p.m. EDT
Thank you sir Jeff.