Latest version: voronoi7 Our original paper is "Lau_NISTJRes_2009.pdf". Something things have changes since the paper publication. Everything you find here is up-to-date. ***********TO RUN************ To run on Linux: 1. Copy the voronoi[X] ([X]=7) into the folder where you want to execute it. 2. from a terminal, go to the folder location in [1] and run (i.e., "./voronoi[X] -options", see below for options) To run in (64 bit) Windows: 1. copy the file "voronoi-20101101-osx-x86_64" to a local folder 2. You may have to change the file extension to .exe All other OS, and questions pertaining getting the voronoi generator to run, please contact Mike Donahue (michael.donahue@nist.gov) ***********SOURCE CODE (Not recommended for the causual user) ************ To compile from source code 1. Copy voronoi[X].c ([X]=7) into the folder where you want to execute it. 2. Command line to compile (Linux, MacOS) is: gcc -O voronoi7.c -lm -l voronoi7 For Windows (Visual C++): cl /Ox voronoi7.c ***********OPTIONS************ *NOTE* 1. All numbers must be integers! 2. All of these entries are optional -x "Nx" -y "Ny" Here "Nx" and "Ny" are the physical x and y dimension of your simulation (e.g., 100 nm x 100 nm), NOT pixels. I don't remember the default values. -g "ngrains" Here "ngrains" is the number of grains you want to populate your simulation. I don't remember the default value. -s "seed" Since voronoi diagram are seeded by randomly casting "ngrains" within your defined area, specifying a "seed" will ensure that you can generate the same diagram again, if you used the same seed in the future. The default value is randomly generated. -gbdrywidth "width" Enter "width" if you want to specify a grain boundary width. Otherwise it default to 0 (i.e., grains touch each other) -o "filename" Here "filename" is the output filename. The default output filename is rect.ppm ***********HINTS************ 1. Run OOMMF on parts greater than 1000 nm will take a VERY LONG TIME! Start with sub-500 nm simulations if at all possible. 2. Here is an example on how to generate a 500 nm x 500 nm area with 200 grains, using a random seed of 12: ./voronoi[X] -x 500 -y 500 -g 200 -s 12 ***********HELP************ To get help: ./voronoi[X] --help ./voronoi[X] --usage email me: june.lau@nist.gov ***********FINALLY************ Please keep us strong by citing us (that's how we justify our exisitence!): OOMMF: @misc{ Donahue_Misc_1999, Author = "Donahue, M. J. and Porter, D. G.", Title = {in Interagency Report NISTIR 6376 (National Institute of Standards and Technology, Gaithersburg, MD).}, Year = "1999" } Polycrystalline extension: @article{ Lau_NISTJRes_2009, Author = { J. W. Lau and R. D. McMichael and M. J. Donahue}, Title = {Implementation of Two-Dimensional Polycrystalline Grains in Object Oriented Micromagnetic Framework}, Journal = {NIST J. Res.}, Year = {2009}, Volume = {114}, Number = {1}, Pages = {57-67}, doi = {10.6028/jres.114.005} }