원시데이터 수집 시스템
선정목록으로

Kanapy: A Python package for generating complex synthetic polycrystalline microstructures

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(22) POM(폴리아세탈)

기본 정보

저자
  1. Mahesh R. G. Prasad — Interdisciplinary Centre for Advanced Materials Simulation, Ruhr-Universität Bochum, Universitätsstr. 150, 44801 Bochum, Germany.
  2. Napat Vajragupta — Interdisciplinary Centre for Advanced Materials Simulation, Ruhr-Universität Bochum, Universitätsstr. 150, 44801 Bochum, Germany.
  3. Alexander Hartmaier — Interdisciplinary Centre for Advanced Materials Simulation, Ruhr-Universität Bochum, Universitätsstr. 150, 44801 Bochum, Germany.
DOI
10.21105/joss.01732
저널
The Journal of Open Source Software
발행년도
2019
발행기관
Open Journals
피인용수
19
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.21105/joss.01732
토픽
Composite Material Mechanics
OpenAlex ID
W2984282305

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (22) POM(폴리아세탈)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
synthetic polycrystalline microstructures, micromechanical modeling, grain morphologies, crystallographic orientations, numerical simulations
판단 근거
이 논문은 재료의 미세구조(microstructure)를 생성하고 시뮬레이션하는 소프트웨어 패키지에 관한 것으로, 고분자 컴파운드나 수지 내의 입자/결정 구조 분석 및 물성 예측 모델링에 응용될 수 있습니다.
R&D 활용 포인트
엔지니어링 플라스틱(컴파운드)이나 에폭시 수지 내의 충전제(filler) 및 결정 구조를 수치적으로 모델링하여, 제조 공정에 따른 기계적 물성 변화를 예측하는 데 활용 가능합니다.
평가 입력
본문 7,047자

초록

To study process-structure-property relationships it is essential to understand the contribution of microstructure to material behavior.Micromechanical modeling allows us to understand the influence of microstructural features on the macroscopic mechanical behavior through numerical simulations.At the center of this approach lies the modeling of synthetic microstructures that mimick the important aspects such as grain morphologies and crystallographic orientations.

본문 7,047자

