What exactly do you want to do with the 67 grains that are represented as STL files? DREAM3D unfortunately isn’t setup to import (practically) that many STL files. You can certainly put 64 “Import STL File” filters into DREAM.3D but you will end up with 64 completely separate geometries instead of a single geometry that represents your microstructure.
The synthetic generators work on a voxel based geometry, not on a triangle based surface mesh geometry. Are you wanting to generate some Euler Angles for each grain? Are all 67 grains of the same phase?
--
Mike Jackson
--
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/5f925fa0-006c-4a45-a405-c8afb9cc910cn%40googlegroups.com.
Dear Elise,
You can import the xdmf into ParaView for visualization but that is about all ParaView is going to do for you. I’m not sure that importing all 67 STL is going to be very efficient. We didn’t take this kind of use case into account. You would have to run 67 different pipelines to import each STL file, resample the STL onto a voxel grid, then remesh and re-export the new STL?
Could you give a more complete explanation of your end goal for the pipeline, i.e., what are you exactly trying to generate? The primary use case for importing an STL file into DREAM.3D was to import a single STL File and use that as a mask for the synthetic generation to only generation grains within a specified area. Are you trying to use the STL files for their centroids to generate new grain shapes centered around the same centroid as the STL grains? More explanation would help us find a solution or point you towards additional external tools.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/bfd71aa0-cee7-4527-82a5-39c7d2bc203cn%40googlegroups.com.
Dear Elise,
I would suggest a slightly different approach.
Each time you run the synthetic microstructure filters you will generate a brand new microstructure so I would suggest starting off with the highest resolution model (256^3) first. Then down sample that model to 128^3 and 64^3. Then export each of those models to the FEA simulation.
XDMF files are just there to describe to ParaView what is in the .dream3d (HDF5) file. ALL of the data is in the .DREAM3D file. You can read a .dream3d file back into DREAM.3D. The problem is that DREAM.3D itself does not have many filters to really deal with the multiple STL Files. It was not a use case that we hit during the primary development of DREAM.3D. If your student has the original .dream3d file saved from their run of DREAM.3D then you can just import *that* file and run the “Change Resolution” filter on the original voxel structure. Then create a new mesh and reexport the STL files.
If the FEA target is Abaqus there is an “Abaqus Hexahedron Exporter” filter that might work better. The Triangle meshes that DREAM.3D produces can possible have artifacts that are difficult to remove and/or need some post processing time to fix.
--
Michael Jackson | Owner, President
BlueQuartz Software
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/97dcb62d-2196-4edf-aa41-f436b1e60368n%40googlegroups.com.
Dear Elise,
If the student saved the original DREAM3D file from the very first run then you are good to go. Loading the file doesn’t rerun any filters, just loads the data. So you can load the file, then run the “Change Resolution” filter and save as a NEW .dream3d file. Do that for each of the resolutions you want to generate. If the FEA is using the STL files as input then you will need to regenerate the Surface mesh inside of DREAM.3D and then reexport the STL Files.
To be able to actually reuse the 67 STL files I’d really have to take some time to work through if DREAM.3D even has the capability that you are looking for. I don’t think it does but I need to prove that to myself.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/ae74fbb8-7421-4992-902c-4c271777f0een%40googlegroups.com.
Changing the resolution can have an effect on the resulting morphology of each grain depending on if you are sub or super sampling. For instance if you have smaller grains and you change to a higher resolution, i.e, larger value for “Resolution”, then those smaller grains may completely get left out of the resulting microstructure. So exporting the new STL files is required each time the Change Resolution filter is run.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/671bbfd8-f287-4a9f-a6b8-b8a5bc9a7d64n%40googlegroups.com.
Run the StatsGenerator the first time and the last filter should be “Write DREAM3D DataFile”.
Create a NEW pipeline where the *first* filter is the “Read DREAM3D Data File” filter and use the path to the file you saved in the previous pipeline. This will load the same geometry that you created in that very first pipeline each time. Just remember that in subsequent pipelines if you do use the “Write DREAM3D Data File” filter, just use different filenames so you do NOT overwrite the original file.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/f038fb21-41af-4628-9abe-2aef1eceafa0n%40googlegroups.com.

Dear Elise,
It would be interesting to see the layers above and below. Maybe there are grains that are just starting and by down sampling we are picking up those grains. If you really want to be strict about it I would do the crop from the 256^3 down to 256 x 256 x 1, *then* down sample to 128 and 64. This should ensure that avoid these kinds of issues.
--
Michael Jackson | Owner, President
BlueQuartz Software
From: <dream3...@googlegroups.com> on behalf of Elise Baribault <ebarib...@gmail.com>
Date: Tuesday, April 20, 2021 at 1:38 PM
To: dream3d-users <dream3...@googlegroups.com>
Subject: Re: Import STLs to Create a Microstructure
Hi Mike,
Thank you for your response. I was able to generate a 256^3 model and decrease the resolution to 128^3 and 64^3. However, something is happening to the grains that I don't fully understand.
Below is a screenshot of the 256^3 model (left) and the 64^3 model (right). There seems to be some additional grains (circled in red). Is there a way for DREAM.3D to keep all the original featureIDs? Why are these showing up?

To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/b45fe5ec-1c09-4a12-bcd7-5686adaebb01n%40googlegroups.com.