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

ELATE: An open-source online application for analysis and visualization of elastic tensors

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Gaillac, Romain
  2. Pullumbi, Pluton
  3. Coudert Francois‐Xavier
DOI
10.48550/arxiv.1602.06175
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1602.06175
토픽
Composite Material Mechanics
OpenAlex ID
W6910525082

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We report on the implementation of a tool for the analysis of second-order elastic stiffness tensors, provided with both an open-source Python module and a standalone online application providing visualization tools of anisotropic mechanical properties. After describing the software features, how we compute the conventional elastic constants and how we represent them graphically, we explain our technical choices for the implementation. In particular, we focus on why a Python module is used to generate the HTML web page with embedded Javascript for dynamical plots.

본문 21,549자

본문 펼치기
Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) ## ELATE: An open-source online application for analysis and visualization of elastic tensors Romain Gaillac Chimie ParisTech, PSL Research University, CNRS, Institut de Recherche de Chimie Paris, 75005 Paris, France Air Liquide, Centre de Recherche Paris Saclay, 78354 Jouy-en-Josas, France Pluton Pullumbi Air Liquide, Centre de Recherche Paris Saclay, 78354 Jouy-en-Josas, France Fran¸cois-Xavier Coudert Chimie ParisTech, PSL Research University, CNRS, Institut de Recherche de Chimie Paris, 75005 Paris, France E-mail: `fx.coudert@chimie-paristech.fr` Abstract. We report on the implementation of a tool for the analysis of secondorder elastic stiffness tensors, provided with both an open-source Python module and a standalone online application providing visualization tools of anisotropic mechanical properties. After describing the software features, how we compute the conventional elastic constants and how we represent them graphically, we explain our technical choices for the implementation. In particular, we focus on why a Python module is used to generate the HTML web page with embedded Javascript for dynamical plots. Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) 1. Introduction Despite the importance of the second-order elastic constants in the understanding of the mechanical properties of materials, they have been measured for a very small fraction of known crystalline materials. This is due to the need for large single crystals and the difficulty in precise experimental measurements, e.g. through Brillouin scattering,[1] in particular in low-symmetry crystals. This lack of experimental data limits the ability of materials scientists to develop new materials with targeted mechanical responses. On the other hand, the computational power available in high performance computing (HPC) infrastructures has now reached the point where it is possible to make _ab_ _initio_ predictions of elastic constants from crystalline structures by routine calculations. Indeed, in the past few years, several quantum chemistry software packages have gained the capacity to calculate full second-order elastic tensors of crystals in an automated fashion. This can be implemented either internally, as part of the code of the quantum chemistry software package itself; or through a set of external wrapper scripts, which generate sets of input files, run them and analyze the output — for example to derive energy–strain or stress–strain curves, from which the elastic constants are then determined. Popular computational chemistry tools for this purpose include: - Crystal[2] gained this capability in its Crystal09 version[3, 4], and since version Crystal14 can calculate piezoelectric and photoelastic tensors.[5, 6] - VASP can calculate second-order elastic constants by strain-stress relationships since version 5.1.[7] - ElaStic _‡_,[8] a set of Python routines using DFT codes such as exciting, Wien2k, and Quantum Espresso as back ends. Furthermore, this approach of _ab_ _initio_ calculation of elastic constants has recently been taken to a larger scale, towards systematic mechanical characterization of known materials, by high-throughput calculations of elastic constants of inorganic materials as part of the Materials Project.[9] de Jong et al. presented a very large database of calculated elastic properties for inorganic compounds, calculated at the density functional theory (DFT) level.[10] The database contained elastic tensors for _‡_ `[http://exciting-code.org/elastic](http://exciting-code.org/elastic)` Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) 1181 inorganic compounds upon publication in March 2015, and contains 2111 to date. Given the fast-increasing availability of elastic constant databases, tools for their analysis and visualization are more important than ever. In particular, for anisotropic materials, there is a real need to analyze and visualize the directional elastic properties - such as Young’s modulus, linear compressibility, shear modulus and Poisson’s ratio - rather than their averages. Detailed tensorial analyses are also necessary to find materials with targeted or anomalous mechanical properties, such as negative linear compressibility (NLC),[11] negative Poisson’s ratio (partial or total auxeticity),[12, 13] or highly-anisotropic elastic moduli.[14] Although this tensorial analysis is well documented in textbooks and not fundamentally difficult, it is somewhat technical and casual users are not willing to invest time into developing their own implementation. There exist, to our knowledge, two software packages currently available for the analysis of second-order elastic tensor and the visualization of elastic properties. The first one available is the code by Marmier, ElAM, in addition to a detailed, yet accessible, technical paper describing the transformations of the elastic tensor.[15] ElAm, implemented in Fortran 90, is command-line driven and can output 2D figures in PostScript format and 3D surfaces in the VRML (virtual reality modelling language) format. The use of this software requires compilation of the source code or local installation by the user does not allow interactive manipulation of the resulting graphs. In our own group’s previous work,[16] we relied upon an independent Mathematica implementation of tensorial analysis and visualization (whose source code we published as supporting information in Ref. [16]), which allows interactive use but is restricted to the proprietary Mathematica software suite.[17] Here, we describe ELATE, which is both an open source Python module (available at `[https://github.com/fxcoudert/elate](https://github.com/fxcoudert/elate)` ) for the manipulation of elastic tensors and a standalone online application (available at `[http://progs.](http://progs.coudert.name/elate)` `[coudert.name/elate](http://progs.coudert.name/elate)` ) for routine analysis of elastic tensors. In addition to being a user-friendly interface to the analysis code with no local installation required, the online application also provides a simple application programming interface (API) to be called from other materials-oriented web-based tools. Notably, it can also import elastic data directly from the Materials Project database of elastic constants by use of the Materials API (MAPI). Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) 2. Software description and features _2.1._ _Analysis_ _and_ _visualization_ _of_ _elastic_ _properties_ As input, ELATE takes a 6 _×_ 6 symmetric matrix of second-order elastic constants, _Cij_, in Voigt notation and units of GPa. It also takes, optionally, a user-defined system name for display purposes. From this starting point, the program first computes and display the main mechanical properties - bulk modulus, Young’s modulus, shear modulus and Poisson’s ratio - according to the three averaging schemes (Voigt,[18] Reuss[19] and Hill[20]). The six eigenvalues of the elastic tensor are also computed. If at least one of them is negative, the elastic tensor is not definite positive, indicating mechanical instability of the system:[21] the calculations stop there with an error message. Young modulus linear compressibility shear modulus Poisson ratio Figure 1. Schematic representation of the directional elastic properties of materials: Young’s modulus _E_, linear compressibility _β_, shear modulus _G_, and Poisson’s ratio _ν_ . Red arrows represent the direction of stress exerted, green arrows the axis along which the response is measured. For mechanically stable systems, in addition to the average quantities, the program computes and displays additional information on the spatial variation of the elastic moduli (depicted in Figure 1): Young’s modulus ( _E_ ), linear compressibility ( _β_ ), shear modulus ( _G_ ) and Poisson’s ratio ( _ν_ ). The first two quantities are function of a single unit vector a : _E_ ( a ) and _β_ ( a ), and can alternatively be parameterized by two angles in spherical coordinates: 0 _≤_ _θ_ _≤_ _π_, and 0 _≤_ _ϕ ≤_ 2 _π_ : sin( _θ_ ) cos( _ϕ_ ) sin( _θ_ ) sin( _ϕ_ ) cos( _θ_ )   (1)  a =    Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) Both the Young’s modulus and linear compressibility can thus be represented as a simple 3D parametric surface. ELATE allows direct visualization of the 3D spherical plot, as well as 2D projections on the ( _xy_ ), ( _xz_ ) and ( _yz_ ) planes. For linear compressibility (LC), which can be negative in some directions, two sets of surfaces (in 3D) and curves (in 2D) are plotted: directions corresponding to positive values of LC are plotted in green, and those of negative LC are plotted in red. This is exemplified on Figure 2, showing the linear compressibility of Ag3Co(CN)6.[22, 23] Figure 2. Spatial dependence of the linear compressibility of Ag3Co(CN)6, a material in the trigonal crystal system which exhibits very large negative linear compressibility.[22]. Elastic tensor was taken from the calculations of Ref. [23]. The shear modulus _G_ and Poisson’s ratio _ν_ are not as straightforward to represent, because they depend on two orthogonal unit vectors a and b (respectively the direction of the stress applied and the direction of measurement). Here again, those two unit vectors can be parameterized by three angles, so that b is written Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) as: _§_ cos( _θ_ ) cos( _ϕ_ ) cos( _χ_ ) _−_ sin( _φ_ ) sin( _χ_ ) cos( _θ_ ) sin( _ϕ_ ) cos( _χ_ ) + cos( _φ_ ) sin( _χ_ ) _−_ sin( _θ_ ) cos( _χ_ )   (2)  b =    with 0 _≤_ _χ_ _≤_ 2 _π_ . Since _G_ ( _θ, ϕ, χ_ ) and _ν_ ( _θ, ϕ, χ_ ) cannot be directly represented in 3D space, we followed Marmier[15] in their representation, plotting each as spherical ( _θ, ϕ_ ) coordinates the minimal and maximal values over all possible values of _χ_ : _f_ ( _θ, ϕ_ ) = min _χ X_ ( _θ, ϕ, χ_ ) and _g_ ( _θ, ϕ_ ) = max _χ X_ ( _θ, ϕ, χ_ ), respectively. The surface representing _g_ encloses that representing _f_, so it is plotted in translucent blue color. _f_ is represented as an surface, with solid green lobes for positive values and translucent red lobes for negative values (for the Poisson’s ratio, which can be negative in some directions). Figure 3 shows, on the example of _α_ -quartz, the three two-dimensional plots and the three-dimensional plot all representing the Poisson’s ratio of this material. In addition to the 2D and 3D graphical representations of the directional elastic properties above, ELATE also provides a quantitative analysis by reporting the minimal and maximal values of each modulus (e.g., _E_ min and _E_ max), as well as the directions ( a min/max and b min/max) along which these extrema occur. This allows the determination of directions of particular interest in the elastic properties, which are not necessarily along the crystallographic axes of the material. We also report a measure of the anisotropy _AX_ of each elastic modulus _X_, defined as follows: _AX_ = - _Xmax/Xmin_ if sign( _Xmax_ ) = sign( _Xmin_ ) _∞_ otherwise (3) This measure is particularly interesting as marked anisotropy of the mechanical properties is often associated with anomalous mechanical behavior,[24] including the possibility for large negative linear compressibility[11] or negative area compressibility,[25] or the potential for adsorption- or pressure-induced large-scale structural transitions.[14] _2.2._ _Technical_ _choices_ _and_ _implementation_ Regarding the theoretical derivations of the mechanical properties depending on the elastic constants, we essentially refer the reader to excellent paper by Marmier,[15] _§_ We note here that there is a typo in the expression of b in Eq. 6 of Ref. [15]. Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) Figure 3. Spatial dependence of the Poisson’s ratio of _α_ -quartz (trigonal crystal system). upon which our implementation of the tensorial analysis is based. We provide here some details about the technical implementation of the online ELATE application, and its interface with the Materials Project database. In terms of implementation, we opted for a client-server architecture where the computations are performed directly on the server through Python code. The most computationally expensive part of the tensorial analysis consists in calculating the values for plots of the directional shear modulus and Poisson’s ratio, since they rely on numerical minimization along the _χ_ coordinate. Those would have been both difficult to implement and slow to run in the browser, for example in JavaScript. On the other hand, the Python `scipy` and `numpy` libraries provide great tools for linear algebra, needed for the computation itself, and minimization algorithms, needed in order to plot the results. Thus the server performs the calculation of values necessary for 2D and 3D plots, embeds them into the resulting HTML page along with the JavaScript code for rendering them. The graphs are then displayed in the browser, and the user can interact with them without any lag: this includes zooming, rotating, Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) panning, as well as inspecting values at points of interest. The 2D graphs are displayed using the JSXGraph cross-browser library[26, 27], developed at the _Lehrstuhl_ _f¨ur_ _Mathematik_ _und_ _ihre_ _Didaktik_ of the University of Bayreuth. Visualization of 3D surfaces is done using `plotly.js` [28], a free and recently open-sourced graphing library.[29] With that framework, we are able to represent dynamic parametric surfaces in a browser, making the spatial representation of mechanical properties much easier and fully interactive. The web content is served by Bottle, a very simple Python Web framework.[30] _2.3._ _Interfacing_ _with_ _the_ _Materials_ _Project_ _database_ In addition to the possibility for the user to input a second-order elastic tensor directly into the application, we provide a layer of integration with the elastic data available from the Materials Project ([9, 10]). This database contain elastic tensors for more then 2,000 crystalline inorganic materials, obtained by quantum chemical calculations at the Density Functional Theory (DFT) level. By interfacing our web application with the Materials API, one can search for any material in the database in three different ways: (i) by providing a Materials Project identifier (e.g., `mp-2133` ), (ii) by looking up a given chemical formula (such as ZnO), or (iii) by searching for a combination of elements (such as Li-Fe-O). When the request returns several results, the user is prompted with at most ten representatives of the chemical system he was looking for, indicating which one has elastic data available. The elastic properties can then be directly analyzed and visualized in ELATE, including a link to the relevant page of the Materials Project database to browser the compound’s properties. We also provide a very simple API to allow other online applications, such as the Materials Project database browser, to link to ELATE visualizations: for any Materials Project identifier _`id`_, accessing the URL `http://progs.coudert.name/elate/mp?` _`id`_ will directly open on the detailed analysis of the elastic properties of the material. Integration to other databases could be provided in the future, as the needs of the community evolve. 3. Perspectives As computational power increases in time, databases of computational properties of materials, both experimentally known and hypothetical, grow larger in size and Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) contain more properties, going beyond structures and energies of formation. The availability of this data requires tools to analyze it and visualize these properties, in order to be able to identify best performers for targeted properties, detect trends and understand relationships between them. We provide here ELATE, a Python module and an online application for the analysis and visualization of second-order elastic tensors, providing some integration with the Materials Project database. In the future, we look forward to interface it with other available databases of mechanical properties, hopefully constructing a single and coherent Application Programming Interface (API) rather than coexisting incompatible protocols. As additional categories of properties become available through this large-scale computational approach, we also intend to extend ELATE to analyze other tensorial properties, such as piezoelectric and photoelastic tensors. Acknowledgments We thank Jack Evans for _β_ -testing ELATE and providing useful feedback. This work benefitted from the support of ANRT (th`ese CIFRE 2015/0268). References [1] Vacher R and Boyer L 1972 _Phys._ _Rev._ _B_ 6 639–673 [2] Dovesi R, Orlando R, Civalleri B, Roetti C, Saunders V R and Zicovich-Wilson C M 2005 _Z._ _Kristallogr._ 220 571–573 [3] Perger W, Criswell J, Civalleri B and Dovesi R 2009 _Comput._ _Phys._ _Commun._ 180 1753–1759 [4] Erba A, Mahmoud A, Orlando R and Dovesi R 2014 _Phys_ _Chem_ _Minerals_ 41 161–162 [5] Noel Y, Zicovich-Wilson C M, Civalleri B, D’Arco P and Dovesi R 2001 _Phys._ _Rev._ _B_ 65 [6] Erba A, El-Kelany K E, Ferrero M, Baraille I and R´erat M 2013 _Phys._ _Rev._ _B_ 88 [7] Le Page Y and Saxe P 2002 _Phys._ _Rev._ _B_ 65 [8] Golesorkhtabar R, Pavone P, Spitaler J, Puschnig P and Draxl C 2013 _Computer_ _Physics_ _Communications_ 184 1861–1873 [9] Jain A, Ong S P, Hautier G, Chen W, Richards W D, Dacek S, Cholia S, Gunter D, Skinner D, Ceder G and Persson K A 2013 _APL_ _Mater._ 1 011002 [10] de Jong M, Chen W, Angsten T, Jain A, Notestine R, Gamst A, Sluiter M, Krishna Ande C, van der Zwaag S, Plata J J, Toher C, Curtarolo S, Ceder G, Persson K A and Asta M 2015 _Sci._ _Data_ 2 150009 [11] Cairns A B and Goodwin A L 2015 _Phys._ _Chem._ _Chem._ _Phys._ 17 20449–20465 [12] Evans K E 1991 _Endeavour_ 15 170–174 Published as: _J._ _Phys._ _Condens._ _[Matter](http://dx.doi.org/10.1088/0953-8984/28/27/275201)_ 2016, 28, 275201, DOI: [10.1088/0953-8984/28/27/275201](http://dx.doi.org/10.1088/0953-8984/28/27/275201) [13] Siddorn M, Coudert F X, Evans K E and Marmier A 2015 _Phys._ _Chem._ _Chem._ _Phys._ 17 17927–17933 [14] Ortiz A U, Boutin A, Fuchs A H and Coudert F X 2012 _Phys._ _Rev._ _Lett._ 109 195502 [15] Marmier A, Lethbridge Z A D, Walton R I, Smith C W, Parker S C and Evans K E 2010 _Comput._ _Phys._ _Commun._ 181 2102–2115 [16] Ortiz A U, Boutin A, Fuchs A H and Coudert F X 2013 _J._ _Chem._ _Phys._ 138 174703 [17] Wolfram Research, Inc., Mathematica, Version 10.3, Champaign, IL (2015). [18] Voigt W 1928 _Lehrbuch_ _der_ _Kristallphysik_ (Teubner) [19] Reuss A 1929 _Z._ _angew._ _Math._ _Mech._ 9 49–58 [20] Hill R 1952 _Proc._ _Phys._ _Soc._ _A_ 65 349–354 [21] Mouhat F and Coudert F X 2014 _Phys._ _Rev._ _B_ 90 224104 [22] Goodwin A L, Keen D A and Tucker M G 2008 _Proc._ _Nat._ _Acad._ _Sci._ 105 18708–18713 [23] Fang H, Dove M T and Refson K 2014 _Physical_ _Review_ _B_ 90 [24] Coudert F X 2015 _Chem._ _Mater._ 27 1905–1916 [25] Ogborn J M, Collings I E, Moggach S A, Thompson A L and Goodwin A L 2012 _Chem._ _Sci._ 3 3011 [26] Gerh¨auser M, Miller C, Valentin B, Wassermann A and Wilfahrt P 2011 _Electronic_ _Journal_ _of_ _Mathematics_ _and_ _Technology_ 5 [27] JSXGraph, version 0.99.3, available online at `[http://jsxgraph.uni-bayreuth.de/](http://jsxgraph.uni-bayreuth.de/)` [28] Plotly Technologies Inc. Collaborative data science. Montr´eal, QC, 2015. Available online at ``` https://plot.ly ``` [29] @plotlygraphs, Twitter, 17 November 2015, `[https://twitter.com/plotlygraphs/status/](https://twitter.com/plotlygraphs/status/666667595903459328)` ``` 666667595903459328 ``` [30] Bottle, version 0.13-dev dated 23 January 2016, available online at `[http://bottlepy.org/](http://bottlepy.org/)`

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.