본문 펼치기
# Kanapy: A Python package for generating complex synthetic polycrystalline microstructures Mahesh R.G. Prasad <sup>1</sup> , Napat Vajragupta <sup>1</sup> , and Alexander Hartmaier <sup>1</sup> 1 Interdisciplinary Centre for Advanced Materials Simulation, Ruhr-Universität Bochum, Universitätsstr. 150, 44801 Bochum, Germany. DOI: [10.21105/joss.01732](https://doi.org/10.21105/joss.01732) Software - [Review](https://github.com/openjournals/joss-reviews/issues/1732) - [Repository](https://github.com/mrgprasad/kanapy) - [Archive](https://doi.org/10.5281/zenodo.3529591) Submitted: 09 August 2019 Published: 08 November 2019 License Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License [(CC-BY).](http://creativecommons.org/licenses/by/4.0/) ## Summary To study process-structure-property relationships it is essential to understand the contribution of microstructure to material behavior. Micromechanical modeling allows us to understand the influence of microstructural features on the macroscopic mechanical behavior through numerical simulations. At the center of this approach lies the modeling of synthetic microstructures that mimick the important aspects such as grain morphologies and crystallographic orientations. Metallic material processing (including additive manufacturing) often result in complex microstructures with equiaxed/elongated grains and strong crystallographic textures. The current state-of-the-art of synthetic microstructure generation includes probabilistic methods like spatial tessellation (Quey, Dawson, & Barbe, 2011), which provides sufficiently accurate representations for simple grain morphologies and size distributions, but cannot capture complex morphologies, i.e., irregularly shaped grains. Another widely used approach is the Random Sequential Addition (RSA) (Groeber & Jackson, 2014; Vajragupta et al., 2014), which overcomes the shortcomings of tessellation based methods with its ability to model convex and non-convex grain morphologies, but its computational expense is high as space filling by random addition of particles is not efficient for higher volume fractions (Zhang & Torquato, 2013). `Kanapy` is a Python package for generating complex synthetic polycrystalline microstructures based on the collision driven particle dynamics approach. `Kanapy` is designed to model irregular shaped grains and developed to provide an alternative to the existing particle packing approach, the RSA technique. This addresses the limitations of the existing microstructure generation techniques described earlier. In this regard, `Kanapy` employs a two-layer collision detection scheme, wherein the outer layer utilizes an octree spatial partitioning data structure to estimate which particles should be checked for collision. The inner layer consists of a bounding spheres hierarchy, which carries out the collision detection only if the bounding spheres between two particles overlap. The computational complexity involved in using the octree data structure is of the order _O_ ( _nlog_ ( _n_ )). The actual collision detection between two static ellipsoidal particles is determined by employing the algebraic separation condition developed by Wang et al. (2001). Using the built-in voxelization routine, complex microstructures like those found in additively manufactured components can be easily created. `Kanapy` is a modular package and it gives the user the flexibility to create individual workflows for generating specific microstructures. The modules can be executed independently of one another as Kanapy provides easy data storage and handling. It is based on existing implementations of convex hull from the Scipy package (Jones, Oliphant, Peterson, & others, n.d.) together with various Numpy array operations (Oliphant, 2006). A pure Python octree data structure is implemented for efficient collision handling. The performance critical part 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](https://doi.org/10.21105/joss.01732) 1 of the actual collision detection code is implemented in C++ (using the Eigen library (Guennebaud, Jacob, & others, 2010)) with Python bindings generated using the header-only library pybind11 (Jakob, Rhinelander, & Moldovan, 2017). Examples for generating microstructures with equiaxed and elongated grains along with simulation benchmarks are detailed in the documentation. ## References Groeber, M. A., & Jackson, M. A. (2014). DREAM.3D: A digital representation environment for the analysis of microstructure in 3D. _Integrating_ _Materials_ _and_ _Manufacturing_ _Innovation_, _3_ (1), 56–72. [doi:10.1186/2193-9772-3-5](https://doi.org/10.1186/2193-9772-3-5) Guennebaud, G., Jacob, B., & others. (2010). Eigen v3. http://eigen.tuxfamily.org. Jakob, W., Rhinelander, J., & Moldovan, D. (2017). Pybind11 – seamless operability between C++11 and Python. [https://github.com/pybind/pybind11.](https://github.com/pybind/pybind11) Jones, E., Oliphant, T., Peterson, P., & others. (n.d.). SciPy: Open source scientific tools for Python. Retrieved from [http://www.scipy.org/](http://www.scipy.org/) Oliphant, T. E. (2006). _A_ _guide_ _to_ _numpy_ (Vol. 1). Trelgol Publishing USA. Quey, R., Dawson, P. R., & Barbe, F. (2011). Large-scale 3D random polycrystals for the finite element method: Generation, meshing and remeshing. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, _200_ (17), 1729–1745. [doi:10.1016/j.cma.2011.01.002](https://doi.org/10.1016/j.cma.2011.01.002) Vajragupta, N., Wechsuwanmanee, P., Lian, J., Sharaf, M., Münstermann, S., Ma, A., Hartmaier, A., et al. (2014). The modeling scheme to evaluate the influence of microstructure features on microcrack formation of dp-steel: The artificial microstructure model and its application to predict the strain hardening behavior. _Computational_ _Materials_ _Science_, _94_, 198–213. [doi:10.1016/j.commatsci.2014.04.011](https://doi.org/10.1016/j.commatsci.2014.04.011) Wang, W., Wang, J., & Kim, M.-S. (2001). An algebraic condition for the separation of two ellipsoids. _Computer_ _Aided_ _Geometric_ _Design_, _18_ (6), 531–539. [doi:10.1016/S0167-8396(01)](https://doi.org/10.1016/S0167-8396%0x2801%0x2900049-8) [00049-8](https://doi.org/10.1016/S0167-8396%0x2801%0x2900049-8) Zhang, G., & Torquato, S. (2013). Precise algorithm to generate random sequential addition of hard hyperspheres at saturation. _Phys._ _Rev._ _E_, _88_ (5), 053312. [doi:10.1103/PhysRevE.88.](https://doi.org/10.1103/PhysRevE.88.053312) [053312](https://doi.org/10.1103/PhysRevE.88.053312) 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](https://doi.org/10.21105/joss.01732) 2

