Skip to content

Reply To: Adding an arbitrary shaped particle.

#9156
jan
Participant

Dear avrachan1,

what do you mean by “I was representing the arbitrary shaped particle by decomposing it into smaller cuboids. This method doesn’t scale well.”? If you use the function addResolvedArbitraryShape3D then it shouldn’t add any additional costs during the simulation, because that leads to the use of a cached signed distance in the background. The interpolation using that cache doesn’t depend on the original geometry.

For complex shapes, I usually use the combination of geometries using signed distance functions or STLs. Depending on what shapes you need, you could try to use a superellipsoid or try to introduce a new indicator that serves your needs, but the main options that are currently implemented are the STLreader or the combination of primitives.

Best regards,
Jan