Cut voxel based model in cylindrical shape

118 views
Skip to first unread message

Milica Letić

unread,
Oct 18, 2023, 2:15:21 PM10/18/23
to dream3d-users
Hello,
I am a 3rd year PhD student at the University of New Hampshire, and I will try to explain briefly what my goal is. I have got cleaned EBSD data for stainless steel 304 (voxel based model-dream3d extension of the file) and I would like to cut the existing cuboid model into a cylinder with little crack insert, since I am exploring fracture. I wonder if there is a way to cut this voxel-based cuboid into a different shape, with specific dimensions using dream3d? 
Please find attached the original model and the cylinder that I am trying to get, but meshed and ready for FE analysis. Now, I need the same shape of the voxel-based models.

I would appreciate any recommendations! Thank you!

Best,
Milica
dream3d_forum.pptx

stopk...@gmail.com

unread,
Oct 20, 2023, 2:17:33 PM10/20/23
to dream3d-users
Hi Milica,

I believe you can achieve this by modifying one of the pre-built pipelines entitled "Prebuilt Pipelines --> Examples --> ASTMD638_specimen". This pipeline reads in an .stl file and overlays it onto an existing DREAM.3D file. In this case, it is a dogbone specimen. Any grains that are not in the volume specified by the .stl file are set to 0, so after visualizing in ParaView and thresholding to view only grain IDs with values above 0, you can achieve a model with only grains that overlap with the .stl volume. The screenshot below is directly from the prebuilt pipeline. You would just need to create an .stl file with the appropriate dimensions, resolution, and size.


ASTMD638.PNG

Best regards,
Kris

Krzysztof Stopka

stopk...@gmail.com

unread,
Oct 20, 2023, 2:19:17 PM10/20/23
to dream3d-users
You can also achieve this by creating a new DataContainer that matches the size of your original data size that contains only 0s and 1s. Then, you can use the "Attribute Array Calculator" filter to multiply the values of Grain IDs from your data set by the 0s and 1s, to basically create a "mask" that sets all regions outside a region of interest to be 0. Afterwards, you can probably use your FE software to remove the voxels/elements with Grain IDs = 0. I uploaded a .json script that I used to do something similar recently. In this .json file, I read in an existing microstructure .dream3d file and then specify an array, that is later used with a threshold and calculator filter to assign certain regions of the microstructure Grain IDs to 0. I hope that helps!
create_keyhole_defect.json

mc ren

unread,
Oct 26, 2023, 11:15:49 PM10/26/23
to dream3d-users
Hello,
 I am relatively new to Dream3d and am seeking guidance.
My current project involves importing 2D Oxford EBSD Data (.ctf) into  Dream3d  , to realize the reconstruction and mesh of model, then  generate Abaqus input files.I'm not entirely sure about the steps involved in this process. Can you kindly provide me with  the specific steps to achieve this within  Dream3d  ?

I would be extremely grateful for any insights, advice, or recommended resources you can offer. Your expertise will be invaluable as I navigate this learning process.

Thank you in advance for your time and support. If you need any additional information or if there are specific details I should be aware of, please feel free to let me know.

Best regards,
mc ren

Reply all
Reply to author
Forward
0 new messages