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

mech2d: An Efficient Tool for High-Throughput Calculation of Mechanical Properties for Two-Dimensional Materials

간접 관련 필름·전자재료 · (16) CPI(투명 폴리이미드) (11) 배리어 필름(15) 디스플레이 패널재료

기본 정보

저자
  1. Haidi Wang — School of Physics, Hefei University of Technology, Hefei 230009, China
  2. Tao Li — School of Physics, Hefei University of Technology, Hefei 230009, China
  3. Xiaofeng Liu — School of Physics, Hefei University of Technology, Hefei 230009, China
  4. Weiduo Zhu — School of Physics, Hefei University of Technology, Hefei 230009, China
  5. Zhao Chen — School of Physics, Hefei University of Technology, Hefei 230009, China
  6. Zhongjun Li — School of Physics, Hefei University of Technology, Hefei 230009, China
  7. Jinlong Yang — Department of Chemical Physics, and Hefei National Research Center for Physical Sciences at the Microscale, University of Science and Technology of China, Hefei 230026, China
DOI
10.3390/molecules28114337
저널
Molecules
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/molecules28114337
토픽
Graphene research and applications
OpenAlex ID
W4378469428

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.70
근거 용어
two-dimensional (2D) materials, mechanical properties, second-order elastic constants (SOECs), first-principles, high-throughput calculation
판단 근거
이 논문은 2차원 소재(2D materials)의 기계적 물성(탄성 계수 등)을 고속으로 계산하고 분석하는 소프트웨어 도구에 관한 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, CPI(투명 폴리이미드)나 디스플레이용 박막 봉지재 등 2차원 구조를 갖는 고분자/나노 소재의 물성 설계 및 예측 모델링에 응용될 수 있습니다.
R&D 활용 포인트
2차원 나노 소재 및 박막 필름의 기계적 강도, 탄성, 변형 특성을 시뮬레이션하여 신소재 개발 단계에서 실험 비용을 절감하고 물성을 최적화하는 데 활용 가능합니다.
평가 입력
섹션 본문 20,927자

초록

Two-dimensional (2D) materials have been a research hot topic in the passed decades due to their unique and fascinating properties. Among them, mechanical properties play an important role in their application. However, there lacks an effective tool for high-throughput calculating, analyzing and visualizing the mechanical properties of 2D materials. In this work, we present the <i>mech2d</i> package, a highly automated toolkit for calculating and analyzing the second-order elastic constants (SOECs) tensor and relevant properties of 2D materials by considering their symmetry. In the <i>mech2d</i>, the SOECs can be fitted by both the strain-energy and stress-strain approaches, where the energy or strain can be calculated by a first-principles engine, such as VASP. As a key feature, the <i>mech2d</i> package can automatically submit and collect the tasks from a local or remote machine with robust fault-tolerant ability, making it suitable for high-throughput calculation. The present code has been validated by several common 2D materials, including graphene, black phosphorene, GeSe2 and so on.

본문 21,509자

