-
-
Notifications
You must be signed in to change notification settings - Fork 4
ADV.TUT.01 A
Moving forward from HERE, set the following if the simulation trial is the 1st one.
GrainSizes_mtex_TRIALS = cell(1, TOTAL_TRIALS);
numNeighbors_mtex_TRIALS = cell(1, TOTAL_TRIALS);
equivalentRadius_mtex_TRIALS = cell(1, TOTAL_TRIALS);
ShapeFactor_mtex_TRIALS = cell(1, TOTAL_TRIALS);
AspectRatio_mtex_TRIALS = cell(1, TOTAL_TRIALS);
To use MTEX and anlysize the grain struicture, use the following:
[GrainSizes_mtex_TRIALS, numNeighbors_mtex_TRIALS,...
equivalentRadius_mtex_TRIALS,~,...
ShapeFactor_mtex_TRIALS, AspectRatio_mtex_TRIALS] = ANALYZE_GRAINSTRUCTURE_MTEX_V1(1,...
1, GrainSizes_mtex_TRIALS, numNeighbors_mtex_TRIALS, equivalentRadius_mtex_TRIALS,...
ShapeFactor_mtex_TRIALS, AspectRatio_mtex_TRIALS, GS_Plot_Options);
The below visuzlizations have been made for demonstration. All grain structure operations and visualixzations made available in PXO could be used (however, not all operations have been tested. Also, this process is not error free.)
Do remember to use the following, before the above function call is made.
GS_Plot_Options_Choices = {'DontPLotAnything',...
'Grains,GB,Phases',...
'Grains,GB,Phases,TriPntJunc',...
'Orientations',...
'Orientations,GB',...
'Orientations,GB,Phases',...
'OrientationsIPFColorKeyed',...
'OrientationsIPFColorKeyed,GB',...
'OrientationsIPFColorKeyed,GB,Phases'};
GS_Plot_Options = GS_Plot_Options_Choices{3};
GrainSizes_mtex_TRIALS
is a 1 x 1 cell array as below.
>> GrainSizes_mtex_TRIALS
GrainSizes_mtex_TRIALS =
1×1 cell array
{10×1 cell}
GrainSizes_mtex_TRIALS{1} contains the list of grain sizes for all available temporal slices, which is further a Minst x 1
cell array. Each of the Minst
number of cell arrays is a cell array. See below.
>> GrainSizes_mtex_TRIALS{1}
ans =
10×1 cell array
{28×1 double}
{26×1 double}
{26×1 double}
{26×1 double}
{26×1 double}
{26×1 double}
{26×1 double}
{25×1 double}
{26×1 double}
{26×1 double}
GrainSizes_mtex_TRIALS{1}{1} shows the pixellated grain areas in the grain structure belonging to the 1st temporal instance of the simulation. It has 26 grains. Once this informaton is available, the user can then make use of the histogram
commands in MATLAB to calcualte the statistical distribution.
>> GrainSizes_mtex_TRIALS{1}{1}
ans =
5
11
33
56
196
11
148
171
2
4
131
170
59
13
263
175
3
203
52
22
19
13
14
299
11
19
271
5
Move to further analysis.
- Codes and documentations by Sunil Anandatheertha, PhD
General info
- Capabilities
- Image gallery
- Cited in
- Requirements
- Installation instructions
- Using PXO
- Licensing
- Sponsorship appeal
- Contributor: SA
- Acknowledgements
Space partitioning users
Grain structure users
- Start here
- Image gallery
- Video gallery
- Limitations
- Performance
- Validation
- Tutorials & test cases
- Voronoi Tessellation
- Best practices
- GUI
- PXO-mtex
- PXO-mtex-mtex2gmsh
Theory reference
- Ising model
- Pott's model
- Boundary conditions
- Kernel functions
- Material defs. and params.
- Space partitioning
REFERENCES
Listings