-
-
Notifications
You must be signed in to change notification settings - Fork 4
Tutorial: Voronoi tessellation based grain structure
All parameters to be changed in VTGS_V1.m
. Necessary files are
-
VTGS_V1.m
: Parameters to be changed in this are next to each image in the figures below. Choose eithertype = 'random';
,type = 'rect_hex';
ORtype = 'hex';
. -
make_hex_grain_structure_v2.m
. NO change needed. -
VoronoiLimit.m
. NO change needed.
- STEP 1:
open VTGS_V1.m
- STEP 2: Set
type = 'random';
undercase random
- STEP 3: Set the following:
startx = value;
starty = value;
lengthx = value;
widthy = value;
Nopoints_i = value;
Nopoints_j = value;
xscale = value;
yscale = value;
origshiftx = value;
origshifty = value;
to values as indicated HERE
- STEP 1:
open VTGS_V1.m
- STEP 2: Set `type = 'rect;'
- STEP 3: Set the following:
startx = value;
starty = value;
lengthx = value;
widthy = value;
incr_i = value;
incr_j = value;
to values as indicated HERE
- STEP 1:
open VTGS_V1.m
- STEP 2: Set `type = 'hex;'
- STEP 3: Set the following:
x_lim = value;
y_lim = value;
h_dist = value;
v_dist_factor = value;
to values as indicated HERE
- STEP 1:
open VTGS_V1.m
- STEP 2: Set `type = 'rect_hex;'
- STEP 3: Set the following:
startx = value;
starty = value;
lengthx = value;
lengthy = value;
incr_i = value;
incr_i_fac = value;
incr_j = value;
incr_j_fac = value;
bs_ext = [value value;
value value;
value value;
value value;
value value];
to values as indicated HERE. NOTE: bs_ext
may be used as provided above or as following, in which case, a rectangular domain will be used!
bs_ext = [startx starty;
startx+lengthx starty;
startx+lengthx starty+lengthy;
startx starty+lengthy;
startx starty];
- STEP 1:
open VTGS_V1.m
- STEP 2: Set `type = 'rand_exponent;'
- STEP 3: Set the following:
startx = value;
starty = value;
lengthx = value;
lengthy = value;
Nopoints_i = value;
Nopoints_j = value;
xscale = value;
yscale = value;
origshiftx = value;
origshifty = value;
constantx = value;
exponentx = value;
constanty = value;
exponenty = value;
to values as indicated HERE.
By setting the below parameter, pixellated grain structure can be generated. An example can be seen [HERE] (link may not show properly. Pplease go the appropriate section in the webpage opened by the link)(https://github.com/SunilAnandatheertha/PXO/wiki/Voronoi-tessellation#pixellated-grain-structure-equivalent-of-the-voronoi-tessellated-grain-structure) CODE TO BE UPDATED AND SUBSEQUENTLY PARAMETERS TO BE PROVIDED HETRE
- 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