importing the initial microstructure

dendritic solidification, eutectics, peritectics,....
Mehnoush
Posts: 28
Joined: Mon Aug 01, 2016 10:31 am
anti_bot: 333

importing the initial microstructure

Post by Mehnoush » Wed Jul 18, 2018 5:48 pm

Hi Bernd,

I use MICRESS 6.3 and try to simulate transformation of a domain with ferrit and cementite grains to a domain mainly composed of austenite grains. i have succesfully done this simulation for a artificial domain (manually drawn). In the next step i want to us REM images from the cross-section of the initial state to run the simulation. i coud import the geometery which i also attached here below but ican not assign the properties of the phases to the designated area (cementite and ferrite).
what i have done:
1)use REM images
2)fiter the REM images to determine ferrite from perrite
3)cut them and skale them using Gimb and imprting as *tiff
4)using Imagej sofware to convert them from *tiff to text data
can you please reffer me to an example were a real rem image is used?
Attachments
Dok1.docx
the impoted geometry
(337.47 KiB) Downloaded 270 times
Result_BW_geoF.mcr
the impoted geometry
(93 Bytes) Downloaded 289 times

Bernd
Posts: 1505
Joined: Mon Jun 23, 2008 9:29 pm

Re: importing the initial microstructure

Post by Bernd » Sat Jul 21, 2018 3:31 am

Dear Mehnoush,

Looking at your imported microstructure in the attached Word document I have the impression that your import worked fine: You have assigned different regions of the structure with different phase numbers. What do you mean by "ican not assign the properties of the phases to the designated area"? When you have assigned the phase number, all the phase data specified in the input file are automatically assigned. Is your problem perhaps how to distinguish different grains?

PS: You should not use phase number 0 for ferrite because phase 0 has a specific meaning of an isotropic background phase (liquid). You won't be able to define different grains with different orientations.

Bernd

Mehnoush
Posts: 28
Joined: Mon Aug 01, 2016 10:31 am
anti_bot: 333

Re: importing the initial microstructure

Post by Mehnoush » Thu Aug 02, 2018 6:02 pm

Hi Bernd,
thanks alot for your answer.
i didn't know how i can define different phases. in better words how to tell wich grain is for example ferrit and wich one is perrite :).
so i made the second *txt file to define the grain properties (for example: phase number, direction, etc ). but it does not work properly my problem is concentartion coupled and is transformation of ferrit and austenite to perrit. i attach the file that shows the phases after defining the grain propeties (second *txt file). i don't know what is wrong in the second *txt file that changes the geometery
thanks alot.
Mehnoush
Attachments
Result_BW_phas_mcr.png
Result_BW_phas_mcr.png (61.21 KiB) Viewed 5093 times

Bernd
Posts: 1505
Joined: Mon Jun 23, 2008 9:29 pm

Re: importing the initial microstructure

Post by Bernd » Thu Aug 02, 2018 10:17 pm

Dear Mehnoush,

Can you please show us your second text file, and also the input file (at least the part where you define what you read from file). Otherwise we cannot know what you are doing...

Bernd

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: importing the initial microstructure

Post by ralph » Fri Aug 03, 2018 10:00 am

Hi Mehnoush,

see the grain growth example 'T020_Grain_Growth_InitialFromFile':

T020_Grain_Growth_Microstructure.txt
# Treatment of data?
# (n: none, 1: 1D, f: flip (bottom<->top), t: transpose,
# or p: 'phase to grains transformation')
fp
# CellsX for initial microstructure?
500
# CellsZ for initial microstructure?
400
# Number of grains at the beginning?
# (Set to less than 1 for the number of grain to be read from the input data,
# with optionally a minimal size, in cells)
-1
# value 765: grains 1 ... 53
# Number of grains found in input data: 53
# Read grain properties from a file?
# Options: input from_file identical blocks


If you use the phase to grains transformation, you get some usefull information about the found phases/values in your grain input file:
# value 765: grains 1 ... 53
# Number of grains found in input data: 53

You can use this information to assign properties blockwise, i.e. here per phase:
block
<starting grain id for block 1>
phase
orientation
etc.
<starting grain id for block 2>
...

Hope that helps a little.

Best,
Ralph

Mehnoush
Posts: 28
Joined: Mon Aug 01, 2016 10:31 am
anti_bot: 333

Re: importing the initial microstructure

Post by Mehnoush » Mon Aug 06, 2018 3:12 pm

Bernd and Ralph Thanks alot i will try it and inform you if i had worked oe not :)

Mehnoush
Posts: 28
Joined: Mon Aug 01, 2016 10:31 am
anti_bot: 333

Re: importing the initial microstructure

Post by Mehnoush » Fri Aug 10, 2018 3:19 pm

hi ,
i could solve the problem with help from a colleague of me. the point was that i should gotten rid of the noises in the picture. the noises are the small pixells that may have ligh cream or grau color in for example the with area (see the pic). every small pixel with the grow color is considered as a grain in the MICRESS. and the other mistake of me was that the cementite grains were black at supposedly MICRESS considered it as grain boundary.
Attachments
evil_pix.png
evil_pix.png (24.76 KiB) Viewed 5061 times

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: importing the initial microstructure

Post by ralph » Mon Aug 13, 2018 9:31 am

That's good news.
You are right, every distinct value will be read as a new phase (phase to grains), resp. grain number. There is no segmentation according colors done.
If I remember correct, the minimal value will always be seen as interface, e.g. in the grain growth example which reads from an initial microstructure file (phase to grains) the interface cells have the value -1.

Best,
Ralph

Mehnoush
Posts: 28
Joined: Mon Aug 01, 2016 10:31 am
anti_bot: 333

Re: importing the initial microstructure

Post by Mehnoush » Wed Aug 15, 2018 1:46 pm

hi
concerning the same problem. as you can see in the attached file. there are lots of small grains in the perrite lammela. is there any option that i can merge this small grains? or can you give me a advice to solve this problem?

BR,
Mehnoush
Attachments
Result_phas_mcr.png
Result_phas_mcr.png (53.11 KiB) Viewed 5048 times

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: importing the initial microstructure

Post by ralph » Thu Aug 16, 2018 4:29 pm

As far as I know, there is no way to merge such grains afterwards.
There might be some tricks while preparing the input, i.e. to draw a line to connect these grains. However, that's only possible if they have same input values at all and belong to the same phase.

Best,
Ralph

Post Reply