Identifying connected clusters #42
vishankkumar
started this conversation in
Ideas
Replies: 1 comment
-
|
Hi Vishan, It's possible to do this, although it may take the code a long time to run if it has to check if sphere "i" and sphere "j" are close enough to add a phase between them. Another approach would be to create a PolyMesh from the spheres of phase 1 and 2, then add spheres of phase 3+ to the facets between phases 1 and 2. Here's the steps:
I wrote something similar to this in the Let me know how it goes and feel free to follow up. I'm happy to help. Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to create a flag that identify the connected spheres, where connection is defined if the distance between two particles of radius r1 and r2 is less than r1 + r2? I wanted to generate a 2 phase microstructure along with additional phases for connected clusters of phase 1 and phase 2.
Beta Was this translation helpful? Give feedback.
All reactions