-
-
Notifications
You must be signed in to change notification settings - Fork 4
BSC.01 SLSP.01
Sunil Anandatheertha edited this page Aug 15, 2021
·
5 revisions
Particle limited grain growth
- Use
XTal_Start_level_n().m
to set and check folders. It also sets up some basic figure options.
- Set the following properties in
Build___INPUT_PARAMS___Struct().m
% Set the following to define the domain size. i and j correspond to x and y, i.e. horz. and vert. axes respectively.
Lattice.size.i = 50;
Lattice.size.j = 50;
% Set the total number of states in the simulation domain. This is nothing but the total number of unique orientations in the simulation domain at the first Monte-Carlo time step.
Lattice.q = 10;
% Define the slsp parameters
Lattice.zener.slsp.want_slsp = 1;
Lattice.zener.slsp.Vol_Frac = 5.000; % Volume fraction (IN PERCENTAGE)
% Input the total number of Monte-Carlo steps
MC_Param.Num_MC_Steps = 10000;
% Specift which algorithm to use
MC_Param.MCP__ALGORITHM = 1;
% Specify "n in every nth Monte-Carlo steps" to write data from the simulation to disk
MC_Loop.DataOperation.txtwriteint = 1000;
- Use
Build___INPUT_PARAMS___Struct()
to provide input parameters
- USe
Initialize___MCSolver_DATA().m
to initialize the data
- Use
plazp2d().m
to visualize particle locations, as in below image.
- Use
Minimize_Del_H_2D().m
to simulate grain growth.
- Use
[CFN] = plotgrainstructure2d(colorplot,grainboundarylineplot,pitf, CFN)
to visualize grain structure. Setcolorplot = 0
if colour plots of grains are not needed,grainboundarylineplot = 1
to plot the grain boundaries,pitf = 0
to avoid printing visualization to .jpeg file, andCFN = 998
for Current Figure Number. PLease retain the last option until further update. Grain structure may not be the same as seen below (not ifrng(1)
is set initially). Appropriate changes to values for variablescolorplot
andgrainboundarylineplot
are provided in above figures.
This type of data visualization gives limited information, but is very fast compared to others avaiable in PXO and also that which can be made using 3rd party programs, as of 01-07-2021. NEXT STEPS HERE
- 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