본문 펼치기
Two-dimensional (2D) materials have been a research hot topic in the passed decades due to their unique and fascinating properties. Among them, mechanical properties play an important role in their application. However, there lacks an effective tool for high-throughput calculating, analyzing and visualizing the mechanical properties of 2D materials. In this work, we present the mech2d package, a highly automated toolkit for calculating and analyzing the second-order elastic constants (SOECs) tensor and relevant properties of 2D materials by considering their symmetry. In the mech2d, the SOECs can be fitted by both the strain-energy and stress-strain approaches, where the energy or strain can be calculated by a first-principles engine, such as VASP. As a key feature, the mech2d package can automatically submit and collect the tasks from a local or remote machine with robust fault-tolerant ability, making it suitable for high-throughput calculation. The present code has been validated by several common 2D materials, including graphene, black phosphorene, GeSe 2 and so on. Introduction The mechanical properties of 2D materials, such as graphene [1], hexagonal boron nitride [2], transition metal dichalcogenide [3] and phosphorene [4], are crucial for determining their potential applications and performance. These materials have unique mechanical properties, such as proper strength and stiffness [5,6], which make them suitable for a wide range of applications, including electronics [7], energy storage [8], catalyst [9], sensors [10] and magnetic devices [11]. The mechanical behavior of 2D materials can be influenced by various factors, including their structure [12], defects [13] and interfaces with other materials [14]. Accurately characterizing the mechanical properties of 2D materials is therefore essential for understanding and optimizing their performance in different applications. In particular, the second-order elastic constants (SOECs) tensor [15], which describes the material's response to an applied strain, is a key factor in determining the mechanical properties of 2D materials. Introduction The calculation of SOECs and the relevant mechanical properties of 2D materials via first-principles simulation is a tedious and time-consuming task which requires considering different symmetries of materials and configuring efficient computational resources [16]. Previous research has proposed algorithms and tools, such as ELASTool [17], MECHELAS-TIC [18], ElATools [19] and vaspkit [20], to reduce computational complexity and analyze mechanical properties. However, research gaps still exist in the field of calculating and analyzing the mechanical properties of two-dimensional materials. A clear mathematical principle for SOEC calculation of 2D materials is missing, and the presented tools lack the basic functions for task submission, monitoring, and data collection, which are crucial for high-throughput calculations [21,22]. Therefore, it is important to present mathematical principles of 2D SOECs calculation and develop an automated tool that can quickly and efficiently calculate and analyze SOECs tensor and other relevant mechanical properties of 2D materials. Introduction In this work, we design mech2d, a highly automated toolkit for the calculation, analysis and visualization of mechanical properties of 2D materials. To be specific, mech2d allows for the calculation of SOECs using both the strain-energy approach and the stressstrain approach, utilizing first-principles engines such as the Vienna ab initio simulation package (VASP) [23,24]. The strain-energy approach (SE) concerns calculating the total energy of the system as a quadratic function of strain, while the stress-strain approach (SS) involves calculating the stress as a linear function of strain. Both approaches can be used to evaluate the mechanical properties of 2D materials. Particularly, mech2d supports automatically submitting and collecting tasks from local or remote machines, making it suitable for high-throughput calculations [21,22]. This is particularly useful for evaluating the mechanical properties of a large number of 2D materials, as it allows for efficient and robust calculations without the need for manual intervention [13]. The effectiveness of mech2d has been demonstrated based on the validation on several common 2D materials, including graphene [1], black phosphorene [4] and GeSe 2 [25] et al. Methods According to the Lagrangian theory of elasticity, solids can be viewed as a homogeneous and isotropic elastic medium [15]. The fundamental relationship between the physical stress tensor σ (in this work, all of the bold font letters present the matrix or vector) and physical strain tensor of the solid crystalline body within the linear regime is connected by generalized Hook's law [15]: Methods According to the generalized Hook law, it can be found that the physical stress tensor σ is a linear function of the physical strain tensor , where the proportionality coefficient is the forth-rank elastic tensor C. Generally, it is more convenient to use the Lagrangian stress tensor τ and Lagrangian strain tensor η; the corresponding generalized Hook law also has a similar formula: Methods The relationship between Lagrangian stress tensor τ and physical stress σ tensor is defined as Methods where, det is the determinant of matrix, I is the 3 × 3 identity matrix and the physical stress tensor σ can be calculated by second-order differentiation of the total energy E: Methods where V is the volume of the crystal. The Lagrangian strain tensor η expression is Methods As a center physical quantity, the elastic tensor C can be approached in many different ways. From an experimental aspect, an elastic tensor can be obtained based on sound velocity with very high precision. From a theoretical aspect, an elastic constant can be calculated by either the energy-strain or stress-strain approach [26], since most popular DFT engines can calculate energy and stress precisely. According to the Taylor's series, the total energy E of a crystal can be expressed as the summation of a power series of the Lagrangian strain η: Methods where E 0 and V 0 are the energy and volume of the equilibrium structure. By using the Voigt notation (xx → 1, yy → 2, zz → 3, yz → 4, xz → 5 and xy → 6) , the Equation (6) can be simplified as Methods In a similar way, the Equation (3) can be read as Methods Therefore, under the strain-energy approach, the elastic constant C αβ can be expressed as (9) and for the stress-strain approach, the expression is Methods As for 2D materials, we assume that the crystal lies in the xy plane; therefore, all of the elements with a subscript including z will be zero. To simplify the formula, we may rewrite total energy E and generalize Hook's law in matrix format: Methods and Methods As can be seen, the maximum number of independent elastic constants of 2D materials has been reduced to 6, compared with their bulk counterpart of max. 21. Considering that symmetry plays an important role in elastic properties, the number of independent elastic constants of different 2D crystal structure can be further reduced according to their lattice type. Specifically, the independent elastic constants and Born stability conditions for five 2D plan Bravais (see Figure 1) lattices are listed as follow [27]: (1) Hexagonal lattice Methods C 11 > 0 and C 66 > 0 and C 11 > |C 12 | Methods (3) Rectangular and centered rectangular lattice Methods C 11 > 0 and C 66 > 0 and C 11 C 22 > C 2 12 (4) Oblique lattice Methods After the theoretical introduction, we turn our attention to how to calculate elastic constant C via state-of-the-art DFT calculation. Here, we take the square lattice as an example to show how to calculate the independent elastic constant based on the energystrain approach. It should be noted that the nature of this problem is to solve the linear equation. For the squared lattice, there are 3 independent elastic constants (C 11 , C 12 and C 66 ), which means that we need at least 3 equations to solve this problem. Methods (1) Energy-strain approach: By substituting Equation (14) to Equation (11), the elastic energy can be written as below: Methods To simplify the above equation, a set of deformations needs to be applied. The full set of deformation types that are used in mech2d are listed in Table 1. Table 1. Deformation types that are used in mech2d with Voigt notation. The generic (i-th) Lagrangian strain tensor is represented as a vector: η i = (η 1 , η 2 , 0, 0, 0, η 6 ). In the table, we only list η 1 , η 2 and η 6 . Methods As for the square lattice, the required deformation set is η 1 , η 2 and η 4 . When the biaxial strain η 1 = (η, η, 0) is applied, the above Equation can be simplified as Methods Similarly, C 11 is obtained by using uniaxial strain η 2 = (η, 0, 0): Methods Moreover, C 66 is calculated by using the shear strain η 4 = (0, 0, 2η): Methods To calculate the elastic constant according to the above equation, a series of deformed structures with different Lagrangian strain (e.g., [−η max , . . . , η max ]) will be generated and evaluated by DFT engines to calculate the corresponding strain energy [∆E −η max , . . . , ∆E η max ]. Then, the quadratic coefficients are determined by polynomial fitting of strain energy and Lagrangian strain. Generally speaking, a 4-6-order polynomial fitting with η max = 0.02-0.05 and 9-11 deformed structures is a reasonable setting [15]. Finally, the second-order elastic constants C αβ can be obtained by solving the system of linear equations which consist Equations (18)- (20). Methods One thing that deserves to be noted is that the Lagrangian strain η for 2D materials is defined as Methods and the corresponding physical strain is Methods Once the Lagrangian strain η is defined, the physical strain can be solved iteratively. Furthermore, the lattice vector of deformed structure R can be calculated according to the physical strain and equilibrium lattice vector R by the following equation: Methods So far, we have presented the energy-strain approach that is used for calculating square lattice 2D materials. For other lattice types, the corresponding deformation type can be found in Table 2. Table 2. Lagrangian strain sets used for different 2D Bravais lattices in the energy-strain approach. The deformation list is shown in Table 1. Lattice Type Number of Deformation Deformation Lists (2) Stress-strain approach: In this part, we take the rectangular lattice as an example to demonstrate how to calculate the independent elastic constant based on the stress-strain approach. For the rectangular lattice, there are 4 independent elastic constants (C 11 , C 12 , C 22 and C 66 ), which means that we need at least 4 equations to solve this problem. Similar to the energy-stress approach, by substituting Equation (14) for Equation (12), the generalized Hook law can be written as below: Lattice Type Number of Deformation Deformation Lists It is obviously that for the given τ and η, 3 linear equations can be obtained according to the above matrix equation, which is not enough to calculate the 4 elastic constants. To solve this problem, at least 2 sets of deformations are needed. For the rectangular lattice, the required deformation set is η 2 and η 5 . Therefore, the corresponding equation can be written as Lattice Type Number of Deformation Deformation Lists Furthermore, we may rewrite the above equation as Lattice Type Number of Deformation Deformation Lists where Lattice Type Number of Deformation Deformation Lists The above overdetermined equation can be solved by least square method, namely: Lattice Type Number of Deformation Deformation Lists Likewise, a series of deformed structures (by using Equation (23)) with different Lagrangian strain (e.g., [−η max , . . . , η max ]) will be generated and evaluated by DFT engines to give the corresponding physical stress σ and calculate the Lagrangian stress τ by using Equation (3). Then, the linear coefficients are determined by polynomial fitting of Lagrangian stress and Lagrangian strain. Finally, the second-order elastic constants C αβ can be obtained according to Equation (28). Similarly, the second-order elastic constants C αβ of other lattice type can be calculated by using the corresponding deformation type, which is listed in Table 3. mech2d Design The workflow of the mech2d code is shown in Figure 2. Implemented with Python, mech2d is designed in a loosely coupled mode, which is considered easy to extend and maintain. Specifically, the workflow of mechanical properties calculation is divided into three stages, including: init, run and post. For the init stage, the initialization works are carried out. Firstly, the equilibrium crystal structure is read from the configuration file, such as POSCAR, cif, XSF format and so on. Then, the symmetry of the 2D Bravais lattice will be determined. Finally, the deformed structures will be generated according to the required parameters, including number of deformation, maximum strain amplitude, lattice type and calculation approach. In the run stage, all of the DFT tasks will be submitted to local or remote machine without manually writing the submitting script. As is known, fault tolerance is a key problem for high-throughput calculation. In the mech2d package, the basic errors of VASP during the mechanical properties calculation will be automatically fixed and resubmitted to the server. Once all of the DFT tasks are finished, the calculation results will be collected to working direction from a local or remote machine. In addition, the time-consuming run stage supports the task to restart. Specifically, tasks that are interrupted for external reasons will be submitted automatically, while the tasks that are already finished or still running will not be submitted. For the post stage, an internal DFT validator will be used to check the validity of results. Once passed the results checking, the elastic constant or stress-strain curve will be calculated, and the corresponding results will be output to texts and figures. Based on an object-oriented design rule, the mech2d mainly includes four classes, as detailed below. Elastic class: As the core class of mech2d, the Elastic class is written in mechanics.py file. The Elastic class is used to initialize the mechanical properties calculation, including symmetry detection, Lagrangian strain set selection, Lagrangian strain and physical strain conversion, deformed structure generation and so on. In addition, the postprocessing of mechanical properties calculation is also employed by Elastic class, such as stress-strain fitting and energy-strain fitting. mech2d Design Calculation class: This class focuses on DFT task initialization, running and result parsing. Three files are included in the calculation subfolder, including calculator.py, vasp.py and runtask.py. The Calculator class in the calculator.py file is the base class that defines the basic method that should be implemented in the subclass. The VASP class in the vasp.py file is a subclass of Calculator, which is used to prepare the VASP calculation tasks and to parse the energy and stress from the vasprun.xml file. As for the runtask.py file, it contains the RunTasks class. The RunTasks class is a wrapper of the open-source code dpdispatcher, which is part of our previous work [28] and is used to operate large-scale task management in machine learning potential development. As a key component, the job management framework is employed by custodian, an open-source code that performs error checking, job management and error recovery. mech2d Design Analysis class: This class is used to calculate the main mechanical properties of 2D materials, such as E x , E y , G x y, ν xy , ν yx , orientation-dependent Young's modulus and Poisson's ratio. In addition, the Born stability condition will be calculated according to the lattice type. mech2d Design Plot class: This class is responsible for data visualization, including energy-stress fitting curve, stress-strain fitting curve, stress-strain curve under tensile strength and the polar plot of orientation-dependent Young's modulus and Poisson's ratio. mech2d Design This main features of mech2d are listed below: mech2d Design (1) Easy to install (see below). mech2d Design (2) Loosely coupled mode, which is considered easy to extend and maintain. mech2d Design (3) Support for any symmetry of 2D materials. (4) Support for the popular DFT engine VASP. It can be easily extended to other DFT calculators by implementing the corresponding input writer and output parser. (5) Automatical task submission, error correction and collection on both local or remote machines. Installation Developed by python, the simplest way to install the mech2d is using pip. The mech2d code can be installed by downloading and decompressing the code and then running the following command "pip install." in the source code directory. One thing that deserves to be noted is that three necessary libraries should first be installed, which include the following: Installation • pymatgen. • dpdispatcher. • custodian. Running the Code mech2d provides a user-friendly interface, which can be started via a single line of command. For example, the help information can be obtained by the following command (more details see in the Appendices A and B). After running the above command, the corresponding deformed structures will be generated in the elc_stress folder. Running the Code To run the DFT calculations, the following command can be used: m2d run −a s t r e s s i np ut . yaml Running the Code Here, the input.yaml parameter specifies the input file name. In this file, the machine used to conduct the calculation, the queue system of the machine, the resources of hardware information and DFT code input information are supplied. An example of input.yaml is supplied in the the Appendices A and B. Running the Code To postprocess the mechanical properties calculation, the following command can be used: m2d p o s t −a s t r e s s −− p l o t Then the elastic constant will be calculated and orientation-dependent Young's modulus and Poisson's ratio will be plotted. As an example, we show the direction-dependent Young's modulus and Poisson's ratio of GeSe 2 in Figure 3, which is consistent with previous work [25]. Examples In this section, we present some results of mechanical properties of some typical 2D materials calculated by our mech2d code. There are six test cases in this work, including graphene, MoS 2 , penta-graphene, FeSe, black phosphorene and GeSe 2 . The energies and stresses are calculated by the VASP software package [23,24]. The generalized gradient approximation (GGA) of Perdew, Burke and Ernzerhof (PBE) exchange correlation functional [29] and plane wave basis set are used to describe the valence electrons, with the cutoff set to 520 eV [30]. The energy convergence criteria for static calculation is set to be 1.0 × 10 −5 eV. The geometry optimization is converged when the force on each atom is smaller than 1 × 10 −2 eV· −1 . Table 4 shows the calculation details for these cases in the present work. Table 5 presents the in-plane elastic constants of various 2D materials, including graphene, MoS 2 , penta-graphene, FeSe, alpha-phosphorene and GeSe 2 . The calculation results suggest that the values for the elastic constants reported in this work are consistent with previous studies. For example, in graphene, the values for C 11 and C 12 reported in this work are in good agreement with those reported in refs. [20,25,[31][32][33][34][35]. One thing that deserves to be noted is that there are slight differences in value between our work and references, which may be due to differences in simulation accuracy and methods. Overall, the values for the elastic constants reported in this work are in agreement with previous studies, validating this work. Conclusions In this work, we designed a python-based open-source software, mech2d, for calculating the SOECs and relevant mechanical properties of 2D materials. The package allows the calculation of SOECs with the assistant of the strain-energy approach and the stress-strain approach via first-principles engines. One essential feature of mech2d is its ability to automatically submit and collect tasks from local or remote machines, making it suitable for high-throughput calculations. This is particularly useful for evaluating the mechanical properties of a large number of 2D materials, as it allows for efficient and robust calculations without the need for manual intervention. The effectiveness of mech2d has been demonstrated through its validation on several common 2D materials, including graphene, black phosphorene, GeSe 2 et al. Conclusions The mech2d package represents a valuable resource for researchers in terms of studying the mechanical properties of 2D materials. It provides a method for calculating SOECs and other relevant mechanical properties with high efficiency, and its automation capabilities make it suitable for high-throughput calculations. This can greatly facilitate the understanding and optimization of 2D materials for a wide range of applications, such as electronics, energy storage and structural materials. Further research and development of the mech2d package may result in even greater capabilities and applications in the field of 2D material mechanics.

섹션 본문 53문단 · 20,652자

(제목 없음)

1Two-dimensional (2D) materials have been a research hot topic in the passed decades due to their unique and fascinating properties. Among them, mechanical properties play an important role in their application. However, there lacks an effective tool for high-throughput calculating, analyzing and visualizing the mechanical properties of 2D materials. In this work, we present the mech2d package, a highly automated toolkit for calculating and analyzing the second-order elastic constants (SOECs) tensor and relevant properties of 2D materials by considering their symmetry. In the mech2d, the SOECs can be fitted by both the strain-energy and stress-strain approaches, where the energy or strain can be calculated by a first-principles engine, such as VASP. As a key feature, the mech2d package can automatically submit and collect the tasks from a local or remote machine with robust fault-tolerant ability, making it suitable for high-throughput calculation. The present code has been validated by several common 2D materials, including graphene, black phosphorene, GeSe 2 and so on.

Introduction

2The mechanical properties of 2D materials, such as graphene [1], hexagonal boron nitride [2], transition metal dichalcogenide [3] and phosphorene [4], are crucial for determining their potential applications and performance. These materials have unique mechanical properties, such as proper strength and stiffness [5,6], which make them suitable for a wide range of applications, including electronics [7], energy storage [8], catalyst [9], sensors [10] and magnetic devices [11]. The mechanical behavior of 2D materials can be influenced by various factors, including their structure [12], defects [13] and interfaces with other materials [14]. Accurately characterizing the mechanical properties of 2D materials is therefore essential for understanding and optimizing their performance in different applications. In particular, the second-order elastic constants (SOECs) tensor [15], which describes the material's response to an applied strain, is a key factor in determining the mechanical properties of 2D materials.

3The calculation of SOECs and the relevant mechanical properties of 2D materials via first-principles simulation is a tedious and time-consuming task which requires considering different symmetries of materials and configuring efficient computational resources [16]. Previous research has proposed algorithms and tools, such as ELASTool [17], MECHELAS-TIC [18], ElATools [19] and vaspkit [20], to reduce computational complexity and analyze mechanical properties. However, research gaps still exist in the field of calculating and analyzing the mechanical properties of two-dimensional materials. A clear mathematical principle for SOEC calculation of 2D materials is missing, and the presented tools lack the basic functions for task submission, monitoring, and data collection, which are crucial for high-throughput calculations [21,22]. Therefore, it is important to present mathematical principles of 2D SOECs calculation and develop an automated tool that can quickly and efficiently calculate and analyze SOECs tensor and other relevant mechanical properties of 2D materials.

4In this work, we design mech2d, a highly automated toolkit for the calculation, analysis and visualization of mechanical properties of 2D materials. To be specific, mech2d allows for the calculation of SOECs using both the strain-energy approach and the stressstrain approach, utilizing first-principles engines such as the Vienna ab initio simulation package (VASP) [23,24]. The strain-energy approach (SE) concerns calculating the total energy of the system as a quadratic function of strain, while the stress-strain approach (SS) involves calculating the stress as a linear function of strain. Both approaches can be used to evaluate the mechanical properties of 2D materials. Particularly, mech2d supports automatically submitting and collecting tasks from local or remote machines, making it suitable for high-throughput calculations [21,22]. This is particularly useful for evaluating the mechanical properties of a large number of 2D materials, as it allows for efficient and robust calculations without the need for manual intervention [13]. The effectiveness of mech2d has been demonstrated based on the validation on several common 2D materials, including graphene [1], black phosphorene [4] and GeSe 2 [25] et al.

Methods

5According to the Lagrangian theory of elasticity, solids can be viewed as a homogeneous and isotropic elastic medium [15]. The fundamental relationship between the physical stress tensor σ (in this work, all of the bold font letters present the matrix or vector) and physical strain tensor of the solid crystalline body within the linear regime is connected by generalized Hook's law [15]:

6According to the generalized Hook law, it can be found that the physical stress tensor σ is a linear function of the physical strain tensor , where the proportionality coefficient is the forth-rank elastic tensor C. Generally, it is more convenient to use the Lagrangian stress tensor τ and Lagrangian strain tensor η; the corresponding generalized Hook law also has a similar formula:

7The relationship between Lagrangian stress tensor τ and physical stress σ tensor is defined as

8where, det is the determinant of matrix, I is the 3 × 3 identity matrix and the physical stress tensor σ can be calculated by second-order differentiation of the total energy E:

9where V is the volume of the crystal. The Lagrangian strain tensor η expression is

10As a center physical quantity, the elastic tensor C can be approached in many different ways. From an experimental aspect, an elastic tensor can be obtained based on sound velocity with very high precision. From a theoretical aspect, an elastic constant can be calculated by either the energy-strain or stress-strain approach [26], since most popular DFT engines can calculate energy and stress precisely. According to the Taylor's series, the total energy E of a crystal can be expressed as the summation of a power series of the Lagrangian strain η:

11where E 0 and V 0 are the energy and volume of the equilibrium structure. By using the Voigt notation (xx → 1, yy → 2, zz → 3, yz → 4, xz → 5 and xy → 6) , the Equation (6) can be simplified as

12In a similar way, the Equation (3) can be read as

13Therefore, under the strain-energy approach, the elastic constant C αβ can be expressed as (9) and for the stress-strain approach, the expression is

14As for 2D materials, we assume that the crystal lies in the xy plane; therefore, all of the elements with a subscript including z will be zero. To simplify the formula, we may rewrite total energy E and generalize Hook's law in matrix format:

15and

16As can be seen, the maximum number of independent elastic constants of 2D materials has been reduced to 6, compared with their bulk counterpart of max. 21. Considering that symmetry plays an important role in elastic properties, the number of independent elastic constants of different 2D crystal structure can be further reduced according to their lattice type. Specifically, the independent elastic constants and Born stability conditions for five 2D plan Bravais (see Figure 1) lattices are listed as follow [27]: (1) Hexagonal lattice

17C 11 > 0 and C 66 > 0 and C 11 > |C 12 |

18(3) Rectangular and centered rectangular lattice

19C 11 > 0 and C 66 > 0 and C 11 C 22 > C 2 12 (4) Oblique lattice

20After the theoretical introduction, we turn our attention to how to calculate elastic constant C via state-of-the-art DFT calculation. Here, we take the square lattice as an example to show how to calculate the independent elastic constant based on the energystrain approach. It should be noted that the nature of this problem is to solve the linear equation. For the squared lattice, there are 3 independent elastic constants (C 11 , C 12 and C 66 ), which means that we need at least 3 equations to solve this problem.

21(1) Energy-strain approach: By substituting Equation (14) to Equation (11), the elastic energy can be written as below:

22To simplify the above equation, a set of deformations needs to be applied. The full set of deformation types that are used in mech2d are listed in Table 1. Table 1. Deformation types that are used in mech2d with Voigt notation. The generic (i-th) Lagrangian strain tensor is represented as a vector: η i = (η 1 , η 2 , 0, 0, 0, η 6 ). In the table, we only list η 1 , η 2 and η 6 .

23As for the square lattice, the required deformation set is η 1 , η 2 and η 4 . When the biaxial strain η 1 = (η, η, 0) is applied, the above Equation can be simplified as

24Similarly, C 11 is obtained by using uniaxial strain η 2 = (η, 0, 0):

25Moreover, C 66 is calculated by using the shear strain η 4 = (0, 0, 2η):

26To calculate the elastic constant according to the above equation, a series of deformed structures with different Lagrangian strain (e.g., [−η max , . . . , η max ]) will be generated and evaluated by DFT engines to calculate the corresponding strain energy [∆E −η max , . . . , ∆E η max ]. Then, the quadratic coefficients are determined by polynomial fitting of strain energy and Lagrangian strain. Generally speaking, a 4-6-order polynomial fitting with η max = 0.02-0.05 and 9-11 deformed structures is a reasonable setting [15]. Finally, the second-order elastic constants C αβ can be obtained by solving the system of linear equations which consist Equations (18)- (20).

27One thing that deserves to be noted is that the Lagrangian strain η for 2D materials is defined as

28and the corresponding physical strain is

29Once the Lagrangian strain η is defined, the physical strain can be solved iteratively. Furthermore, the lattice vector of deformed structure R can be calculated according to the physical strain and equilibrium lattice vector R by the following equation:

30So far, we have presented the energy-strain approach that is used for calculating square lattice 2D materials. For other lattice types, the corresponding deformation type can be found in Table 2. Table 2. Lagrangian strain sets used for different 2D Bravais lattices in the energy-strain approach. The deformation list is shown in Table 1.

Lattice Type Number of Deformation Deformation Lists

31(2) Stress-strain approach: In this part, we take the rectangular lattice as an example to demonstrate how to calculate the independent elastic constant based on the stress-strain approach. For the rectangular lattice, there are 4 independent elastic constants (C 11 , C 12 , C 22 and C 66 ), which means that we need at least 4 equations to solve this problem. Similar to the energy-stress approach, by substituting Equation (14) for Equation (12), the generalized Hook law can be written as below:

32It is obviously that for the given τ and η, 3 linear equations can be obtained according to the above matrix equation, which is not enough to calculate the 4 elastic constants. To solve this problem, at least 2 sets of deformations are needed. For the rectangular lattice, the required deformation set is η 2 and η 5 . Therefore, the corresponding equation can be written as

33Furthermore, we may rewrite the above equation as

34where

35The above overdetermined equation can be solved by least square method, namely:

36Likewise, a series of deformed structures (by using Equation (23)) with different Lagrangian strain (e.g., [−η max , . . . , η max ]) will be generated and evaluated by DFT engines to give the corresponding physical stress σ and calculate the Lagrangian stress τ by using Equation (3). Then, the linear coefficients are determined by polynomial fitting of Lagrangian stress and Lagrangian strain. Finally, the second-order elastic constants C αβ can be obtained according to Equation (28). Similarly, the second-order elastic constants C αβ of other lattice type can be calculated by using the corresponding deformation type, which is listed in Table 3.

mech2d Design

37The workflow of the mech2d code is shown in Figure 2. Implemented with Python, mech2d is designed in a loosely coupled mode, which is considered easy to extend and maintain. Specifically, the workflow of mechanical properties calculation is divided into three stages, including: init, run and post. For the init stage, the initialization works are carried out. Firstly, the equilibrium crystal structure is read from the configuration file, such as POSCAR, cif, XSF format and so on. Then, the symmetry of the 2D Bravais lattice will be determined. Finally, the deformed structures will be generated according to the required parameters, including number of deformation, maximum strain amplitude, lattice type and calculation approach. In the run stage, all of the DFT tasks will be submitted to local or remote machine without manually writing the submitting script. As is known, fault tolerance is a key problem for high-throughput calculation. In the mech2d package, the basic errors of VASP during the mechanical properties calculation will be automatically fixed and resubmitted to the server. Once all of the DFT tasks are finished, the calculation results will be collected to working direction from a local or remote machine. In addition, the time-consuming run stage supports the task to restart. Specifically, tasks that are interrupted for external reasons will be submitted automatically, while the tasks that are already finished or still running will not be submitted. For the post stage, an internal DFT validator will be used to check the validity of results. Once passed the results checking, the elastic constant or stress-strain curve will be calculated, and the corresponding results will be output to texts and figures. Based on an object-oriented design rule, the mech2d mainly includes four classes, as detailed below. Elastic class: As the core class of mech2d, the Elastic class is written in mechanics.py file. The Elastic class is used to initialize the mechanical properties calculation, including symmetry detection, Lagrangian strain set selection, Lagrangian strain and physical strain conversion, deformed structure generation and so on. In addition, the postprocessing of mechanical properties calculation is also employed by Elastic class, such as stress-strain fitting and energy-strain fitting.

38Calculation class: This class focuses on DFT task initialization, running and result parsing. Three files are included in the calculation subfolder, including calculator.py, vasp.py and runtask.py. The Calculator class in the calculator.py file is the base class that defines the basic method that should be implemented in the subclass. The VASP class in the vasp.py file is a subclass of Calculator, which is used to prepare the VASP calculation tasks and to parse the energy and stress from the vasprun.xml file. As for the runtask.py file, it contains the RunTasks class. The RunTasks class is a wrapper of the open-source code dpdispatcher, which is part of our previous work [28] and is used to operate large-scale task management in machine learning potential development. As a key component, the job management framework is employed by custodian, an open-source code that performs error checking, job management and error recovery.

39Analysis class: This class is used to calculate the main mechanical properties of 2D materials, such as E x , E y , G x y, ν xy , ν yx , orientation-dependent Young's modulus and Poisson's ratio. In addition, the Born stability condition will be calculated according to the lattice type.

40Plot class: This class is responsible for data visualization, including energy-stress fitting curve, stress-strain fitting curve, stress-strain curve under tensile strength and the polar plot of orientation-dependent Young's modulus and Poisson's ratio.

41This main features of mech2d are listed below:

42(1) Easy to install (see below).

43(2) Loosely coupled mode, which is considered easy to extend and maintain.

44(3) Support for any symmetry of 2D materials. (4) Support for the popular DFT engine VASP. It can be easily extended to other DFT calculators by implementing the corresponding input writer and output parser. (5) Automatical task submission, error correction and collection on both local or remote machines.

Installation

45Developed by python, the simplest way to install the mech2d is using pip. The mech2d code can be installed by downloading and decompressing the code and then running the following command "pip install." in the source code directory. One thing that deserves to be noted is that three necessary libraries should first be installed, which include the following:

46• pymatgen. • dpdispatcher. • custodian.

Running the Code

47mech2d provides a user-friendly interface, which can be started via a single line of command. For example, the help information can be obtained by the following command (more details see in the Appendices A and B). After running the above command, the corresponding deformed structures will be generated in the elc_stress folder.

48To run the DFT calculations, the following command can be used: m2d run −a s t r e s s i np ut . yaml

49Here, the input.yaml parameter specifies the input file name. In this file, the machine used to conduct the calculation, the queue system of the machine, the resources of hardware information and DFT code input information are supplied. An example of input.yaml is supplied in the the Appendices A and B.

50To postprocess the mechanical properties calculation, the following command can be used: m2d p o s t −a s t r e s s −− p l o t Then the elastic constant will be calculated and orientation-dependent Young's modulus and Poisson's ratio will be plotted. As an example, we show the direction-dependent Young's modulus and Poisson's ratio of GeSe 2 in Figure 3, which is consistent with previous work [25].

Examples

51In this section, we present some results of mechanical properties of some typical 2D materials calculated by our mech2d code. There are six test cases in this work, including graphene, MoS 2 , penta-graphene, FeSe, black phosphorene and GeSe 2 . The energies and stresses are calculated by the VASP software package [23,24]. The generalized gradient approximation (GGA) of Perdew, Burke and Ernzerhof (PBE) exchange correlation functional [29] and plane wave basis set are used to describe the valence electrons, with the cutoff set to 520 eV [30]. The energy convergence criteria for static calculation is set to be 1.0 × 10 −5 eV. The geometry optimization is converged when the force on each atom is smaller than 1 × 10 −2 eV· −1 . Table 4 shows the calculation details for these cases in the present work. Table 5 presents the in-plane elastic constants of various 2D materials, including graphene, MoS 2 , penta-graphene, FeSe, alpha-phosphorene and GeSe 2 . The calculation results suggest that the values for the elastic constants reported in this work are consistent with previous studies. For example, in graphene, the values for C 11 and C 12 reported in this work are in good agreement with those reported in refs. [20,25,[31][32][33][34][35]. One thing that deserves to be noted is that there are slight differences in value between our work and references, which may be due to differences in simulation accuracy and methods. Overall, the values for the elastic constants reported in this work are in agreement with previous studies, validating this work.

Conclusions

52In this work, we designed a python-based open-source software, mech2d, for calculating the SOECs and relevant mechanical properties of 2D materials. The package allows the calculation of SOECs with the assistant of the strain-energy approach and the stress-strain approach via first-principles engines. One essential feature of mech2d is its ability to automatically submit and collect tasks from local or remote machines, making it suitable for high-throughput calculations. This is particularly useful for evaluating the mechanical properties of a large number of 2D materials, as it allows for efficient and robust calculations without the need for manual intervention. The effectiveness of mech2d has been demonstrated through its validation on several common 2D materials, including graphene, black phosphorene, GeSe 2 et al.

53The mech2d package represents a valuable resource for researchers in terms of studying the mechanical properties of 2D materials. It provides a method for calculating SOECs and other relevant mechanical properties with high efficiency, and its automation capabilities make it suitable for high-throughput calculations. This can greatly facilitate the understanding and optimization of 2D materials for a wide range of applications, such as electronics, energy storage and structural materials. Further research and development of the mech2d package may result in even greater capabilities and applications in the field of 2D material mechanics.

참고문헌 33건

  1. AiiDA: automated interactive infrastructure and database for computational science Computational Materials Science · Elsevier BV · 2015 10.1016/j.commatsci.2015.09.013
  2. Nonlinear elastic behavior of graphene:<i>Ab initio</i>calculations to continuum description Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.205407
  3. Charting the complete elastic properties of inorganic crystalline compounds Scientific Data · Nature Portfolio · 2015 10.1038/sdata.2015.9
  4. Projector augmented-wave method Physical review. B, Condensed matter · American Physical Society · 1994 10.1103/physrevb.50.17953
  5. Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
  6. Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set Computational Materials Science · Elsevier BV · 1996 10.1016/0927-0256(96)00008-0
  7. Measurement of the Elastic Properties and Intrinsic Strength of Monolayer Graphene Science · American Association for the Advancement of Science · 2008 10.1126/science.1157996
  8. Superior mechanical flexibility of phosphorene and few-layer black phosphorus Applied Physics Letters · American Institute of Physics · 2014 10.1063/1.4885215
  9. Electro-mechanical anisotropy of phosphorene Nanoscale · Royal Society of Chemistry · 2015 10.1039/c5nr00355e
  10. Penta-graphene: A new carbon allotrope Proceedings of the National Academy of Sciences · National Academy of Sciences · 2015 10.1073/pnas.1416591112
  11. Electric Field Effect in Atomically Thin Carbon Films Science · American Association for the Advancement of Science · 2004 10.1126/science.1102896
  12. Efficient iterative schemes for<i>ab initio</i>total-energy calculations using a plane-wave basis set Physical review. B, Condensed matter · American Physical Society · 1996 10.1103/physrevb.54.11169
  13. Large-Area Synthesis of High-Quality and Uniform Graphene Films on Copper Foils Science · American Association for the Advancement of Science · 2009 10.1126/science.1171245
  14. Van der Waals heterostructures Nature · Nature Portfolio · 2013 10.1038/nature12385
  15. Electronics and optoelectronics of two-dimensional transition metal dichalcogenides Nature Nanotechnology · Nature Portfolio · 2012 10.1038/nnano.2012.193
  16. Intrinsic and extrinsic performance limits of graphene devices on SiO2 Nature Nanotechnology · Nature Portfolio · 2008 10.1038/nnano.2008.58
  17. Phosphorene: An Unexplored 2D Semiconductor with a High Hole Mobility ACS Nano · American Chemical Society · 2014 10.1021/nn501226z
  18. ElaStic: A tool for calculating second-order elastic constants from first principles Computer Physics Communications · Elsevier BV · 2013 10.1016/j.cpc.2013.03.010
  19. A high-throughput infrastructure for density functional theory calculations Computational Materials Science · Elsevier BV · 2011 10.1016/j.commatsci.2011.02.023
  20. Catalysis with two-dimensional materials and their heterostructures Nature Nanotechnology · Nature Portfolio · 2016 10.1038/nnano.2015.340
  21. A review on mechanics and mechanical properties of 2D materials—Graphene and beyond Extreme Mechanics Letters · Elsevier BV · 2017 10.1016/j.eml.2017.01.008
  22. ψ-Phosphorene: a new allotrope of phosphorene Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2016 10.1039/c6cp07944j
  23. Two-dimensional heterostructures for energy storage Nature Energy · Nature Portfolio · 2017 10.1038/nenergy.2017.89
  24. 2D transition metal dichalcogenides Nature Reviews Materials · Nature Portfolio · 2017 10.1038/natrevmats.2017.33
  25. The Computational 2D Materials Database: high-throughput modeling and discovery of atomically thin crystals 2D Materials · IOP Publishing · 2018 10.1088/2053-1583/aacfc1
  26. Comment on ‘The Computational 2D Materials Database: high-throughput modeling and discovery of atomically thin crystals’ 2D Materials · IOP Publishing · 2019 10.1088/2053-1583/ab2ef3
  27. DP-GEN: A concurrent learning platform for the generation of reliable deep learning based potential energy models Computer Physics Communications · Elsevier BV · 2020 10.1016/j.cpc.2020.107206
  28. 2D materials for spintronic devices npj 2D Materials and Applications · Nature Portfolio · 2020 10.1038/s41699-020-0152-0
  29. VASPKIT: A user-friendly interface facilitating high-throughput computing and analysis using VASP code Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108033
  30. MechElastic: A Python library for analysis of mechanical and elastic properties of bulk and 2D materials Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108068
  31. Two-Dimensional Auxetic GeSe<sub>2</sub> Material with Ferroelasticity and Flexoelectricity The Journal of Physical Chemistry C · American Chemical Society · 2021 10.1021/acs.jpcc.1c06462
  32. ElasTool: An automated toolkit for elastic constants calculation Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108180
  33. ElTools: A tool for analyzing anisotropic elastic properties of the 2D and 3D materials Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108195