A POSTERIORI ERROR ESTIMATE AND ADAPTIVITY FOR QMMM MODELS OF CRYSTALLINE DEFECTS YANGSHUAI WANG JAMES R. KERMODE CHRISTOPH ORTNER AND LEI ZHANG

2025-04-27 0 0 2.75MB 27 页 10玖币
侵权投诉
A POSTERIORI ERROR ESTIMATE AND ADAPTIVITY
FOR QM/MM MODELS OF CRYSTALLINE DEFECTS
YANGSHUAI WANG, JAMES R. KERMODE, CHRISTOPH ORTNER, AND LEI ZHANG
Abstract. Hybrid quantum/molecular mechanics (QM/MM) models play a pivotal role in molec-
ular simulations. These models provide a balance between accuracy, surpassing pure MM models,
and computational efficiency, offering advantages over pure QM models. Adaptive approaches have
been developed to further improve this balance by allowing on-the-fly selection of the QM and MM
subsystems as necessary. We propose a novel and robust adaptive QM/MM method for practical
material defect simulations. To ensure mathematical consistency with the QM reference model, we
employ machine-learning interatomic potentials (MLIPs) as the MM models [13, 31]. Our adap-
tive QM/MM method utilizes a residual-based error estimator that provides both upper and lower
bounds for the approximation error, thus indicating its reliability and efficiency. Furthermore,
we introduce a novel adaptive algorithm capable of anisotropically updating the QM/MM parti-
tions. This update is based on the proposed residual-based error estimator and involves solving a
free interface motion problem, which is efficiently achieved using the fast marching method. We
demonstrate the robustness of our approach via numerical tests on a wide range of crystalline
defects.
1. Introduction
Quantum mechanics and molecular mechanics (QM/MM) coupling methods have emerged as
indispensable tools for simulating large molecular systems in both materials science and biology [4,
16, 28, 35, 39, 56]. The essence of this methodology lies in the partition of the computational
domain into QM and MM regions, where the region of primary interest is described by a QM
model embedded in an ambient environment represented by a MM model. The goal of QM/MM
coupling methods is to achieve (near-)QM accuracy at (near-)MM computational cost, to make
quantitative large-scale atomistic simulations viable.
An important question in the field of QM/MM coupling methods concerns the optimal assign-
ment of atoms to either QM or MM subsystems in order to balance accuracy and computational
cost. To address this issue, adaptive QM/MM methods have been developed by providing an
on-the-fly partition of QM/MM subsystems based on error estimators during simulations.
Adaptive QM/MM methods have been proposed for various applications such as the analysis
of molecular fragments in macromolecules, monitoring of molecules entering/leaving binding sites
and tracking proton transfer through the Grotthuss mechanism (as discussed in [20] and references
therein). However, the majority of adaptive QM/MM methods developed thus far are for solute-
solvent systems and rely on heuristic criteria. Further information can be found in [5, 30, 33, 34, 50,
52, 55]. In the context of materials featuring defects, adaptive computations are often guided by
the distance to these defects [16, 35]. Similar concepts can also be observed in the quasi-continuum
methods for density functional theory [29, 44].
Adaptive QM/MM methods normally rely on empirical error estimators. By contrast, Chen et
al. [7] first introduced mathematically rigorous a posteriori error estimators for the QM/MM model
residual inspired by classical adaptive finite element methods [18, 49]. Their approach employed
a weighted 2-norm on the residual forces, providing an upper bound for the approximation error.
Date: February 20, 2024.
1
arXiv:2210.04856v2 [physics.comp-ph] 17 Feb 2024
2 YANGSHUAI WANG, JAMES R. KERMODE, CHRISTOPH ORTNER, AND LEI ZHANG
However, it fell short in providing a lower bound, which is essential for ensuring efficiency of
adaptive schemes. To overcome this limitation, Wang et al. [51] proposed a reliable and efficient
a posteriori error estimator by connecting the natural dual norm of the residual with solving
an auxiliary Poisson equation. They developed an inner-outer adaptive strategy with an outer
adaptive algorithm for selecting QM and MM regions and an inner algorithm for computing the
estimators with the desired accuracy. However, the inner algorithm necessitated a finite element
mesh, which introduced additional errors requiring careful handling, not to mention additional
algorithmic complexity. More importantly, this work was primarily centered on energy-mixing
schemes for simple point defects and the adaptive algorithm only adjusts the radius of QM and
MM sub-regions, limiting the ability to capture significant anisotropy in the defect core, elastic
field, or defect nucleation observed in practical material simulations.
The purpose of the present work is to develop a more practical adaptive QM/MM method
for material defect simulations, while maintaining the rigourous approach of [7, 51]. To ensure
consistency of the QM/MM scheme and improve computational efficiency, we employ state-of-art
machine-learning interatomic potentials (MLIPs) as the MM models [13, 31]. Next, we propose a
practical and flexible approach to obtain the error estimator, essentially replacing the PDE operator
from [51] with a generalization of the graph-Laplacian [42]. Algorithmically, this approach fits much
better into the setting of atomistic modeling. A practical error estimator is further developed by
(i) truncating to a finite computational domain and (ii) facilitating the QM force constant to give
a linear approximation of the residual force in the MM region. Moreover, to evolve the QM/MM
partitions anisotropically rather than only adjusting the radius, a free interface motion problem
(i.e., Eikonal equation [57]) is formulated and solved using the fast marching method [14, 57], where
the practical error estimator is regarded as the extending speed. We develop a novel strategy
to assign atoms to QM or MM subsystems based on the solution of the corresponding Eikonal
equation.
We test our algorithm by performing adaptive computations for three common defect types:
edge dislocations, in-plane cracks, and di-interstitials. Our findings reveal that the practical error
estimator we introduce attains convergence rates comparable to those of the approximation error,
offering substantial computational cost reductions when employing a realistic electronic structure
model. The adaptive algorithm showcases robustness by eliminating the need for user a priori
input, thereby aligning with our objective of achieving a fully adaptive QM/MM scheme. The
analysis and adaptive algorithm presented in this paper demonstrates a considerable degree of
independence from the underlying approximation scheme, thereby rendering the proposed frame-
work widely applicable to various coarse-graining or multiscale methods. As a proof of concept,
we will focus solely on geometry equilibration problems (statics).
Outline. This paper is organized as follows: Section 2 introduces the variational formulation
for defect equilibration and the QM/MM coupling methods we use. Section 3 outlines the con-
struction of our novel a posteriori error estimator, which provides upper and lower bounds for the
approximation error, along with practical approximations to enhance its implementation. Section 4
presents our adaptive QM/MM algorithm, incorporating a free interface problem to dynamically
update QM/MM partitions using the practical error estimator. We showcase our findings with
numerical examples, validating the efficacy of our adaptive algorithm. Section 5 concludes our key
findings and outlines future research directions. Appendices provide supplementary information
for interested readers.
Notation. We use the symbol ⟨·,·⟩ to denote the duality pairing between a Banach space and
its dual space. The symbol |·|normally denotes the Euclidean or Frobenius norm, while ∥·∥
ADAPTIVITY FOR QM/MM MODELS 3
denotes an operator norm. For the sake of brevity of notation, we will denote A\{a}by A\a, and
{ba|bA}by Aa. For EC2(X), the first and second variations are denoted by δE(u), v
and δ2E(u)v, wfor u, v, w X. For a finite set A, we will use #Ato denote the cardinality of
A. The closed ball with radius rand center xis denoted by Br(x), or Brif the center is the origin.
We use the standard definitions and notations Lp,Wk,p,Hkfor Lebesgue and Sobolev spaces. In
addition we define the homogeneous Sobolev spaces ˙
Hk(Ω) := fHk
loc(Ω) |kfL2(Ω).
2. QM/MM Coupling for Crystalline Defects
2.1. Variational model for crystalline defects. A rigorous framework for modelling the geo-
metric equilibration of crystalline defects has been developed in [9, 21]. These works formulate the
equilibration of a single crystalline defect as a variational problem in a discrete energy space and
establish qualitatively sharp far-field decay estimates for the corresponding equilibrium configura-
tion. This analytical foundation will serve as the basis for our a posteriori error estimates and the
corresponding adaptive algorithm.
2.1.1. Displacement space. Given d∈ {2,3}, a homogeneous crystal reference configuration is
given by the Bravais lattice Λh=AZd, for some non-singular matrix ARd×d. A reference lattice
with a single defect is denoted by Λ Rd. For the sake of simplicity we admit only single-species
Bravais lattices. There are no conceptual obstacles to generalising this work to multi-lattices [40],
however, the notational and technical details become more involved.
A deformed configuration of the infinite lattice Λ is a map y: Λ Rd. We can decompose the
configuration yinto
y() = +u0() + u() = y0() + u(),(2.1)
where u0: Λ Rdis a far-field predictor solving a continuum linearised elasticity (CLE) equa-
tion [21] enforcing the presence of defect and u: Λ Rdis a core corrector. For point defects
we simply take u0()=0Λ. The derivation of u0for straight dislocations and cracks are
reviewed in the Appendix B.
The set of admissible atomic configurations is
Adm0(Λ) := [
m>0
Admm(Λ) with
Admm(Λ) := y: Λ Rd,|y()y(m)|>m|m| ℓ, m Λ,
where the parameter m>0 prevents the accumulation of atoms.
For Λ and ρΛ, we define the finite difference Dρu() := u(+ρ)u(). For a
subset R ⊂ Λ, we define DRu() := (Dρu())ρ∈R, and we consider Du() := DΛu() to be a
finite-difference stencil with infinite range. For a stencil Du(), we define the stencil norms
Du()N:= X
ρ∈N ()Dρu()21/2
and Du2
N:= X
Λ|Du()|2
N1/2
,(2.2)
where N() is the set containing nearest neighbours of site ,
N() := nmΛ\aRds.t. |a|=|am| ≤ |ak| ∀kΛo.(2.3)
We can then define the corresponding functional space of finite-energy displacements
U1,2(Λ) := u: Λ RdDu2
N(Λ) <
(2.4)
4 YANGSHUAI WANG, JAMES R. KERMODE, CHRISTOPH ORTNER, AND LEI ZHANG
with the associated semi-norm uU1,2:= Du2
N. Then the associated class of admissible dis-
placements is given by
A(Λ) := uU1,2(Λ) : y0+uAdm0(Λ).
2.1.2. The QM site potential. We consider the site potential to be a collection of mappings V:
(Rd)ΛR, which represent the energy distributed to each atomic site. For technical reasons
we make the following assumptions on the regularity and locality of the site potentials, which has
been justified for some basic quantum mechanic models [8, 10, 12, 41], but we emphasize that it
is not a universally valid assumption.
(RL) Regularity and locality: For all Λ, VDu()possesses partial derivatives up to the
third order. For j= 1,2,3, there exist constants Cjand ηjsuch that
Vℓ,ρDu()Cjexp ηj
j
X
l=1 |ρl|
(2.5)
for all Λ and ρ)j.
We refer to [9, §2.3 and §4] for a justification and discussion of this assumption.
If the reference configuration Λ is a homogeneous lattice, Λ = Λh, then the site potential does
not depend on site Λhdue to the translation invariance. In this case, we will denote the
site potential by Vh: (Rd)Λh\0R. for the homogeneous lattice. Although the site potentials
are defined on infinite stencils (Rd)Λ, the setting also applies to finite systems or to finite range
interactions. In particular, we denote by V
the site potential of a finite system with the reference
configuration lying in Λ Ω.
2.1.3. Equilibration of crystalline defects. Let the site potential Vsatisfy the assumptions (RL).
The energy-difference functional is then given by
E(u) := X
ΛVDu0() + Du()VDu0().(2.6)
It was shown in [9, Theorem 2.1] that after an elementary renormalisation, (2.6) is well-defined
on the admissible displacements set A(Λ), and that it is (n1)-times continuously differentiable
with respect to the ∥·∥U1,2norm.
Instead of the energy minimization problem [13, 51], we will focus on the (formally equivalent)
force equilibrium formulation, that is,
Find ¯uA(Λ),s.t.F(¯u) = 0,Λ,(2.7)
where F:= −∇E(u) represents the force on the atomic site . For uhAh) on a homogeneous
lattice Λh, the force on each atomic site satisfies F(uh) = Fhuh(·)with some homogeneous
force Fhthat does not depend on site .
2.2. QM/MM Coupling. In this section, we describe the QM/MM models utilized in our study.
Our approach is inspired by [11, 13], tailored to better align with the specific context of the present
work.
ADAPTIVITY FOR QM/MM MODELS 5
2.2.1. Domain decomposition. We first decompose the reference configuration Λ into three disjoint
sets, Λ = ΛQM ΛMM ΛFF, where ΛQM and ΛMM denote the QM and MM regions, respectively, and
ΛFF represents the far-field region where atom positions are frozen. This yields the approximated
admissible set
AH(Λ) := uU1,2(Λ) : y0+uAdm0(Λ) and u= 0 in ΛFF.(2.8)
Moreover, we define a buffer region ΛBUF ΛMM surrounding ΛQM such that all atoms in ΛBUF
ΛQM are involved in the evaluation of the site energies defined on ΛQM.
In contrast to the method proposed in [7, 51], which employed approximately spherical regions
centered at the defect core for domain partitioning, we introduce a more versatile domain decompo-
sition scheme in our study. Rather than relying on region radii as model parameters, we utilize the
number of atoms within the QM, buffer, and MM regions, denoted respectively by NQM := #ΛQM,
NBUF := #ΛBUF, and NMM := #ΛMM. Figure 1 presents a typical QM/MM decomposition for a
(001)[100] edge dislocation in Tungsten (W) with non-spherical subdomains.
Figure 1. Decomposition of (001)[100] edge dislocation in W into QM, MM, buffer
(BUF), and far-field (FF) regions.
2.2.2. Specification of MM model. To represent interatomic interactions at a distance from the
defect core in the MM region, it is desirable to construct the MM site energy (force) that is com-
putationally efficient, accurately captures the underlying physical behavior, and is “compatible”
with the QM model. These requirements have led to the adoption of machine-learned interatomic
potentials (MLIPs) as the MM models [13, 31].
The concrete MLIPs ansatz we employ is the atomic cluster expansion (ACE) method [19, 1, 37],
although we emphasise the workflow is readily transferable to other MLIPs approaches. The ACE
model stands out for its ability to achieve high accuracy, despite being a linear model [37]. The
linear ACE model provides a parameterised site potential, for g
g
gRdΛh\0,
VACE(g
g
g;{cB}BB
B
B) = X
BB
B
B
cBB(g
g
g),(2.9)
where Bare the basis functions and cBthe parameters that we will estimate by minimizing a least
square loss (cf. (2.12)). The resulting ACE forces are denoted by FACE
(g
g
g).
摘要:

APOSTERIORIERRORESTIMATEANDADAPTIVITYFORQM/MMMODELSOFCRYSTALLINEDEFECTSYANGSHUAIWANG,JAMESR.KERMODE,CHRISTOPHORTNER,ANDLEIZHANGAbstract.Hybridquantum/molecularmechanics(QM/MM)modelsplayapivotalroleinmolec-ularsimulations.Thesemodelsprovideabalancebetweenaccuracy,surpassingpureMMmodels,andcomputation...

展开>> 收起<<
A POSTERIORI ERROR ESTIMATE AND ADAPTIVITY FOR QMMM MODELS OF CRYSTALLINE DEFECTS YANGSHUAI WANG JAMES R. KERMODE CHRISTOPH ORTNER AND LEI ZHANG.pdf

共27页,预览5页

还剩页未读, 继续阅读

声明:本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。玖贝云文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知玖贝云文库,我们立即给予删除!
分类:图书资源 价格:10玖币 属性:27 页 大小:2.75MB 格式:PDF 时间:2025-04-27

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 27
客服
关注