Error! in Parent Austenite Grains Reconstruction from Martensite using MTEX #586
-
Hello All, I'm facing a problem while reconstructing the Parent Grains Reconstruction from Martensite through MTEX. The errors are as per the attached figure below. Hence, may I know how to solve the above error? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hello, the above error would indicate you are attempting to do something with a dataset that contains information for two phases but is only allowed for one phase. The below error is due to the fact that you have ebsd.grainId set as output but ebsd('Iron (Alpha)','indexed') set as input. ebsd.grainId contains both indexed and unindexed points, while the latter contains only indexed points. As a first remedy for the script below, I would try changing the calcGrains commands to the following form:
if you wish to have single-phase grain map, you need to have:
It might help if you disable your other phases from the map (you may restore them later) before constructing grains. Example for austenite:
|
Beta Was this translation helpful? Give feedback.
-
Dear Dr. Tuomo, In the continuation of the Parent Grains Construction from Martensite, now I'm having another error and It is coming especially in Computing Child Variants. The script line is as per follows- and the error is Index exceeds array bounds Error in grain2d/subsref (line 44) How to address the above error? Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You may want to check the command grains = merge(grains,'inclusions') which merges all inclusions into the host grains. Ralf. |
Beta Was this translation helpful? Give feedback.
-
Dear Dr. Tuomo and Prof. Ralf, I am again getting an error as mentioned earlier for the below line. I only changed the EBSD scan data and I follow the follows lines to make it single phase- Actually, the microstructure contains 99.6% Iron (Alpha) phase. Hence, I'm only considering Iron(Alpha) phase. If possible, kindly address the above error. I'm not able solve it. Thanks in advance Amit |
Beta Was this translation helpful? Give feedback.
Hello, the above error would indicate you are attempting to do something with a dataset that contains information for two phases but is only allowed for one phase.
The below error is due to the fact that you have ebsd.grainId set as output but ebsd('Iron (Alpha)','indexed') set as input. ebsd.grainId contains both indexed and unindexed points, while the latter contains only indexed points.
As a first remedy for the script below, I would try changing the calcGrains commands to the following form:
if you wish to have single-phase grain map, you need to have: