Thank you for making this toolbox. It is very nice not to have to rely on commercial software all the time and to apply the computational powers of MATLAB to crystallographic data.
My problem concerns the merging of ferritic bcc grains that originate from a
single parent austenitic fcc grain. That is, the bcc orientations of the
neighboring grains can be duplicated with a particular rotation performed on different
crystallographic solutions of the original parent austenite orientation.
One way to find the common parent austenite orientation is to perform the inverse of the fcc to bcc rotation on all crystallographically equivalent solutions of two separate bcc orientations. The two sets of resulting orientations are then compared with one another; if there is a matching orientation in the sets (the misorientation angle between them being suitably low), this is the parent austenite orientation for both bcc orientations.
I have attached some experimental data and a Matlab script that hopefully clarify the
problem. Figure 1 shows a martensitic packet, the data points of which all
satisfy the condition. Figure 2 shows the 001 pole figures for all bcc
orientations, as well as the discovered parent austenite orientation. Figure 3
shows all recalculated martensite variants on top of experimental data. There
is at least some kind of match.
I
would like to be able to identify all the bcc grains that satisfy the common
parent austenite orientation condition and transform them to a merged fcc grain
with the parent orientation.
This is a big problem and by any means, I don't expect a complete solution.
However, any advice on how to proceed would be greatly
appreciated. I am using MTEX 4.0.9.
BR,
Tuomo
gB = grains.boundary('ferrit','ferrit')
gB.misorientation
fcc2bcc = orientation('Euler',4.8*degree,46.1*degree,4.8*degree,cs_fcc,cs_bcc);
fcc_trans = fcc2bcc * cs_fcc.properGroup * inv(fcc2bcc)
omega = min(angle_outer(gB.misorientation,fcc_trans),[],2);
plot(gB,omega./degree)
colorbar
grains_austenite = merge(grains,gB(omega < 2*degree))