Commit 8baa5d2b authored by Sherri Hadian's avatar Sherri Hadian
Browse files

paper.md added

parent f30d657a
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1213,11 +1213,6 @@
    "       [origin[2], length*Vec[2]+ origin[2]], str(color)))\n",
    "\n",
    "\n",
    "# def PlotLine(Vec, origin=0, end=1, color='k'):    \n",
    "#     return (ax.plot([-origin*Vec[0], end*Vec[0]], \n",
    "#        [-origin*Vec[1], end*Vec[1]],\n",
    "#        [-origin*Vec[2], end*Vec[2]], str(color)))\n",
    "    \n",
    "# plot the DSC vectors network, if you want the projected vectors on the plane use csl.DSC_on_plane\n",
    "\n",
    "dsc_cell = np.round(dot(R,1/sigma*csl.DSC_vec(basis,sigma, M1)),7)\n",

paper/exGB.png

deleted100644 → 0
−651 KiB
Loading image diff...

paper/paper.bib

0 → 100644
+43 −0
Original line number Diff line number Diff line

@book{Sutton,
	Author = {Sutton, A.P. and Balluffi, R.W.},
	Publisher = {Clarendon Press},
	Title = {Interfaces in Crystalline Materials},
	Year = {1996}}

@book{Bollmann,
author = {Bollmann, W},
year = {1984},
month = {01},
pages = {},
title = {Crystal Lattices, Interfaces, Matrices: An Extension of Crystallography},
booktitle = {SERBIULA (sistema Librum 2.0)}
}

@article{LAMMPS,
	Author = {Plimpton, Steve},
	Journal = {Journal of Computational Physics},
	Number = {1},
	Pages = {1-19},
	Title = {Fast Parallel Algorithms for Short-Range Molecular Dynamics},
	Volume = {117},
	Year = {1995}}

@article{Grimmer,
   author = {Grimmer, H. and Bollmann, W. and Warrington, D. H.},
   title = {Coincidence-site lattices and complete pattern-shift in cubic crystals},
   journal = {Acta Crystallographica Section A},
   volume = {30},
   number = {2},
   pages = {197-207},
   year = {1974}
}	

@misc{Marcin,
  author = {Marcin Wojdyr},
  title = {gosam},
  year = {2013},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/wojdyr/gosam/blob/master/csl.py}},
 }
+68 −1
Original line number Diff line number Diff line
# Here is the paper:
---
title: 'GB\_code: A grain boundary generation code'
tags:
  - Python
  - grain boundary
  - crystallography
  - CSL
 	- atomistic
authors:
  - name: R. Hadian
    orcid: 0000-0002-9616-4602
    affiliation: 1
  - name: B. Grabowski
    orcid: 0000-0000-0000-0000
    affiliation: 1
  - name: J. Neugebauer
    orcid: 0000-0000-0000-0000
    affiliation: 1
affiliations:
 - name: Max-Planck-institut fuer Eisenforschung
   index: 1
date: 19 July 2018 
bibliography: paper.bib
---

# Summary

Grain boundaries (GBs) are crystalline borders between single crystals in materials 
microstructure. They play an important role in mechanical, chemical or electronic response 
of materials and are therefore an essential focus of materials science and physics.


To simulate grain boundary properties using atomistic codes such as ``LAMMPS``[@LAMMPS], 
the atomic structure of the GBs need to be generated first. These geometrical entities have a 
large parameter space that has been well formulated within a coincident site lattice (CSL) 
mathematical framework. ``GB\_code`` uses the CSL construction to generate GBs (currently for 
cubic materials) systematically and provides input atomic structures for atomistic calculations. 
In addition to this final goal, the ``csl\_generator.py`` script and the attached Jupyter notebooks
have extra functionality to show how the CSL properties can be used to locate, classify and categorize 
different GBs and to extract detailed information about them; which causes it to be a good interactive 
toolbox to learn about grain boundaries and versatile for running high-throughput calculations. 


``GB\_code`` is mainly designed to be run in Linux terminal as it is documented in detail in the README 
file of the repository but it can also be accessed via the attached Jupyter notebooks. The code consists 
of two main scripts, ``csl\_generator.py`` and ``gb\_generator.py``, that should be used in this order to
produce the final GB structures. The attached Jupyter notebooks, ``Usage\_of\_GB\_code.ipynb`` and 
``Dichromatic\_pattern\_CSL\_.ipynb``, can access the two scripts as modules, the former addresses the general 
usage of the code with some extra tips and functions to locate GBs of interest, the latter depicts how CSL 
properties such as the overlapping patterns and displacement shift complete (DSC) vectors can be extracted 
and visualized. Some examples of the usage of the ``GB\_code`` in our previous publications have been shown 
as well.


``GB\_code``uses the analytical and mathematical formulations of the following works 
[@Sutton:1996, @Bollmann:1984, @Grimmer]. Some functionality from this code on CSL [@Marcin] has been used in a 
modified form in our code. To our knowledge, in comparison to other GB generation codes in different 
scientific groups``GB\_code`` is relatively faster because of its extensive usage of python Numpy library
and is more comprehensive. The code has been designed to be simple to use and instructive with a special 
attention to GB plane orientation. 


# Acknowledgements

R. Hadian would like to thank professor Mike Finnis for fruitful discussions.


# References