Importing material array from DREAM3D to geometry file #41
Replies: 1 comment
-
g = damask.GeomGrid.load_DREAM3D('V05stacked.dream3d') Phase distribution alone is not enough, the number of materials equals the number of unique combinations of phase and orientation. |
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
-
Hello Dr. Martin and DAMASK team,
I hope you are all doing great.
This is Jubert, I recently had a training about DAMASK with you and am continuing to learn how to use it. I hope this is the correct place to lobby questions about it.
I am trying to create a geometry file using damask.GeomGrid.load_DREAM3D, and while the cells and size do match, the number of materials are a lot more than just the 2-phase structure that I intended it to be. How do i input the phase in each point as a material array so that the total number of materials will be correct?
My target output is number of materials:2, and a 'material' variable array that is 115 by 77 by 5 with 1s and 2s. I would then use GeomGrid to create a vti file, and when i check the vti file in paraview, the material positions are correct. I attached the dream3d file and a snippet of my code.
Thanks for the help!
Jubert
V05stacked.zip
Beta Was this translation helpful? Give feedback.
All reactions