Skip to content

Def ref

Sunil Anandatheertha edited this page Jan 23, 2021 · 3 revisions

LEVEL 0.1 XTal_Start_level_n()

Gets the current figure number and sets up a few simulation work directories


LEVEL 0.2. Build___INPUT_PARAMS___Struct()

About: Build the input parameter structure from user input data for the variables:

  • Lattice
  • MC_Param
  • MC_Loop
  • Viz_options
  • CMDL_display
  • File_Fold_Operations

LEVEL 0.3. WRITE___INPUT_PARAMS___Struct()

% Write the input parameters to data file

  • Lattice
  • MC_Param
  • MC_Loop
  • Viz_options

LEVEL 0.4. Initialize___MCSolver_DATA()

% Initialize monte-carlo solver

  1. Construct lattice data
  • Co-ordinates of the lattice sites
  • State/orientation matrix
  • Lattice sites belonging to second phase
  1. Write constructed lattice data to data file

LEVEL 0.5. Minimize_Del_H_2D()

Call solver to minimize lattice energy


LEVEL 0.6. [CFN] = plotgrainstructure2d(....);

Visualize the grain structure Options include plotting for:

  • Grain boundaries
  • Grain region
  • Second phase regions

LEVEL 0.7. [....] = Characterize_Grain_Structure_2D(....);

Post-processing of the grain structure

  • Grain identification using advancing front technique
  • Calculation of grain structure statistics: Grain area, number of grains
  • Calculate grain length

LEVEL 0.8. plot__Grain_Structure_in_pixels(....)

Make a pixellated display of grains


LEVEL 0.9. plot__Grain_Structure_in_patches(....)

Make a patch from the grain boundaries and plot grain structures as patches grains


LEVEL 0.10. plazp2d()

Plot second phase particles


LEVEL 0.11. [....] = plotdelham(0);

Plot temporal evolution of the change in hamiltonian


LEVEL 0.12. plot__grain_centroids(....)

Plot the centroids of each grain


LEVEL 0.13. plot__grain_area___grain_length(....)

Graph the grain areas for grain lengths


LEVEL 0.14. postprocessPROPERTIES2d();

Calculate average grain size from the intercept method and overaly plot on grain structure Find the number of single lattice site particles


LEVEL 0.15. grainsize_interceptmethod2d;

A seperate function to calculate intercept grain size


LEVEL 0.16. [....] = Plot___AGS_PXL__vs__No_Grains(....);

Plot with number of grains time:

  1. Minimum grain size
  2. Maximum grain size
  3. Average grain size

LEVEL 0.17. Extract_Domain_Subset(....)

Extract a sub-set of the grain structure


LEVEL 0.18. [....] = PX_Data(....);

Construct datasets of important variables


LEVEL 0.19. [....] = BookKeeping_FFNames(....);


LEVEL 0.20. Build_PHASE_Struct();

Build a PHASE matlab structure


LEVEL 0.21. Build_GS_Struct();

Build GS matlab structure


% LINK TEXTURE DATA

LEVEL 0.22. [....] = Map__TEX__GRST(....);

Calculate model texture and extract orientations to be mapped


LEVEL 0.23. [....] = Calc_Num_Grains_FOR_Phases(....);

Calculate the number of grains belonging to each phase


LEVEL 0.24. [....] = Associate_EA_all_sites(....);

Map texture information to the constructed grain structure


LEVEL 0.25. Build__CTF(....)

Construct the CTF file from the grain structure and texture data Write the file


LEVEL 1

Clone this wiki locally