CarlSandstrom / Voxel2Tet

Converts a voxel representation to a smooth counterpart
GNU General Public License v3.0
13 stars 4 forks source link

Issues with triple line smoothing and segmentation faults #4

Open bbbates1 opened 3 years ago

bbbates1 commented 3 years ago

Hi Carl, I am working on using this code to prepare a microstructure for meshing. I generated a voxel data set in dream3d and used this code to generate a smooth surface mesh for meshing. I exported the output as an Abaqus file and then intended to re-mesh it in Cubit. Some of the triple lines in the smoothed surfaces ended up very jagged, preventing a high quality mesh from being created. Here is an example of a jagged triple line: image Modifying the settings of both the smoothing and coarsening stages did not seem to make an appreciable difference in this. I also tried generating a new microstructure in case the issues were with the geometry of the data set I was using. This always resulted in segmentation faults about halfway through the coarsening stage of the smoothing. Do you know why this might be happening or how I can improve the quality of the triple lines? Thank you, Ben

CarlSandstrom commented 3 years ago

Hi!

I am on vacation right now and do not have access to a computer, but I can look into it when I get home. In the meantime, can you send the file you try to smooth? That will make thing easier 😁

Carl

Den tors 22 juli 2021 20:43bbbates1 @.***> skrev:

Hi Carl, I am working on using this code to prepare a microstructure for meshing. I generated a voxel data set in dream3d and used this code to generate a smooth surface mesh for meshing. I exported the output as an Abaqus file and then intended to re-mesh it in Cubit. Some of the triple lines in the smoothed surfaces ended up very jagged, preventing a high quality mesh from being created. Here is an example of a jagged triple line: [image: image] https://user-images.githubusercontent.com/84934814/126691508-189ab8cd-a014-4c5b-8730-d18fd141f4de.png Modifying the settings of both the smoothing and coarsening stages did not seem to make an appreciable difference in this. I also tried generating a new microstructure in case the issues were with the geometry of the data set I was using. This always resulted in segmentation faults about halfway through the coarsening stage of the smoothing. Do you know why this might be happening or how I can improve the quality of the triple lines? Thank you, Ben

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CarlSandstrom/Voxel2Tet/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYIFAHCDBY5GEHT4DBS4ZTTZBRGXANCNFSM5A2SF5FQ .

bbbates1 commented 3 years ago

Thank you for the fast reply, I would be happy to provide the files I am using. I saw your email address as sandstrom.carl@gmail.com in a different post on this page, is that a good email to use? Ben