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

An efficient numerical framework for the amplitude expansion of the phase-field crystal model

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(10) 아라미드

기본 정보

저자
  1. Praetorius, Simon
  2. Salvalaglio, Marco
  3. Voigt, Axel
DOI
10.48550/arxiv.1902.09761
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1902.09761
토픽
Composite Material Mechanics
OpenAlex ID
W6891793405

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
phase-field crystal model, polycrystalline materials, dislocation networks, numerical framework, multiscale investigations
판단 근거
이 논문은 다결정 재료(polycrystalline materials)의 미세구조와 결함(dislocation)을 시뮬레이션하기 위한 수치 해석적 프레임워크를 다룹니다. 이는 고분자 컴파운드나 엔지니어링 플라스틱의 결정성 및 미세구조 제어 연구에 응용될 수 있는 이론적 방법론입니다.
R&D 활용 포인트
엔지니어링 플라스틱 및 고분자 소재의 결정화 과정, 결정립 성장(grain growth), 결함 구조에 대한 멀티스케일 시뮬레이션 모델로 활용 가능합니다.
평가 입력
본문 58,202자 중 30,032자 발췌

초록

The study of polycrystalline materials requires theoretical and computational techniques enabling multiscale investigations. The amplitude expansion of the phase field crystal model (APFC) allows for describing crystal lattice properties on diffusive timescales by focusing on continuous fields varying on length scales larger than the atomic spacing. Thus, it allows for the simulation of large systems still retaining details of the crystal lattice. Fostered by the applications of this approach, we present here an efficient numerical framework to solve its equations. In particular, we consider a real space approach exploiting the finite element method. An optimized preconditioner is developed in order to improve the convergence of the linear solver. Moreover, a mesh adaptivity criterion based on the local rotation of the polycrystal is used. This results in an unprecedented capability of simulating large, three-dimensional systems including the dynamical description of the microstructures in polycrystalline materials together with their dislocation networks.

본문 58,202자

