선정목록으로
Mechkit: A continuum mechanics toolkit inPython
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(9) 타이어코드
기본 정보
- 저자
- DOI
- 10.21105/joss.04389
- 저널
- The Journal of Open Source Software
- 발행년도
- 2022
- 발행기관
- Open Journals
- 피인용수
- 2
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.21105/joss.04389
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W4304202840
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (10) 아라미드, (9) 타이어코드
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- continuum mechanics, material modeling, linear elasticity, fiber-reinforced composite materials, stiffness tensor
- 판단 근거
- 이 논문은 연속체 역학 및 재료 모델링을 위한 Python 툴킷을 다루며, 특히 섬유 강화 복합재료(fiber-reinforced composite materials)의 미세구조 기술과 탄성 텐서 계산을 지원합니다.
- R&D 활용 포인트
- 아라미드(10)나 타이어코드(9) 등 섬유 강화 복합소재 및 엔지니어링 플라스틱(23)의 기계적 물성 해석 및 구조 설계 시 수치 모델링 도구로 활용 가능합니다.
- 평가 입력
- 본문 11,501자
초록
The Python package mechkit is a toolkit for researchers in the field of continuum mechanics and material modeling. mechkit contains methods and operators for elementary tasks concerning tensor algebra and tensor notation, e.g., linear mapping, base transformations and active as well as passive transformations of tensors.
본문 11,501자
본문 펼치기
DOI: [10.21105/joss.04389](https://doi.org/10.21105/joss.04389)
Software
- [Review](https://github.com/openjournals/joss-reviews/issues/4389)
- [Repository](https://github.com/JulianKarlBauer/mechkit)
- [Archive](https://doi.org/10.5281/zenodo.7185691)
Editor: Kevin M. Moerman
Reviewers:
- [@nicoguaro](https://github.com/nicoguaro)
- [@likask](https://github.com/likask)
- [@lizarett](https://github.com/lizarett)
Submitted: 23 March 2022
Published: 11 October 2022
License
Authors of papers retain copyright
and release the work under a
Creative Commons Attribution 4.0
International License (CC [BY](https://creativecommons.org/licenses/by/4.0/) 4.0).
# Mechkit: A continuum mechanics toolkit in Python
Julian Karl Bauer 1¶ , Philipp Lothar Kinon 1 , Jonas Hund 2 , Lisa
Latussek 1 , Nils Meyer 3 , and Thomas Böhlke 4
1 Institute of Mechanics, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany 2 Department of
Structural Engineering, Norwegian University of Science and Technology (NTNU), Trondheim, Norway 3
Institute of Vehicle System Technology, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany 4
Chair for Continuum Mechanics, Institute of Engineering Mechanics, Karlsruhe Institute of Technology
(KIT), Karlsruhe, Germany - Corresponding author
## Summary
The Python package mechkit is a toolkit for researchers in the field of continuum mechanics and
material modeling. mechkit contains methods and operators for elementary tasks concerning
tensor algebra and tensor notation, e.g., linear mapping, base transformations and active as
well as passive transformations of tensors.
In the context of engineering applications in three spatial dimensions, strains and stresses in
solids are usually described by second-order tensors. In linear elastictiy, mappings between
stresses and strains are important. To this end, the methods in mechkit are focussed on secondand fourth-order tensors. Main motivations can thus be found in the research concerning linear
elasticity (Bertram & Glüge, 2015), (Mandel, 1965), (Fedorov, 1968), (Mehrabadi & Cowin,
1990), (Thomson, 1856), (Cowin & Mehrabadi, 1992), (Rychlewski, 2000), (Spencer, 1970),
(Böhlke & Brüggemann, 2001), (Brannon, 2018) and the description of microstructures of
fiber-reinforced composite materials (Bauer & Böhlke, 2021), (Ken-Ichi, 1984), (Advani &
Tucker III, 1987).
The implementations in mechkit aim at usability, seek to provide understandable source code,
and do not put major emphasis on performance. Furthermore, the implementations follow, as
directly as possible, the notation and formulation in the respective primary scientific sources.
A redundant implementation of identical operations based on different sources is aimed at, for
validation reasons.
## Statement of need
The mathematical operators for material modeling and linear elasticity can be expressed in
a compact manner. However, their representation is not unique and the relation between
different representations is nontrivial. To the best knowledge of the authors, there is no
common library for the mathematical operators to this day. This presents an obstacle with
regard to the exchange and the reliability of research code and leads to negative consequences
for the interpretation and comparison of results.
Several multi-purpose tensor packages in Python, e.g., (Kossaifi et al., 2016), (Hauschild &
Pollmann, 2018) exist, but mainly address the manipulation of multi-dimensional matrices
which are not related to physical bases. In contrast, mechkit focuses on linear elasticity and
provides a limited scope of notations for second- and fourth-order tensors.
The main goal of mechkit is to provide reusable research code that increases the reliability
of results. It is intended to accelerate and simplify further research. mechkit is inspired by
(Meyer, 2021), (Schlömer, 2022a), (Schlömer, n.d.) and (Schlömer, 2022b).
Bauer et al. (2022). Mechkit: A continuum mechanics toolkit in Python. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (78), 4389. [https://doi.org/10.](https://doi.org/10.21105/joss.04389) 1
[21105/joss.04389.](https://doi.org/10.21105/joss.04389)
Motivation by example: Isotropic material and notations
In the overlapping area of theoretical continuum mechanics, experimental material modeling,
and numerical solution methods for boundary value problems, a multitude of different notations
exist. As an example, one may consider the description of the mechanical properties of a
homogeneous and isotropic, i.e. direction-independent, material within the framework of linear
elasticity. Such a material can be described completely by two independent scalar parameters.
However, in the disciplines mentioned above, at least six different material parameters are
commonly used, motivated by different applications, measurement techniques and tensor
decompositions. This results in fifteen possible combinations of scalar descriptions of an
isotropic material, which can be combined to the corresponding fourth-order elasticity tensor.
For this tensor, again, different representations exist, referring to different basis systems and
notations. The notations either follow the Voigt or Kelvin-Mandel notation or take account of
interfaces of finite element codes.
The translation between different notations is often tedious and prone to errors. mechkit
allows an easy exchange between different notations with user-friendly interfaces, thereby
preventing errors. The necessary number of translation functions between different notations
increases drastically with an increasing number of notations. Consequentially, even for a small
number of different notations, the implementation of all corresponding translation methods
is not feasible. Therefore, mechkit does not necessarily directly translate one notation into
another. Instead, in the case of the translation of second- and fourth-order tensors, mechkit
determines the shortest path between source and target in the set of implemented notations as
illustrated in the graph of currently supported notations, see Figure 1. This procedure greatly
facilitates the addition of further notations to mechkit. Essentially, only a translation function
from and to a new notation has to be added to the existing code, to make translations from
and to this new notation universally available in mechkit.
Stiffness
tensor
mandel6
vumat
voigt abaqusMatAniso
mandel9 umat
Figure 1: Currently supported notations and translations of fourth-order stiffness tensors.
## Acknowledgements
The research documented in this manuscript has been funded by the German Research
Foundation (DFG) within the International Research Training Group “Integrated engineering
of continuous-discontinuous long fiber-reinforced polymer structures” (GRK 2078/2). The
support by the German Research Foundation (DFG) is gratefully acknowledged.
Bauer et al. (2022). Mechkit: A continuum mechanics toolkit in Python. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (78), 4389. [https://doi.org/10.](https://doi.org/10.21105/joss.04389) 2
[21105/joss.04389.](https://doi.org/10.21105/joss.04389)
## References
Advani, S. G., & Tucker III, C. L. (1987). The use of tensors to describe and predict
fiber orientation in short fiber composites. _Journal_ _of_ _Rheology_, _31_ (8), 751–784. [https:](https://doi.org/10.1122/1.549945)
[//doi.org/10.1122/1.549945](https://doi.org/10.1122/1.549945)
Bauer, J. K., & Böhlke, T. (2021). Variety of fiber orientation tensors. _Math._ _Mech._ _Solids_,
_0_ (0), 108128652110576. [https://doi.org/10.1177/10812865211057602](https://doi.org/10.1177/10812865211057602)
Bertram, A., & Glüge, R. (2015). _Solid_ _mechanics_ . Springer International Publishing. [https:](https://doi.org/10.1007/978-3-319-19566-7)
[//doi.org/10.1007/978-3-319-19566-7](https://doi.org/10.1007/978-3-319-19566-7)
Böhlke, T., & Brüggemann, C. (2001). Graphical representation of the generalized Hooke’s
law. _Technische_ _Mechanik_, _21_ (2), 145–158.
Brannon, R. (2018). _Rotation reflection and frame changes orthogonal tensors in computational_
_engineering_ _mechanics_ . IOP Publishing. [https://doi.org/10.1088/978-0-7503-1454-1](https://doi.org/10.1088/978-0-7503-1454-1)
Cowin, S. C., & Mehrabadi, M. M. (1992). The structure of the linear anisotropic elas
tic symmetries. _J._ _Mech._ _Phys._ _Solids_, _40_ (7), 1459–1471. [https://doi.org/10.1016/](https://doi.org/10.1016/0022-5096%0x2892%0x2990029-2)
[0022-5096(92)90029-2](https://doi.org/10.1016/0022-5096%0x2892%0x2990029-2)
Fedorov, F. I. (1968). _Theory_ _of_ _elastic_ _waves_ _in_ _crystals_ . Springer US. [https://doi.org/10.](https://doi.org/10.1007/978-1-4757-1275-9)
[1007/978-1-4757-1275-9](https://doi.org/10.1007/978-1-4757-1275-9)
Hauschild, J., & Pollmann, F. (2018). Efficient numerical simulations with Tensor Networks:
Tensor Network Python (TeNPy). _SciPost_ _Phys._ _Lect._ _Notes_, 5. [https://doi.org/10.](https://doi.org/10.21468/SciPostPhysLectNotes.5)
[21468/SciPostPhysLectNotes.5](https://doi.org/10.21468/SciPostPhysLectNotes.5)
Ken-Ichi, K. (1984). Distribution of directional data and fabric tensors. _Int._ _J._ _Eng._ _Sci._,
_22_ (2), 149–164. [https://doi.org/10.1016/0020-7225(84)90090-9](https://doi.org/10.1016/0020-7225%0x2884%0x2990090-9)
Kossaifi, J., Panagakis, Y., Anandkumar, A., & Pantic, M. (2016). Tensorly: Tensor learning
in python. _arXiv_ _Preprint_ _arXiv:1610.09555_ .
Mandel, J. (1965). Généralisation de la théorie de plasticité de WT koiter. _Int._ _J._ _Solids_
_Struct._, _1_ (3), 273–295.
Mehrabadi, M. M., & Cowin, S. C. (1990). Eigentensors of linear anisotropic elastic materials.
_Quart._ _J._ _Mech._ _Appl._ _Math._, _43_ (1), 15–41. [https://doi.org/10.1093/qjmam/43.1.15](https://doi.org/10.1093/qjmam/43.1.15)
Meyer, N. (2021). Fiberoripy. In _GitHub_ _repository_ (Version v1.0.12) [Computer software].
GitHub. [https://doi.org/10.5281/zenodo.4679756](https://doi.org/10.5281/zenodo.4679756)
Rychlewski, J. (2000). A qualitative approach to Hooke’s tensors. Part I. _Archives of Mechanics_,
_52_ (4-5), 737–759.
Schlömer, N. (n.d.). _pygalmesh:_ _Python_ _interface_ _for_ _CGAL’s_ _meshing_ _tools_ . [https://doi.org/](https://doi.org/10.5281/zenodo.5564818)
[10.5281/zenodo.5564818](https://doi.org/10.5281/zenodo.5564818)
Schlömer, N. (2022a). Meshio: Tools for mesh files. In _GitHub_ _repository_ . GitHub. [https:](https://doi.org/10.5281/zenodo.1173115)
[//doi.org/10.5281/zenodo.1173115](https://doi.org/10.5281/zenodo.1173115)
Schlömer, N. (2022b). Quadpy: Your one-stop shop for numerical integration in python. In
_GitHub_ _repository_ . GitHub. [https://github.com/nschloe/quadpy](https://github.com/nschloe/quadpy)
Spencer, A. (1970). A note on the decomposition of tensors into traceless symmetric tensors.
_International_ _Journal_ _of_ _Engineering_ _Science_, _8_ (6), 475–481. [https://doi.org/10.1016/](https://doi.org/10.1016/0020-7225%0x2870%0x2990024-8)
[0020-7225(70)90024-8](https://doi.org/10.1016/0020-7225%0x2870%0x2990024-8)
Thomson, W. (1856). Elements of a mathematical theory of elasticity. _Philosophical_ _Transac-_
_tions_ _of_ _the_ _Royal_ _Society_ _of_ _London_, _146_, 481–498.
Bauer et al. (2022). Mechkit: A continuum mechanics toolkit in Python. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (78), 4389. [https://doi.org/10.](https://doi.org/10.21105/joss.04389) 3
[21105/joss.04389.](https://doi.org/10.21105/joss.04389)
섹션 본문
섹션 본문이 없습니다.
참고문헌 18건
- A qualitative approach to Hooke's tensors. Part I Archives of Mechanics · Polish Scientific Publishers PWN · 2000
- Distribution of directional data and fabric tensors International Journal of Engineering Science · Elsevier BV · 1984 10.1016/0020-7225(84)90090-9
- Generalisation de la theorie de plasticite de W. T. Koiter International Journal of Solids and Structures · Elsevier BV · 1965 10.1016/0020-7683(65)90034-x
- The Use of Tensors to Describe and Predict Fiber Orientation in Short Fiber Composites Journal of Rheology · American Institute of Physics · 1987 10.1122/1.549945
- EIGENTENSORS OF LINEAR ANISOTROPIC ELASTIC MATERIALS The Quarterly Journal of Mechanics and Applied Mathematics · Oxford University Press · 1990 10.1093/qjmam/43.1.15
- A note on the decomposition of tensors into traceless symmetric tensors International Journal of Engineering Science · Elsevier BV · 1970 10.1016/0020-7225(70)90024-8
- The structure of the linear anisotropic elastic symmetries Journal of the Mechanics and Physics of Solids · Elsevier BV · 1992 10.1016/0022-5096(92)90029-2
- Theory of Elastic Waves in Crystals Springer eBooks · Springer Nature · 1968 10.1007/978-1-4757-1275-9
- Graphical representation of the generalized Hooke's law Technische Mechanik · 2001
- Efficient numerical simulations with Tensor Networks: Tensor Network Python (TeNPy) SciPost Physics Lecture Notes · SciPost.org · 2018 10.21468/scipostphyslectnotes.5
- Rotation, Reflection, and Frame Changes 2018 10.1088/978-0-7503-1454-1
- TensorLy: Tensor Learning in Python arXiv (Cornell University) · Cornell University · 2016
- Efficient numerical simulations with Tensor Networks: Tensor Network Python (TeNPy) SciPost Physics Lecture Notes · SciPost.org · 2018 10.21468/scipostphyslectnotes.5
- Variety of fiber orientation tensors Mathematics and Mechanics of Solids · SAGE Publishing · 2021 10.1177/10812865211057602
- Solid Mechanics Springer eBooks · Springer Nature · 2015 10.1007/978-3-319-19566-7
- nilsmeyerkit/fiberoripy: v1.0.12 Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2021 10.5281/zenodo.4679756
- meshio: Tools for mesh files Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2018 10.5281/zenodo.1173115
- pygalmesh: Python interface for CGAL's meshing tools Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2021 10.5281/zenodo.5564818