Generating random multi-crystal 2D plane with one hole at center.

179 views
Skip to first unread message

weijian gao

unread,
Sep 20, 2024, 10:01:39 AM9/20/24
to dream3d-users
Dear Michael,
I am wondering can Dream3D generating a 2D plane with one hole at a center, and then assign multi-crystal at the plane, then export to an .inp or .gmsh format.d7a085964a626985b85fb4a74f26da7.jpg

Michael Jackson

unread,
Sep 23, 2024, 5:12:53 PM9/23/24
to weijian gao, dream3d-users
I’m going to answer sort of in reverse order. There is a filter called “Export 3d Solid Mesh” in DREAM3D Version 6.5.171 that can generate a mesh using a supplied executable for GMesh.

Are you wanting to create a single plane, synthetic microstructure that is a general polycrystalline microstructure, but at the center have a “hole” of some type? You could make an STL file to use as a template. You need to get the dimensions correct and it is sort of a pain but is possible. There is prebuilt pipeline that shows this kind of approach. Called ASTMD638_specimen. 

I am including a sample pipeline and input STL file just in case this is what you want. This should work with DREAM3D Version 6.5.171


--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


On Sep 20, 2024 at 10:01:39, 'weijian gao' via dream3d-users <dream3...@googlegroups.com> wrote:
Dear Michael,
I am wondering can Dream3D generating a 2D plane with one hole at a center, and then assign multi-crystal at the plane, then export to an .inp or .gmsh format.d7a085964a626985b85fb4a74f26da7.jpg

--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/ddb0a528-0ab0-47e7-8835-702f0665f951n%40googlegroups.com.


2D_Plane_With_Hole.json
2D_Plane_With_Hole.stl
Message has been deleted

Michael Jackson

unread,
Nov 25, 2024, 2:25:58 PM11/25/24
to dream3d-users

Using the pipeline from the email I added another “Apply Transformation to Geometry” filter to scale the STL model along the Z Axis to allow it to fill the entire volume along the Z Axis. The alternate would be to edit the STL File itself to actually change the model. Note that you could do this in a separate DREAM3D pipeline:

Read the STL file
Apply Transformation to Geometry
Save Triangle Geometry as STL file.

I have attached all relevant files for you to reproduce my results.



--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


On Nov 22, 2024 at 01:31:52, ci qinggang <ciqingg...@gmail.com> wrote:
dear michael,
thank you your sharing of the pipline 2D_plane_with_hole. Here are some questions I would like to ask you. When I tried to model using your pipline and corresponding STL files, the resulting model was shown below (including the Initialize Synthetic Volume model and the corresponding hole model), which is not the effect you showed (only the hole model with grains). And the astmd638_stpaecimem in exmaple pipline also has the same problem after running. Looking forward to your explanation on how I can achieve the same effect as you.
微信截图_20241122142932.png     微信截图_20241122143046.png






Zhenkai

unread,
Nov 26, 2024, 10:07:09 AM11/26/24
to dream3d-users
Dear Michael,
  How to export inp file by combining stl file and ctf file.Thank you.

On Tuesday, September 24, 2024 at 5:12:53 AM UTC+8 Michael Jackson wrote:

Michael Jackson

unread,
Nov 26, 2024, 10:10:37 AM11/26/24
to Zhenkai, dream3d-users
Hello, 
    This is a non-trivial process and involves data fusion techniques to align the STL file to the CTF data. What is the end state of the data that you are trying to get to? Clearly you want an “.inp” file for input into Abaqus? You are trying to extract out crystallographic data from the CTF file? Or are you trying to extract out the grain structure to fit into the STL file?

--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


Reply all
Reply to author
Forward
0 new messages