Higher-order finite-difference formulation of periodic Orbital-free Density Functional Theory
화학·수지 · (21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.1016/j.jcp.2015.12.027
- 저널
- Journal of Computational Physics
- 발행년도
- 2015
- 발행기관
- Elsevier BV
- 피인용수
- 48
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.jcp.2015.12.027
- 토픽
- Chemical and Physical Properties of Materials
- OpenAlex ID
- W1752517290
평가 내용
- 관련도
- 사업분야
- 화학·수지 · (21) 에폭시수지
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- LLM(gemma-4-26b-a4b-it) 평가로 '화학·수지 > 에폭시수지' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 74,290자
본문 펼치기
섹션 본문 96문단 · 38,382자
(제목 없음)
1We present a real-space formulation and higher-order finite-difference implementation of periodic Orbitalfree Density Functional Theory (OF-DFT). Specifically, utilizing a local reformulation of the electrostatic and kernel terms, we develop a generalized framework suitable for performing OF-DFT simulations with different variants of the electronic kinetic energy. In particular, we develop a self-consistent field (SCF) type fixed-point method for calculations involving linear-response kinetic energy functionals. In doing so, we make the calculation of the electronic ground-state and forces on the nuclei amenable to computations that altogether scale linearly with the number of atoms. We develop a parallel implementation of this formulation using the finite-difference discretization, using which we demonstrate that higher-order finite-differences can achieve relatively large convergence rates with respect to mesh-size in both the energies and forces. Additionally, we establish that the fixed-point iteration converges rapidly, and that it can be further accelerated using extrapolation techniques like Anderson's mixing. We validate the accuracy of our results by comparing the energies and forces with plane-wave methods for selected examples, one of which is the vacancy formation energy in Aluminum. Overall, we demonstrate that the proposed formulation and implementation is an attractive choice for performing OF-DFT calculations.can be represented as
Introduction
2Kohn-Sham Density Functional Theory (DFT) [1,2] has a relatively high accuracy/cost ratio, which makes it a popular electronic structure theory for predicting material properties and behavior. In DFT, the system of interacting electrons is replaced with a system of non-interacting electrons moving in an effective potential [3,4]. The electronic ground-state in DFT is typically determined by solving for the Kohn-Sham orbitals, the number of which is commensurate with the size of the system, i.e. number of electrons [4,5]. Since these orbitals need to be orthonormal, the overall solution procedure scales cubically with the number of atoms [4,5]. In order to overcome this restrictive scaling, significant research has focused on the development of linear-scaling methods [6,7]. Nearly all of these approaches, in one form or the other, employ the decay of the density matrix [8] in conjunction with truncation to achieve linear-scaling [6,7]. However, an efficient linear-scaling algorithm for metallic systems still remains an open problem [9].
3Orbital-free DFT (OF-DFT) represents a simplified version of DFT, wherein the electronic kinetic energy is modeled using a functional of the electron density [10]. Commonly used kinetic energy functionals include the Thomas-Fermi-von Weizsacker (TFW) [11,12,13], Wang-Teter (WT) [14] and Wang, Govind & Carter (WGC) [15,16] functionals. Amongst these, the WT and WGC energies are designed so as to match the linear-response of a homogeneous electron gas [10]. Previous studies have shown that OF-DFT is able to provide an accurate description of systems whose electronic structure resembles a free-electron gas e.g. Aluminum and Magnesium [17,18,19]. There have been recent efforts to extend the applicability of OF-DFT to covalently bonded materials [20] as well as molecular systems [21]. In essence, OF-DFT can be viewed as a 'single-orbital' version of DFT, wherein the cubic-scaling bottleneck arising from orthogonalization is no longer applicable. In addition to this, OF-DFT possesses an extremely favorable scaling with respect to temperature compared to DFT [22,23]. Overall, OF-DFT has the potential to enable electronic structure calculations for system sizes that are intractable for DFT.
4The plane-wave basis is attractive for performing OF-DFT calculations [14,24,25] because of the spectral convergence with increasing basis size and the efficient evaluation of convolutions using the Fast Fourier Transform (FFT) [26]. However, the development of implementations which can efficiently utilize modern large-scale, distributed-memory computer architectures is particularly challenging. Further, evaluation of the electrostatic terms within the plane-wave basis typically scales quadratically with the number of atoms [27]. In view of this, recent efforts have been directed towards developing real-space approaches for OF-DFT, including finite-differences [28] and finite-elements [29,30]. Amongst these, the finite-element method provides the flexibility of an adaptive discretization. This attribute has been employed to perform allelectron calculations [29,30] and to develop a coarse-grained formulation of OF-DFT for studying crystal defects [31]. However, higher-order finite-differences -which have been shown to be extremely efficient in non-periodic OF-DFT with the TFW kinetic energy functional [28] -remain unexplored in the context of periodic OF-DFT simulations, particularly when linear-response kinetic energy functionals like WT and WGC are employed.
5The electronic ground state in OF-DFT can be expressed as the solution of a non-linear, constrained minimization problem [32,33,34,35,29,28]. The approaches which have previously been employed to solve this problem include variants of conjugate-gradient [24,29,36,28] and Newton [24,32,30] methods. In these approaches, the techniques used to enforce the constraints include Lagrange multipliers [37,30], the penalty method [29] and the Augmented-Lagrangian method [28]. In this work, we present a local real-space formulation and implementation of periodic OF-DFT. In particular, we develop a fixed-point iteration with respect to the kernel potential for simulations involving linear-response kinetic energy functionals. We develop a parallel implementation of the proposed method in the framework of higher-order finite-differences. We demonstrate the robustness, efficiency and accuracy of the proposed approach through selected examples, the results of which are compared against existing plane-wave methods. The remainder of this paper is organized as follows. We introduce OF-DFT in Section 2 and discuss its real-space formulation in Section 3. Subsequently, we describe the numerical implementation in Section 4, which we validate through examples in Section 5. Finally, we conclude in Section 6.
Orbital-free Density Functional Theory
6Consider a charge neutral system of M a atoms and N e electrons in a cuboidal domain Ω under periodic boundary conditions. Let R = {R 1 , R 2 , . . . , R Ma } denote the positions of the nuclei with charges Z = {Z 1 , Z 2 , . . . , Z Ma } respectively. The energy of this system as described by OF-DFT is [3]
7where u = √ ρ, ρ being the electron density. Introducing the parameters λ and µ ∈ {0, 1} so that different variants of the electronic kinetic energy T s (u) can be encompassed within a single expression, we can write
8where T T F (u) is the Thomas-Fermi energy [11,12], T vW (u) is the von Weizsacker [13] term and T LR (u) is a non-local kernel energy incorporated to make the kinetic energy satisfy the linear-response of a homogeneous electron gas [10]. They can be represented as
9where α and β are parameters, and the constant C F = 3 10 (3π 2 ) 2 3 . On the one hand, the Thomas-Fermi-von Weizsacker (TFW) family of functionals with the adjustable parameter λ is obtained by setting µ = 0 [3]. On the other hand, kinetic energy functionals which satisfy the Lindhard susceptibility function are obtained by setting µ = λ = 1 with appropriate choices of α, β and the kernel K(|x − x ′ |, ρ(x), ρ(x ′ )) [10]. In particular, the Wang & Teter (WT) functional [14] utilizes a density independent kernel, whereas the Wang, Govind & Carter (WGC) functional [15,16] employs a density dependent kernel. It is common to perform a Taylor series expansion of the density dependent kernel K(|x − x ′ |, ρ(x), ρ(x ′ )) about the average electron densityρ [16]. On doing so, we arrive at
10where L is the order of the expansion, the coefficients
11and the kernels
12The second term in Eqn. 1 is referred to as the exchange-correlation energy. It is generally modeled in OF-DFT using the local density approximation (LDA) [2]:
13where ε xc (u) = ε x (u) + ε c (u) is the sum of the exchange and correlation per particle of a uniform electron gas of density ρ = u 2 . Employing the Perdew-Zunger [38] parameterization of the correlation energy calculated by Ceperley-Alder [39], the exchange and correlation functionals can be represented as
14where r s = ( 3 4πu 2 ) 1/3 , and the constants γ 1 = −0.1423, β 1 = 1.0529, β 2 = 0.3334, A 1 = 0.0311, B 1 = −0.048, C 1 = 0.002 and D 1 = −0.0116.
15The final three terms in Eqn. 1 represent electrostatic energies [5]. In periodic systems, they can be expressed as
16where the summation over I and J Ω signifies all atoms in R 3 and Ω respectively. The Hartree energy E H (u) is the classical interaction energy of the electron density, V I (x, R I ) is the potential due to the nucleus positioned at R I , E ext (u, R) is the interaction energy between the electron density and the nuclei, and E zz (R) is the repulsion energy between the nuclei. The ground state of the system in OF-DFT is given by the variational problem [33,29,32,35,28]
17where X is some appropriate space of periodic functions and
18represents the constraint on the total number of electrons. The inequality constraint u ≥ 0 is to ensure that u is nodeless, i.e. does not possess a zero crossing. In this work, we focus on developing a local formulation and higher-order finite-difference implementation for determining the ground-state in periodic OF-DFT simulations.
Real-space formulation
19In this section, we develop a periodic OF-DFT formulation that is amenable to a linear-scaling real-space implementation. First, we present a local description of the kernel energy and potential in Section 3.1. Next, we discuss rewriting of the electrostatic terms into a local form in Section 3.2. Finally, we incoporate these local representations into a framework for determining the OF-DFT ground-state in Section 3.3.
Local reformulation of the kernel energy and potential
20In simulations where linear-response kinetic energy functionals are employed, the kernel energy T LR (u) as well as the kernel potential
21are inherently non-local in real-space. In order to enable a linear-scaling implementation, we start by defining
22After approximating the kernels K mn (|x − x ′ |) in Fourier space using rational functions [40], we arrive at
23where V mnqβr (x) and V mnpαr (x) are solutions of the Helmholtz equations
24under periodic boundary conditions and appropriate choice of complex constants P mnr and Q mnr . Above,
25Thereafter, the kernel potential V LR (x) and the corresponding kernel energy T LR (u) can be calculated in linear-scaling fashion using the expressions
26where V mnqβr (x) and V mnpαr (x) are solutions of the Helmholtz equations given in Eqns. 22 and 23 respectively.
Local reformulation of the electrostatics
27The electrostatic terms given in Eqns. 12, 13 and 14 are non-local in real-space. Further, they are individually divergent in periodic systems. To overcome this, we introduce the charge density of the nuclei [41,29,42,43,44,28]:
28where b J (x, R J ) is the charge density of the J th nucleus, and the summation over J extends to all atoms in R 3 . In OF-DFT calculations, it is common to remove the core electrons and replace the singular Coulomb potential with an effective potential V J (x, R J ), referred to as the pseudopotential approximation [45]. The absence of orbitals in OF-DFT requires that the pseudopotential be local, i.e. V J (x, R J ) depends only on the distance from the nucleus. Since the pseudopotential replicates the Coulomb potential outside the core cutoff radius r c , b J (x, R J ) has a compact support within a ball of radius r c centered at R J [41,28]. In this framework, it follows that
29Using the above definition for the charge density of the nuclei, we can rewrite the total electrostatic energy as the following variational problem
30where φ(x) is the electrostatic potential, Y is some appropriate space of periodic functions, the second last term accounts for the self energy of the nuclei and the last term corrects for overlapping charge density of nuclei. A detailed discussion on the nature of E * c (R) and its evaluation can be found in Appendix B. With this reformulation of the total electrostatic energy, we arrive at the variational problem
31where the functional
OF-DFT ground-state
32In the above described framework, the variational problem for determining the ground-state in OF-DFT can be written as
33where
34Through this decomposition, the ground-state can be ascertained by solving the electronic structure problem in Eqn. 34 for every configuration of the nuclei encountered during the geometry optimization described by Eqn. 33. Below, we discuss local real-space approaches for each of these variational problems.
Electronic structure problem
35Consider the variational problem in Eqn. 34 for determining the electronic ground-state. On taking the first variation, we arrive at the Euler-Lagrange equation
36where η is a Lagrange multiplier used to enforce the constraint
37under periodic boundary conditions and
38In the above equation, V xc (x) is the exchange-correlation potential with
39being the exchange and correlation potentials respectively. Even though the notation does not make it explicit, the dependence of H on u makes Eqn. 35 a non-linear problem. Also, since
40the Poisson equation in Eqn. 36 with periodic boundary conditions is a well-posed problem. The electronic ground-state can be determined by solving the non-linear eigenvalue problem in Eqn. 35 for the eigenfunction corresponding to the lowest eigenvalue. Irrespective of the technique and choice of kinetic energy functional, φ(x) needs to be recalculated for every update in u(x). Additionally, when linear-response kinetic energy functionals are employed, V LR (x) needs to be reevaluated every time u(x) is updated. Therefore, the solution of Eqn. 35 requires the repeated solution of the Poisson equation in Eqn. 36 and the complex-valued non-Hermitian Helmholtz equations in Eqns. 22 and 23. In view of this, the self-consistent field method (SCF) [46] commonly employed in DFT calculations is an attractive choice because of the relatively few iterations that are typically required for convergence. However, we have found such an approach to be unstable for both the TFW and WGC kinetic energy functionals, especially as the system size is increased. Since the number of Helmholtz equations that need to be solved to determine V LR (x) can be significantly large in practice (e.g. fifty-two in this work), they are expected to completely dominate the execution time. In order to mitigate this, we present below a fixed-point method with respect to V LR (x) to determine the electronic ground-state [47]. This is similar in spirit to the SCF method , and is found to converge rapidly, as demonstrated by the examples in Section 5.
41In simulations which employ linear-response kinetic energy functionals, we define a fixed-point problem of the form
42where the mappings
43and
44In the above expression, V mnqβr (x) and V mnpαr (x) are solutions to the Helmholtz equations given in Eqns. 22 and 23 respectively. We note that the Euler-Lagrange equations of the variational problem in Eqn. 43 and the OF-DFT electronic structure problem in Eqn. 34 are identical. It follows that the solution of the fixed-point problem will correspond to the ground-state kernel potential V * LR (x) and ground-state squareroot electron density u * (x). In order to solve this fixed-point problem, we treat it as a non-linear equation and adopt an iteration of the form [46,48]
45where the index k represents the iteration number and C k is appropriately chosen to ensure/accelerate convergence. Once the fixed-point V * LR (x) has been determined, u * (x) can be calculated by solving Eqn. 43 for V LR (x) = V * LR (x). In Fig. 1, we present a flowchart that outlines the aforedescribed fixed-point approach. It is worth noting that for the choice of TFW kinetic energy functional (µ = 0), the solution of Eqn. 43 immediately provides the electronic ground-state.
46After determining the electronic ground-state square-root electron density u * (x), the corresponding energy can be evaluated using the expression
47where V * mnqβr (x), V * mnpαr (x) and φ * (x) are solutions of Eqns. 22, 23 and 36 respectively for u(x) = u * (x).
48Solve the Helmholtz equations:
49Eqs. 31 and 32 Figure 1: Fixed-point iteration for determining the electronic ground state when using linear-response kinetic energy functionals. The functionalÊ(u, R,
Geometry optimization: forces on nuclei
50Consider the minimization problem in Eqn. 33 for determining the equilibrium configuration of the atoms. During this geometry optimization, the forces on the nuclei can be determined using the relation
51where f J denotes the force on the J th nucleus and the summation over J ′ signifies the J th atom and its periodic images. Additionally, φ * (x) is the solution of the Poisson equation in Eqn. 36 for
52corrects for the error in forces due to overlapping charge density of nuclei. The expression for this correction has been derived in Appendix B. The last equality in Eqn. 47 is obtained by using the spherical symmetry
53has compact support in a ball of radius r c centered at R J ′ , only a finite number of periodic images of the J th atom have an overlap with Ω. Therefore, similar to the calculation of the electronic ground state, evaluation of the forces on the nuclei is amenable to a linear-scaling real-space implementation.
Numerical Implementation
54In this section, we describe a higher-order finite-difference implementation of the formulation presented in the previous section. We restrict our computation to a cuboidal domain Ω of sides L 1 , L 2 and L 3 . We generate a uniform finite-difference grid with spacing h such that L 1 = n 1 h, L 2 = n 2 h and L 3 = n 3 h, where n 1 , n 2 and n 3 are natural numbers. We index the grid points by (i, j, k), where i = 1, 2, . . . , n 1 , j = 1, 2, . . . , n 2 and k = 1, 2, . . . , n 3 . We approximate the Laplacian of any function f (x) at the grid point (i, j, k) using higher-order finite-differences [49]
55where f (i,j,k) represents the value of the function f (x) at the grid point (i, j, k). The weights w p are given by [50,51,28]
56Similarly, we approximate the gradient at the grid point (i, j, k) using higher-order finite-differences
57whereê 1 ,ê 2 andê 3 represent unit vectors along the edges of the cuboidal domain Ω. The weightsw p are given by [50,51,28]
58These finite-difference expressions for the Laplacian and gradient represent 2N order accurate approximations, i.e. error is O(h 2N ). While performing spatial integrations, we assume that the function f (x) is constant in a cube of side h around each grid point i.e.
59We enforce periodic boundary conditions on Ω by employing the following strategy. In the finite-difference representations of the Laplacian and gradient as presented in Eqns. 49 and 51 respectively, we map any index that does not correspond to a node in the finite-difference grid to its periodic image within Ω.
60We start with precomputed radially-symmetric and compactly-supported isolated-atom electron densities for each type of atom. We superimpose these isolated-atom electron densities for the initial configuration of the nuclei, and scale the resulting electron density such that the constraint on the total number of electrons is satisfied. We take the pointwise square-root of the electron density so obtained as the starting guess u (i,j,k) 0 . During the aforedescribed calculation, we only visit atoms whose isolated-atom electron densities have non-zero overlap with Ω. Similarly, for every new configuration of atoms encountered during the geometry optimization, we calculate the charge density of the nuclei using the relations
61where the summation reduces to all atoms whose charge density has non-zero overlap with Ω. The localized nature of the above operations ensures that the evaluation of u (i,j,k) 0 and b (i,j,k) scales linearly with the number of atoms.
62We solve the variational problem in Eqn. 43 using a conjugate gradient method that was originally developed for DFT [52,53] and later adopted in simplified form for OF-DFT [14,54,24]. Specifically, we utilize the Polak-Ribiere update [55] with Brent's method [56] for the line-search. We refer the reader to Appendix C for further details on the algorithm implemented in this work. For every update in the square-root electron density, we solve the Poisson equation in Eqn. 36 under periodic boundary conditions using the Generalized minimal residual method (GMRES) [57] with the block-Jacobi preconditioner [58]. Since the solution so obtained is accurate to within an indeterminate constant, we enforce the condition Ω φ(x) dx = 0 for definiteness. In every subsequent Poisson equation encountered, we use the previous solution as starting guess. For the complex-valued Helmholtz equations in Eqns. 22 and 23, we first separate out each equation into its real and imaginary parts. Then we solve the resulting coupled equations simultaneously under periodic boundary conditions using the GMRES method with block-Jacobi preconditioners. In every iteration of the fixed-point method, we use the solution of the Helmholtz equations from the previous iteration as the starting guess. We accelerate the convergence of the fixed-point iteration by utilizing Anderson mixing [59], details of which can be found in Appendix D.
63Once the electronic ground-state square-root electron density has been determined, the energy and forces are evaluated using Eqns. 46 and 47 respectively. While doing so, we restrict the summation over the periodic images to atoms whose charge density has non-zero overlap with Ω. We solve for the equilibrium configuration of the atoms by using the conjugate gradient method with the Polak-Ribiere update and secant line search [55]. We have developed a parallel implementation of the proposed approach using the Portable, Extensible Toolkit for scientific computations (PETSc) [60,61] suite of data structures and routines. Within PETSc, we have utilized distributed arrays with the star-type stencil option. The communication between the processors is handled via the Message Passing Interface (MPI) [62].
Examples and Results
64In this section, we validate the proposed formulation and higher-order finite-difference implementation of periodic OF-DFT through selected examples. We shall refer to the implementation developed in this work as RS-FD, which is an acronym for Real-Space Finite-Differences. In all the simulations, we employ the Goodwin-Needs-Heine pseudopotential [63] and wherever applicable, we compare our results with the plane-wave code PROFESS [24,25]. We choose λ = 1 5 for the TFW functional, and λ = 1, L = 2, R = 4, α = 5 6 + √ 5 6 and β = 5 6 − √ 5 6 for the WGC functional. Within PROFESS, we utilize a plane-wave energy cutoff of E cut = 1200 eV, which results in energies and forces that are converged to within 1 × 10 −6 eV/atom and 6 × 10 −4 eV/Bohr respectively. Unless specified otherwise, we use sixth-order accurate finitedifferences and a mesh size h = 0.5 Bohr within RS-FD, which results in energies and forces that are converged to within 0.006 eV/atom and 0.007 eV/Bohr respectively.
Convergence of energy with spatial discretization
65We start by verifying convergence of the computed energy with respect to the finite-difference approximation. We choose a FCC unit cell of Aluminum with lattice constant a = 8.0 Bohr as the representative example. We evaluate the energy of this system as a function of mesh size h for the TFW and WGC kinetic energy functionals while utilizing second and sixth order accurate finite-differences. Anticipating polynomial convergence with respect to h, we fit the data to a power law of the form
66where the prefactor C E , convergence rate p, and estimate of the h → 0 energy E c are the parameters to be fitted. We present the results so obtained in Table 1, and verify the quality of the fit in Fig. 2. In this plot, we have utilized E c as the reference value and h 0 = 0.08 Bohr to normalize the mesh size. When the electronic kinetic energy is modeled using the TFW functional, sixth-order accurate finitedifferences is able to achieve significantly higher rates of convergence compared to second-order finitedifferences. In fact, the extrapolated value of E c = −60.2210 eV/atom for sixth-order finite-differences is in good agreement with energy E = −60.2207 eV/atom obtained by PROFESS. However, the extrapolated value of E c = −60.2535 for second-order finite-differences is appreciably different. This indicates that even finer meshes are required for an accurate extrapolation. Irrespective of this issue, it can be concluded from Fig. 2 that second-order finite-differences will be prohibitively expensive for obtaining the chemical accuracies desired in OF-DFT calculations. Notably, higher-order finite-differences are able to perform equally well when the WGC kinetic energy functional is employed. In particular, sixth-order finite-differences is able to achieve a convergence rate of p = 4.96 with respect to the mesh-size. Further, the predicted value of E c = −58.2671 eV/atom is in good agreement with the energy E = −58.2658 eV/atom calculated by PROFESS.
67Overall, we conclude that higher-order finite-differences are necessary for performing accurate and efficient electronic structure calculations based on OF-DFT. Indeed, larger convergence rates may be possible as the order of the finite-difference approximation is increased. However, this comes at the price of increased computational cost per iteration due to the reduced locality of the discretized operators and larger interprocessor communication. We have found sixth-order finite-differences to be an efficient choice, which is in agreement with our previous conclusions for the non-periodic setting [28]. In view of this, we will employ sixth-order finite-differences for the remaining simulations in this work.
Convergence of forces with spatial discretization
68In this study, we verify the convergence of the forces with respect to the finite-difference discretization. Specifically, we choose an Aluminum dimer with bond length of R = 8.0 Bohr as the representative example. We employ the TFW kinetic energy functional, choose a domain such that the minimum distance between any atom and the boundary is 12.0 Bohr, and use sixth-order accurate finite-differences. We calculate the interatomic force f for different mesh sizes h and fit the data to a power law of the form where the prefactor C f , convergence rate q, and estimate of the h → 0 force f c are the parameters to be fitted. We present the results so obtained in Table 2, which demonstrates that the error in the force scales as O(h 5 ). Additionally, the value of f c = 0.1220 eV/Bohr is in good agreement with the force of f = 0.1224 eV/Bohr calculated by PROFESS. Overall, we conclude that higher-order finite-differences are capable of achieving relatively large convergence rates in both the energies and the forces. This feature along with the notable simplicity in implementation makes them very attractive for performing electronic structure calculations based on OF-DFT.
Kinetic energy functional FD order
69C f q f c (eV/Bohr) TFW Sixth 0.0147 4.99 0.1220 Table 2: Parameters for the convergence in the interatomic force obtained by fitting Eqn. 56. The system under consideration is an Aluminum dimer with bond length R = 8.0 Bohr.
Convergence of the fixed-point method
70We now demonstrate convergence of the fixed-point method for simulations involving the WGC kinetic energy functional. We choose two examples, namely a supercell consisting of 6 × 6 × 6 FCC Aluminum unit cells with and without a vacancy. We utilize a lattice constant of a = 7.50 Bohr, mesh-size of h = 0.5 Bohr, and history of three iterations for Anderson mixing. In Fig. 4, we present the error in the fixed-point iteration for the two aforementioned examples. Specifically, we compare the peformance of Anderson mixing with the standard fixed-point iteration, i.e. without mixing. We observe that Anderson mixing significantly accelerates the convergence of the fixed-point iteration, with the mixing parameter ζ = 1 demonstrating the best performance. We have found these results to be representative of other simulations utilizing the WGC kinetic energy functional. In view of this, we will utilize Anderson mixing with ζ = 1 for the remaining simulations in this work. It is worth noting that using a larger number of previous iterates in Anderson mixing has the potential to further reduce the number of fixed-point iterations required for convergence. In this work, we have presented a fixed-point iteration with respect to V LR (x) for simulations involving linear-response kinetic energy functionals. However, it is also possible to develop an analogous fixed-point iteration with respect to u(x). In Table 3, we compare the performances of the fixed-point iterations with respect to u(x) and V LR (x) for a couple of examples employing the WGC kinetic energy functional. In both cases, we have employed Anderson mixing with a history of three iterations. We can see that the relative performance of each of the fixed-point choices is system dependent. However, we have found the fixedpoint iteration with respect to V LR (x) to be significantly more robust than the one with respect to u(x). Therefore, we have chosen the fixed-point iteration with respect to V LR (x) for all simulations involving the WGC kinetic energy functional.
System
71Fixed-point iterations for u Fixed-point iterations for V LR 3 × 3 × 3 FCC unit cells perfect crystal 15 22 6 × 6 × 6 FCC unit cells with a vacancy 29 18 Table 3: Comparison of the performances for different fixed-point iterations accelerated by Anderson mixing. The atoms are held fixed in their original lattice positions.
Examples 5.3.1. Aluminum clusters
72First, we study Aluminum clusters consisting of M a = 14, 172, 666, 1688 and 3430 atoms that are arranged as 1 × 1 × 1, 3 × 3 × 3, 5 × 5 × 5, 7 × 7 × 7 and 9 × 9 × 9 FCC unit cells of Aluminum respectively. The atoms are held fixed, with the lattice constants chosen to minimize the energy [64]. Further, the size of the cubical domains are such that the minimum distance of any atom to the boundary is 12 Bohr. In order to avoid the vacuum resulting divergences encountered when using the WGC functional, we employ the TFW kinetic energy functional. In Tables 4 and 5, we compare the energies and forces as computed by RS-FD with PROFESS. It is clear that there is very good agreement in the energies and forces. In particular, the maximum difference in the energy is 0.005 eV/atom with the difference in the forces being 0.00160 eV/Bohr (l 1 norm), 0.00013 eV/Bohr (l 2 norm) and 0.00683 eV/Bohr (sup norm).
Aluminum crystal
73Next, we calculate the bulk properties of FCC Aluminum for the TFW and WGC kinetic energy functionals using a supercell consisting of 5 × 5 × 5 FCC Aluminum unit cells (M a = 600). We start by calculating the energy E using RS-FD and PROFESS for various lattice constants a, the results of which are presented in Fig. 5. Next, we employ a cubic fit to the data to determine the equilibrium lattice constant a e and the bulk modulus [65]
74It is evident from the results in Table 6 that the predictions of RS-FD are in very good agreement with PROFESS. In fact, the equilibrium lattice constants are identical to within 0.01 Bohr for both the TFW and WGC functionals. The difference in the energy for the TFW and WGC functionals is 0.005 eV/atom and 0.003 eV/atom respectively, with the difference in the bulk modulus being 0.006 GPa and 0.859 GPa respectively. The slight difference in bulk modulus for the WGC functional can be attributed to the fact that RS-FD approximates the kernels K mn (|x − x ′ |) in Fourier space using rational functions. Indeed, we anticipate that using a larger number of rational functions to approximate K mn (|x−x ′ |) will further improve the agreement between RS-FD and PROFESS. Table 6: Bulk properties of FCC Aluminum.
Vacancy formation energy in Aluminum
75Finally, we calculate the vacancy formation energy in stress-free FCC Aluminum. We consider a supercell consisting 6 × 6 × 6 FCC Aluminum unit cells (M a = 864), and remove an atom from the center to create a vacancy. We calculate the vacancy formation energy E vf using the relation [65,66]
76where E(M a , n, Ω) is used to denote the energy of a periodic cell Ω with M a occupied lattice sites and n vacancies. We present the results so obtained in Table 7, and plot the electron density contours on the midplane for the TFW and WGC kinetic energy functionals in Figs. 6 and 7 respectively. We observe that the computed vacancy formation energies are in good agreement with PROFESS. In fact, the relaxed vacancy formation energies are identical to within 0.01 eV and 0.02 eV when using the TFW and WGC functionals respectively. As discussed in the previous section, the larger discrepancy in WGC can be attributed to the approximate kernels K mn (|x − x ′ |) employed in RS-FD. From the final relaxed configuration of the atoms, we find that the average l 2 norm of the difference in the positions of the nuclei obtained by RS-FD and PROFESS to be 4.6 × 10 −5 Bohr for TFW functional case and 7.0 × 10 −6 Bohr for WGC functional.
Concluding Remarks
77We have presented a real-space formulation and higher-order finite-difference implementation of periodic Orbital-free Density Functional Theory (OF-DFT). Specifically, utilizing a local reformulation of the electrostatics and kernel energy/potential, we have developed a generalized framework for performing OF-DFT simulations that is able to accommodate the different variants of the electronic kinetic energy. In particular, for linear-response kinetic energy functionals, we have developed a fixed-point technique that is similar in spirit to the self-consistent field (SCF) method employed in DFT calculations. We have also developed a parallel finite-difference implementation of this formulation, using which we have demonstrated that higher-order finite-differences can achieve relatively large convergence rates with respect to mesh-size in both the energies and forces. Additionally, we have established that the fixed-point iteration converges rapidly, and that it can be further accelerated using extrapolation schemes like Anderson mixing. We have validated the accuracy of our results by comparing the energies and forces with plane-wave methods for selected examples.
78Overall, we conclude that higher-order finite-differences are an attractive choice for performing electronic structure calculations based on OF-DFT. This is due to their simplicity, potential for scalability to massively-parallel distributed-memory computer architectures, and ability to efficiently achieve chemical accuracies desired in electronic structure calculations. One limitation of the developed implementation is the lack of an effective real-space preconditioner, which is currently being pursued by the authors. Finally, we note that extending the current work to finite-temperatures and therefore enabling molecular dynamics simulations is a worthy subject of future research.
A. Coefficients in the Helmholtz equations for the WGC kinetic energy functional
79The coefficients P mnr and Q mnr arising in the Helmholtz equations given in Eqns. 22 and 23 are determined by fitting the kernels K mn (|x − x ′ |) in Fourier space using rational functions [40]. In Table 8, we present the values for the WGC functional when a fourth-order expansion (R = 4) is employed. The coefficients satisfy the relations P mnr = P nmr and Q mnr = Q nmr , with P mn2 = P * mn1 , Q mn2 = Q * mn1 , P mn4 = P * mn3 and Q mn4 = Q * mn3 . Here, the superscript * denotes the complex conjugate.
B. Electrostatic correction for overlapping charge density of nuclei
80In the local electrostatic reformulation presented in Section 3.2, the repulsive energy can be expressed as
81where the second term accounts for the self energy of the nuclei. Using Eqn. 28, we arrive at
82Above, the summations over I and J extends to all atoms in R 3 . If the charge density of the nuclei do not overlap, Eqn. 60 can be rewritten as
83which is exactly the expression given in Eqn. 14 for the repulsive energy prior to reformulation. However, the use of relatively 'soft' pseudopotentials -which are attractive because of the significant reduction in the number of basis functions required for convergence -can frequently result in overlapping charge density of the nuclei. In this situation, the repulsive energy and the forces on the nuclei will be inaccurately calculated. Below, we present a technique to correct for these errors. We start by generating a 'reference' charge densitỹ
84which is the superposition of spherically symmetric and compactly supported 'reference' charge densities b J (x, R J ). These nuclei-centered charge densities satisfy the relations R 3b
85Thereafter, the correction to the repulsive energy can be expressed as
86A direct computation of this energy correction will scale quadratically with respect to the number of atoms.
87In order to enable linear-scaling, we rewrite Eqn. 64 as
88where V c (x, R) is the solution to the Poisson equation
89with periodic boundary conditions. The potential V c (x, R) so calculated is accurate to within a constant, which can be determined by evaluating J (V J (x, R J ) −Ṽ J (x, R J )) at any point in space. The correction to the forces on the nuclei where the summation J ′ is over J th atom and its periodic images. Additionally,
90It is important to note that even with these corrections to the energy and forces, the overall OF-DFT formulation maintains its linear-scaling with respect to the number of atoms.
C. Conjugate gradient method for OF-DFT
91In Algorithm 1, we present the implemented conjugate gradient method to solve the variational problem in Eqn. 43. This differs from the standard non-linear conjugate gradient method [55] in that it is able to handle the constraints C(u) = 0 and u ≥ 0.
Algorithm 1: Non-linear conjugate gradient method for OF-DFT
92Input: u 0 , R, V LR and N restart q = 0 repeat η q = 1 Ne u q , Hu q , where ., . denotes the inner product r q = −2(Hu q − η q u q ) ξ = rq−r q−1 ,rq r q−1 ,r q−1 if q = mN restart (m ∈ N) or ξ ≤ 0 then d q = r q else d q = r q + ξd q−1 s = arg inf s∈RÊ √ N e uq−srq uq−srq , R, V LR u q+1 = √ N e uq−srq uq−srq q = q + 1 until r 2 < tol; Output: u = u q
D. Anderson Mixing
93The fixed-point problem in Eqn. 42 can be rewritten as
94This equation can be solved using an iteration of the form [46,48]
95where C k is chosen to approximate the inverse Jacobian. In multi-secant type methods, it is common to set C k to the solution of the constrained minimization problem [46,48] min In the above equations, m represents the mixing history. The solution of this variational problem is
96In the specific case of Anderson mixing [59], C k−1 is set to −ζI, where I is a m × m identity matrix. This leads to the following update formula within the fixed-point iteration
참고문헌 69건
- Using MPI: Portable parallel programming with the message-passing interface Computers & Mathematics with Applications · Elsevier BV · 1995 10.1016/0898-1221(95)90199-x
- Finite difference methods for ordinary and partial differential equations: steady-state and time-dependent problems Choice Reviews Online · Association of College and Research Libraries · 2008 10.5860/choice.45-4438
- Interatomic Forces in Condensed Matter Oxford University Press eBooks · Oxford University Press · 2003 10.1093/acprof:oso/9780198509776.001.0001
- Electronic Structure: Basic Theory and Practical Methods 2004
- Density Functional Theory of Atoms and Molecules 1980 10.1007/978-94-009-9027-2_2
- Efficient Management of Parallelism in Object-Oriented Numerical Software Libraries Birkhäuser Boston eBooks · Birkhäuser Boston · 1997 10.1007/978-1-4612-1986-6_8
- Numerical Recipes 3rd Edition: The Art of Scientific Computing Cambridge University Press eBooks · Cambridge University Press · 2007
- Higher-order adaptive finite-element methods for orbital-free density functional theory Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.04.036
- Conjugate-gradient optimization method for orbital-free density functional calculations The Journal of Chemical Physics · American Institute of Physics · 2004 10.1063/1.1768163
- Kinetic-energy functional of the electron density Physical review. B, Condensed matter · American Physical Society · 1992 10.1103/physrevb.45.13196
- Can orbital-free density functional theory simulate molecules? The Journal of Chemical Physics · American Institute of Physics · 2012 10.1063/1.3685604
- Coarse-graining Kohn–Sham Density Functional Theory Journal of the Mechanics and Physics of Solids · Elsevier BV · 2012 10.1016/j.jmps.2012.09.002
- Real-space formulation of the electrostatic potential and total energy of solids Physical Review B · American Physical Society · 2005 10.1103/physrevb.71.113101
- Fast and Accurate Quantum Molecular Dynamics of Dense Plasmas Across Temperature Regimes Physical Review Letters · American Physical Society · 2014 10.1103/physrevlett.113.155006
- Solution of Schrödinger’s equation for large systems Physical review. B, Condensed matter · American Physical Society · 1989 10.1103/physrevb.40.12255
- Spectral differences in real-space electronic structure calculations The Journal of Chemical Physics · American Institute of Physics · 2003 10.1063/1.1631916
- Molecular simulation and related topics: some open mathematical problems Nonlinearity · IOP Publishing · 2008 10.1088/0951-7715/21/9/t03
- Orbital-free density functional theory calculations of the properties of Al, Mg and Al Mg crystalline phases Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2003 10.1088/0965-0393/11/3/307
- Pseudopotential methods in condensed matter applications Computer Physics Reports · Elsevier BV · 1989 10.1016/0167-7977(89)90002-6
- Ground State of the Electron Gas by a Stochastic Method Physical Review Letters · American Physical Society · 1980 10.1103/physrevlett.45.566
- Inhomogeneous Electron Gas Physical Review · American Institute of Physics · 1964 10.1103/physrev.136.b864
- Quasi-continuum orbital-free density-functional theory: A route to multi-million atom non-periodic DFT calculation Journal of the Mechanics and Physics of Solids · Elsevier BV · 2007 10.1016/j.jmps.2007.01.012
- Iterative Procedures for Nonlinear Integral Equations Journal of the ACM · Association for Computing Machinery · 1965 10.1145/321296.321305
- Introducing PROFESS 2.0: A parallelized, fully linear scaling program for orbital-free density functional theory calculations Computer Physics Communications · Elsevier BV · 2010 10.1016/j.cpc.2010.09.001
- Non-periodic finite-element formulation of orbital-free density functional theory Journal of the Mechanics and Physics of Solids · Elsevier BV · 2006 10.1016/j.jmps.2006.09.011
- Calculation of the vacancy formation energy in aluminium Journal of Physics Condensed Matter · IOP Publishing · 1989 10.1088/0953-8984/1/4/005
- Augmented Lagrangian formulation of orbital-free density functional theory Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.07.006
- Transferable local pseudopotentials for magnesium, aluminum and silicon Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2008 10.1039/b810407g
- Self-interaction correction to density-functional approximations for many-electron systems Physical review. B, Condensed matter · American Physical Society · 1981 10.1103/physrevb.23.5048
- Improving the orbital-free density functional theory description of covalent materials The Journal of Chemical Physics · American Institute of Physics · 2005 10.1063/1.1834563
- An algorithm for the machine calculation of complex Fourier series Mathematics of Computation · American Mathematical Society · 1965 10.1090/s0025-5718-1965-0178586-1
- A pseudopotential total energy study of impurity-promoted intergranular embrittlement Journal of Physics Condensed Matter · IOP Publishing · 1990 10.1088/0953-8984/2/2/011
- Orbital-free kinetic-energy functionals for the nearly free electron gas Physical review. B, Condensed matter · American Physical Society · 1998 10.1103/physrevb.58.13465
- Linear scaling electronic structure methods Reviews of Modern Physics · American Physical Society · 1999 10.1103/revmodphys.71.1085
- Accurate simulations of metals at the mesoscale: Explicit treatment of 1 million atoms with quantum mechanics Chemical Physics Letters · Elsevier BV · 2009 10.1016/j.cplett.2009.04.059
- Spectral difference methods for solving differential equations Chemical Physics Letters · Elsevier BV · 1999 10.1016/s0009-2614(98)01324-4
- Nonlinear instability of density-independent orbital-free kinetic-energy functionals The Journal of Chemical Physics · American Institute of Physics · 2005 10.1063/1.1924595
- Orbital-free kinetic-energy density functionals with a density-dependent kernel Physical review. B, Condensed matter · American Physical Society · 1999 10.1103/physrevb.60.16350
- Iterative minimization techniques for<i>ab initio</i>total-energy calculations: molecular dynamics and conjugate gradients Reviews of Modern Physics · American Physical Society · 1992 10.1103/revmodphys.64.1045
- An Introduction to the Conjugate Gradient Method Without the Agonizing Pain 1994
- Two classes of multisecant methods for nonlinear acceleration Numerical Linear Algebra with Applications · Wiley · 2008 10.1002/nla.617
- Numerical analysis of the planewave discretization of some orbital-free and Kohn-Sham models ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2011 10.1051/m2an/2011038
- Energetics and kinetics of vacancy diffusion and aggregation in shocked aluminium via orbital-free density functional theory Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2007 10.1039/b705455f
- Multi-grid methods and applications. Mathematics and Computers in Simulation · Elsevier BV · 1986 10.1016/0378-4754(86)90032-7
- GMRES: A Generalized Minimal Residual Algorithm for Solving Nonsymmetric Linear Systems SIAM Journal on Scientific and Statistical Computing · Society for Industrial and Applied Mathematics · 1986 10.1137/0907058
- Kinetic energy density functionals for non-periodic systems Solid State Communications · Elsevier BV · 2002 10.1016/s0038-1098(01)00500-2
- The calculation of atomic fields Mathematical Proceedings of the Cambridge Philosophical Society · Cambridge University Press · 1927 10.1017/s0305004100011683
- Introducing PROFESS: A new program for orbital-free density functional theory calculations Computer Physics Communications · Elsevier BV · 2008 10.1016/j.cpc.2008.07.002
- The Thomas-Fermi-von Weizsäcker Theory of Atoms and Molecules Springer eBooks · Springer Nature · 2006 10.1007/3-540-27056-6_25
- Self-Consistent Equations Including Exchange and Correlation Effects Physical Review · American Institute of Physics · 1965 10.1103/physrev.140.a1133
- Density-functional theory of atoms and molecules Annals of Nuclear Energy · Elsevier BV · 1989 10.1016/0306-4549(89)90016-9
- Preconditioners and Electron Density Optimization in Orbital-Free Density Functional Theory Communications in Computational Physics · Cambridge University Press · 2012 10.4208/cicp.190111.090911a
- Modelling and Simulation Simulation foundations, methods and applications · 2019 10.1007/978-3-030-18869-6
- Matrix Computations Johns Hopkins University Press eBooks · 2012 10.56021/9781421407944
- \mathcal{O}(N) methods in electronic structure calculations Reports on Progress in Physics · IOP Publishing · 2012 10.1088/0034-4885/75/3/036503
- Decay Properties of Spectral Projectors with Applications to Electronic Structure SIAM Review · Society for Industrial and Applied Mathematics · 2013 10.1137/100814019
- Elliptic Preconditioner for Accelerating the Self-Consistent Field Iteration in Kohn--Sham Density Functional Theory SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2013 10.1137/120880604
- Zur Theorie der Kernmassen The European Physical Journal A · Springer Science+Business Media · 1935 10.1007/bf01337700
- <i>Numerical Recipes, The Art of Scientific Computing</i> American Journal of Physics · American Institute of Physics · 1987 10.1119/1.14981
- Computational Chemistry Chapman and Hall/CRC eBooks · Informa · 2004 10.1201/9780203494455-34
- Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems (Classics in Applied Mathematics Classics in Applied Mathemat) Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 2007
- Nonlinear instability of density-independent orbital-free kinetic-energy functionals The Journal of Chemical Physics · American Institute of Physics · 2005 10.1063/1.1924595
- Modern Software Tools for Scientific Computing Birkhäuser Boston eBooks · Birkhäuser Boston · 1997 10.1007/978-1-4612-1986-6
- The Thomas-Fermi-von Weizsäcker theory of atoms and molecules Communications in Mathematical Physics · Springer Science+Business Media · 1981 10.1007/bf01942059
- Numerical Recipes: The Art of Scientific Computing Technometrics · Taylor & Francis · 1987 10.2307/1269484
- Deleted Work 1955
- Theoretical Methods in Condensed Phase Chemistry Progress in theoretical chemistry and physics · Springer Nature (Netherlands) · 2002 10.1007/0-306-46949-9
- Computational chemistry : special volume Elsevier eBooks · Elsevier BV · 2003
- PETSc Users Manual 2019