BlueQuartzSoftware / DREAM3D

Data Analysis program and framework for materials science data analytics, based on the managing framework SIMPL framework.
http://dream3d.bluequartz.net
Other
161 stars 76 forks source link

Issue in making same microstructructure with different numer of elements. #1017

Open Aayush-T opened 1 year ago

Aayush-T commented 1 year ago

I want to do a mesh convergence study for elongated grains. for that I have made the following micro-structure using the pipeline given here (added .txt in the json file for copying it here) type1_new.json.txt ascii.txt

init_micro Now, using the data from the "Export ASCII Data" filter, I tried to make another micro-structure using the json file type3.json by putting the feature file in Pack Primary Phases>Already Have Features, but the micro-structure that is coming is incorrect. Please help with the situation. I did make the feature file as explained in the help module of "Pack Primary Phases"

type3.json.txt final_micro

For more clarity: I want this kind of case, but for my given micro-structure. explaination

StopkaKris commented 9 months ago

Hi, I think you can generate the desired microstructure for your mesh convergence study in the following steps:

1) Generate a refined microstructure as you have done in your first image. Write the files necessary for your simulations and be sure to also write a .dream3d file for this microstructure. 2) Make a new pipeline where you read in the refined microstructure .dream3d file and use the "Change Resolution" filter to "coarsen" the microstructure. For example, if your original microstructure had a resolution (i.e., voxel size) of 1 and you changed this to 2 using this filter, this would be the same as moving from Case A2 to Case A1 in the image you showed below.

The problem with using your own features in the "Pack Primary Phase" filter is that you need to supply not just the grain center of mass but other metrics of the grain shape, and this will not generate the exact microstructure, since the grains are tessellated from scratch.

I hope that helps!

Best regards, Kris

Krzysztof Stopka