Published February 11, 2020 | Version v2.0.0
Software Open

Kanapy: Synthetic polycrystalline microstructure generator with geometry and texture

  • 1. Interdisciplinary Centre for Advanced Materials Simulation, Ruhr-Universität Bochum

Description

Kanapy is a python package for generating complex synthetic polycrystalline microstructures. The general implementation is done in Python with the performance critical part for the geometry module implemented in C++. The Python bindings for the code written in C++ are generated using the lightweight header-only library pybind11. The C++ part of the implementation utilizes the Eigen library for efficient linear algebra calculations. The texture module of Kanapy is implemented as MATLAB functions. It also utilizes several algorithms implemented in MTEX for texture analysis.

Notes

In Kanapy-v1, an efficient modeling strategy for generating the geometry of the synthetic microstructures using statistical data was presented. Some of the novel features provided include: modeling complex microstructures consisting of irregular grain shapes, particle (grain) packing through collision detection and response system, and collision handling through a two-layer collision detection scheme. Synthetic microstructures are a key aspect of the micromechanical modeling approach for the prediction of mechanical properties. Apart from microstructure geometry, a vital component of polycrystalline microstructures that has substantial influence on the material behavior is texture. Therefore, a synthetic microstructure can be considered incomplete without the information of texture. This is addressed in the current version of Kanapy by including new efficient texture reduction and orientation assignment algorithms to the already existing package.

Files

kanapy-master.zip

Files (46.9 MB)

Name Size Download all
md5:5d5e703340860107889b5f07ccea447e
46.9 MB Preview Download

Additional details

Related works

Cites
Journal article: 10.21105/joss.01732 (DOI)
Journal article: 10.1002/adem.201900275 (DOI)
Journal article: 10.1107/S1600576719017138 (DOI)

References

  • Prasad et al., (2019). Kanapy: A Python package for generating complex synthetic polycrystalline microstructures. Journal of Open Source Software, 4(43), 1732, https://doi.org/10.21105/joss.01732
  • Biswas, A., Vajragupta, N., Hielscher, R. & Hartmaier, A. (2020). J. Appl. Cryst. 53, 178-187.
  • Biswas, Abhishek, et al. "Influence of Microstructural Features on the Strain Hardening Behavior of Additively Manufactured Metallic Components." Advanced Engineering Materials 21.7 (2019): 1900275.