본문 펼치기
An efficient numerical framework for the amplitude expansion of the phase-field crystal model Simon Praetorius, <sup>1</sup> Marco Salvalaglio, <sup>1,</sup> <sup>_∗_</sup> and Axel Voigt <sup>1, 2</sup> _1Institute_ _of_ _Scientific_ _Computing,_ _Technische_ _Universit¨at_ _Dresden,_ _01062_ _Dresden,_ _Germany_ _2Dresden_ _Center_ _for_ _Computational_ _Materials_ _Science_ _(DCMS),_ _TU_ _Dresden,_ _01062_ _Dresden,_ _Germany_ (Dated: April 25, 2019) The study of polycrystalline materials requires theoretical and computational techniques enabling multiscale investigations. The amplitude expansion of the phase-field crystal model (APFC) allows for describing crystal lattice properties on diffusive timescales by focusing on continuous fields varying on length scales larger than the atomic spacing. Thus, it allows for the simulation of large systems still retaining details of the crystal lattice. Fostered by the applications of this approach, we present here an efficient numerical framework to solve its equations. In particular, we consider a real space approach exploiting the finite element method. An optimized preconditioner is developed in order to improve the convergence of the linear solver. Moreover, a mesh adaptivity criterion based on the local rotation of the polycrystal is used. This results in an unprecedented capability of simulating large, three-dimensional systems including the dynamical description of the microstructures in polycrystalline materials together with their dislocation networks. INTRODUCTION The study of polycrystalline materials requires modeling over various length scales. While the nucleation and structure of defects has to be considered on an atomistic resolution, the size, shapes and arrangements of grains can be considered on mesoscopic length scales and mechanical behavior can be tackled on a macroscopic scale. However, all these phenomena strongly affect material properties, such as fracture or yield stress and thus require multiscale investigations [1]. Coarse-grained, mesoscale approaches are therefore viable tools to provide bridging-scale information of polycrystalline materials. Among the many different models reported in the literature, the so-called phase-field crystal (PFC) model has been developed in order to filter out atom vibrations and enabling the investigation of relatively long dynamics [2–4]. It describes the crystal lattice by means of a continuous field that is the atomic probability density, _n_, averaged over vibrational length scales. Although the original model has been further extended, as e.g. in Refs [5–7], and applied to describe several different properties and mechanisms for crystals and quasicrystals, as e.g. in Refs. [8–13], it is restricted to relatively small sizes as the continuous density has still to be resolved at the atomic length scale. This limit has been overcome by the so-called amplitude expansion of the PFC model (APFC), providing coarsegraining in both time and space in a single framework [14–17]. This model focuses on the amplitudes of the atomic probability density which vary on a larger length scale than the atomic spacing. In its standard formulation, it is restricted to relatively small deformations [18] and approximate atomic rearrangements such as dislocation-core structures. However, it encodes a detailed description of deformations matching continuum-elasticity theories and allows for large simulations approaching the macroscopic length scales, still retaining details of the atomic length scale [19]. The original model can be further extended as it has been done, for instance, to account for binary systems [20] and to control the energy of defects and interfaces [21]. Moreover, it has been recently used to study the anisotropic shrinkage in 3D of small-angle spherical grain boundaries (GBs) regardless of the crystal lattice symmetry [22]. In addition, the APFC framework has been proven suitable to allow for the description of hydrodynamics [23], dislocation dynamics [24] and surface-energy anisotropy [25] within the more general PFC framework. In this work, we report on the development of an efficient numerical framework to integrate the partial differential equations of the APFC model, enabling unprecendented simulations of large polycrystalline systems in two- and threedimensions. We provide an optimized discretization of the APFC equations based on the one reported in Ref. [21]. Then, we propose a new preconditioner allowing for faster convergence of iterative linear solvers. We also illustrate a mesh-adaptivity strategy exploiting continuous fields, namely local crystal rotations, which can be derived directly by the complex amplitudes to solve for in the APFC model. Performance studies showing comparisons with a standard solver and assessment of the numerical parameter entering the method are reported. Then, we use the developed framework to simulate the large scale growth of a polycrystal in 2D and 3D accounting for both the evolution of the microstructures and the defects forming between grains having different orientations. MODEL AND IMPLEMENTATION The APFC model [14–17] is based on the representation of the atomic probability density, _n_, as sum of plane waves _n_ ( r ) = _n_ 0 + _J_ _j_ =1 _ηj_ ( r ) _e_ <sup>i</sup> <sup>k</sup> <sup>_j_</sup> <sup>_·_</sup> <sup>r</sup> + _ηj_ <sup>_∗_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> <sup>_e−_</sup> <sup>i</sup> <sup>k</sup> <sup>_j_</sup> <sup>_·_</sup> <sup>r</sup> <sup>�</sup> _,_ (1) with _n_ 0 the average density, here set to zero without loss of generality, _ηj_ ( r ) the amplitude of each plane wave, and k _j_ the reciprocal lattice vector representing a specific crystal symmetry. Complex amplitude functions _ηj_ : Ω _→_ C with Ωa rectangular (2D) or parallelepiped (3D) domain are considered, allowing for describing distortions and rotations of the crystal lattice with respect to a reference state described by the k _j_ vectors. The model is based on the definition of a free energy in terms of the _ηj_ ’s in the approximation of slowly varying amplitudes, i.e., varying over a length scale significantly larger than the lattice spacing, _J_ _j_ =1 (2) _|Gjηj|_ <sup>2</sup> d r _,_ _f_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) + <sup><u>1</u></sup> 2 _F_ ( _η_ _⃗_ ) := Ω with _⃗_ _η_ = _{ηj}_, _Gj_ := ∆+2i k _j ·∇_, and _f_ <sup>s</sup> a polynomial bulk free energy density. For the sake of convenience, the energy is here normalized by a positive, non-zero parameter _a_ 0 which would multiply the second term at the right-hand side of (2) [21, 26]. The evolution laws for amplitudes _ηj_ are given by the _L_ <sup>2</sup> -gradient flow of the energy _F_, _<u>∂ηj</u>_ _∂t_ <sup>=</sup> <sup>_−κj_</sup> with _κj_ = _a_ 0 _|_ k _j|_ <sup>2</sup> a mobility coefficient and _<u>δF</u>_ _δηj_ <sup>_∗_</sup> _,_ _j_ = 1 _, . . ., J,_ (3) _<u>δF</u>_ _δηj_ <sup>_∗_</sup> _j_ <sup>_ηj_</sup> <sup>+</sup> <sup>_<u>δf</u>_</sup> <sup>s(</sup> <sup>_<u>η</u>_</sup> <sup>_⃗_</sup> <sup>_<u>,⃗</u>_</sup> <sup>_<u>η</u>_</sup> <sup>_<u>∗</u>_</sup> <sup><u>)</u></sup> _._ <sup>2</sup> _δη_ <sup>_∗_</sup> _j_ <sup>_⃗_</sup> <sup>_⃗_</sup> = _G_ <sup>2</sup> <sup>_⃗_</sup> <sup>_⃗_</sup> _δηj_ <sup>_∗_</sup> <sup>_⃗_</sup> <sup>_⃗_</sup> _j_ The bulk energy term _f_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) entering Eq. (2) can be written as _._ (4)   + _g_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) _,_ (5) _J_ _j_ =1 _|ηj|_ <sup>4</sup> _⃗_ _A_ + <sup>_<u>a</u>_</sup> <sup><u>2</u></sup> _a_ 0 _⃗_ _A_ + <sup>_<u>a</u>_</sup> <sup><u>2</u></sup>   _A_ <sup>2</sup> _−_ 2 _f_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) = <sup>_<u>a</u>_</sup> <sup><u>1</u></sup> _a_ 0 _f_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) = <sup>_<u>a</u>_</sup> <sup><u>1</u></sup> withIn this _ai_ positive parameters,work we consider a _g_ triangular <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) a polynomial inlattice in 2D _⃗_ and _η_ anda _⃗_ face-centered _η_ <sup>_∗_</sup> encoding the lattice symmetry, andcubic (FCC) lattice in 3D. _A_ = 2The <sup>�</sup> former <sup>_J_</sup> _j_ =1 <sup>_|ηj|_</sup> <sup>2</sup> is <sup>.</sup> obtained by setting _J_ = 3, _g_ <sup>s</sup> entering Eq. (4) as _g_ <sup>s</sup> ( _η_ _⃗_ _,⃗_ _η_ <sup>_∗_</sup> ) = _−_ 2 _a_ <sup>_<u>a</u>_</sup> 0 <sup><u>3</u></sup> ( _η_ 1 _η_ 2 _η_ 3 + _η_ 1 <sup>_∗η_</sup> 2 <sup>_∗η_</sup> 3 <sup>_∗_</sup> <sup>)</sup> <sup>_,_</sup> (6) and the set of k _j_ vectors as _,_ k 2 = (0 _,_ 1) _,_ k 3 = _<u>√</u>_ <u>3</u> 2 <sup>_, −_</sup> <sup><u>1</u></sup> 2 _<u>√</u>_ - _<u>√</u>_ <u>3</u> 2 <sup>_, −_</sup> 2 <sup><u>1</u></sup> _._ (7) k 1 = _−_ For the FCC lattice _J_ = 7, thus leading to a larger number of amplitude functions to be considered. For the sake of brevity we refer to Ref. [21] for the corresponding _g_ <sup>s</sup> polynomial and k _j_ vectors. Following Refs. [21, 22, 26], the parameters entering the energy are set to favor the growth of the solid phase as _a_ 0 = 0 _._ 98, _a_ 1 = 0 _._ 01, _a_ 2 = 0 _._ 25, _a_ 3 = 0 _._ 5. Discretization and Nonlinear solver Throughout the following, we use the _L_ <sup>2</sup> (Ω _,_ C) scalar product ( _u,_ _v_ ) := �Ω <sup>_u∗_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> <sup>_· v_</sup> <sup>(</sup> <sup>r</sup> <sup>) d</sup> <sup>r</sup> <sup>,</sup> <sup>with</sup> <sup>_u, v_</sup> <sup>complex</sup> <sup>scalar</sup> or vector valued functions and _u_ <sup>_∗_</sup> the complex conjugate of _u_ . By introducing a set of auxiliary variables _ζj_ := _Gjηj_, Throughout the following, we use the _L_ <sup>2</sup> (Ω _,_ C) scalar product ( _u,_ _v_ ) := we derive the weak form of the evolution equations (3) using a natural splitting of the operator _Gj_ <sup>2:</sup> - _<u>∂η∂tj</u>_ <sup>_,_</sup> <sup>_ϑ_</sup> ( <sup>2</sup> _ζ_ - _j,_ _−ϑ_ 1 _κ_ ) + ( _j_ �( _∇∇ζηjj,_ _,∇∇ϑϑ_ 21) _−_ ) _−_ 2i(2i( kk _jj· ∇· ∇ζηj,j,ϑϑ_ 2)1�) = 0= _δηj_ <sup>_∗_</sup> (8) _,_ _∀ϑ_ 1 _, ϑ_ 2 _∈_ _H_ <sup>1</sup> (Ω _,_ C) _−_ _κj_ �( _∇ζj,_ _∇ϑ_ 2) _−_ 2i( k _j_ _· ∇ζj,_ _ϑ_ 2)� - = - _<u>δf</u>_ <sup>s</sup> <u>(</u> _<u>η</u>_ _⃗_ _<u>,⃗</u>_ _<u>η</u>_ <sup>_<u>∗</u>_</sup> <u>)</u> _,_ _ϑ_ 2 This set of coupled second order equations can then be discretized using conforming finite-dimensional approximations of the functions space _H_ <sup>1</sup> (Ω _,_ C). Therefore, let us now consider a triangulation of the domain Ω, _Th_, with _h_ the minimal diameter of the grid elements, and the finite-element space _Vh_ _⊂_ _H_ <sup>1</sup> (Ω _,_ C), _Vh_ = _{ϑ ∈_ _C_ (Ω _,_ C) : _ϑ|S_ _∈_ P1( _S,_ C) _,_ _S_ _∈Th},_ the continuous space of complex valued local linear polynomials on elements _S_ _∈Th_ of the triangulation. The space discretization method of (8) corresponds to find _ηj_ <sup>_h, ζ_</sup> _j_ <sup>_h_</sup> <sup>_∈_</sup> <sup>_L_</sup> <sup>1([0</sup> <sup>_, T_</sup> <sup>]</sup> <sup>_, Vh_</sup> <sup>)</sup> <sup>such</sup> <sup>that</sup> _j_ <sup>_h, ζ_</sup> _j_ <sup>_h_</sup> _j_ <sup>_h_</sup> <sup>_∈_</sup> <sup>_L_</sup> <sup>1([0</sup> <sup>_, T_</sup> <sup>]</sup> <sup>_, Vh_</sup> <sup>)</sup> <sup>such</sup> <sup>that</sup> ( _ζj_ <sup>_h,_</sup> _j_ <sup>_h,_</sup> <sup>_ϑh_</sup> 1 <sup>_h_</sup> 1 <sup>)</sup> <sup>_−_</sup> <sup>2i(</sup> <sup>k</sup> <sup>_j_</sup> <sup>_· ∇η_</sup> _j_ <sup>_h,_</sup> <sup>_ϑ_</sup> 1 <sup>_h_</sup> ( _ζj_ <sup>_h,_</sup> <sup>_ϑh_</sup> 1 <sup>) + (</sup> <sup>_∇η_</sup> _j_ <sup>_h,_</sup> <sup>_∇ϑh_</sup> 1 <sup>)</sup> <sup>_−_</sup> <sup>2i(</sup> <sup>k</sup> <sup>_j_</sup> <sup>_· ∇η_</sup> _j_ <sup>_h,_</sup> <sup>_ϑ_</sup> 1 <sup>_h_</sup> <sup>) = 0</sup> - _∂ηj_ <sup>_h_</sup> - <sup>_h_</sup> 1 <sup>) + (</sup> <sup>_∇η_</sup> _j_ <sup>_h,_</sup> <sup>_∇ϑh_</sup> 1 _,_ _ϑ_ <sup>_h_</sup> 2 (9) _,_ _∀ϑ_ 1 <sup>_h, ϑh_</sup> 2 <sup>_∈Vh_</sup> <sup>_,_</sup> _<u>j</u>_ 2 _∂t_ <sup>_,_</sup> <sup>_ϑh_</sup> <sup>_h_</sup> 2 <sup>)</sup> <sup>_−_</sup> <sup>2i(</sup> <sup>k</sup> <sup>_j_</sup> <sup>_· ∇ζ_</sup> _j_ <sup>_h,_</sup> <sup>_ϑ_</sup> 2 <sup>_h_</sup> - _<u>δf</u>_ <sup>s</sup> <u>(</u> _<u>η</u>_ _⃗_ <sup>_h_</sup> _<u>,⃗</u>_ _<u>η</u>_ <sup>_h∗_</sup> <u>)</u> _δηj_ <sup>_∗_</sup> _j_ <sup>_h,_</sup> <sup>_∇ϑh_</sup> 2 2 <sup>_h_</sup> <sup>)</sup> - = 2 _−_ _κj_ �( _∇ζj_ <sup>_h,_</sup> _j_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>= 0) =</sup> <sup>_η_</sup> _j_ <sup>_h,_</sup> <sup>0</sup> for _j_ = 1 _, . . ., J_ in the time interval [0 _, T_ ] provided that _ηj_ <sup>_h_</sup> for _j_ = 1 _, . . ., J_ in the time interval [0 _, T_ ] provided that _ηj_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>= 0) =</sup> <sup>_η_</sup> _j_ <sup>_h,_</sup> <sup>0</sup> is given. For better readability, we drop the superscript _h_ in the following. Due to the bulk polynomial _f_ <sup>s</sup>, equations (9) are a set of nonlinear equations. We combine a simplified Newton method with the idea of an operator splitting method, in order to separate the equation for each amplitude. This will allow us to efficiently solve the set of equations also if the number of amplitudes is large, as in the case of FCC symmetry. We introduce the Jacobian of _Fj_ <sup>s</sup> <sup>:=</sup> <sup>_δf_</sup> <sup>s</sup> <sup>_/δη_</sup> _j_ <sup>_∗_</sup> <sup>,</sup> <sup>but</sup> <sup>only</sup> <sup>in</sup> <sup>direction</sup> <sup>_ηj_</sup> <sup>,</sup> <sup>i.e.,</sup> _j_ <sup>s</sup> <sup>:=</sup> <sup>_δf_</sup> <sup>s</sup> <sup>_/δη_</sup> _j_ <sup>_∗_</sup> _j_ <sup>_∗_</sup> <sup>,</sup> <sup>but</sup> <sup>only</sup> <sup>in</sup> <sup>direction</sup> <sup>_ηj_</sup> <sup>,</sup> <sup>i.e.,</sup> _j_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>) :=</sup> <sup>_δF_</sup> <sup>s</sup> _<u>j</u>_ _δηj_ _δηjδηj_ <sup>_∗_</sup> _j_ _dFj_ <sup>s</sup> <sup>_⃗_</sup> _<u>j</u>_ <sup>_⃗_</sup> <sup>_δF_</sup> <sup>s</sup> _δηj_ _<u>δ</u>_ <sup>2</sup> _<u>f</u>_ <sup>_s_</sup> ( _η_ _⃗_ ) = ( _η_ _⃗_ ) _._ matrixLet _{_ K _φi}_ :=be �(a _∇_ basis _φi, ∇φ_ of _j_ )�, _Vh_ T . <sup>_k_</sup> Moreover,:= �(2 k _k · ∇_ let _φi, φ_ us _j_ )introduce�, J <sup>_k_</sup> ( _η_ _⃗_ ) the:= �mass( _−dFk_ <sup>s</sup> matrix <sup>(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_φi,_</sup> <sup>_φ_</sup> M <sup>_j_</sup> <sup>)</sup> �,:=and�( _φ_ the _i,_ _φj_ vector)�, the h <sup>_k_</sup> stiffness( _η_ _⃗_ ) := Let _{φi}_ be �a basis of �, _Vh_ T . <sup>_k_</sup> Moreover,:= - let us introduce� _⃗_ the �mass matrix <sup>_⃗_</sup> M - := _⃗_ �( _φi,_ _φj_ ) �, T <sup>_k_</sup> := �(2 k _k · ∇φi, φj_ ) matrices �, J <sup>_k_</sup> ( _η_ _⃗_ ) := �( _−dFk_ <sup>s</sup> <sup>_⃗_</sup> _k_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_φi,_</sup> <sup>_φj_</sup> <sup>)</sup> matrix� K := �( _∇φi, ∇_ - _φj_ )�, T <sup>_k_</sup> := �(2 k _k · ∇φi, φj_ )�, J <sup>_k_</sup> ( _η_ _⃗_ ) := �( _−dFk_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_φi,_</sup> <sup>_φj_</sup> <sup>)</sup> �, and the vector h <sup>_k_</sup> ( _η_ _⃗_ ) := ( _Fk_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_dF_</sup> _k_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_ηk,_</sup> <sup>_φj_</sup> <sup>)</sup> . Note, that these matrices are assembled with the real valued basis functions _φi_ . _k_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_dF_</sup> _k_ <sup>s</sup> <sup>_⃗_</sup> <sup>_⃗_</sup> �( _∇φi, ∇_ - _φj_ ) <sup>_⃗_</sup> �( _Fk_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_dF_</sup> _k_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_ηk,_</sup> <sup>_φj_</sup> <sup>)</sup> �. Note, that these matrices are assembled with the real valued basis functions _φi_ . For the time discretization we choose a backward Euler method. In the following let 0 = _t_ 0 _< t_ 1 _< . . . < tM_ = _T_ be awithdiscretization _η_ <sup>_m_</sup> = - _η_ <sup>_m_</sup> of� thethe vectortime intervalof the [0coefficients _, T_ ] with _τm_ for:=the _tmj −_ -th _tm_ amplitude _−_ 1 and theattimestepthe timestepsolution _m_ . _ηj_ <sup>_m_</sup> Analogously, <sup>=</sup> <sup>�</sup> _i_ <sup>_η_</sup> _j,i_ <sup>_m_</sup> <sup>_φi_</sup> we <sup>_≡_</sup> <sup>_η_</sup> define <sup>_j_</sup> <sup>(</sup> <sup>_tm_</sup> <sup>)</sup> <sup>_⃗_</sup> _k_ <sup>s(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>)</sup> <sup>_ηk,_</sup> <sup>_φj_</sup> <sup>)</sup> awithdiscretization _η_ <sup>_m_</sup> _j_ = - _ηj,i_ <sup>_m_</sup> of� thethe vectortime intervalof the [0coefficients _, T_ ] with _τm_ for:=the _tmj −_ -th _tm_ amplitude _−_ 1 and theattimestepthe timestepsolution _m_ . _ηj_ <sup>_m_</sup> Analogously, <sup>=</sup> <sup>�</sup> _i_ <sup>_η_</sup> _j,i_ <sup>_m_</sup> <sup>_φi_</sup> we <sup>_≡_</sup> <sup>_η_</sup> define <sup>_j_</sup> <sup>(</sup> <sup>_tm_</sup> <sup>)</sup> _j_ <sup>_m_</sup> <sup>=</sup> <sup>�</sup> _i_ _i_ <sup>_η_</sup> _j,i_ <sup>_m_</sup> with _η_ <sup>_m_</sup> _j_ = - _ηj,i_ <sup>_m_</sup> - the vector of the coefficients for the _j_ -th amplitude at the timestep _m_ . Analogously, we define _ζj_ <sup>_m_</sup> <sup>= �</sup> _i_ <sup>_ζ_</sup> _j,i_ <sup>_m_</sup> <sup>_φi_</sup> <sup>_<u>≡</u>_</sup> <sup>_ζj_</sup> <sup>(</sup> <sup>_tm_</sup> <sup>)</sup> <sup>and</sup> <sup>_ζ_</sup> _j_ <sup>_m_</sup> <sup>=</sup> - _ζj,i_ <sup>_m_</sup> �. <sup>_m_</sup> _j_ = - _ηj,i_ <sup>_m_</sup> _j,i_ _i_ <sup>_ζ_</sup> _j,i_ <sup>_m_</sup> _j_ <sup>_m_</sup> <sup>= �</sup> _j,i_ <sup>_m_</sup> <sup>_φi_</sup> <sup>_<u>≡</u>_</sup> <sup>_ζj_</sup> <sup>(</sup> <sup>_tm_</sup> <sup>)</sup> <sup>and</sup> <sup>_ζ_</sup> _j_ <sup>_m_</sup> _j_ <sup>_m_</sup> <sup>=</sup> - _ζj,i_ <sup>_m_</sup> _j,i_ �. <u>Algorithm</u> <u>1</u> <u>Timestepping</u> <u>scheme</u> <u>and</u> <u>nonlinear</u> <u>solver</u> <u>for</u> <u>the</u> <u>APFC</u> <u>equation</u> Let _η_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>_ζ_</sup> <sup>0</sup> _j_ <sup>_∈_</sup> <sup>Cdim(</sup> <sup>_Vh_</sup> <sup>)</sup> <sup>(</sup> <sup>_j_</sup> <sup>= 1</sup> <sup>_, . . ., J_</sup> <sup>)</sup> <sup>be</sup> <sup>given.</sup> _▷_ Initial solution for _m_ = 1 _, . . ., M_ do _▷_ Loop over all timesteps Let _η_ <sup>(0)</sup> _j_ = _η_ <sup>_m_</sup> _j_ <sup>_−_</sup> <sup>1</sup> and _ζ_ <sup>(0)</sup> _j_ = _ζ_ _j_ <sup>_m−_</sup> <sup>1</sup> ( _j_ = 1 _, . . ., J_ ). _▷_ Initial iteration for Newton method Let _η_ <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>_,_</sup> <sup>_ζ_</sup> <sup>0</sup> _j_ <sup>_m_</sup> _j_ <sup>_−_</sup> <sup>1</sup> and _ζ_ <sup>(0)</sup> _j_ <sup>(0)</sup> _j_ = _η_ <sup>_m_</sup> _j_ <sup>_−_</sup> <sup>1</sup> <sup>(0)</sup> _j_ = _ζ_ _j_ <sup>_m−_</sup> <sup>1</sup> Let _η_ <sup>(0)</sup> _j_ = _η_ <sup>_m_</sup> _j_ <sup>_−_</sup> <sup>1</sup> and _ζ_ <sup>(0)</sup> _j_ = _ζ_ _j_ <sup>_m−_</sup> <sup>1</sup> ( _j_ = 1 _, . . ., J_ ). _▷_ Initial iteration for Newton method for _k_ = 1 _, . . ., K_ do _▷_ Newton iteration for _j_ = 1 _, . . ., J_ do _▷_ Loop over amplitudes Find _η_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> _∈_ C <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup> _,_ _ζ_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> _∈_ C <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup>, such that <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> _∈_ C <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup> _,_ _ζ_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> _∈_ C <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup>, such that = - M K _−_ i T <sup>_j_</sup> - <sup>�</sup> _ζ_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> - 0 _τ_ <u>1</u> _m_ <sup>M</sup> <sup>_η_</sup> _j_ <sup>_m−_</sup> <sup>1</sup> + _⃗_ _j_ <sup>_m−_</sup> <sup>1</sup> + h <sup>_j_</sup> ( _η_ _⃗_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ) _⃗_ _._ (10) _−κj_ ( K _−_ i T <sup>_j_</sup> ) _τ_ <u>1</u> _m_ <sup>M</sup> <sup>+</sup> <sup>J</sup> <sup>_j_</sup> <sup>(</sup> <sup>_η_</sup> <sup>_⃗_</sup> <sup>(</sup> <sup>_k−_</sup> <sup>1))</sup> _j_ _η_ <sup>(</sup> _j_ <sup>_k_</sup> <sup>)</sup> _j_ end for end for Update _η_ <sup>_m_</sup> _j_ _j_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> and _ζ_ <sup>_m_</sup> _j_ <sup>_m_</sup> _j_ <sup>=</sup> <sup>_η_</sup> _j_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_m_</sup> _j_ <sup>=</sup> <sup>_ζ_</sup> _j_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> Update _η_ <sup>_m_</sup> _j_ <sup>=</sup> <sup>_η_</sup> _j_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> and _ζ_ <sup>_m_</sup> _j_ <sup>=</sup> <sup>_ζ_</sup> _j_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> ( _j_ = 1 _, . . ., J_ ). end for The timestep iteration with an inner Picard iterative process for the linearized _Fj_ <sup>s</sup> <sup>can</sup> <sup>be</sup> <sup>found</sup> <sup>in</sup> <sup>Alg.</sup> <sup>1.</sup> <sup>The</sup> discretization is implemented in the finite-element framework AMDiS [27, 28]. Solving the Linear System The skew symmetric linear system (10) needs to be solved in each timestep and in each Newton iteration. For large-scale numerical setups in 3D, the widely used direct spare LU factorizations are out of applicability due to large memory requirements. Therefore, we concentrate on preconditioned iterative methods, belonging in particular to the Krylov subspace, to solve (10). Two strategies will be compared: domain decomposition with local sparse LU factorization also known as block Jacobi ( `bjacobi` ) preconditioner [29] and a dedicated preconditioner based on the schur-complement method ( `apfc` ), as detailed in the following. For the construction of the schur-complement preconditioner, we follow the lines of [30, 31], and first simplify the notation by neglecting the amplitude index _j_ . For each amplitude a structurally similar system has to be solved, so we can construct one preconditioner that can be applied to all amplitudes, with adapted coefficients. Also, we drop the timestep index _m_ and Newton iterate index ( _k_ ) and just write _τ_ _≡_ _τm_ . In spite of the operator _Gj_ we introduce G <sup>_j_</sup> := _−_ K + i T <sup>_j_</sup> and write the linear system as - _ζ_ _η_ = - 0 _τ_ <u>1</u> <sup>M</sup> <sup>_η_</sup> <sup>_m_</sup> <sup>+</sup> <sup>h</sup> (11) - _κ_ MG _τ_ <u>1</u> <sup>M</sup> _−_ G <sup>+</sup> <sup>J</sup> <u>�</u> <u>��</u> <u>�</u> A <u>���</u> <u>�</u> x with schur-complement S = _τ_ <sup><u>1</u></sup> <sup>M</sup> <sup>+</sup> <sup>J</sup> <sup>+</sup> <sup>_κ_</sup> <sup>GM</sup> <sup>_−_</sup> <sup>1</sup> <sup>G</sup> <sup>.</sup> While M and K are real matrices, G, J, and h may be complex valued. Following the ideas of [30, 31] to approximate the schur-complement matrix S in a way that allows for a simple factorization, we propose the preconditioner: �� I _<u>−</u>_ M <sup>_−_</sup> <sup>1</sup> K 0 M <sup>_−_</sup> <sup>1</sup> ( <sup><u>1</u></sup> _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ) <sup>_~~<u>κ</u>~~_</sup> _τ_ <sup>K</sup> <sup>+</sup> <sup>_κ_</sup> <sup>(</sup> <sup>KM</sup> <sup>_−_</sup> <sup>1</sup> <sup>K</sup> <sup>_−_</sup> <sup>GM</sup> <sup>_−_</sup> <sup>1</sup> <sup>K</sup> <sup>)</sup> (12) P := - M 0 _κ_ G <u>1</u> _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ K = - _κ_ MG _τ_ <u>1</u> <sup>M</sup> <sup>+ 2�</sup> <sup>_~~<u>κ</u>~~_</sup> _τ_ <sup>K</sup> <sup>+</sup> <sup>_κ_</sup> <sup>(</sup> _−_ <sup>KM</sup> K with schur complement S _P_ := ( <sup><u>1</u></sup> _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ) M <sup>_−_</sup> <sup>1</sup> ( _~~√~~_ <sup><u>1</u></sup> _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ). Since the highest order term in GM <sup>_−_</sup> <sup>1</sup> G corresponds to KM <sup>_−_</sup> <sup>1</sup> K, the matrix S _P_ is expected to be a good approximation of S . The application of P to a vector b = ( _β_ 1 _,_ _β_ 2) <sup>_⊤_</sup> _∈_ C <sup>2</sup> <sup>_·_</sup> <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup>, i.e., x = P 2 <sup>_−_</sup> <sup>1</sup> <sup>b</sup> <sup>,</sup> <sup>with</sup> <sup>x</sup> <sup>= (</sup> <sup>_χ_</sup> 1 <sup>_,_</sup> <sup>_χ_</sup> 2 <sup>)</sup> <sup>_⊤_</sup> <sup>,</sup> <sup>can be performed</sup> in four steps: The application of P to a vector b = ( _β_ 1 _,_ _β_ 2) <sup>_⊤_</sup> _∈_ C <sup>2</sup> <sup>_·_</sup> <sup>dim(</sup> <sup>_Vh_</sup> <sup>)</sup>, i.e., x = P 2 <sup>_−_</sup> <sup>1</sup> four steps: 1. solve M _β_ <sup>_′_</sup> 1 <sup>=</sup> <sup>_β_</sup> 1 2. solve ( <sup><u>1</u></sup> _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ) _β_ <sup>_′_</sup> 2 1 <sup>_′_</sup> 2 <sup>=</sup> <sup>_β_</sup> 2 <sup>_−_</sup> <sup>_κ_</sup> <sup>G</sup> <sup>_β_</sup> <sup>_′_</sup> 3. solve ( <sup><u>1</u></sup> 2 _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ) _χ_ 2 = M _β_ <sup>_′_</sup> 2 4. _χ_ 1 = _β_ <sup>_′_</sup> 1 <sup>_−_</sup> _~~√~~_ <u>1</u> _<u>κ</u>_ ( _β_ <sup>_′_</sup> 2 <sup>_−_</sup> _~~√~~_ <u>1</u> _<u>τ</u>_ _χ_ 2). Thus, only one mass-matrix and two diffusion-matrix systems need to be solved, plus two matrix-vector products need to be performed in the application of <u>the</u> preconditioner. Since efficient (iterative) linear solvers exist to approximate the solution of M <sup>_−_</sup> <sup>1</sup> b and ( <sup><u>1</u></sup> _~~√~~_ _<u>τ</u>_ M + <sup>_√_</sup> _<u>κ</u>_ <u>K</u> ) <sup>_−_</sup> <sup>1</sup> b, the preconditioner is cheap to apply. In order to analyze the quality of the preconditioner P, we look at the eigenvalue spectrum of the rightpreconditioned linear system AP <sup>_−_</sup> <sup>1</sup> . Instead of evaluating the eigenvalues directly, we consider the symbols of the differential operators and the resulting spectrum for a simplified system. Therefore, let Ωbe a periodic onedimensional domain of length 2 _π_ . We set the nonlinear term to J = 0, and consider only lattice vectors k _∈{−_ 1 _,_ +1 _}_ . Let _F_ denote the non-unitary Fourier transform in angular frequency q, i.e., - _η_ ( r ) _e_ <sup>_−i_</sup> <sup>q</sup> <sup>_·_</sup> <sup>r</sup> d r _,_ _η_ �( q ) := _Fη_ = Ω with inverse transform _F_ <sup>_−_</sup> <sup>1</sup> and the linear operators A and P expressed as Ax = _F_ <sup>_−_</sup> <sup>1</sup> ( _A_ x �) and Px = _F_ <sup>_−_</sup> <sup>1</sup> ( _P_ x �), respectively, with symbols _A_ and _P_ . In terms of the frequency q, these symbols can be written as ��10 <u>1</u> _−_ q <sup>2</sup> _~~√~~_ _<u>τ</u>_ + <sup>_√_</sup> _<u>κ</u>_ <u>q</u> <sup>2</sup> - 1 0 _−κ_ ( q <sup>2</sup> + 2 q _·_ k ) _~~√~~_ <u>1</u> _<u>τ</u>_ + <sup>_√_</sup> _<u>κ</u>_ <u>q</u> <sup>2</sup> _._ _A_ = - 1 q <sup>2</sup> + 21 q _·_ k _τ_ _−κ_ ( q <sup>2</sup> + 2 q _·_ k ) _,_ _P_ = For _Q_ := _AP_ <sup>_−_</sup> <sup>1</sup>, _κ_ = 1, and _τ_ = 1, we obtain the spectrum �� q _∈_ R _,_ _σ_ ( _Q_ ) = 1 _, λ_ ( q ) := <sup><u>q</u></sup> <sup>4</sup> <sup>_<u>∓</u>_</sup> <sup><u>4</u></sup> <sup><u>q</u></sup> <sup>3 + 4</sup> <sup><u>q</u></sup> <sup>2 + 1</sup> q <sup>4</sup> + 2 q <sup>2</sup> + 1 where the sign of the second term in the nominator depends on the choice of the k-vector, see Fig. 1 for a visualization. The eigenfunction _λ_ approaches the value 1 for zero and _±∞_ frequencies and has a minimum min _{λ_ ( q ) _|_ q _∈_ R _} ≈_ 0 _._ 035 and maximum max _{λ_ ( q ) _|_ q _∈_ R _}_ _≈_ 2 _._ 70. The operator symbol _A_ forms a normal matrix for _|_ k _j|_ = 1 and the preconditioned operator spectrum is in the positive and real interval [0 _._ 035 _,_ 2 _._ 7], leading to an asymptotic convergence factor (see Ref. [29]) _ρ_ := <u>��</u> _<u>λλ</u>_ <u>maxmax</u> _<u>/λ/λ</u>_ <u>minmin</u> _<u>−</u>_ + 11 = 0 _._ 796 _,_ and thus rapid convergence of an iterative Krylov subspace method, like the Flexible Generalized Minimal Residual Method [32] (known as FGMRES). See [33] for a similar analysis on a preconditioner for the discretized PFC equation. 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> k = +1 k = _−_ 1 _−_ 10 _−_ 5 0 5 10 frequency q FIG. 1: Visualization of the operator spectrum for k _∈{−_ 1 _,_ +1 _}_ . Note, if the operator _G_ <sup>_j_</sup> contains higher order derivatives, a similar procedure for the construction of the preconditioner can be performed that may lead to a slightly different sequence of mass and diffusion-like systems but follows the same structure. A construction of a preconditioner for a sixth order PFC, an eighth order PFC, and a Lifschitz-Petrich type energy is discussed in [34], eventually leading to a sequence of diffusion equations to solve in the application of the preconditioner. The state potential _f_ <sup>_s_</sup> may be extended in different directions and we expect the same procedure to work as above, provided that _f_ <sup>_s_</sup> contains no derivative terms and the problem is well defined. Mesh adaptivity The variables to solve for within the APFC model, namely _ηj_ ’s, are constant for relaxed crystals, oscillate with different periodicity according to the local distortion of the crystal with respect to the reference one, and exhibit significant variation at defects and solid-liquid interfaces. This allows for exploiting mesh adaptivity in order to optimize the numerical approach [35, 36]. We set a local grid refinement in order to resolve the oscillation of amplitudes within grains and ensuring a proper resolution at defects and interfaces. Amplitude functions describing a rotated crystal of an angle _θ_ can be computed as _ηj_ = _φje_ <sup>_iδ_</sup> <sup>k</sup> <sup>_j_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_·_</sup> <sup>r</sup> _,_ (13) with _δ_ k _j_ ( _θ_ ) = k _j_ _·_ R ( _θ_ ) _−_ k _j_, R ( _θ_ ) the counterclockwise rotation matrix and _φj_ the real amplitudes describing a relaxed, unrotated crystal. Therefore, the wavelength of _ηj_ ’s in the presence of a certain rotation _θ_ is _λj_ ( _θ_ ) = 2 _π/|δ_ k _j_ ( _θ_ ) _|_ and the spatial discretization is set as a fraction of the smallest _λj_ ( _θ_ ) i.e. h=min _j_ ( _|λj_ ( _θ_ ) _|_ ) _/n_ . We determined that a proper discretization is achieved with _n ≥_ 10. In order to practically use this idea we then need to evaluate the local rotation field during the evolution. Notice that Eq. (13) cannot be just inverted due to its functional form. In order to compute the local rotation we then use the approach described in [19] where the rotational tensor _ω_ is determined by considering the curl of the local displacement with respect to the relaxed crystal. In practice, its components _ωij_ FIG. 2: (Color online) Growth of 20 crystal seeds (in 2D) with _θ_ _∈_ ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ) randomly distributed and triangular lattice symmetry. The spatial discretization is represented by means of the mesh while colors represent: (a) _A_, (b) Re( _η_ 1), (c) _ω_ . (d) Magnification of two regions showing the mesh on a smaller length scale at the solid-liquid interface (top) and at a defect (bottom). In this simulation the discretization bounds are _h_ int _≈_ 2 _._ 0 and _h_ max _≈_ 40 _._ 0. representing the rotation in the _xi_ - _xj_ -plane, are given by _−_ <sup>_<u>∂u</u>_</sup> _∂x_ <sup>_<u>j</u>_</sup> _i_ _ωij_ = <sup><u>1</u></sup> 2 - _<u>∂ui</u>_ _∂xj_ _,_ (14) with _ui_ the result of inverting the system of equations k _j_ _·_ u = arctan - <u>Im(</u> _<u>ηj</u>_ <u>)</u> Re( _ηj_ ) _._ (15) Explicit expressions for _ui_, both in 2D and 3D can be found in Ref. [19]. In 2D, Eq. (14) delivers just a scalar field _ωij_ _≡_ _ω_ . In 3D, _ω_ has three independent components, _ωd_ with _d_ = 1 _,_ 2 _,_ 3, and the largest rotation component is chosen in order to ensure the proper resolution for the fastest oscillation in the system. Within grains the discretization, _h_ amp, then reads _h_ amp = <sup><u>1</u></sup> _n_ _j_ <sup><u>1</u></sup> _n_ <sup>min</sup> _j_ ����� _λj_ [max _d_ <sup>(</sup> <sup>_ωd_</sup> <sup>)]</sup> ���� _._ (16) The evaluation of rotations considered here is well posed in the solid phase and also at defects [19]. However, it is not well posed for the liquid, disordered phase as _ηj_ ’s vanish. Therefore, in order to properly discretize interface regions we define an additional refinement for the interfaces controlled by _h_ int where _|∇A|_ is significantly larger than a relatively small threshold _ϵ_ as done in [21]. As a result, _h_ int is ensured also at defects and we set it as the smallest resolution imposed in the system. In addition, a large discretization bound _h_ max is defined for region where _A ∼_ 0 or where the local rotation vanishes. Summarizing these ideas, the local discretization, _h_, is set as (17) _h_ =   _h_ int _,_ if _|∇A| ≥_ _ϵ_ min(max( _h_ amp _, h_ int) _, h_ max ) _,_ if _A >_ 0 and _|∇A| < ϵ_ _h_ max _,_ elsewhere.  Although not addressed here, this criterion can be extended in order to account for amplitude oscillations due to strain fields, exploiting continuous strain-field components, as derived in Ref. [19], instead of _ω_ . The model and the mesh discretization are illustrated in Fig. 2 where a simulation reproducing the growth of 20 crystal seeds in 2D with _θ_ _∈_ ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ) is illustrated. A square simulation domain with a side length of 200 _π_ is considered (more details are reported in the following section). The initial rotation of the grain is set by initializing the amplitudes by means of Eq. (13). _A_, Re( _η_ 1) and _ω_ at different stages during the evolution over time are shown superposed to the mesh used for the simulation. The refinement of the mesh where _A_ changes can be recognized at the solid-liquid interface and at defects, see in particular Fig. 2(a). The variables to solve for are the amplitudes _ηj_ as illustrated in Fig. 2(b) by Re( _η_ 1). Notice that the correct resolution of these oscillating functions is ensured by the discretization (17), exploiting the local rotations shown in Fig. 2(c). The mesh adaptivity criterion illustrated in Fig. 2 leads to larger refined regions and, in principle, to larger computational costs than the one reported in Ref. [35] where an efficient mesh refinement strategy exploiting a polar representation of amplitudes has been proposed. However, as discussed therein, a robust regularization scheme for phase equations and special care to treat high-order derivatives were needed. This practically restricts the applicability of that method and prevents its extension to 3D calculations. An improvement of this description has been recently proposed in Ref. [36], exploiting spatially-dependent rotation of the k _j_ vectors, although it has been demonstrated only in 2D. The approach we use here allows for an optimized spatial discretization by using the standard APFC model. As it will be illustrated in the following it can be readily exploited to simulate different systems regardless of system dimensionality. PERFORMANCE STUDIES For the numerical evaluation of the linear solvers and the mesh adaption strategy, we concentrate on two types of setups, a triangular symmetry in 2D (TRI) and a FCC symmetry in 3D. The domain Ωis of size [0 _, s ·_ 10 _π_ ] <sup>_d_</sup> where _d_ is the space dimension and _s_ a scaling factor. The unit of lenght and time are dimensionless as they enter in the equations of the APFC model reported above. For the setups (TRI, FCC 1, FCC 2, FCC 3), we have chosen _s_ as (20 _,_ 7 _,_ 14 _,_ 28), respectively. To test the numerical framework we consider configurations already known and discussed in literature. The 2D triangular setup is initialized with 20 randomly positioned and oriented grains with orientation in the range ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ), corresponding to the configuration for the growth of a polycrystal as shown in Fig. 2 (see, e.g., Refs. [18, 19, 35]). The 3D, FCC configurations, are initialized with one grain of size 30 _π_, 60 _π_, or 120 _π_, for the setup FCC 1, FCC 2, or FCC 3, respectively, rotated by 10 <sup>_◦_</sup> about the [111] direction with respect to a surrounding, unrotated crystal (see Ref. [22]). The discretization bounds are _h_ int _≈_ 2 _._ 0 and _h_ max _≈_ 40 _._ 0 in 2D and _h_ int _≈_ 3 _._ 0 and _h_ max _≈_ 60 _._ 0 in 3D. In a first comparison, we evaluate the linear-solver performance for the preconditioner P defined in Eq. (12) ( `apfc` ) and a block Jacobi preconditioner ( `bjacobi` ) applied to the blocks resulting from an element-wise domain decomposition, with a local sparse direct solver UMFPACK [37]. The domain decomposition is combined with a distributed memory parallelization. In Fig. 3 the timings for solving the linear system per timestep are summarized for TRI, FCC 1, and FCC 2 setup. Timings for the two preconditioners are evaluated by averaging over 100 timesteps over all amplitudes. Depending on the size of the setup different improvements of the `apfc` preconditioner compared to the `bjacobi` preconditioner can be found, ranging from a factor 10 for small number of cores and thus large local partitions, to 2 for large number of cores and thus small local partitions. In 2D the improvement is nearly constant over all subdomain sizes, but in 3D the local linear system size matters for the `bjacobi` solver significantly. The three setups show a similar behaviour: the time to solve one linear system goes down with increasing number of processors, while it stagnates after some threshold in the number of cores. This is due to the fact that the local domain sizes become too small and additionally the load balancing gets more and more complicated. Increasing the number of cores further would increase also the solver time. Then, communication cost imbalance of the local problems would dominate the solution procedure. While the `bjacobi` preconditioner uses a direct solver on each local subdomain, that results in large memory costs, the `apfc` preconditioner requires the solution of mass matrix and diffusion like equations, using an iterative solver optimized for the specific type of linear system. For the mass matrix, we use three iterations of a diagonally preconditioned conjugate gradient (CG) method. The diffusion system, on the other hand, is solved using either a diagonally preconditioned CG method with 5 iterations (parameter=1), or an algebraic multigrid method (AMG, parameter=2), based on the so-called Hypre BoomerAMG [38], with one V-cycle and symmetric relaxation. In Fig. 4(a) the difference in the solver time per timestep is plotted, depending on the timestep parameter _τ_ that is part of the preconditioner definition (12). Increasing the timestep size results in slower convergence of all the linear 10 8 6 4 2 TRI ``` apfc bjacobi ``` 2 4 6 8 number of cores _p_ 8 6 4 2 FCC 1 ``` apfc bjacobi ``` 20 40 number of cores _p_ 10 5 FCC 2 ``` apfc bjacobi ``` 100 200 300 number of cores _p_ FIG. 3: (Color online) Comparison of `bjacobi` and `apfc` preconditioner for various setups. The large setup FCC 3 could not be solved using `bjacobi`, due to memory limitations and is thus not shown here. The TRI setup is solved with a timestep size _τ_ = 2 and the FCC setups with a timestep size _τ_ = 1. solvers, but the effect is more pronounced with the `apfc` preconditioner. In the same figure also the difference in the solver time for different solver parameters is shown. For this setup, a simple CG iteration outperforms the AMG subsolver. Concerning just the performance of the linear solver the optimal timestep would be as large as possible, but the accuracy of the scheme is just first order in _τ_ so that a balance between accuracy and performance has to be found for a concrete setup. (a) (b) `apfc` _P_ = 24 `apfc` _P_ = 48 ideal scaling 0 100 200 300 400 500 600 number of cores _p_ 600 400 200 0 2 1 `apfc` parameter=1 `apfc` parameter=2 ``` bjacobi ``` 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> timestep _τ_ FIG. 4: (Color online) (a) Comparison of the solver performance per timestep of setup FCC 1 for different timestep widths _τ_ . While the block preconditioner ( `apfc` ) performs better if the timestep is small, the `bjacobi` preconditioner seems more robust for large timesteps. The configuration parameter=1 indicates a CG solver for the diffusion sub-system and parameter=2 an AMG subsolver. (b) Strong parallel scaling for the FCC 3 setup. Computations are run on compute nodes with 2 _×_ 24 cores each. Those nodes are either fully assigned ( _P_ = 48) or with only half the cores used ( _P_ = 24), resulting in different memory throughput and thus different performance. The minimal configuration _p_ 1 for the speedup estimation is one node with 48 or 24 cores, respectively. The overstepping of the ideal solution line might be due to variations in the domain decomposition and thus in the communication pattern for different core counts. For large number of cores, the efficiency drops down to 60%. This may be because of too small local problems. A third benchmark considers the parallel scalability of the `apfc` preconditioner. Therefore, we run setup FCC 3 with an increasing number of subdomains, that is, an increasing number of compute cores. These benchmarks are run on the JUWELS cluster of the J¨ulich Supercomputing Centre on regular 2 _×_ 24 core nodes. Since an allocation of a different number of running processes per node results in different node performance, e.g., due to parallel usage of memory pipelines, we have assigned a fixed number of cores per node for each scaling benchmark. In Fig. 4(b) the relative speedup for an allocation of 24 and 48 cores per node is plotted with respect to the smallest possible number FIG. 5: (Color online) Large-scale simulation of the growth of a polycrystal in 2D with triangular symmetry. The initial configuration consists of 200 crystal seeds with rotation _θ_ _∈_ ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ), randomly distributed around center of the simulation domain (marked by the red point C). (a) The initial configuration ( _t_ = 0) and three representative steps are shown in terms of the region where _A_ _>_ 0, i.e. in term of the solid phase. _t_ = 12000, where the crystal fills the entire simulation domain, is reported by means of a portion of the crystal highlighting the formation of straight GBs. _A_ is also shown by greyscale map, showing the presence of defects. The length scale is the same for every step. Insets show the arrangement of defects in a small portion of the crystal (gray shaded area, see t=2000). (b) Comparison between the distribution of defects in the green shaded region of panel (a) at _t_ = 600 (blue, filled) and _t_ = 12000 (red, empty). of cores, i.e., one node with 24 or 48 cores, respectively. Using less cores per node leads to a slightly better speedup that might even exceed the ideal scaling line. Although the parallel efficiency drops down if the local problems get too small, in the intermediate range of up to 300 cores, we see very good speedup and thus parallel efficiency of the `apfc` preconditioner. APPLICATION: GROWTH OF POLYCRYSTALS WITH DISLOCATIONS In this section we illustrate some applications of the numerical approach illustrated above. In order to allow for estimates and comparisons in terms of number of atoms, e.g. to other methods, simulations or real systems, the length scale is here reported in terms of the lattice constant for the considered symmetries as set by the corresponding set of k _j_ vectors. They read _a_ tri and _a_ fcc for the triangular and FCC lattice symmetry, respectively. Fig. 5 shows the growth of 200 crystal seeds in 2D having triangular symmetry. A rotation of crystals _θ_ _∈_ ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ) set as initial condition by means of Eq. (13) as in Fig. 2 is considered. We set here a square domain of side length _∼_ 10 <sup>3</sup> _a_ tri. The initial crystal seeds are generated in a square region at the center (see Fig. 5(a), _t_ = 0). As shown by two representative steps during the evolution, _t_ = 2000 and _t_ = 5500, the growth of these seeds results in a polycrystal with several dislocations at the center while almost straight GBs form between the peripheral grains which are free to grow towards the liquid phase. The formation of such GBs is also highlighted at _t_ = 12000 by means of a portion of the entire simulation domain. Insets of Fig. 5(a) illustrate the arrangement of defects on a smaller length scale in a portion of the crystal. The motion and eventual annihilation of dislocations is accounted for by the approach as illustrated in Fig. 5(b) where the arrangement of defects in the central region of the simulation (green shaded square superposed to the crystal at _t_ = 5500) is compared at _t_ = 600 (blue, filled) and _t_ = 12000 (red, empty). The coarsening dynamics results faster in the early stages than at later times as can be noticed by comparing the main features of the dislocation networks at different times in Fig. 5. Indeed, small grains are present at the beginning leading to the formation of curved grain boundaries formed by a few dislocations, which, in turn, move fast [39, 40]. Later, the grains at the center of the polycrystal are larger and the resulting GBs are more stable having smaller curvatures. However, the coarsening dynamics with motion and annihilation of defects continues as can be notice in the insets of Fig. 5(a), where significant changes in the arrangement of defects are observed at later times. The straight grain boundaries forming due to the growth of the polycrystal can be considered as long-lasting defects as their curvature is negligible, while the spacing between dislocations depends on the relative tilts of grains. Notice that the growth velocity of the polycrystal is a function of the parameters entering the free energy that control the FIG. 6: (Color online) Growth of 2 crystal seeds in 3D with FCC lattice symmetry and rotation _θ_ = _±_ 5 <sup>_◦_</sup> about the [111] directions. Four steps during the evolution are shown by means of region where _A >_ 0. Insets illustrate the the defect structure forming at the planar, twist (111) GB by means of the regions at the blue shaded plane where 0 _< A <_ 0 _._ 8 maxΩ( _A_ ). energy difference between the solid and the liquid phase [41]. Therefore, faster or slower grain growth compared to defect motion can be inspected. The main features of the dynamics obtained by the standard APFC approach considered here qualitatively correspond to predictions of classical theories and simulations [39, 40]. However, a quantitative description can be achieved by accounting for extensions of the PFC and APFC approach, including a proper description of elastic and plastic relaxation during the motion of defects [23, 42]. A 3D example is shown in Fig. 6. Two FCC crystals, having a rotation of _±_ 5 <sup>_◦_</sup> about the [111] direction are considered. The simulation size is set as in the setup FCC 3, corresponding to a square domain of side length _∼_ 80 _a_ fcc. They are also aligned along the [111] direction, therefore their growth is expected to form a (111) twisted GB with a typical hexagonal arrangement of defects [22, 43, 44]. Fig. 6 reports four stages during the evolution in terms of _A >_ 0 along with the dislocation networks at the resulting planar GB illustrated as insets. They correspond to regions where 0 _<_ _A_ _<_ 0 _._ 8 maxΩ( _A_ ) at the (111) blue shaded plane. The study of these kind of planar GBs, in particular for what concern the morphology of the emerging dislocation network, are typically accounted for by assuming ideally infinite crystals by means of periodic boundary conditions or even just by 2D approaches. Here, the GB is obtained together with the explicit description of crystal growth which enable more general investigations tackling the simultaneous presence of different GBs with different orientations. A more general case, illustrating the general capability of the approach, is reported in Fig. 7. Therein 30 crystals having random rotation about the [111] direction are considered. A simulation domain that is double the size of the setup FCC 3, namely corresponding to a square domain of side length _∼_ 160 _a_ fcc, is considered here. Fig. 7(a) shows the morphologies of the seeds and of the resulting, growing polycrystal in terms of _A >_ 0 regions. Fig. 7(b) shows half of the crystals reported in Fig. 7(a) by the isosurface _A_ = 0 _._ 8 maxΩ( _A_ ) revealing also the dislocation network forming at the internal GBs. In this case the initial seeds are distributed randomly and are not aligned along a specific direction. Therefore, together with the twist GBs as shown in Fig. 6, other orientations for the boundaries between grains are present thus leading to different morphologies for the dislocation networks. This can be observed in more detail in Fig. 7(b)–(d). Hexagonal patterns mostly lying on (111) planes, can be recognized along with elongated defects typical of pure tilt GBs. Moreover, similar patterns having different spacing between dislocations are present due to different relative rotations between grains. The simulations reported in this section are unprecedented in terms of sizes for what concern APFC (and PFC) approaches. Just by focusing on the largest system of Fig. 7, we were able to simulate a crystalline system with FCC lattice symmetry including _∼_ 8 _·_ 10 <sup>6</sup> atoms. For specific materials exhibiting such a lattice symmetry as, e.g, Cu, Ag/Au, Pb this would mean a volume of _∼_ (45 nm) <sup>3</sup>, _∼_ (50 nm) <sup>3</sup>, _∼_ (65 nm) <sup>3</sup> respectively [45], which lie in the typical size range of nanoparticles and nanostructures. The simulation in Fig. 7 is done on 720 cores. Increasing the number of cores will also allow to consider even larger samples and thus realize the envisioned multiscale approach, FIG. 7: (Color online) Growth of 30 crystal seeds in 3D with FCC lattice symmetry and random rotation _θ_ _∈_ ( _−_ 15 <sup>_◦_</sup> _,_ 15 <sup>_◦_</sup> ) about the [111] directions. Initial seeds are randomly distributed at the center of the simulation domain. (a) Regions where _A >_ 0. (b) Isosurface _A_ = 0 _._ 8 maxΩ( _A_ ) in half of the domain, cut along the (111) plane passing through its center (blue shaded plane illustrated at _t_ = 0 and _t_ = 800). (c) Magnification of two small spherical regions inside the polycrystal showing defect arrangements on a small length scale (see corresponding colors in panel (b), t=800). (d) View of hemispheres, fully contained in the growing polycrystal, showing the arrangement of defects from two different perspectives: perpendicular to the [111] direction (left) and to the [1 <sup>¯</sup> 10] direction (right). ranging from atomistic details to micrometer sizes. CONCLUSIONS We illustrated a numerical approach to solve the equations of the APFC model efficiently. A specific discretization scheme combined with a nonlinear solver has been proved to allow for unprecedented size and performances for both 2D and 3D APFC simulations. In particular, we have constructed a schur-complement preconditioner for iterative Krylov-subspace methods that outperforms a block Jacobi solver for the linear systems arising from the discretization with adaptive finite elements. The schur-complement solver requires much less memory, converges fast in terms of wall-clock time, and scales well in parallel setups. On the other hand, it is more sensitive to an increase in timestep size, compared to the `bjacobi` solver. Moreover, an optimized criterion for mesh adaptivity has been proposed and used, exploiting features of the complex amplitude functions _ηj_ and derived physical quantities such as the local rotation field. This can be applied in both 2D and 3D and allows for a significant reduction of the overall number of DOFs. Some applications involving the growth of polycrystals in 2D and 3D as well as the simultaneous description of dislocations forming at GBs have been shown. They set new limits for APFC and then, more in general, PFC approaches, enabling the investigation of large systems matching the size of real nanostructures. This is a crucial step to address large, mesoscale problems still retaining details of the atomic length scale. Future work will be devoted to explicitly include further details, compatible with the APFC model, in the numerical framework presented here as, for instance, an improved description of interface-energy anisotropy [25, 46], binary systems [26], an improved description of the dynamics [23, 42], the coupling with magnetic fields [47], as well as improvements on scaling properties of the numerical approach to enable larger systems addressing grain growth in 3D. ACKNOWLEDGEMENTS The authors gratefully acknowledge the Gauss Centre for Supercomputing e.V. (www.gauss-centre.eu) for funding this work by providing computing time through the John von Neumann Institute for Computing (NIC) on the GCS Supercomputer JUWELS at J¨ulich Supercomputing Centre (JSC), under the grant No. HDR06. A.V. acknowledge the financial support from the German Research Foundation (DFG) under Grant No. SPP 1959. _∗_ Electronic address: [marco.salvalaglio@tu-dresden.de](mailto:marco.salvalaglio@tu-dresden.de) [1] A. Rollett, G. Rohrer, and R. Suter, MRS Bulletin 40, 951 (2015). [2] K. R. Elder, M. Katakowski, M. Haataja, and M. Grant, Phys. Rev. Lett. 88, 245701 (2002). [3] K. R. Elder and M. Grant, Phys. Rev. E 70, 051605 (2004). [4] H. Emmerich, H. L¨owen, R. Wittkowski, T. Gruhn, G. I. T´oth, G. Tegze, and L. Gr´an´asy, Adv. Phys. 61, 665 (2012). [5] M. Greenwood, N. Provatas, and J. Rottler, Phys. Rev. Lett. 105, 045702 (2010). [6] Z.-F. Huang, K. R. Elder, and N. Provatas, Phys. Rev. E 82, 021605 (2010). [7] G. Kocher and N. Provatas, Phys. Rev. Lett. 114, 155501 (2015). [8] J. Rottler, M. Greenwood, and B. Ziebarth, J. Phys. Condens. Matter 24, 135002 (2012). [9] J. Berry, N. Provatas, J. Rottler, and C. W. Sinclair, Phys. Rev. B 89, 214117 (2014). [10] C. V. Achim, M. Schmiedeberg, and H. L¨owen, Phys. Rev. Lett. 112, 255501 (2014). [11] P. Hirvonen, M. M. Ervasti, Z. Fan, M. Jalalvand, M. Seymour, S. M. Vaez Allaei, N. Provatas, A. Harju, K. R. Elder, and T. Ala-Nissila, Phys. Rev. B 94, 035414 (2016). [12] N. Wang, K. H. Bevan, and N. Provatas, Phys. Rev. Lett. 117, 155901 (2016). [13] A. Yamanaka, K. McReynolds, and P. W. Voorhees, Acta Mater. 133, 160 (2017). [14] N. Goldenfeld, B. P. Athreya, and J. A. Dantzig, Phys. Rev. E 72, 020601 (2005). [15] B. P. Athreya, N. Goldenfeld, and J. A. Dantzig, Phys. Rev. E 74, 011601 (2006). [16] N. Goldenfeld, B. P. Athreya, and J. A. Dantzig, J. Stat. Phys. 125, 1015 (2006). [17] D.-H. Yeon, Z.-F. Huang, K. Elder, and K. Thornton, Philos. Mag. 90, 237 (2010). [18] R. Spatschek and A. Karma, Phys. Rev. B 81, 214201 (2010). [19] M. Salvalaglio, A. Voigt, and K. R. Elder, npj Comput. Mater. 5, 48 (2019). [20] K. R. Elder, Z.-F. Huang, and N. Provatas, Phys. Rev. E 81, 011602 (2010). [21] M. Salvalaglio, R. Backofen, A. Voigt, and K. R. Elder, Phys. Rev. E 96, 023301 (2017). [22] M. Salvalaglio, R. Backofen, K. R. Elder, and A. Voigt, Phys. Rev. Materials 2, 053804 (2018). [23] V. Heinonen, C. V. Achim, J. M. Kosterlitz, S.-C. Ying, J. Lowengrub, and T. Ala-Nissila, Phys. Rev. Lett. 116, 024303 (2016). [24] A. Skaugen, L. Angheluta, and J. Vi˜nals, Phys. Rev. B 97, 054113 (2018). [25] N. Ofori-Opoku, J. A. Warren, and P. W. Voorhees, Phys. Rev. Materials 2, 083404 (2018). [26] K. R. Elder, Z.-F. Huang, and N. Provatas, Phys. Rev. E 81, 011602 (2010). [27] S. Vey and A. Voigt, Comput. Vis. Sci. 10, 57 (2007). [28] T. Witkowski, S. Ling, S. Praetorius, and A. Voigt, Adv. Comput. Math. 41, 1145 (2015). [29] Y. Saad, _Iterative_ _Methods_ _for_ _Sparse_ _Linear_ _Systems_ (Society for Industrial and Applied Mathematics, 2003), 2nd ed. [30] P. Boyanova, M. Do-Quang, and M. Neytcheva, in _Large-Scale_ _Scientific_ _Computing_ (Springer Berlin Heidelberg, 2012), vol. 7116 of _Lecture_ _Notes_ _in_ _Computer_ _Science_, pp. 549–557, ISBN 978-3-642-29842-4. [31] O. Axelsson and M. Neytcheva, Numer. Linear Algebr. 20, 723 (2013). [32] Y. Saad, SIAM J. Sci. Comput. 14, 461 (1993). [33] S. Praetorius and A. Voigt, SIAM J. Sci. Comput. 37, B425 (2015). [34] S. Praetorius, Phd thesis, Technische Universit¨at Dresden, Germany (2015), URL `[http://nbn-resolving.de/urn:nbn:](http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-195532)` `[de:bsz:14-qucosa-195532](http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-195532)` . [35] B. P. Athreya, N. Goldenfeld, J. A. Dantzig, M. Greenwood, and N. Provatas, Phys. Rev. E 76, 056706 (2007). [36] M. Berˇciˇc and G. Kugler, Phys. Rev. E 98, 033303 (2018). [37] T. A. Davis, ACM Trans. Math. Softw. 30, 196 (2004). [38] V. E. Henson and U. M. Yang, Appl. Numer. Math. 41, 155 (2002). [39] W. W. Mullins, J. Appl. Phys. 27, 900 (1956). [40] R. Doherty, D. Hughes, F. Humphreys, J. Jonas, D. Jensen, M. Kassner, W. King, T. McNelley, H. McQueen, and A. Rollett, Mater. Sci. Eng. A 238, 219 (1997), ISSN 0921-5093. [41] K. R. Elder, N. Provatas, J. Berry, P. Stefanovic, and M. Grant, Phys. Rev. B 75, 1 (2007). [42] A. Skaugen, L. Angheluta, and J. Vi˜nals, Phys. Rev. Lett. 121, 255501 (2018). [43] R. F. Scott and P. J. Goodhew, Philos. Mag. A 44, 373 (1981). [44] J. T. M. De Hosson and V. Vitek, Philos. Mag. A 61, 305 (1990). [45] W. P. Davey, Phys. Rev. 25, 753 (1925). [46] M. Salvalaglio, R. Backofen, R. Bergamaschini, F. Montalenti, and A. Voigt, Cryst Growth Des. 15, 2787 (2015). [47] R. Backofen, K. R. Elder, and A. Voigt, Phys. Rev. Lett. 122, 126103 (2019).

섹션 본문

섹션 본문이 없습니다.

참고문헌

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