섹션 본문 4문단 · 3,482자

(제목 없음)

1To study process-structure-property relationships it is essential to understand the contribution of microstructure to material behavior.Micromechanical modeling allows us to understand the influence of microstructural features on the macroscopic mechanical behavior through numerical simulations.At the center of this approach lies the modeling of synthetic microstructures that mimick the important aspects such as grain morphologies and crystallographic orientations.

2Metallic material processing (including additive manufacturing) often result in complex microstructures with equiaxed/elongated grains and strong crystallographic textures.The current state-of-the-art of synthetic microstructure generation includes probabilistic methods like spatial tessellation (Quey, Dawson, & Barbe, 2011), which provides sufficiently accurate representations for simple grain morphologies and size distributions, but cannot capture complex morphologies, i.e., irregularly shaped grains.Another widely used approach is the Random Sequential Addition (RSA) (Groeber & Jackson, 2014;Vajragupta et al., 2014), which overcomes the shortcomings of tessellation based methods with its ability to model convex and non-convex grain morphologies, but its computational expense is high as space filling by random addition of particles is not efficient for higher volume fractions (Zhang & Torquato, 2013).

3Kanapy is a Python package for generating complex synthetic polycrystalline microstructures based on the collision driven particle dynamics approach.Kanapy is designed to model irregular shaped grains and developed to provide an alternative to the existing particle packing approach, the RSA technique.This addresses the limitations of the existing microstructure generation techniques described earlier.In this regard, Kanapy employs a two-layer collision detection scheme, wherein the outer layer utilizes an octree spatial partitioning data structure to estimate which particles should be checked for collision.The inner layer consists of a bounding spheres hierarchy, which carries out the collision detection only if the bounding spheres between two particles overlap.The computational complexity involved in using the octree data structure is of the order O(nlog(n)).The actual collision detection between two static ellipsoidal particles is determined by employing the algebraic separation condition developed by Wang et al. (2001).Using the built-in voxelization routine, complex microstructures like those found in additively manufactured components can be easily created.

4Kanapy is a modular package and it gives the user the flexibility to create individual workflows for generating specific microstructures.The modules can be executed independently of one another as Kanapy provides easy data storage and handling.It is based on existing implementations of convex hull from the Scipy package (Jones, Oliphant, Peterson, & others, n.d.) together with various Numpy array operations (Oliphant, 2006).A pure Python octree data structure is implemented for efficient collision handling.The performance critical part of the actual collision detection code is implemented in C++ (using the Eigen library (Guennebaud, Jacob, & others, 2010)) with Python bindings generated using the header-only library pybind11 (Jakob, Rhinelander, & Moldovan, 2017).Examples for generating microstructures with equiaxed and elongated grains along with simulation benchmarks are detailed in the documentation.

참고문헌 5건

  1. The modeling scheme to evaluate the influence of microstructure features on microcrack formation of DP-steel: The artificial microstructure model and its application to predict the strain hardening behavior Computational Materials Science · Elsevier BV · 2014 10.1016/j.commatsci.2014.04.011
  2. Precise algorithm to generate random sequential addition of hard hyperspheres at saturation Physical Review E · American Physical Society · 2013 10.1103/physreve.88.053312
  3. Large-scale 3D random polycrystals for the finite element method: Generation, meshing and remeshing Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2011 10.1016/j.cma.2011.01.002
  4. An algebraic condition for the separation of two ellipsoids Computer Aided Geometric Design · Elsevier BV · 2001 10.1016/s0167-8396(01)00049-8
  5. DREAM.3D: A Digital Representation Environment for the Analysis of Microstructure in 3D Integrating materials and manufacturing innovation · Springer Nature · 2014 10.1186/2193-9772-3-5