Hi,
Schmid factor calculations in mtex is well developed but my question is related to calculation of plane normal to define load direction.
If i am not wrong, r=vector3d(1,0,1) defines the load direction to [ 1 0 1 ]. For instance, in the cubic system this is ok, as [ 1 0 1 ] is perpendicular to (1 0 1). This is however not true for hexagonal system.
I want to define a plane and want mtex to automatically calculate the plane normal which should be defined as the load direction.
The r in the following code should work fine as a direction, but in order to simulate the transmission X-ray diffraction, the load direction is along the (hkil) plane normal. For example, the (10-11) reflection during in-situ transmission XRD has actually (10-11) plane normal along the load direction. If I define r = vector3d(1,0,1) this takes the [1 0 -1 1] direction which is not normal to (10-11) plane. Please help me in calculating the plane normal.
CS = crystalSymmetry('6/mmm', [2.95 2.95 4.686], 'X||a*', 'Y||b', 'Z||c*','mineral', 'Titanium');
%CS = crystalSymmetry('cubic',[3.523,3.523,3.523],'mineral','Nickel')
n = Miller(h,k,l,CS,'hkl')
d = Miller(u,v,w,CS,'uvw')
r=zvector;
sS = slipSystem(d,n)
sSAll=sS.symmetrise%('antipodal')
% define the load directions
% The r below should work fine as a direction, but in order
% to simulate the transmission X-ray diffraction, the load direction is
% along the hkl plane normals
r = [vector3d(1,0,0) vector3d(0,0,1) vector3d(1,0,1) vector3d(1,0,2) vector3d(1,1,0)] % The question belongs to this line
tau = sSAll.SchmidFactor(r)
Thanks in advance.
Raju