tskippon / GND

Matlab code for calculation of geometrically necessary dislocation densities from EBSD data
GNU General Public License v3.0
27 stars 9 forks source link

Issue on GND codes #2

Open Qhgu opened 3 years ago

Qhgu commented 3 years ago

Hi,

I download these .m files and place them in the folder of MTEX. It goes all well with EBSD data loading and grains reconstruction. But while I try to run the command "[dislocations,systems]=GND_auto(ebsd,4,[0.34],{'BCC'})", it errors with these messages:

BCC structure selected for phase 1 (Titanium (Beta)) Output argument "l" (and maybe others) not assigned during call to "vector3d/symmetrise".

Error in Miller/symmetrise (line 34) [varargout{1:nargout}] = symmetrise@vector3d(m,m.CS,varargin{:});

Error in doBurgersBCC (line 43) [b,c] = symmetrise(b);

Error in GND_auto (line 109) [f{i}, A{i}, lb{i},systems{i}]=doBurgersBCC(ebsd,i,poisson(i));

Error in cracktip (line 87) [dislocations,systems]=GND_auto(ebsd,nthreads,poisson,cubictype);

Since the metallic material is titanium alloy with dual-phase, namely, alpha and beta. The alpha phase is HCP while the beta phase is BCC. I got the following comments in GND_auto.m:

%cubicType = cell array setting either BCC or FCC for any cubic phases, in %order. Non-cubic phases should NOT be specified. For example, if phase 1
%is BCC, phase 2 is HCP, and phase 3 is FCC, then cubicType={'BCC' 'FCC'}

Hence, I write the "{'BCC'}" at the position of cubicType in the command line "[dislocations,systems]=GND_auto(ebsd,4,[0.34],{'BCC'})".

I can not work out this issue after trying days. Could you give me some help? Thank you very much.

Best Regards, Gophison

files.zip

Coolguy-9785 commented 3 years ago

Hi Gophison,

I meet the same error when I calculate GND for the materials composed of HCP and BCC. Have you fixed this problem? Could you give me some help? Thanks.

Best regards, Shuang

Qhgu commented 3 years ago

Hi Gophison,

I meet the same error when I calculate GND for the materials composed of HCP and BCC. Have you fixed this problem? Could you give me some help? Thanks.

Best regards, Shuang

Hi Shuang,

I have no idea in how to work it out up to the present. I suspect there should be some bugs of the codes, however, I am not sure, just doubt. I try to ask the author for some help but without reply.

Regards, Gophison

jorge0894 commented 3 years ago

Hi! I found the same error when I try to use the code, following the instructions of the author. Did you find some solution, or could contact the author? Thank you! Regards, Jorge R.

Qhgu commented 3 years ago

Hi! I found the same error when I try to use the code, following the instructions of the author. Did you find some solution, or could contact the author? Thank you! Regards, Jorge R.

No idea to solve and no answer from the authors.