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

Scalable multiscale-spectral GFEM with an application to composite aero-structures

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(9) 타이어코드

기본 정보

저자
  1. Jean Bénézech — Centre for Integrated Materials, Processes and Structures, University of Bath, Bath, UK
  2. Linus Seelinger — Scientific Computing Center, Karlsruhe Institute of Technology, Karlsruhe, Germany
  3. Peter Bastian — Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany
  4. Richard Butler — Centre for Integrated Materials, Processes and Structures, University of Bath, Bath, UK
  5. Timothy Dodwell — digiLab, Exeter, UK|||Institute of Data Science and AI, University of Exeter, Exeter, UK
  6. Chupeng Ma — School of Sciences, Great Bay University, Dongguan, China
  7. Robert Scheichl — Institute for Mathematics, Heidelberg University, Heidelberg, Germany|||Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany
DOI
10.1016/j.jcp.2024.113013
저널
Journal of Computational Physics
발행년도
2024
발행기관
Elsevier BV
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jcp.2024.113013
토픽
Composite Material Mechanics
OpenAlex ID
W4394859049

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (9) 타이어코드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
composite aero-structures, multiscale-spectral GFEM, linear elasticity, material strains and stresses, model order reduction
판단 근거
이 논문은 복합재 구조물(composite aero-structures)의 응력 및 변형률을 정확하게 예측하기 위한 다중 스케일 수치 해석 모델링 기법(MS-GFEM)을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱 컴파운드나 아라미드/타이어코드 등 고기능성 복합소재의 구조적 설계 및 성능 예측 R&D에 응용될 수 있는 수치 해석 방법론입니다.
R&D 활용 포인트
고강도 복합소재(아라미드, 탄소섬유 강화 플라스틱 등)의 미세 구조와 거시적 구조 간의 상관관계를 시뮬레이션하여, 제품의 설계 최적화 및 파손 예측 모델의 정확도를 높이는 데 활용 가능합니다.
평가 입력
섹션 본문 63,419자 중 30,032자 발췌

초록

In this paper, the first large-scale application of multiscale-spectral generalized finite element methods (MS-GFEM) to composite aero-structures is presented. The crucial novelty lies in the introduction of A-harmonicity in the local approximation spaces, which in contrast to Babuška and Lipton (2011) [30] is enforced more efficiently via a constraint in the local eigenproblems. This significant modification leads to excellent approximation properties, which turn out to be essential to capture accurately material strains and stresses with a low dimensional approximation space, hence maximising model order reduction. The implementation of the framework in the Distributed and Unified Numerics Environment (DUNE) software package, as well as a detailed description of all components of the method are presented and exemplified on a composite laminated beam under compressive loading. The excellent parallel scalability of the method, as well as its superior performance compared to the related, previously introduced GenEO method are demonstrated on two realistic application cases, including a C-shaped wing spar with complex geometry. Further, by allowing low-cost approximate solves for closely related models or geometries this efficient, novel technology provides the basis for future applications in optimisation or uncertainty quantification on challenging problems in composite aero-structures.

본문 66,244자

본문 펼치기
In this paper, the first large-scale application of multiscale-spectral generalized finite element methods (MS-GFEM) to composite aero-structures is presented. The crucial novelty lies in the introduction of A-harmonicity in the local approximation spaces, which in contrast to [Babuska, Lipton, Multiscale Model. Simul. 9, 2011] is enforced more efficiently via a constraint in the local eigenproblems. This significant modification leads to excellent approximation properties, which turn out to be essential to capture accurately material strains and stresses with a low dimensional approximation space, hence maximising model order reduction. The implementation of the framework in the Distributed and Unified Numerics Environment (DUNE) software package, as well as a detailed description of all components of the method are presented and exemplified on a composite laminated beam under compressive loading. The excellent parallel scalability of the method, as well as its superior performance compared to the related, previously introduced GenEO method are demonstrated on two realistic application cases, including a C-shaped wing spar with complex geometry. Further, by allowing lowcost approximate solves for closely related models or geometries this efficient, novel technology provides the basis for future applications in optimisation or uncertainty quantification on challenging problems in composite aero-structures. Introduction Ill-conditioned and multiscale partial differential equations (PDEs) arise in many fields, where the computation of a resolved, fine-scale solution or a robust low-dimensional approximation can be challenging. Due to the interaction of their mesoscopic structure (ply level; sub-millimeter scale) and their geometric macroscopic features (structural level; meter scale), composite aero-structures are naturally, inherently multiscale. To model the behavior of a large scale composite structure, the numerical model needs to accurately represent the meso-scale configuration of the material as well as the macro-scale geometry of the part. Full mesoscopic descriptions of large components naturally lead to models with huge numbers of degrees of freedom. This makes the computations prohibitively expensive, particularly in contexts where many evaluations are required, e.g. optimisation or uncertainty quantification. As a result, composite aero-structures provide an ideal test bed for the new multiscale method proposed in this paper, which allows for the interaction of fine and coarse scale behaviour to be captured without becoming excessive in cost. High Performance Solvers for Composite Applications Due to strongly varying parameters across the simulation domain, elasticity problems arising in composite materials lead to Finite Element (FE) matrices that are extremely ill-conditioned [1,2]. This poor conditioning is due to the contrast in stiffness between the carbon fibres and the surrounding resin matrix, as well as the complex anisotropy arising from the inclusion of long directional fibres. As a result, composite laminates have both low-energy modes, whereby the stiff fibres act as rigid body inclusions and the complement resin deforms easily; and also very high-energy modes, in deformation regimes with stretched, stiff fibres. This contrast between low and high energy modes is at the heart of the ill-conditioning (high condition number) in composite applications. High Performance Solvers for Composite Applications Whilst sparse direct solvers, like UMFPACK [3] or the ones provided in the Abaqus package [4], can reliably solve such systems, they are inherently limited in their scalability. This immediately restricts the physical scale of composites that can be simulated. Iterative solvers such as Conjugate Gradient (CG) or GM-RES [5] in turn promise massive parallel scalability for modern High Performance Computing (HPC) systems, but their efficiency (i.e. number of iterations) strongly depends on the condition number of the matrix. High Performance Solvers for Composite Applications In order to render such iterative solvers robust, preconditioners are essential. Whilst Algebraic Multigrid (AMG) preconditioners are in general a promising choice regarding robustness and scalability, tests with two AMG implementations, in dune-istl [6] and BoomerAMG [7], have demonstrated poor performance in composite applications [1,2]. The reason is that, without a problem-specific local aggregation strategy, coarse grids in AMG do not capture the low-energy modes in composites structures, which motivates the search for alternative strategies that produce fast approximate coarse representations at a larger scale. The Generalized Eigenproblems in the Overlaps (GenEO) method [8] provides such a coarsening, leading to a robust, theoretical bound on the condition number of the preconditioned system for a two-level Schwarz Domain Decomposition (DD) method [9]. A problem-specific coarse space is computed from some tailored, local eigenproblems on overlapping subdomains. Robust scale-up to several thousands of processor cores for composites applications has been shown in [2,10]. While the iterative solver now only needs few iterations, a considerable cost is expended in solving the independent local eigenproblems. High Performance Solvers for Composite Applications To avoid these tremendous computational costs of direct simulations of multiscale problems, computational homogenization methods [11,12,13] have been well developed and widely used in the engineering community. Moreover, in practical engineering applications, multiscale problems are typically solved multiple times with different source terms and possibly local changes in model parameters, such that the higher setup cost of such methods can be offset. Most of those methods, however, are based on scale separation hypotheses, and may fail for typical problems in realistic applications that do not exhibit such a scale separation. Multiscale Methods in Composite Analysis To efficiently solve multiscale problems without scale separation for repeated analysis required in an uncertainty quantification context, various multiscale model order reduction methods have been developed, such as the multiscale finite element method (MsFEM) [14], the generalized finite element method (GMsFEM) [15], localized orthogonal decomposition (LOD) [16], flux norm homogenization [17], and the generalized finite element method (GFEM) [18,19,20], to cite a few. Most of these methods were developed in the context of numerical multiscale methods and are based on representing the solution space on a coarse grid by a low dimensional space that is spanned by some pre-computed local basis functions that take into account the structural meso-scale information in the material parameters. Multiscale Methods in Composite Analysis The multiscale-spectral generalized finite element method (MS-GFEM), the focus of this work, was first proposed by Babuska and Lipton [18] for solving heterogeneous diffusion problems, but motivated also by problems in linear elasticity and in particular fibre-reinforced composites. The approach builds optimal local approximation spaces from eigenvectors of local eigenproblems posed on A-harmonic spaces defined for oversampling subdomains. Crucially, the global approximation error is fully controlled by the local approximation errors, which are rigorously proved to decay nearly exponentially -a feature not shared by most other ad-hoc constructed numerical multiscale approaches. For diffusion problems the implementation details were discussed in [20] together with numerical results on a two-dimensional toy example. Multiscale Methods in Composite Analysis In a recent paper [21], Ma, Scheichl and Dodwell proposed new local eigenproblems involving the partition of unity to construct new optimal local approximation spaces for the MS-GFEM method, resulting in a GenEO-type coarse-space approximation. Significant advantages of the new local approximation spaces were demonstrated and sharper decay rates for the local approximation errors were proved. In [22], the MS-GFEM method was then also formulated and analysed for the first time in the discrete setting, as a non-iterative domain decomposition type method for solving linear systems resulting from FE discretizations of the finescale problem. Very similar local and global error estimates as in the continuous setting were derived. Furthermore, an efficient method to solve the (discrete) local eigenproblems was proposed, where the A-harmonic condition is directly incorporated into the eigenproblem. More recently, this approach was applied to other multiscale PDEs, such as Helmholtz [23], parabolic [24] and singularly perturbed [25] problems. Although numerical results of various simple, two-dimensional examples have demonstrated the efficiency of the MS-GFEM method, up to now, there is no study available in the literature on the application of the MS-GFEM method to realistic, large-scale, three-dimensional multiscale problems and on the implementation and performance of the method on massively parallel computers. Contributions of this paper This paper represents the first large-scale application of GenEO as a multiscalespectral GFEM, providing good approximations to fine-scale solutions with a very low number of basis functions. The reformulation of GenEO as a GFEM method in local A-harmonic subspaces distinguishes our methodology from the one proposed by Babuska and Lipton [19]. Most notably, in contrast to [19] our method is inherently adaptive -we can control the error a posteriori by simply setting a threshold on the eigenvalues to decide which eigenvectors need to be included into the local spaces; see Theorem 3.1. The paper constitutes an extension of the work proposed by Ma and co-authors [21,22] by generalizing the method to three dimensional elasticity problems, demonstrated with two real-world application cases. The theoretical background of our formulation as well as its implementation are described in detail and its excellent performance and scalability are demonstrated. The resulting coarse space turns out to have significantly better approximation properties than GenEO in the elasticity problems considered here. In particular, local A-harmonicity is crucial for accurate strain approximation with significant practical improvements demonstrated in numerical experiments. Contributions of this paper Our method provides efficient reduced order models for large-scale problems that exhibit strong dependence on local details. The efficiency arises from a decomposition of the global problem into independent sub-problems that can be treated fully in parallel. A scalability test is presented in this paper that demonstrates this high efficiency even for very large structures. The accuracy of the approximation space is fully adjustable: a single threshold parameter on the local eigenvalues allows for an optimisation of the amount of model order of reduction. The approach does not rely on a scale separation hypothesis between material scales (meso-and macro-scale for the examples illustrated in the paper), the proposed multi-scale framework is particularly well suited for composite aerostructures. This is demonstrated via an application on a realistic C-spar model -a demonstrator application in the UK-EPSRC-funded CerTest project on composite structural design and certification (see the acknowledgements in Section 7). Contributions of this paper A key motivation for the approach presented in this paper is the development of an offline-online framework, where the costly local model order reductions are reused across multiple similar simulation runs, reducing the overall cost to a fraction, as suggested in [15] but with significantly smaller coarse spaces. This promises to accelerate uncertainty quantification or optimisation tasks on challenging composites models and will be described in detail in a subsequent paper. Contributions of this paper In addition, this paper reports on other technical improvements and recent developments of the dune-composites module within DUNE [26]. Support for GenEO is extended to unstructured DUNE grids, which is crucial for engineering applications such as composite parts with complex geometry (e.g., T-joint stiffeners) that cannot be discretized solely using a structured grid. Since the implementations of unstructured grids do not natively support overlapping subdomains in DUNE, the overlapping FE matrices needed in GenEO are constructed directly from assembled ones on a non-overlapping grid partition. Problem formulation Let us start by formulating the anisotropic, linear elasticity equations for composite structures and their finite element discretization. The composite structure is assumed to occupy a bounded and (for simplicity) polyhedral domain Ω ⊂ R 3 with boundary Γ and unit, outward normal n ∈ R 3 . At each point x ∈ Ω we define a vector-valued displacement u(x) : Ω → R 3 and denote by f(x) : Ω → R 3 the body force per unit volume. The infinitesimal strain tensor, is defined as the symmetric part of the displacement gradients: Problem formulation where u i, j = ∂u i /∂x j . The strain tensor is connected to the Cauchy stress tensor σ i j via the generalized Hooke's law: Problem formulation where the material tensor C i jkl (x) is a symmetric, positive definite fourth order tensor. The studied material will be further described in Section 5.1. Now, let Γ D and Γ N be disjoint open subsets of Γ such that Γ D ∪ Γ N = Γ and consider the function space Problem formulation Given functions h : Γ D → R 3 and g : Γ N → R 3 , prescribing the Dirichlet and Neumann boundary data, the weak formulation of the problem to be considered consists in seeking the unknown displacement field u ∈ H 1 (Ω; Problem formulation where the bilinear form a(·, ·) and the functional b(·) are defined by Problem formulation The variational problem (4) is discretized with conforming FEs on a mesh T h on Ω by introducing the FE space V h ⊂ V as the tensor product Problem formulation , spanned by the usual Lagrange bases on T h . We find a function u p ∈ H 1 (Ω; R 3 ) such that u p = h on Γ D and then seek an Problem formulation We block together displacements from all three space dimensions, so that u (i) h ∈ B := R 3 denotes the vector of displacement coefficients containing all space components associated with the i th basis function. The displacement vector at a point x is then given by Problem formulation The system (6) is equivalent to a symmetric positive-definite (spd) system of algebraic equations: Problem formulation The blocks in the global stiffness matrix and in the load vector, for any i, j = 1, . . . , N, are given by Problem formulation System (7) can be assembled elementwise using Gaussian integration: Problem formulation The elementwise bilinear form a e is trivial to obtain here by restricting the integrals in eq. (4) to e. Later, restrictions of a(·, ·) to mesh-resolved subdomains will be crucial in defining coarse space approximations. For any mesh-resolved subdomain D ⊂ Ω, the restriction of a(·, ·) to D is denoted by Problem formulation e∈D a e (v| e , w| e ) ∀v, w ∈ V. Problem formulation 3. Multiscale-spectral generalized finite element method Problem formulation In this section, the methods employed in this paper are defined alongside some theoretical results. In addition to generalized finite element methods (GFEM), we also describe the GenEO space, which was originally designed as a coarse space for two-level additive Schwarz methods in [8]. Here, it is for the first time applied as a multiscale method for stand-alone coarse approximation to a realistic threedimensional multiscale problem in composites, in the form of the multiscalespectral generalized finite element method (MS-GFEM) method [18,21,22]. Domain decomposition Both the two-level additive Schwarz method and GFEM are based on a decomposition of the domain Ω into non-overlapping subdomains {Ω j } N j=1 that are resolved by the mesh T h ; see Figure 1 for an example. Each non-overlapping subdomainΩ j is extended by adding layers of neighboring elements to create an overlapping partition {Ω j } N j=1 of Ω. Next, the local finite element (FE) spaces Domain decomposition are defined, where the former restricts V h to the subdomain Ω j while the latter restricts this space further to functions whose support is contained entirely in Ω j . Domain decomposition A key ingredient of GenEO-type coarse spaces and of GFEM is a partition of unity (PoU) subordinate to the overlapping decomposition {Ω j } N j=1 . A particular partition of unity specific to the FE setting was constructed in [8]. Domain decomposition denote the set of internal degrees of freedom in Ω j , and define for each degree of freedom k ∈ dof(Ω j ) a weight µ j,k ∈ [0, 1] such that Domain decomposition With these weights we can define a family of local partition of unity operators Domain decomposition It follows immediately from the definition that the operators Domain decomposition Here R j : V h,0 (Ω j ) → V h denotes the prolongation operator defined as the extension of a function in V h,0 (Ω j ) by zero. In [8], it was suggested that the weights can be set as Domain decomposition that is, one over the number of subdomains that contain k as an internal degree of Freedom (DoF). Other partitions of unity can also be used. In the numerical experiments below, we will use a different (smoother) partition of unity. GenEO coarse space The GenEO space -designed in the context of additive Schwarz preconditioning methods, as a robust coarse space correction for multiscale variational problems -is based on the following generalized eigenvalue problem (GEVP) on each subdomain Ω j : Find GenEO coarse space In the original publication [8], the bilinear form on the right hand side of (13) was restricted to the overlap Ω j \Ω j , but as shown in subsequent publications, such as [27], the GenEO space defined by the GEVP in (13) has very similar coarse space correction properties. GenEO coarse space Only the lowest-energy eigenfunctions in (13), i.e., the ones corresponding to the smallest eigenvalues, are used to define the GenEO coarse space. Denote by λ j,k and ϕ j,k h the k-th smallest eigenvalue and the corresponding eigenfunction on subdomain Ω j . Then, the GenEO coarse space is defined by GenEO coarse space where the partition of unity operators are used to "stitch" the local approximation spaces on the subdomains Ω j together and to guarantee that V H ⊂ V h . This definition of V H still leaves open the number of eigenfunctions m j to be included. GenEO coarse space In the context of two-level additive Schwarz methods, where the GenEO coarse space is combined (additively) with local solves on the overlapping subdomains Ω j to obtain a preconditioning matrix M for A, it is then possible to bound the condition number κ of the preconditioned system independently of the mesh size h, the subdomain size H or the heterogeneity in the coefficient. In particular, [8, GenEO coarse space where C(k 0 ) is a typically small constant depending only on k 0 , the maximum number of subdomains overlapping at any point. Thus, the condition number can be controlled by choosing the number m j of eigenfunctions per subdomain such that 1/λ j,m j +1 is bounded uniformly across all subdomains. The eigenvalues λ j,m j +1 converge to 1 as m j increases, but no theoretical results on the rate of convergence exist in general. Generalized FE methods with GenEO-type local approximation The GenEO space V H in (14) is in essence a global approximation space of generalized FEM type [28], where a fairly arbitrary family of local approximation spaces can be "stitched" together via a partition of unity to build the global space. As such, for H (the subdomain size) sufficiently small or for m j sufficiently large, it is possible to solve the FE problem directly to a required accuracy in V H , in the spirit of the GFEM. However, as we will see below in the numerical experiments, the rate of convergence with respect to m j is rather poor when the local bases are computed as in (13). A significantly more efficient GFEM can be designed by slightly modifying the GEVP (13) as shown in the following. Generalized FE methods with GenEO-type local approximation In this subsection, a particular family of GenEO-type local approximation spaces is constructed and used within the framework of the GFEM as a standalone coarse approximation. Compared with the original version, there are two key ingredients in this GenEO-type coarse space that provide a better accuracy for coarse approximation. The first is oversampling. Similarly to the construction of the overlapping subdomains, we extend each overlapping subdomain Ω j further by adding more layers of fine-mesh elements to create an oversampling subdomain Ω * j . The local eigenproblems used for constructing the coarse space will be defined on Ω * j instead of Ω j . The second ingredient is A-harmonicity. To make this notion precise, we first introduce the following local FE spaces defined on the oversampling domains: Generalized FE methods with GenEO-type local approximation The space V h,D (Ω * j ) consists of FE functions restricted to Ω * j that vanish on the external Dirichlet boundary of Ω * j , whereas V h,DI (Ω j ) consists of FE functions that vanish on both the external Dirichlet boundary and the interior boundary of Ω * j . The A-harmonic local FE space on Ω * j is then defined as Generalized FE methods with GenEO-type local approximation Functions in V A (Ω * j ) are referred to as A-harmonic FE functions. As we will see below, the local eigenvectors used for building the coarse space are A-harmonic FE functions instead of general FE functions. Generalized FE methods with GenEO-type local approximation With the above notations, we now define a local eigenproblem similar to (13) on each oversampling subdomain: Generalized FE methods with GenEO-type local approximation Note Generalized FE methods with GenEO-type local approximation , the right-hand side of the above GEVP is well-defined. Let (λ j,k , ϕ j,k h ) denote the k-th eigenpair of the GEVP (19) with eigenvalues enumerated in increasing order. The desired GenEO-type GFEM coarse space is defined almost identically to the standard version (14): Generalized FE methods with GenEO-type local approximation The last ingredient of the MS-GFEM method is a global particular function built from local particular functions. On each oversampling subdomain Ω * j , we first define a local particular function Generalized FE methods with GenEO-type local approximation Note that ψ d h, j vanishes on all interior subdomains where Γ D ∩∂Ω * j = ∅ or whenever h = 0 on Γ D ∩ ∂Ω * j . On subdomains intersecting Γ D it would in fact be possible to combine problems (21) and (22) into one local problem, but this leads to a slightly larger constant C in Theorem 3.1 below. Therefore, we work with local particular functions defined via (21) and (22) in this paper. The global particular function is then defined by "stitching" together the local functions using the partition of unity: Generalized FE methods with GenEO-type local approximation Having defined the coarse space V H and the global particular function u p h , we are now ready to give the MS-GFEM method for solving the fine-scale FE problem (6): Generalized FE methods with GenEO-type local approximation To assess the quality of the MS-GFEM approximation, we estimate the energy Generalized FE methods with GenEO-type local approximation Following the lines of the proofs of Theorems 2.1 and 3.4 in [21], we can derive the following bound: Generalized FE methods with GenEO-type local approximation C is known explicitly and bounded by the maximum number of oversampling domains that overlap at any given point in Ω, and λ j,m j +1 is the smallest eigenvalue corresponding to any eigenvector not included ( ) in the local basis on Ω j . Generalized FE methods with GenEO-type local approximation Thus, the efficiency of the MS-GFEM method is controlled by the speed at which the eigenvalues in (19) grow. To estimate this growth rate, let H j and H * j denote the diameter of Ω j and Ω * j , respectively. The following (informal) theorem in d dimensions, similar to Theorem 4.6 in [22], gives an exponential bound on the eigenvalues, which can be proved following the lines of the proofs of Theorem 4.6 in [22] and Theorem 7.3 in [19] (details will be given in a forthcoming paper). Generalized FE methods with GenEO-type local approximation The constants C j , k j and b j can again be derived explicitly. The value of b j and thus the convergence rate grows with the amount of oversampling, i.e., with decreasing H j /H * j . Generalized FE methods with GenEO-type local approximation Combining the exponential bound (26) on the local eigenvalues and the global error estimate (25) provides a rigorous, exponential error bound for the MS-GFEM method. It is important to note that the exponential growth rate of the local eigenvalues critically relies on the two aforementioned ingredients of the new coarse space, i.e., oversampling and A-harmonicity. The global error estimate (25) also holds for the standard GenEO coarse space when used as a coarse approximation. However, without the two key ingredients, the eigenvalues of the local GEVP (13) do not grow exponentially fast, making the standard GenEO coarse space significantly less efficient; see Subsection 5.4. Generalized FE methods with GenEO-type local approximation Apart from the exponential decay rate of the error with respect to the number of local basis functions, Theorem 3.2 also provides an explicit decay rate of the error with respect to the oversampling size, which offers a second handle to control the error of the method, in addition to a change in the size of the local approximation spaces. This turns out to be of great importance in reducing the size of the global coarse problem; see Subsection 5.6. Generalized FE methods with GenEO-type local approximation We end this subsection by discussing ways to solve the local GEVP (19). Due to the presence of the A-harmonic condition, a straightforward yet timeconsuming way of solving (19) is to first construct the basis functions of the Aharmonic FE space by solving many local boundary value problems [18,20,29]. Instead, we use a different and more efficient method proposed in [22], where the A-harmonic condition is directly incorporated into the local GEVP. To this end, a Lagrange multiplier is introduced and the local GEVP (19) is rewritten in an equivalent mixed formulation: Generalized FE methods with GenEO-type local approximation The implementation details of how the augmented system (27) is solved are presented in Subsection 4.3. Implementation The DUNE [26] package is an open-source, modular toolbox for the numerical solution of PDE problems. It leverages advanced C++ programming techniques in order to provide modularity from the ground up while producing highly efficient applications. As such, it allows the reuse of many existing components when implementing our new mathematical methods for HPC applications. The new methods were integrated in the dune-composites module [1], which facilitates setting up elasticity models and provides access to efficient solvers that scale to thousands of cores on modern HPC systems, despite the typically bad conditioning of composites problems. This was achieved through an HPC-scale GenEO implementation [10] developed as part of dune-composites and later moved into the lower-level discretization module dune-pdelab [30] within DUNE. The dune-pdelab module and several lower-level DUNE modules are used within dune-composites to obtain the finite element discretizations on the fine level. Implementation Within the DUNE framework a number of grid implementations are provided for various purposes. Initially, only YASPGrid, a structured grid, provided native support for overlapping domain decomposition methods, where each process holds a copy of elements in its overlap region and may exchange data attached to associated DoFs with neighboring processes. Since the methods considered here are constructed using overlapping subdomains, we need this kind of communication mechanism. In previous work within dune-composites [1], the restriction to cuboid domains induced by YASPGrid was overcome by applying a geometric transformation to the grid. However, for many relevant engineering applications, a smooth transformation from a cuboid geometry to the actual geometry is not available. Thus, DoF-based communication was extended to support unstructured grids as well. In order to handle more general model geometries, the grid creation was first shifted to a pre-processing step using Gmsh [31]. The grid import is facilitated by the IO functionality of dune-grid. Algebraic overlap construction for GenEO In order to provide overlap and communication across overlaps on unstructured grids, an algebraic approach was introduced where finite element matrices A j defined on overlapping subdomains Ω j are constructed from corresponding matrices j assembled on non-overlapping subdomainsΩ j . Figure 1 illustrates our notation for non-overlapping and overlapping subdomains. We begin with a matrix j on a non-overlapping subdomainΩ j , and assume it has neighboring subdomainsΩ k , k ∈ E j , with corresponding matrices k . We identify coinciding DoFs in j and k through a global indexing, as provided by non-overlapping DUNE grids. On subdomain k, we now identify all DoFs directly connected to those inΩ j , and provide process j with unique indices and the connectivity graph of this newly identified layer of DoFs. Since connected DoFs in a FE discretization are either associated with the same element or adjacent elements, we now are in a position where each process is aware of its neighbors' DoFs within the first layer of elements along the respective boundary. By a recursive application of this algorithm, as shown in Figure 2, we can now grow the algebraic overlap by an arbitrary number of layers of elements, without having to rely on the grid implementation to provide connectivity graphs. In the following, we will define the number of layers of elements added to a subdomain as o (for overlap) -even though the overlap of a domain with its neighbour is in fact 2o. Finally, using the extended connectivity graphs above we can construct a communication mechanism between neighbors to exchange overlap data of vectors defined on the extended domains. We now have the communication infrastructure to generate a GenEO space in a parallel way in place . While the method above allows us to extend connectivity graphs of non-overlapping matrices into neighboring subdomains, mimicking the connectivity graphs of the overlapping matrices A j , the GenEO method obviously requires the actual matrix entries. Using communication across the algebraic overlap, the required matrix entries can be exchanged between neighbors. This relies on the basic assumption (satisfied in general) that the bilinear form a of the weak formulation can be decomposed additively into elementwise bilinear forms a e , such that a(u, v) = e∈T h a (u, v) with T h the grid on Ω. For linear elasticity this is trivially satisfied, see (8). Algebraic overlap construction for GenEO As a result, retrieving matrix entries from neighbors and adding them where DoFs belong to multiple subdomains leads to a correct construction of an overlapping subdomain matrix from non-overlapping ones. There is one exception however: At the boundary ∂Ω j of the overlapping domain, retrieving the entries of an interior DoF will not yield the correct result since the integration domain of said interior DoF extends beyond Ω j as shown in Figure 3. We circumvent this issue by not sending individual matrix entries in k from process k to process j, but instead by assembling a new matrix j k on the domain Ω j ∩Ω k for that pur- pose as shown in Figure 4. In practice, we communicate the partition of unity Ξ j generated from the already available matrix graph of A j to all neighbors, and use Ω j ∩Ω k = supp(Ξ j ) ∩Ω k as a convenient proxy to the desired domain snippet. Algebraic overlap construction for GenEO Since we have the decomposition Algebraic overlap construction for GenEO all snippets together form the desired overlapping subdomain. Exploiting additivity of the bilinear form a and of the FE matrix entries, this assembly strategy delivers the correct overlapping matrix A j for Ω j . Partition of Unity and oversampling As explained in section 3.1, various partition of unity operators can be used in the GenEO theory, as long as they fulfill condition (11). One suitable choice is a smooth transition from zero on ∂Ω j to one on Ω j \∪ k j Ω k , as illustrated in Figure 5 (left). It is the choice made for the GenEO coarse space in [1] (where it is used as a preconditioner). To construct this partition of unity, a weight w p is attributed to each DoF p ∈ dof(Ω j ). Initially, w p is set to 0 on ∂Ω j and to 2o on the remaining vertices in Ω j , where o is the number of layers added. For each DoF p, using the extended connectivity graph of Ω j in its vicinity and comparing with neighboring weights, the weight w p is then reduced incrementally in the subdomain interior such that w p = min min where {q 1 , ..., q n } are the neighboring DoFs of p. It suffices to iterate this 2o − 1 times. As an example, the partition of unity in Figure 5 (left) has been constructed with o = 3. The communication mechanism between subdomains is used to associate to each DoF p ∈ dof(Ω j ) their corresponding counterpart in the neighboring subdomain Ω k . The partition of unity is then simply defined as: Partition of Unity and oversampling where N is the number of subdomains sharing the DoF p. Partition of Unity and oversampling The handling of oversampling subdomains is controlled via the choice of the partition of unity. The implementation of the partition of unity for the oversampled subdomains Ω * j is the same as the one described above with a different initialisation of w p . In particular, w p is initialized to 0 not only on ∂Ω j , but also for a further o * − o layers of DoFs before applying the iterative process above. Thus, the partition of unity is a vector defined on the full oversampling subdomain Ω * j that takes the value zero on Ω * j \ Ω j . In the following, we will choose a variable oversampling size o * and keep one layer of non-zero partition of unity overlap, i.e., o = 1, as shown in Figure 5 (right). Enforcing A-harmonicity within the GEVP in DUNE As described in [22], the eq. (27) can be formulated as a matrix eigenvalue problem. To achieve that, the DoF associate with Ω * j are partition into three sets: Those sets of DoF are depicted in Figure 1. We also define n i as the sizes of the corresponding set B i . The GEVP in matrix form is defined as follows: Find λ h ∈ R,φ j = (φ j,1 , φ j,2 ) ∈ R n 1 +n 2 and p ∈ R n 1 : 11 A j,12 A j,11 A j,21 A j,22 A j,21 A j,11 A j,12 0 Enforcing A-harmonicity within the GEVP in DUNE where A j,mn = a Ω * j ϕ k , ϕ l k∈B m ,l∈B n and B j,11 = a Ω * j Ξ j ϕ k , Ξ j ϕ l (k,l)∈B 1 . The blocks B 12 , B 21 , B 22 are zero since the partition of unity vanishes on B 2 . The oversampling, created via the choice of partition of unity, will also affect the the right hand side of eq. (28), such that not only the blocks B 12 , B 21 , B 22 but also all entries in B j,11 corresponding to the oversampling region Ω * j \ Ω j will be zero (see Figure 5). The GEVP solution to construct the local basis is then φ j = (φ j,1 , φ j,2 , φ j,3 ) ∈ R n 1 +n 2 +n 3 , where φ j,3 is a zero-vector corresponding to the DoFs in B 3 , which combined with (φ j,1 , φ j,2 ) provides an A-harmonic coefficient vector on all of Ω * j . Instead of generating each block A j,nm individually, it is extracted from A j using the sets of DoFs B 1 , B 2 , B 3 . In practice, the matrix Enforcing A-harmonicity within the GEVP in DUNE is built by block. The top left block M 1 is obtained by removing the rows and columns corresponding to B 3 from A j . In the elasticity case, Dirichlet boundary conditions are imposed in DUNE by altering rows in the matrix A j -one on the diagonal, zero elsewhere -so the set B 3 can be easily detected. Then finally M 1 is obtained by removing the rows and columns corresponding to B 2 . The block that is removed corresponds to M 2 . DoFs belonging to B 2 are detected and saved during the overlap creation phase. Once the basis is obtained, the next step in the construction of the coarse space V H is to multiply the eigenvectors by the partition of unity, see eq. (14). To improve the conditioning of the coarse space problem, a re-orthogonalization step via a Gram-Schmidt process is carried out following this multiplication. Contrary to [22], we have implemented directly eq. (28), since the simplification of eq. (28) proposed in [22] for diffusion problems requires a special handling of subdomains that are only affected by Neumann boundaries Γ N , which is more involved for linear elasticity in 3D. Boundary conditions at the coarse level The eigenvectors (φ k j ) k∈(1,m j ) of the local GEVPs have to be combined with local particular solutions if the body force f is nonzero or if Ω * j touches the global Dirichlet boundary and the boundary displacement h is nonzero. A particular solution ψ j is obtained by solving the local partial differential equation (PDE) Boundary conditions at the coarse level The solution ψ j is then multiplied by the partition of unity and orthogonalized with respect to (φ k j ) k∈(1,m j ) using again Gram-Schmidt. We denote the resulting vector byψ j . This vector is then normalized and appended to the basis. Boundary conditions at the coarse level At the coarse level, inhomogeneous Dirichlet boundary conditions are imposed by altering the coarse matrix A H and the coarse vector b H . If j denotes the index of the particular solution ψ j on subdomain Ω * j in the coarse system, then a Dirichlet boundary condition, imposed on Ω * j via the particular solution ψ j , is enforced in the coarse system by setting: Hardware and software For solving the local GEVP, we use Arpack [32] through the Arpack++ wrapper in symmetric shift-invert mode. As subdomain solver, we use UMFPack [3] in the eigenvalue solver. The domain partition of Ω into non-overlapping subdo-mainsΩ j is carried out by the graph partitioner ParMetis [33]. Hardware and software The numerical results have been carried out on the Hamilton HPC Service at Durham University. Its last version, called Hamilton8, provides a total of 15,616 CPU cores, 36TB RAM and 1.9PB disk space. Hamilton8 is composed of 120 standard compute nodes, each with 128 CPU cores (2x AMD EPYC 7702), 256GB RAM and 400GB local SSD storage. Numerical Experiments: Performance tests for MS-GFEM on composite structures Throughout this paper, we assume a linear elastic behavior of the composite material. For aerospace applications, considering damage behavior is essential. Ultimately, our framework will be applied to model large displacement effects and the onset of failure. To achieve this, two requirements need to be validated. Firstly, it is essential to have an efficient linear elastic solver for a large-scale model to be used within any non-linear iteration. Secondly, the approximate solution needs to accurately represent relevant damage criteria, especially local extrema. Numerical Experiments: Performance tests for MS-GFEM on composite structures In this section, after a brief description of the composite models, we first analyse the output from all components of the MS-GFEM when applied to a composite beam. The method is then applied to a complex, aerospace part using a composite failure criterion to assess the accuracy. Finally, the parallel scaling of the method is investigated, demonstrating the efficiency of the proposed MS-GFEM on large composite structures. Specification of the considered composite model problems In the following three subsections, first a laminated beam under compression is considered in order to evaluate the performance of the method proposed in this study. It is illustrated in Figure 6 (a). The laminated beam has a length of 500mm, a width of 140mm and a thickness of 6mm. The laminate is made up of a stack of three layers (or plies) of the same thickness. Each layer represents a uni-directional composite made up of carbon fibres embedded into resin. Plies are modelled as homogeneous orthotropic elastic materials, characterised by nine parameters and a vector of orientations θ. The elastic properties of AS4/8552 ( [34]) have been chosen for this example. In the global coordinate system, the material tensor is orientated using standard tensor rotations, following the stacking sequence [0 • , 45 • , −45 • ]. For more details see, e.g., [35]. The study considers the elastic behavior of the laminated beam under compression. The uni-axial compression, illustrated in Figure 7(b), is modeled as a displacement imposed Dirichlet boundary condition. Then for the remainder of the paper, a realistic aerospace part is used to demonstrate the high quality of the achieved coarse approximation. The aerospace part in question is a 500mm long C-shaped wing spar section (C-spar) with a joggle region in its center, creating a geometric feature in the structure, see Figure 6 (b). The material is a laminated composite, composed of 24 uni-directional layers (carbon fibers and resin) of 0.2mm each, which are orientated as follows: Specification of the considered composite model problems The behavior of the C-spar under compression will be investigated using the same boundary conditions as the ones used in the beam example above. Specification of the considered composite model problems In both examples, as visualized in Figure 6, for the local approximation we use FE grids with piecewise linear elements, reduced integration to avoid shearlocking and one element through thickness per layer. Local GEVP outputs We start by analysing the local generalized eigenvalue problems (GEVP), in particular the behavior of the smallest eigenvalue λ m j +1 j corresponding to any eigenvector not included in the local approximation space, which is the main parameter driving the method accuracy (cf. the error bound in eq. (25)). First, the decay of 1/λ i j for representative subdomains is analysed, as well as the shape of the associated eigenvectors. Then, the effect of the oversampling size o * is discussed. A particular focus will be on the local finite element aspect ratio which severely affects the accuracy of the computed eigenvectors/-values and thus also the observed actual decay of the error bound. The beam domain in Figure 6 (a) is decomposed into 64 subdomains for the first experiment; see Fig. 7 (b). In each subdomain, a local eigenvalue problem is solved to construct the local approximation space with a fixed number of o * = 8 oversampling layers. In Figure 7 (c,d) a selection of exemplary, local GEVP solutions on two representative subdomains are presented together with a semilogarithmic plot of 1/λ i j in Fig. 7(a). For the eigenvalue plot two further subdomains are added. In total, there is one subdomain intersecting Γ D ( j = 29), one intersecting ∂Ω ( j = 64) and two interior subdomains ( j = 55, 56), with the first one of the two having a higher surface-to-volume ratio. Local GEVP outputs The semi-logarithmic plot of 1/λ i j in Fig. 7(a) demonstrates the predicted, nearly exponential decay of the local approximation error with respect to the basis size (m j ) in all cases. The decay is faster for subdomains intersecting ∂Ω; the more the subdomain intersects ∂Ω the faster is the decay. A further factor is the surface-to-volume ratio. The higher this ratio the slower the exponential decay of 1/λ i j , as exemplified by the relative decays of subdomains j = 29, 64, 55 and 56. The partitioning of the domain could be optimised to unify the surface-to-volume ratio over all subdomains. In fact, for simple, laminated composites a regular domain decomposition could be chosen, e.g., into rectangular subdomains. Here, however, we do not make this choice in order to show the robustness of the approach to rather general subdomain partitionings, as provided by automatic graph partitioners such as ParMetis [33], and thus to show the potential of the approach for simulating very complex structures. Local GEVP outputs In the interior subdomain Ω * j=56 , the first six eigenvectors (indices 0 to 5) depicted in Figure 7 (d) correspond to the zero energy modes (or rigid body modes) representing shifts and rotations of the structure. The following modes for Ω * j=56 and the first few modes for Ω * j=29 in Figure 7 (c) correspond to low-energy deformations of the subdomain: bending and shearing. The higher-energy modes correspond to higher frequency deformations (i > 50). Local GEVP outputs As explained in Section 3.3, the oversampling parameter o * is key to the decay rate of the local approximation errors. In Figure 8, the reciprocal eigenvalues 1/λ i j for subdomain Ω * j=56 are presented for a range of oversampling sizes. The decay of 1/λ i j clearly accelerates as the oversampling size is increased. Thus, for a desired error bound (i.e. 1/λ i j < 10 −7 ), subdomains with larger amounts of oversampling lead to significantly smaller local bases and consequently to an overall smaller coarse space. The trade-off, however, is that the dimensions of the local GEVPs grow significantly with the amount of oversampling and this will be discussed later. In general, the objective is to pick the minimal number of modes m j to approximate the solution (displacement) and its derivative (strain and stress) sufficiently well. The accuracy of the coarse approximation and the effect of changing the main tuning parameters (basis / oversampling size) will be analysed in Section 5.3. The efficiency study will be performed for the more complex C-spar structure and is presented in Section 5.6. Local GEVP outputs The results in Figures 7 and 8 are computed using square elements with an aspect ratio of one between horizontal (through-thickness) and vertical (in-plane) edges. However, such a choice leads to an unreasonably high number of elements in larger composite structures with a larger number of more realistic, thinner plies, such as the C-spar described in Section 5.1 and depicted at he bottom of Figure 6. To build a reasonably sized model, the in-plane discretization has to be reduced, leading to flat elements with a larger aspect ratio. Unfortunately this reduces the accuracy significantly, as presented for four element aspect ratios and o * = 5 in Figure 9 (b), where the relative L 2 -error for each eigenpair is shown. As a consequence, after a similar initial decay (up to i = 60) we observe a change in the slope of 1/λ i j for aspect ratios bigger than one in Figure 9 (a). For very large aspect ratios of 15 and above, it even leads to a plateau in 1/λ i j (see Figure 7 (a), red curve). This is to be expected, due to the larger condition numbers of the stiffness matrices in the GEVP leading to more unstable eigensolves. Local GEVP outputs Increasing the oversampling size does not alleviate this problem, as seen in Figure 9 (c,d); the relative L 2 -errors in the eigenpairs are independent of o * and Figure 9: The reciprocals 1/λ i j of the eigenvalues of the local GEVP (a,c) and the relative L 2 -error in computing the associated eigenvectors (b,d); in particular, studying the effect of bad element aspect ratio (for o * = 5) in (a,b), as well as oversampling size for fixed aspect ratio in (c,d). Local GEVP outputs the slope of 1/λ i j changes roughly at the same value of i. We also tested a different type of higher-order finite element, namely a 20-DoF quadratic serendipity element, but the loss of accuracy due to high element aspect ratios persists. However, the slope change and the plateau of the eigenvalues for larger aspect ratios do not have a strong impact, since they occur only at values well below what is needed for good practial approximation, especially for higher oversampling sizes. Coarse approximation accuracy In this section, we investigate the accuracy of the MS-GFEM approximation. The fine-scale reference solution is computed using an iterative CG method with GenEO as preconditioner. By setting a sufficiently low tolerance, the error due to the iterative solution via CG can be neglected. Coarse approximation accuracy We consider in the following the relative errors in L 2 -norm between the coarse approximations of displacement and strain fields, u H and H , and their fine-scale counterparts, u h and h , i.e., Figure 10 (a) shows the fine-scale approximation of the displacement field u h of the beam under compressive loading. The unit displacement (x(z) = −10 mm) applied here causes the characteristic out-of-plane deformation of the structure related to the non-symmetric stacking sequence chosen for this example. A maximum displacement of 20mm is observed on the two sides of the beam. Figure 10 (b) depicts the fine-scale strain approximation in the direction of compression, denoted by x here. The order of magnitude of strains is O(10 −2 ). Coarse approximation accuracy The main parameter driving the accuracy of the coarse approximation is the smallest eigenvalue min j λ m j +1 j corresponding to any local eigenvector not included in the basis. As explained above, the size m j of each of the local bases and the oversampling size o * will be decisive to control this parameter. For our analysis we vary these two key parameters up to maxima of m j = 250 and o * = 8, for which the error bound lies below 10 −15 . The relative L 2 -errors for displacement and strain are shown in Figure 10, resp. (c) and (d), using a logarithmic scale. Both e d and e decay exponentially with respect to m j for all amounts of oversampling. The decay rate of the errors is higher for larger oversampling sizes, which is in agreement with the behavior of the reciprocal eigenvalues depicted in Figure 8. We further investigate the location of the largest strain error, in order to explain in more detail its dependence on m j and o * . The coarse approximation of the strain field has been projected onto the fine-scale space to allow a direct comparison element-by-element. The absolute differences ∆ h,xx between the fine-scale solution and the coarse approximation of the strain field are depicted in Figure 11 for three different values of the local basis size per subdomain, m j = {90, 150, 190}, and a fixed value of o * = 8. The aim is to investigate the error behavior alongside the convergence curve for o * = 8 in Figure 10 (d). The three chosen basis sizes produce coarse-space solutions of high accuracy with relative L 2 -errors bellow 10 −3 . The error maxima are observed on subdomains located in the center of the beam. Indeed, the local error on each subdomain follows the decrease of 1/λ i j . As shown in Figure 7 (a), interior subdomains (e.g., Ω * j=56 ) need more eigenvectors for the same local error. Eventually, a sufficiently large local basis size ensures an accurate approximation for all subdomains. Coarse approximation accuracy Conversely, for fixed m j = 190 Figure 12 assesses the impact of the oversampling size, varying o * ∈ {1, 5, 8}. As expected, small oversampling size leads to an error localised at subdomain interfaces. Increasing the oversampling area Figure 13: Localization of the error depending on the oversampling size o * for a given targeted accuracy. The absolute difference ∆ h,xx between the coarse approximation and the fine scale approximation is plotted. decreases the interface errors, and, eventually a smooth and very low error is observed across the domain for o * > 5. This example showcases one of the main advantages of the MS-GFEM: the interface problem at subdomain boundaries is handled by oversampling. Thus, the approximation is then robust to the chosen domain decomposition and there is no scale separation between the ply scale (mesoscopic) and the structural scale (macroscopic). Coarse approximation accuracy In Figure 13, the strain error is evaluated for a fixed eigenvalue threshold 1/λ m j +1 j = 10 −7 for various oversampling sizes, to study the impact on the overall coarse space size. For fixed accuracy, the size of the coarse space is reduced by 22.6% when increasing o * = 4 to o * = 6 and by 45.3% from o * = 4 to o * = 8. This improved model order reduction obviously reduces the cost of the coarse problem solve, but it does increase the size of the local problems and thus the cost of solving the local GEVPs. This cost trade-off will be studied more carefully in Section 5.6 for the C-spar. Importance of the A-harmonic condition for composite problems To emphasize the necessity of the A-harmonic condition in our framework, we compare the new MS-GFEM space to the classic GenEO coarse space with the GEVPs formulated directly in the FE space V h , i.e., without enforcing Aharmonicity. The theoretical error bound in Theorem 3.1 is the same for both GFEM spaces, with and without the A-harmonic condition in the GEVP. Crucially, in both cases the approximation error is bounded by the reciprocal 1/λ i j of the smallest eigenvalue corresponding to any eigenvector that is not included in the coarse space V H . Figure 14 (right) shows that the decay of 1/λ i j for i < 10 is comparable between classic GenEO and the A-harmonic formulation, since the first modes (rigid body, shear and bending) appear in both. In fact, the classic GenEO coarse space with a small number of lowest-eigenvalue modes was shown in Reinarz et al. [2] to provide a robust preconditioner within CG that reduces the condition number effectively and leads to a low number of CG iterations for composites problems. Importance of the A-harmonic condition for composite problems Beyond that, we observe in Figure 14 (right) that the spectrum for the classic GenEO formulation decays much slower and eventually almost stagnates, when compared to MS-GFEM. This is reflected in the coarse approximation error in Figure 14 (left), as predicted in Theorem 3.1.Even including 190 eigenvectors in classic GenEO is not sufficient to accurately represent the strain field in this application (with e ≈ 1). MS-GFEM with A-harmonic GEVPs, on the other hand, achieves an excellent coarse approximation at much lower basis sizes. Method accuracy on an aerospace part In this section, the behavior of the C-spar, described in Section 5.1, under compression is investigated. The domain, shown in Figure 6 (b), is divided into 256 subdomains. For an oversampling size of o * = 4 and a tolerance of t = 10 −6 on 1/λ m j +1 j we obtain local basis sizes m j varying between 60 and 170. These parameters lead to an average subdomain size of dof(Ω * j ) = 30000 and a model order reduction of 32×. With 4GB of RAM per subdomain to compute the local GEVP this parameter choice requires 4 nodes of the HPC cluster Hamilton8 for the 256 subdomains. The element aspect ratio is 15 for this example (see Figure 6). Thus, as for the simple beam example, the possible coarse approximation accuracy is limited by the fine scale error. In order to assess the coarse approximation, the longitudinal compressive failure criterion Method accuracy on an aerospace part from [36] is computed, which is a linear combination of relevant stress components: transverse and shear. A detailed description of the material parameters that are involved is outlined in [36]; the notation · denotes the positive part of the argument. It represents the initiation of the fiber kinking mechanism, observed for fiber reinforced composites under compression. In slender composite structures, this failure mode typically appears after the buckling of the structure, but even in the pre-buckling context, this criterion gives a good insight into the usefulness of the method for studying compressive failure. The elementwise longitudinal compressive failure criterion, computed in local coordinates, is plotted in Figure 15 (a). To compute it the coarse approximation u H is first projected onto the fine scale FE space V h . The relative error with respect to a direct meso-scale approximation in V h is shown in Figure 15 (b). With the chosen parameters, the relative error on the failure criterion is below 3.0 × 10 −3 . In Figure 15 (a), four plies (ply 6, 12, 18 and 24) are highlighted in a certain part of the domain, representing each stacking orientation and showing that the coarse approximation is able to accurately represent the quick variation of the compressive failure criterion through thickness. The remaining error is small and uniformly distributed, with higher values near subdomain boundaries and on interior subdomains, in agreement with the observations on the beam example. Figure 16: Scaling of the method applied to C-spars of different lengths for three sets of parameters. In (a) the Sets #1 and #2 optimize the approximation accuracy, while in (b) Set #3 aims at a very efficient simulation with acceptable accuracy. The FE grids used are displayed in (c). Method scalability A parallel (weak) scaling test of the method is presented in Figure 16, where the cost of the local GEVP solves and the cost of the coarse solve are assessed using C-spars of different lengths while fixing the discretization of the mesostructure: 24 elements through thickness (one per ply) and a constant element size in the other directions (aspect ratio 15). The C-spar models vary between L = 62.5mm with dof(V h ) = 1.53 × 10 5 (Model 1) and L = 2m with dof(V h ) = 4.6 × 10 6 (Model 7). The number of processors (P) employed for each model have been chosen such that dof(V h )/P remains constant. Method scalability Three combinations of parameters have been tested, choosing o * = 4 and o * = 6 and selecting a threshold of t = 10 −6 and t = 10 −3 for the reciprocal of the local eigenvalues. Parameter sets #1 and #2 assess the scalability of the method for a highly accurate solution with t = 10 −6 . In Set #1 o * = 4, chosen to reduce RAM consumption, whereas in Set #2 a larger oversampling size of o * = 6 is selected, thus requiring more RAM. This trade-off will be further discussed below. Set #3 has been selected to study how the method scales for a lower eigenvalue threshold of t = 10 −3 with smaller o * = 3 and half the amount of subdomains in Sets #1 and #2, such that dof(Ω * j ) is roughly the same. For all three sets, the GEVP solve step scales perfectly, since it requires no parallel communication. As expected the local GEVP solve times increase slightly between Sets #1 and #2 due to the slightly bigger local problem sizes. The overall cost for the coarse space setup for each model is essentially identical, since it is dominated by the cost of solving the local GEVPs and can also be carried out fully in parallel with only some local data exchange. In contrast, the final coarse space problem (24) is (currently) solved on one processor, and thus eventually dominates the overall cost for larger models. To remain efficient, the coarse space size needs to be optimized. For all considered models, the model order reduction is around 32× for Set #1 and around 50× for Set #2. As a consequence, the increase in oversampling size from Set #1 to Set #2 significantly reduces the cost of the coarse solve, particularly for the larger models (4-5-6). These gains clearly outweigh the higher cost for the local GEVP solves, but there is a limit to this improvement, preventing the use of too large oversampling sizes, namely the amount of local memory (RAM) needed to process the local GEVPs in parallel. In this example, subdomains with o * = 6 have more than 50, 000 DoF, necessitating over 8GB of RAM per subdomain for the local GEVPs. A reasonable oversampling size thus needs to balance performance and memory consumption. Method scalability The strength of our approach is the ability to construct approximation spaces of adjustable complexity in a very simple way. A cheaper approximation can be built by choosing a lower threshold t for selecting the local eigenvectors. In particular, for Set #3, where o * = 3 and t = 10 −3 , the size of local bases (m j ) reduces to between 30 and 50, leading to a model order reduction of about 170×. This allows the construction and solve of the coarse-space approximation for a 2m C-spar (Model 7) on 512 processors in 10 minutes, further pushing the scalability test. The model order reduction is then sufficient to keep all the coarse solve computation times under 10 seconds, even for the Model 7. The accuracy of the solution of two sets of parameters: #1 and #3 is compared in Figure 17 for Model 6. Both qualitatively, as visible on Figure 17, and quantitatively (relative L 2 -errors) the displacement field u H appears to be well represented for both sets, which is in agreement with the beam example observations. However, as expected, since it is derived from the stresses (eq. (29)), the accu- Figure 17: Visualisation of the solution accuracy for Set #3 (b,d) compared to Set #1 (a,c) for Model 6 (see Figure 16), plotting for both sets in (a, b) the compressive criterion (eq. (29)) and in (c, d) the displacement field. The relative L 2 -errors (on strain e and displacement e d ) with respect to the fine scale approximation are associated with each parameter set. Method scalability racy of the compressive criterion in Set #3 is affected by the small basis size. Despite a visible noise on the compressive failure criterion of Set #3 (see the zoom-in in Figure 17), global extrema are preserved. Hence, this set of parameters is able to detect the global maximum of the criterion at very cheap cost. Conclusion & future work In this paper, we have presented the first scalable HPC implementation of a MS-GFEM method and demonstrated that it delivers high quality approximate solutions for very small coarse space sizes. As proven in previous theoretical work, this is due to the nearly exponential decay of the reciprocal eigenvalues in the local generalised eigenvalue problems. Here, we have demonstrated that this nearly exponential decay crucially relies on enforcing an A-harmonic constraint on the local eigenproblems also in composites applications, and that oversampling of the local subdomains is essential to achieve good accuracies at small local basis sizes. While the related GenEO-coarse space, which does not enforce A-harmonicity in the local eigenproblems, also leads to acceptable results in approximating displacements, we have seen that A-harmonicity is crucial to accurately approximate strains, stresses and derived failure criteria in composite applications. Conclusion & future work We have demonstrated good parallel scalability on several hundreds of processor cores. While a single solve of the fine-scale problem is cheaper using, e.g., GenEO-preconditioned Krylov methods, the localized approach of MS-GFEM opens up new opportunities for parallel scalability. When solving large numbers of closely related problems, eigenvectors from unaffected subdomains may be retained, solving costly eigenproblems only where model parameters or geometry changes between runs. If only a few subdomains are affected, the global solution can be computed using a significantly smaller number of processors in the same time as a full run. This is especially interesting in future Uncertainty Quantification (UQ) applications, such as the impact of (meso-scale) localized wrinkles in composite structures on the strength or the failure behaviour of the overall (macro-scale) structure. In such applications, the problem setup will essentially be identical in all but a few subdomains and large numbers of runs are required. Conclusion & future work The integration of our new MS-GFEM method into an offline/online framework, where local approximation spaces will only be updated in a few subdomains between runs, is currently ongoing and will form part of a subsequent publication. This will also include the application of the offline/online framework as part of Uncertainty Quantification (UQ) methods for composites; in particular, exploiting the natural hierarchy of approximate models in the MS-GFEM framework within multilevel UQ methods such as MLMC [37] or MLMCMC [38]. Conclusion & future work The coarse space solves have been handled by a single processor in this study. Another way to improve the framework efficiency will be to parallelize the coarse space solve, using a direct or an iterative parallel solver. This aspect and the management of parallel resources in the online runs will also be explored. Conclusion & future work On the practical side, our approach has a largely automatic workflow, from domain decomposition to the automatic generation of a coarse space specifically tuned to the given problem. The balance between global approximation error and basis size can be controlled by setting a single threshold for the selection of eigenvectors. In multiscale applications, and specifically composites, MS-GFEM is particularly interesting since we obtain a low-dimensional approximation without assuming scale separation. Instead, the eigenproblems capture the structure of the given problem, providing better quality than hand-tuned approximations. The resulting coarse space then accurately captures fine-and coarse-scale interaction. Conclusion & future work A very relevant aspect in the study of composite materials is material failure under load. In contrast to linear elasticity (as covered by this work), nonlinear models are needed to simulate the failure of composites aero-structures (non-linear geometry, damage initiation and propagation). We are therefore also extending our methods to nonlinear solvers and implement nonlinear material behavior in dune-composites.

섹션 본문 109문단 · 62,334자

(제목 없음)

1In this paper, the first large-scale application of multiscale-spectral generalized finite element methods (MS-GFEM) to composite aero-structures is presented. The crucial novelty lies in the introduction of A-harmonicity in the local approximation spaces, which in contrast to [Babuska, Lipton, Multiscale Model. Simul. 9, 2011] is enforced more efficiently via a constraint in the local eigenproblems. This significant modification leads to excellent approximation properties, which turn out to be essential to capture accurately material strains and stresses with a low dimensional approximation space, hence maximising model order reduction. The implementation of the framework in the Distributed and Unified Numerics Environment (DUNE) software package, as well as a detailed description of all components of the method are presented and exemplified on a composite laminated beam under compressive loading. The excellent parallel scalability of the method, as well as its superior performance compared to the related, previously introduced GenEO method are demonstrated on two realistic application cases, including a C-shaped wing spar with complex geometry. Further, by allowing lowcost approximate solves for closely related models or geometries this efficient, novel technology provides the basis for future applications in optimisation or uncertainty quantification on challenging problems in composite aero-structures.

Introduction

2Ill-conditioned and multiscale partial differential equations (PDEs) arise in many fields, where the computation of a resolved, fine-scale solution or a robust low-dimensional approximation can be challenging. Due to the interaction of their mesoscopic structure (ply level; sub-millimeter scale) and their geometric macroscopic features (structural level; meter scale), composite aero-structures are naturally, inherently multiscale. To model the behavior of a large scale composite structure, the numerical model needs to accurately represent the meso-scale configuration of the material as well as the macro-scale geometry of the part. Full mesoscopic descriptions of large components naturally lead to models with huge numbers of degrees of freedom. This makes the computations prohibitively expensive, particularly in contexts where many evaluations are required, e.g. optimisation or uncertainty quantification. As a result, composite aero-structures provide an ideal test bed for the new multiscale method proposed in this paper, which allows for the interaction of fine and coarse scale behaviour to be captured without becoming excessive in cost.

High Performance Solvers for Composite Applications

3Due to strongly varying parameters across the simulation domain, elasticity problems arising in composite materials lead to Finite Element (FE) matrices that are extremely ill-conditioned [1,2]. This poor conditioning is due to the contrast in stiffness between the carbon fibres and the surrounding resin matrix, as well as the complex anisotropy arising from the inclusion of long directional fibres. As a result, composite laminates have both low-energy modes, whereby the stiff fibres act as rigid body inclusions and the complement resin deforms easily; and also very high-energy modes, in deformation regimes with stretched, stiff fibres. This contrast between low and high energy modes is at the heart of the ill-conditioning (high condition number) in composite applications.

4Whilst sparse direct solvers, like UMFPACK [3] or the ones provided in the Abaqus package [4], can reliably solve such systems, they are inherently limited in their scalability. This immediately restricts the physical scale of composites that can be simulated. Iterative solvers such as Conjugate Gradient (CG) or GM-RES [5] in turn promise massive parallel scalability for modern High Performance Computing (HPC) systems, but their efficiency (i.e. number of iterations) strongly depends on the condition number of the matrix.

5In order to render such iterative solvers robust, preconditioners are essential. Whilst Algebraic Multigrid (AMG) preconditioners are in general a promising choice regarding robustness and scalability, tests with two AMG implementations, in dune-istl [6] and BoomerAMG [7], have demonstrated poor performance in composite applications [1,2]. The reason is that, without a problem-specific local aggregation strategy, coarse grids in AMG do not capture the low-energy modes in composites structures, which motivates the search for alternative strategies that produce fast approximate coarse representations at a larger scale. The Generalized Eigenproblems in the Overlaps (GenEO) method [8] provides such a coarsening, leading to a robust, theoretical bound on the condition number of the preconditioned system for a two-level Schwarz Domain Decomposition (DD) method [9]. A problem-specific coarse space is computed from some tailored, local eigenproblems on overlapping subdomains. Robust scale-up to several thousands of processor cores for composites applications has been shown in [2,10]. While the iterative solver now only needs few iterations, a considerable cost is expended in solving the independent local eigenproblems.

6To avoid these tremendous computational costs of direct simulations of multiscale problems, computational homogenization methods [11,12,13] have been well developed and widely used in the engineering community. Moreover, in practical engineering applications, multiscale problems are typically solved multiple times with different source terms and possibly local changes in model parameters, such that the higher setup cost of such methods can be offset. Most of those methods, however, are based on scale separation hypotheses, and may fail for typical problems in realistic applications that do not exhibit such a scale separation.

Multiscale Methods in Composite Analysis

7To efficiently solve multiscale problems without scale separation for repeated analysis required in an uncertainty quantification context, various multiscale model order reduction methods have been developed, such as the multiscale finite element method (MsFEM) [14], the generalized finite element method (GMsFEM) [15], localized orthogonal decomposition (LOD) [16], flux norm homogenization [17], and the generalized finite element method (GFEM) [18,19,20], to cite a few. Most of these methods were developed in the context of numerical multiscale methods and are based on representing the solution space on a coarse grid by a low dimensional space that is spanned by some pre-computed local basis functions that take into account the structural meso-scale information in the material parameters.

8The multiscale-spectral generalized finite element method (MS-GFEM), the focus of this work, was first proposed by Babuska and Lipton [18] for solving heterogeneous diffusion problems, but motivated also by problems in linear elasticity and in particular fibre-reinforced composites. The approach builds optimal local approximation spaces from eigenvectors of local eigenproblems posed on A-harmonic spaces defined for oversampling subdomains. Crucially, the global approximation error is fully controlled by the local approximation errors, which are rigorously proved to decay nearly exponentially -a feature not shared by most other ad-hoc constructed numerical multiscale approaches. For diffusion problems the implementation details were discussed in [20] together with numerical results on a two-dimensional toy example.

9In a recent paper [21], Ma, Scheichl and Dodwell proposed new local eigenproblems involving the partition of unity to construct new optimal local approximation spaces for the MS-GFEM method, resulting in a GenEO-type coarse-space approximation. Significant advantages of the new local approximation spaces were demonstrated and sharper decay rates for the local approximation errors were proved. In [22], the MS-GFEM method was then also formulated and analysed for the first time in the discrete setting, as a non-iterative domain decomposition type method for solving linear systems resulting from FE discretizations of the finescale problem. Very similar local and global error estimates as in the continuous setting were derived. Furthermore, an efficient method to solve the (discrete) local eigenproblems was proposed, where the A-harmonic condition is directly incorporated into the eigenproblem. More recently, this approach was applied to other multiscale PDEs, such as Helmholtz [23], parabolic [24] and singularly perturbed [25] problems. Although numerical results of various simple, two-dimensional examples have demonstrated the efficiency of the MS-GFEM method, up to now, there is no study available in the literature on the application of the MS-GFEM method to realistic, large-scale, three-dimensional multiscale problems and on the implementation and performance of the method on massively parallel computers.

Contributions of this paper

10This paper represents the first large-scale application of GenEO as a multiscalespectral GFEM, providing good approximations to fine-scale solutions with a very low number of basis functions. The reformulation of GenEO as a GFEM method in local A-harmonic subspaces distinguishes our methodology from the one proposed by Babuska and Lipton [19]. Most notably, in contrast to [19] our method is inherently adaptive -we can control the error a posteriori by simply setting a threshold on the eigenvalues to decide which eigenvectors need to be included into the local spaces; see Theorem 3.1. The paper constitutes an extension of the work proposed by Ma and co-authors [21,22] by generalizing the method to three dimensional elasticity problems, demonstrated with two real-world application cases. The theoretical background of our formulation as well as its implementation are described in detail and its excellent performance and scalability are demonstrated. The resulting coarse space turns out to have significantly better approximation properties than GenEO in the elasticity problems considered here. In particular, local A-harmonicity is crucial for accurate strain approximation with significant practical improvements demonstrated in numerical experiments.

11Our method provides efficient reduced order models for large-scale problems that exhibit strong dependence on local details. The efficiency arises from a decomposition of the global problem into independent sub-problems that can be treated fully in parallel. A scalability test is presented in this paper that demonstrates this high efficiency even for very large structures. The accuracy of the approximation space is fully adjustable: a single threshold parameter on the local eigenvalues allows for an optimisation of the amount of model order of reduction. The approach does not rely on a scale separation hypothesis between material scales (meso-and macro-scale for the examples illustrated in the paper), the proposed multi-scale framework is particularly well suited for composite aerostructures. This is demonstrated via an application on a realistic C-spar model -a demonstrator application in the UK-EPSRC-funded CerTest project on composite structural design and certification (see the acknowledgements in Section 7).

12A key motivation for the approach presented in this paper is the development of an offline-online framework, where the costly local model order reductions are reused across multiple similar simulation runs, reducing the overall cost to a fraction, as suggested in [15] but with significantly smaller coarse spaces. This promises to accelerate uncertainty quantification or optimisation tasks on challenging composites models and will be described in detail in a subsequent paper.

13In addition, this paper reports on other technical improvements and recent developments of the dune-composites module within DUNE [26]. Support for GenEO is extended to unstructured DUNE grids, which is crucial for engineering applications such as composite parts with complex geometry (e.g., T-joint stiffeners) that cannot be discretized solely using a structured grid. Since the implementations of unstructured grids do not natively support overlapping subdomains in DUNE, the overlapping FE matrices needed in GenEO are constructed directly from assembled ones on a non-overlapping grid partition.

Problem formulation

14Let us start by formulating the anisotropic, linear elasticity equations for composite structures and their finite element discretization. The composite structure is assumed to occupy a bounded and (for simplicity) polyhedral domain Ω ⊂ R 3 with boundary Γ and unit, outward normal n ∈ R 3 . At each point x ∈ Ω we define a vector-valued displacement u(x) : Ω → R 3 and denote by f(x) : Ω → R 3 the body force per unit volume. The infinitesimal strain tensor, is defined as the symmetric part of the displacement gradients:

15where u i, j = ∂u i /∂x j . The strain tensor is connected to the Cauchy stress tensor σ i j via the generalized Hooke's law:

16where the material tensor C i jkl (x) is a symmetric, positive definite fourth order tensor. The studied material will be further described in Section 5.1. Now, let Γ D and Γ N be disjoint open subsets of Γ such that Γ D ∪ Γ N = Γ and consider the function space

17Given functions h : Γ D → R 3 and g : Γ N → R 3 , prescribing the Dirichlet and Neumann boundary data, the weak formulation of the problem to be considered consists in seeking the unknown displacement field u ∈ H 1 (Ω;

18where the bilinear form a(·, ·) and the functional b(·) are defined by

19The variational problem (4) is discretized with conforming FEs on a mesh T h on Ω by introducing the FE space V h ⊂ V as the tensor product

20, spanned by the usual Lagrange bases on T h . We find a function u p ∈ H 1 (Ω; R 3 ) such that u p = h on Γ D and then seek an

21We block together displacements from all three space dimensions, so that u (i) h ∈ B := R 3 denotes the vector of displacement coefficients containing all space components associated with the i th basis function. The displacement vector at a point x is then given by

22The system (6) is equivalent to a symmetric positive-definite (spd) system of algebraic equations:

23The blocks in the global stiffness matrix and in the load vector, for any i, j = 1, . . . , N, are given by

24System (7) can be assembled elementwise using Gaussian integration:

25The elementwise bilinear form a e is trivial to obtain here by restricting the integrals in eq. (4) to e. Later, restrictions of a(·, ·) to mesh-resolved subdomains will be crucial in defining coarse space approximations. For any mesh-resolved subdomain D ⊂ Ω, the restriction of a(·, ·) to D is denoted by

26e∈D a e (v| e , w| e ) ∀v, w ∈ V.

273. Multiscale-spectral generalized finite element method

28In this section, the methods employed in this paper are defined alongside some theoretical results. In addition to generalized finite element methods (GFEM), we also describe the GenEO space, which was originally designed as a coarse space for two-level additive Schwarz methods in [8]. Here, it is for the first time applied as a multiscale method for stand-alone coarse approximation to a realistic threedimensional multiscale problem in composites, in the form of the multiscalespectral generalized finite element method (MS-GFEM) method [18,21,22].

Domain decomposition

29Both the two-level additive Schwarz method and GFEM are based on a decomposition of the domain Ω into non-overlapping subdomains {Ω j } N j=1 that are resolved by the mesh T h ; see Figure 1 for an example. Each non-overlapping subdomainΩ j is extended by adding layers of neighboring elements to create an overlapping partition {Ω j } N j=1 of Ω. Next, the local finite element (FE) spaces

30are defined, where the former restricts V h to the subdomain Ω j while the latter restricts this space further to functions whose support is contained entirely in Ω j .

31A key ingredient of GenEO-type coarse spaces and of GFEM is a partition of unity (PoU) subordinate to the overlapping decomposition {Ω j } N j=1 . A particular partition of unity specific to the FE setting was constructed in [8].

32denote the set of internal degrees of freedom in Ω j , and define for each degree of freedom k ∈ dof(Ω j ) a weight µ j,k ∈ [0, 1] such that

33With these weights we can define a family of local partition of unity operators

34It follows immediately from the definition that the operators

35Here R j : V h,0 (Ω j ) → V h denotes the prolongation operator defined as the extension of a function in V h,0 (Ω j ) by zero. In [8], it was suggested that the weights can be set as

36that is, one over the number of subdomains that contain k as an internal degree of Freedom (DoF). Other partitions of unity can also be used. In the numerical experiments below, we will use a different (smoother) partition of unity.

GenEO coarse space

37The GenEO space -designed in the context of additive Schwarz preconditioning methods, as a robust coarse space correction for multiscale variational problems -is based on the following generalized eigenvalue problem (GEVP) on each subdomain Ω j : Find

38In the original publication [8], the bilinear form on the right hand side of (13) was restricted to the overlap Ω j \Ω j , but as shown in subsequent publications, such as [27], the GenEO space defined by the GEVP in (13) has very similar coarse space correction properties.

39Only the lowest-energy eigenfunctions in (13), i.e., the ones corresponding to the smallest eigenvalues, are used to define the GenEO coarse space. Denote by λ j,k and ϕ j,k h the k-th smallest eigenvalue and the corresponding eigenfunction on subdomain Ω j . Then, the GenEO coarse space is defined by

40where the partition of unity operators are used to "stitch" the local approximation spaces on the subdomains Ω j together and to guarantee that V H ⊂ V h . This definition of V H still leaves open the number of eigenfunctions m j to be included.

41In the context of two-level additive Schwarz methods, where the GenEO coarse space is combined (additively) with local solves on the overlapping subdomains Ω j to obtain a preconditioning matrix M for A, it is then possible to bound the condition number κ of the preconditioned system independently of the mesh size h, the subdomain size H or the heterogeneity in the coefficient. In particular, [8,

42where C(k 0 ) is a typically small constant depending only on k 0 , the maximum number of subdomains overlapping at any point. Thus, the condition number can be controlled by choosing the number m j of eigenfunctions per subdomain such that 1/λ j,m j +1 is bounded uniformly across all subdomains. The eigenvalues λ j,m j +1 converge to 1 as m j increases, but no theoretical results on the rate of convergence exist in general.

Generalized FE methods with GenEO-type local approximation

43The GenEO space V H in (14) is in essence a global approximation space of generalized FEM type [28], where a fairly arbitrary family of local approximation spaces can be "stitched" together via a partition of unity to build the global space. As such, for H (the subdomain size) sufficiently small or for m j sufficiently large, it is possible to solve the FE problem directly to a required accuracy in V H , in the spirit of the GFEM. However, as we will see below in the numerical experiments, the rate of convergence with respect to m j is rather poor when the local bases are computed as in (13). A significantly more efficient GFEM can be designed by slightly modifying the GEVP (13) as shown in the following.

44In this subsection, a particular family of GenEO-type local approximation spaces is constructed and used within the framework of the GFEM as a standalone coarse approximation. Compared with the original version, there are two key ingredients in this GenEO-type coarse space that provide a better accuracy for coarse approximation. The first is oversampling. Similarly to the construction of the overlapping subdomains, we extend each overlapping subdomain Ω j further by adding more layers of fine-mesh elements to create an oversampling subdomain Ω * j . The local eigenproblems used for constructing the coarse space will be defined on Ω * j instead of Ω j . The second ingredient is A-harmonicity. To make this notion precise, we first introduce the following local FE spaces defined on the oversampling domains:

45The space V h,D (Ω * j ) consists of FE functions restricted to Ω * j that vanish on the external Dirichlet boundary of Ω * j , whereas V h,DI (Ω j ) consists of FE functions that vanish on both the external Dirichlet boundary and the interior boundary of Ω * j . The A-harmonic local FE space on Ω * j is then defined as

46Functions in V A (Ω * j ) are referred to as A-harmonic FE functions. As we will see below, the local eigenvectors used for building the coarse space are A-harmonic FE functions instead of general FE functions.

47With the above notations, we now define a local eigenproblem similar to (13) on each oversampling subdomain:

48Note

49, the right-hand side of the above GEVP is well-defined. Let (λ j,k , ϕ j,k h ) denote the k-th eigenpair of the GEVP (19) with eigenvalues enumerated in increasing order. The desired GenEO-type GFEM coarse space is defined almost identically to the standard version (14):

50The last ingredient of the MS-GFEM method is a global particular function built from local particular functions. On each oversampling subdomain Ω * j , we first define a local particular function

51Note that ψ d h, j vanishes on all interior subdomains where Γ D ∩∂Ω * j = ∅ or whenever h = 0 on Γ D ∩ ∂Ω * j . On subdomains intersecting Γ D it would in fact be possible to combine problems (21) and (22) into one local problem, but this leads to a slightly larger constant C in Theorem 3.1 below. Therefore, we work with local particular functions defined via (21) and (22) in this paper. The global particular function is then defined by "stitching" together the local functions using the partition of unity:

52Having defined the coarse space V H and the global particular function u p h , we are now ready to give the MS-GFEM method for solving the fine-scale FE problem (6):

53To assess the quality of the MS-GFEM approximation, we estimate the energy

54Following the lines of the proofs of Theorems 2.1 and 3.4 in [21], we can derive the following bound:

55C is known explicitly and bounded by the maximum number of oversampling domains that overlap at any given point in Ω, and λ j,m j +1 is the smallest eigenvalue corresponding to any eigenvector not included ( ) in the local basis on Ω j .

56Thus, the efficiency of the MS-GFEM method is controlled by the speed at which the eigenvalues in (19) grow. To estimate this growth rate, let H j and H * j denote the diameter of Ω j and Ω * j , respectively. The following (informal) theorem in d dimensions, similar to Theorem 4.6 in [22], gives an exponential bound on the eigenvalues, which can be proved following the lines of the proofs of Theorem 4.6 in [22] and Theorem 7.3 in [19] (details will be given in a forthcoming paper).

57The constants C j , k j and b j can again be derived explicitly. The value of b j and thus the convergence rate grows with the amount of oversampling, i.e., with decreasing H j /H * j .

58Combining the exponential bound (26) on the local eigenvalues and the global error estimate (25) provides a rigorous, exponential error bound for the MS-GFEM method. It is important to note that the exponential growth rate of the local eigenvalues critically relies on the two aforementioned ingredients of the new coarse space, i.e., oversampling and A-harmonicity. The global error estimate (25) also holds for the standard GenEO coarse space when used as a coarse approximation. However, without the two key ingredients, the eigenvalues of the local GEVP (13) do not grow exponentially fast, making the standard GenEO coarse space significantly less efficient; see Subsection 5.4.

59Apart from the exponential decay rate of the error with respect to the number of local basis functions, Theorem 3.2 also provides an explicit decay rate of the error with respect to the oversampling size, which offers a second handle to control the error of the method, in addition to a change in the size of the local approximation spaces. This turns out to be of great importance in reducing the size of the global coarse problem; see Subsection 5.6.

60We end this subsection by discussing ways to solve the local GEVP (19). Due to the presence of the A-harmonic condition, a straightforward yet timeconsuming way of solving (19) is to first construct the basis functions of the Aharmonic FE space by solving many local boundary value problems [18,20,29]. Instead, we use a different and more efficient method proposed in [22], where the A-harmonic condition is directly incorporated into the local GEVP. To this end, a Lagrange multiplier is introduced and the local GEVP (19) is rewritten in an equivalent mixed formulation:

61The implementation details of how the augmented system (27) is solved are presented in Subsection 4.3.

Implementation

62The DUNE [26] package is an open-source, modular toolbox for the numerical solution of PDE problems. It leverages advanced C++ programming techniques in order to provide modularity from the ground up while producing highly efficient applications. As such, it allows the reuse of many existing components when implementing our new mathematical methods for HPC applications. The new methods were integrated in the dune-composites module [1], which facilitates setting up elasticity models and provides access to efficient solvers that scale to thousands of cores on modern HPC systems, despite the typically bad conditioning of composites problems. This was achieved through an HPC-scale GenEO implementation [10] developed as part of dune-composites and later moved into the lower-level discretization module dune-pdelab [30] within DUNE. The dune-pdelab module and several lower-level DUNE modules are used within dune-composites to obtain the finite element discretizations on the fine level.

63Within the DUNE framework a number of grid implementations are provided for various purposes. Initially, only YASPGrid, a structured grid, provided native support for overlapping domain decomposition methods, where each process holds a copy of elements in its overlap region and may exchange data attached to associated DoFs with neighboring processes. Since the methods considered here are constructed using overlapping subdomains, we need this kind of communication mechanism. In previous work within dune-composites [1], the restriction to cuboid domains induced by YASPGrid was overcome by applying a geometric transformation to the grid. However, for many relevant engineering applications, a smooth transformation from a cuboid geometry to the actual geometry is not available. Thus, DoF-based communication was extended to support unstructured grids as well. In order to handle more general model geometries, the grid creation was first shifted to a pre-processing step using Gmsh [31]. The grid import is facilitated by the IO functionality of dune-grid.

Algebraic overlap construction for GenEO

64In order to provide overlap and communication across overlaps on unstructured grids, an algebraic approach was introduced where finite element matrices A j defined on overlapping subdomains Ω j are constructed from corresponding matrices j assembled on non-overlapping subdomainsΩ j . Figure 1 illustrates our notation for non-overlapping and overlapping subdomains. We begin with a matrix j on a non-overlapping subdomainΩ j , and assume it has neighboring subdomainsΩ k , k ∈ E j , with corresponding matrices k . We identify coinciding DoFs in j and k through a global indexing, as provided by non-overlapping DUNE grids. On subdomain k, we now identify all DoFs directly connected to those inΩ j , and provide process j with unique indices and the connectivity graph of this newly identified layer of DoFs. Since connected DoFs in a FE discretization are either associated with the same element or adjacent elements, we now are in a position where each process is aware of its neighbors' DoFs within the first layer of elements along the respective boundary. By a recursive application of this algorithm, as shown in Figure 2, we can now grow the algebraic overlap by an arbitrary number of layers of elements, without having to rely on the grid implementation to provide connectivity graphs. In the following, we will define the number of layers of elements added to a subdomain as o (for overlap) -even though the overlap of a domain with its neighbour is in fact 2o. Finally, using the extended connectivity graphs above we can construct a communication mechanism between neighbors to exchange overlap data of vectors defined on the extended domains. We now have the communication infrastructure to generate a GenEO space in a parallel way in place . While the method above allows us to extend connectivity graphs of non-overlapping matrices into neighboring subdomains, mimicking the connectivity graphs of the overlapping matrices A j , the GenEO method obviously requires the actual matrix entries. Using communication across the algebraic overlap, the required matrix entries can be exchanged between neighbors. This relies on the basic assumption (satisfied in general) that the bilinear form a of the weak formulation can be decomposed additively into elementwise bilinear forms a e , such that a(u, v) = e∈T h a (u, v) with T h the grid on Ω. For linear elasticity this is trivially satisfied, see (8).

65As a result, retrieving matrix entries from neighbors and adding them where DoFs belong to multiple subdomains leads to a correct construction of an overlapping subdomain matrix from non-overlapping ones. There is one exception however: At the boundary ∂Ω j of the overlapping domain, retrieving the entries of an interior DoF will not yield the correct result since the integration domain of said interior DoF extends beyond Ω j as shown in Figure 3. We circumvent this issue by not sending individual matrix entries in k from process k to process j, but instead by assembling a new matrix j k on the domain Ω j ∩Ω k for that pur- pose as shown in Figure 4. In practice, we communicate the partition of unity Ξ j generated from the already available matrix graph of A j to all neighbors, and use Ω j ∩Ω k = supp(Ξ j ) ∩Ω k as a convenient proxy to the desired domain snippet.

66Since we have the decomposition

67all snippets together form the desired overlapping subdomain. Exploiting additivity of the bilinear form a and of the FE matrix entries, this assembly strategy delivers the correct overlapping matrix A j for Ω j .

Partition of Unity and oversampling

68As explained in section 3.1, various partition of unity operators can be used in the GenEO theory, as long as they fulfill condition (11). One suitable choice is a smooth transition from zero on ∂Ω j to one on Ω j \∪ k j Ω k , as illustrated in Figure 5 (left). It is the choice made for the GenEO coarse space in [1] (where it is used as a preconditioner). To construct this partition of unity, a weight w p is attributed to each DoF p ∈ dof(Ω j ). Initially, w p is set to 0 on ∂Ω j and to 2o on the remaining vertices in Ω j , where o is the number of layers added. For each DoF p, using the extended connectivity graph of Ω j in its vicinity and comparing with neighboring weights, the weight w p is then reduced incrementally in the subdomain interior such that w p = min min where {q 1 , ..., q n } are the neighboring DoFs of p. It suffices to iterate this 2o − 1 times. As an example, the partition of unity in Figure 5 (left) has been constructed with o = 3. The communication mechanism between subdomains is used to associate to each DoF p ∈ dof(Ω j ) their corresponding counterpart in the neighboring subdomain Ω k . The partition of unity is then simply defined as:

69where N is the number of subdomains sharing the DoF p.

70The handling of oversampling subdomains is controlled via the choice of the partition of unity. The implementation of the partition of unity for the oversampled subdomains Ω * j is the same as the one described above with a different initialisation of w p . In particular, w p is initialized to 0 not only on ∂Ω j , but also for a further o * − o layers of DoFs before applying the iterative process above. Thus, the partition of unity is a vector defined on the full oversampling subdomain Ω * j that takes the value zero on Ω * j \ Ω j . In the following, we will choose a variable oversampling size o * and keep one layer of non-zero partition of unity overlap, i.e., o = 1, as shown in Figure 5 (right).

Enforcing A-harmonicity within the GEVP in DUNE

71As described in [22], the eq. (27) can be formulated as a matrix eigenvalue problem. To achieve that, the DoF associate with Ω * j are partition into three sets: Those sets of DoF are depicted in Figure 1. We also define n i as the sizes of the corresponding set B i . The GEVP in matrix form is defined as follows: Find λ h ∈ R,φ j = (φ j,1 , φ j,2 ) ∈ R n 1 +n 2 and p ∈ R n 1 : 11 A j,12 A j,11 A j,21 A j,22 A j,21 A j,11 A j,12 0

72where A j,mn = a Ω * j ϕ k , ϕ l k∈B m ,l∈B n and B j,11 = a Ω * j Ξ j ϕ k , Ξ j ϕ l (k,l)∈B 1 . The blocks B 12 , B 21 , B 22 are zero since the partition of unity vanishes on B 2 . The oversampling, created via the choice of partition of unity, will also affect the the right hand side of eq. (28), such that not only the blocks B 12 , B 21 , B 22 but also all entries in B j,11 corresponding to the oversampling region Ω * j \ Ω j will be zero (see Figure 5). The GEVP solution to construct the local basis is then φ j = (φ j,1 , φ j,2 , φ j,3 ) ∈ R n 1 +n 2 +n 3 , where φ j,3 is a zero-vector corresponding to the DoFs in B 3 , which combined with (φ j,1 , φ j,2 ) provides an A-harmonic coefficient vector on all of Ω * j . Instead of generating each block A j,nm individually, it is extracted from A j using the sets of DoFs B 1 , B 2 , B 3 . In practice, the matrix

73is built by block. The top left block M 1 is obtained by removing the rows and columns corresponding to B 3 from A j . In the elasticity case, Dirichlet boundary conditions are imposed in DUNE by altering rows in the matrix A j -one on the diagonal, zero elsewhere -so the set B 3 can be easily detected. Then finally M 1 is obtained by removing the rows and columns corresponding to B 2 . The block that is removed corresponds to M 2 . DoFs belonging to B 2 are detected and saved during the overlap creation phase. Once the basis is obtained, the next step in the construction of the coarse space V H is to multiply the eigenvectors by the partition of unity, see eq. (14). To improve the conditioning of the coarse space problem, a re-orthogonalization step via a Gram-Schmidt process is carried out following this multiplication. Contrary to [22], we have implemented directly eq. (28), since the simplification of eq. (28) proposed in [22] for diffusion problems requires a special handling of subdomains that are only affected by Neumann boundaries Γ N , which is more involved for linear elasticity in 3D.

Boundary conditions at the coarse level

74The eigenvectors (φ k j ) k∈(1,m j ) of the local GEVPs have to be combined with local particular solutions if the body force f is nonzero or if Ω * j touches the global Dirichlet boundary and the boundary displacement h is nonzero. A particular solution ψ j is obtained by solving the local partial differential equation (PDE)

75The solution ψ j is then multiplied by the partition of unity and orthogonalized with respect to (φ k j ) k∈(1,m j ) using again Gram-Schmidt. We denote the resulting vector byψ j . This vector is then normalized and appended to the basis.

76At the coarse level, inhomogeneous Dirichlet boundary conditions are imposed by altering the coarse matrix A H and the coarse vector b H . If j denotes the index of the particular solution ψ j on subdomain Ω * j in the coarse system, then a Dirichlet boundary condition, imposed on Ω * j via the particular solution ψ j , is enforced in the coarse system by setting:

Hardware and software

77For solving the local GEVP, we use Arpack [32] through the Arpack++ wrapper in symmetric shift-invert mode. As subdomain solver, we use UMFPack [3] in the eigenvalue solver. The domain partition of Ω into non-overlapping subdo-mainsΩ j is carried out by the graph partitioner ParMetis [33].

78The numerical results have been carried out on the Hamilton HPC Service at Durham University. Its last version, called Hamilton8, provides a total of 15,616 CPU cores, 36TB RAM and 1.9PB disk space. Hamilton8 is composed of 120 standard compute nodes, each with 128 CPU cores (2x AMD EPYC 7702), 256GB RAM and 400GB local SSD storage.

Numerical Experiments: Performance tests for MS-GFEM on composite structures

79Throughout this paper, we assume a linear elastic behavior of the composite material. For aerospace applications, considering damage behavior is essential. Ultimately, our framework will be applied to model large displacement effects and the onset of failure. To achieve this, two requirements need to be validated. Firstly, it is essential to have an efficient linear elastic solver for a large-scale model to be used within any non-linear iteration. Secondly, the approximate solution needs to accurately represent relevant damage criteria, especially local extrema.

80In this section, after a brief description of the composite models, we first analyse the output from all components of the MS-GFEM when applied to a composite beam. The method is then applied to a complex, aerospace part using a composite failure criterion to assess the accuracy. Finally, the parallel scaling of the method is investigated, demonstrating the efficiency of the proposed MS-GFEM on large composite structures.

Specification of the considered composite model problems

81In the following three subsections, first a laminated beam under compression is considered in order to evaluate the performance of the method proposed in this study. It is illustrated in Figure 6 (a). The laminated beam has a length of 500mm, a width of 140mm and a thickness of 6mm. The laminate is made up of a stack of three layers (or plies) of the same thickness. Each layer represents a uni-directional composite made up of carbon fibres embedded into resin. Plies are modelled as homogeneous orthotropic elastic materials, characterised by nine parameters and a vector of orientations θ. The elastic properties of AS4/8552 ( [34]) have been chosen for this example. In the global coordinate system, the material tensor is orientated using standard tensor rotations, following the stacking sequence [0 • , 45 • , −45 • ]. For more details see, e.g., [35]. The study considers the elastic behavior of the laminated beam under compression. The uni-axial compression, illustrated in Figure 7(b), is modeled as a displacement imposed Dirichlet boundary condition. Then for the remainder of the paper, a realistic aerospace part is used to demonstrate the high quality of the achieved coarse approximation. The aerospace part in question is a 500mm long C-shaped wing spar section (C-spar) with a joggle region in its center, creating a geometric feature in the structure, see Figure 6 (b). The material is a laminated composite, composed of 24 uni-directional layers (carbon fibers and resin) of 0.2mm each, which are orientated as follows:

82The behavior of the C-spar under compression will be investigated using the same boundary conditions as the ones used in the beam example above.

83In both examples, as visualized in Figure 6, for the local approximation we use FE grids with piecewise linear elements, reduced integration to avoid shearlocking and one element through thickness per layer.

Local GEVP outputs

84We start by analysing the local generalized eigenvalue problems (GEVP), in particular the behavior of the smallest eigenvalue λ m j +1 j corresponding to any eigenvector not included in the local approximation space, which is the main parameter driving the method accuracy (cf. the error bound in eq. (25)). First, the decay of 1/λ i j for representative subdomains is analysed, as well as the shape of the associated eigenvectors. Then, the effect of the oversampling size o * is discussed. A particular focus will be on the local finite element aspect ratio which severely affects the accuracy of the computed eigenvectors/-values and thus also the observed actual decay of the error bound. The beam domain in Figure 6 (a) is decomposed into 64 subdomains for the first experiment; see Fig. 7 (b). In each subdomain, a local eigenvalue problem is solved to construct the local approximation space with a fixed number of o * = 8 oversampling layers. In Figure 7 (c,d) a selection of exemplary, local GEVP solutions on two representative subdomains are presented together with a semilogarithmic plot of 1/λ i j in Fig. 7(a). For the eigenvalue plot two further subdomains are added. In total, there is one subdomain intersecting Γ D ( j = 29), one intersecting ∂Ω ( j = 64) and two interior subdomains ( j = 55, 56), with the first one of the two having a higher surface-to-volume ratio.

85The semi-logarithmic plot of 1/λ i j in Fig. 7(a) demonstrates the predicted, nearly exponential decay of the local approximation error with respect to the basis size (m j ) in all cases. The decay is faster for subdomains intersecting ∂Ω; the more the subdomain intersects ∂Ω the faster is the decay. A further factor is the surface-to-volume ratio. The higher this ratio the slower the exponential decay of 1/λ i j , as exemplified by the relative decays of subdomains j = 29, 64, 55 and 56. The partitioning of the domain could be optimised to unify the surface-to-volume ratio over all subdomains. In fact, for simple, laminated composites a regular domain decomposition could be chosen, e.g., into rectangular subdomains. Here, however, we do not make this choice in order to show the robustness of the approach to rather general subdomain partitionings, as provided by automatic graph partitioners such as ParMetis [33], and thus to show the potential of the approach for simulating very complex structures.

86In the interior subdomain Ω * j=56 , the first six eigenvectors (indices 0 to 5) depicted in Figure 7 (d) correspond to the zero energy modes (or rigid body modes) representing shifts and rotations of the structure. The following modes for Ω * j=56 and the first few modes for Ω * j=29 in Figure 7 (c) correspond to low-energy deformations of the subdomain: bending and shearing. The higher-energy modes correspond to higher frequency deformations (i > 50).

87As explained in Section 3.3, the oversampling parameter o * is key to the decay rate of the local approximation errors. In Figure 8, the reciprocal eigenvalues 1/λ i j for subdomain Ω * j=56 are presented for a range of oversampling sizes. The decay of 1/λ i j clearly accelerates as the oversampling size is increased. Thus, for a desired error bound (i.e. 1/λ i j < 10 −7 ), subdomains with larger amounts of oversampling lead to significantly smaller local bases and consequently to an overall smaller coarse space. The trade-off, however, is that the dimensions of the local GEVPs grow significantly with the amount of oversampling and this will be discussed later. In general, the objective is to pick the minimal number of modes m j to approximate the solution (displacement) and its derivative (strain and stress) sufficiently well. The accuracy of the coarse approximation and the effect of changing the main tuning parameters (basis / oversampling size) will be analysed in Section 5.3. The efficiency study will be performed for the more complex C-spar structure and is presented in Section 5.6.

88The results in Figures 7 and 8 are computed using square elements with an aspect ratio of one between horizontal (through-thickness) and vertical (in-plane) edges. However, such a choice leads to an unreasonably high number of elements in larger composite structures with a larger number of more realistic, thinner plies, such as the C-spar described in Section 5.1 and depicted at he bottom of Figure 6. To build a reasonably sized model, the in-plane discretization has to be reduced, leading to flat elements with a larger aspect ratio. Unfortunately this reduces the accuracy significantly, as presented for four element aspect ratios and o * = 5 in Figure 9 (b), where the relative L 2 -error for each eigenpair is shown. As a consequence, after a similar initial decay (up to i = 60) we observe a change in the slope of 1/λ i j for aspect ratios bigger than one in Figure 9 (a). For very large aspect ratios of 15 and above, it even leads to a plateau in 1/λ i j (see Figure 7 (a), red curve). This is to be expected, due to the larger condition numbers of the stiffness matrices in the GEVP leading to more unstable eigensolves.

89Increasing the oversampling size does not alleviate this problem, as seen in Figure 9 (c,d); the relative L 2 -errors in the eigenpairs are independent of o * and Figure 9: The reciprocals 1/λ i j of the eigenvalues of the local GEVP (a,c) and the relative L 2 -error in computing the associated eigenvectors (b,d); in particular, studying the effect of bad element aspect ratio (for o * = 5) in (a,b), as well as oversampling size for fixed aspect ratio in (c,d).

90the slope of 1/λ i j changes roughly at the same value of i. We also tested a different type of higher-order finite element, namely a 20-DoF quadratic serendipity element, but the loss of accuracy due to high element aspect ratios persists. However, the slope change and the plateau of the eigenvalues for larger aspect ratios do not have a strong impact, since they occur only at values well below what is needed for good practial approximation, especially for higher oversampling sizes.

Coarse approximation accuracy

91In this section, we investigate the accuracy of the MS-GFEM approximation. The fine-scale reference solution is computed using an iterative CG method with GenEO as preconditioner. By setting a sufficiently low tolerance, the error due to the iterative solution via CG can be neglected.

92We consider in the following the relative errors in L 2 -norm between the coarse approximations of displacement and strain fields, u H and H , and their fine-scale counterparts, u h and h , i.e., Figure 10 (a) shows the fine-scale approximation of the displacement field u h of the beam under compressive loading. The unit displacement (x(z) = −10 mm) applied here causes the characteristic out-of-plane deformation of the structure related to the non-symmetric stacking sequence chosen for this example. A maximum displacement of 20mm is observed on the two sides of the beam. Figure 10 (b) depicts the fine-scale strain approximation in the direction of compression, denoted by x here. The order of magnitude of strains is O(10 −2 ).

93The main parameter driving the accuracy of the coarse approximation is the smallest eigenvalue min j λ m j +1 j corresponding to any local eigenvector not included in the basis. As explained above, the size m j of each of the local bases and the oversampling size o * will be decisive to control this parameter. For our analysis we vary these two key parameters up to maxima of m j = 250 and o * = 8, for which the error bound lies below 10 −15 . The relative L 2 -errors for displacement and strain are shown in Figure 10, resp. (c) and (d), using a logarithmic scale. Both e d and e decay exponentially with respect to m j for all amounts of oversampling. The decay rate of the errors is higher for larger oversampling sizes, which is in agreement with the behavior of the reciprocal eigenvalues depicted in Figure 8. We further investigate the location of the largest strain error, in order to explain in more detail its dependence on m j and o * . The coarse approximation of the strain field has been projected onto the fine-scale space to allow a direct comparison element-by-element. The absolute differences ∆ h,xx between the fine-scale solution and the coarse approximation of the strain field are depicted in Figure 11 for three different values of the local basis size per subdomain, m j = {90, 150, 190}, and a fixed value of o * = 8. The aim is to investigate the error behavior alongside the convergence curve for o * = 8 in Figure 10 (d). The three chosen basis sizes produce coarse-space solutions of high accuracy with relative L 2 -errors bellow 10 −3 . The error maxima are observed on subdomains located in the center of the beam. Indeed, the local error on each subdomain follows the decrease of 1/λ i j . As shown in Figure 7 (a), interior subdomains (e.g., Ω * j=56 ) need more eigenvectors for the same local error. Eventually, a sufficiently large local basis size ensures an accurate approximation for all subdomains.

94Conversely, for fixed m j = 190 Figure 12 assesses the impact of the oversampling size, varying o * ∈ {1, 5, 8}. As expected, small oversampling size leads to an error localised at subdomain interfaces. Increasing the oversampling area Figure 13: Localization of the error depending on the oversampling size o * for a given targeted accuracy. The absolute difference ∆ h,xx between the coarse approximation and the fine scale approximation is plotted. decreases the interface errors, and, eventually a smooth and very low error is observed across the domain for o * > 5. This example showcases one of the main advantages of the MS-GFEM: the interface problem at subdomain boundaries is handled by oversampling. Thus, the approximation is then robust to the chosen domain decomposition and there is no scale separation between the ply scale (mesoscopic) and the structural scale (macroscopic).

95In Figure 13, the strain error is evaluated for a fixed eigenvalue threshold 1/λ m j +1 j = 10 −7 for various oversampling sizes, to study the impact on the overall coarse space size. For fixed accuracy, the size of the coarse space is reduced by 22.6% when increasing o * = 4 to o * = 6 and by 45.3% from o * = 4 to o * = 8. This improved model order reduction obviously reduces the cost of the coarse problem solve, but it does increase the size of the local problems and thus the cost of solving the local GEVPs. This cost trade-off will be studied more carefully in Section 5.6 for the C-spar.

Importance of the A-harmonic condition for composite problems

96To emphasize the necessity of the A-harmonic condition in our framework, we compare the new MS-GFEM space to the classic GenEO coarse space with the GEVPs formulated directly in the FE space V h , i.e., without enforcing Aharmonicity. The theoretical error bound in Theorem 3.1 is the same for both GFEM spaces, with and without the A-harmonic condition in the GEVP. Crucially, in both cases the approximation error is bounded by the reciprocal 1/λ i j of the smallest eigenvalue corresponding to any eigenvector that is not included in the coarse space V H . Figure 14 (right) shows that the decay of 1/λ i j for i < 10 is comparable between classic GenEO and the A-harmonic formulation, since the first modes (rigid body, shear and bending) appear in both. In fact, the classic GenEO coarse space with a small number of lowest-eigenvalue modes was shown in Reinarz et al. [2] to provide a robust preconditioner within CG that reduces the condition number effectively and leads to a low number of CG iterations for composites problems.

97Beyond that, we observe in Figure 14 (right) that the spectrum for the classic GenEO formulation decays much slower and eventually almost stagnates, when compared to MS-GFEM. This is reflected in the coarse approximation error in Figure 14 (left), as predicted in Theorem 3.1.Even including 190 eigenvectors in classic GenEO is not sufficient to accurately represent the strain field in this application (with e ≈ 1). MS-GFEM with A-harmonic GEVPs, on the other hand, achieves an excellent coarse approximation at much lower basis sizes.

Method accuracy on an aerospace part

98In this section, the behavior of the C-spar, described in Section 5.1, under compression is investigated. The domain, shown in Figure 6 (b), is divided into 256 subdomains. For an oversampling size of o * = 4 and a tolerance of t = 10 −6 on 1/λ m j +1 j we obtain local basis sizes m j varying between 60 and 170. These parameters lead to an average subdomain size of dof(Ω * j ) = 30000 and a model order reduction of 32×. With 4GB of RAM per subdomain to compute the local GEVP this parameter choice requires 4 nodes of the HPC cluster Hamilton8 for the 256 subdomains. The element aspect ratio is 15 for this example (see Figure 6). Thus, as for the simple beam example, the possible coarse approximation accuracy is limited by the fine scale error. In order to assess the coarse approximation, the longitudinal compressive failure criterion

99from [36] is computed, which is a linear combination of relevant stress components: transverse and shear. A detailed description of the material parameters that are involved is outlined in [36]; the notation · denotes the positive part of the argument. It represents the initiation of the fiber kinking mechanism, observed for fiber reinforced composites under compression. In slender composite structures, this failure mode typically appears after the buckling of the structure, but even in the pre-buckling context, this criterion gives a good insight into the usefulness of the method for studying compressive failure. The elementwise longitudinal compressive failure criterion, computed in local coordinates, is plotted in Figure 15 (a). To compute it the coarse approximation u H is first projected onto the fine scale FE space V h . The relative error with respect to a direct meso-scale approximation in V h is shown in Figure 15 (b). With the chosen parameters, the relative error on the failure criterion is below 3.0 × 10 −3 . In Figure 15 (a), four plies (ply 6, 12, 18 and 24) are highlighted in a certain part of the domain, representing each stacking orientation and showing that the coarse approximation is able to accurately represent the quick variation of the compressive failure criterion through thickness. The remaining error is small and uniformly distributed, with higher values near subdomain boundaries and on interior subdomains, in agreement with the observations on the beam example. Figure 16: Scaling of the method applied to C-spars of different lengths for three sets of parameters. In (a) the Sets #1 and #2 optimize the approximation accuracy, while in (b) Set #3 aims at a very efficient simulation with acceptable accuracy. The FE grids used are displayed in (c).

Method scalability

100A parallel (weak) scaling test of the method is presented in Figure 16, where the cost of the local GEVP solves and the cost of the coarse solve are assessed using C-spars of different lengths while fixing the discretization of the mesostructure: 24 elements through thickness (one per ply) and a constant element size in the other directions (aspect ratio 15). The C-spar models vary between L = 62.5mm with dof(V h ) = 1.53 × 10 5 (Model 1) and L = 2m with dof(V h ) = 4.6 × 10 6 (Model 7). The number of processors (P) employed for each model have been chosen such that dof(V h )/P remains constant.

101Three combinations of parameters have been tested, choosing o * = 4 and o * = 6 and selecting a threshold of t = 10 −6 and t = 10 −3 for the reciprocal of the local eigenvalues. Parameter sets #1 and #2 assess the scalability of the method for a highly accurate solution with t = 10 −6 . In Set #1 o * = 4, chosen to reduce RAM consumption, whereas in Set #2 a larger oversampling size of o * = 6 is selected, thus requiring more RAM. This trade-off will be further discussed below. Set #3 has been selected to study how the method scales for a lower eigenvalue threshold of t = 10 −3 with smaller o * = 3 and half the amount of subdomains in Sets #1 and #2, such that dof(Ω * j ) is roughly the same. For all three sets, the GEVP solve step scales perfectly, since it requires no parallel communication. As expected the local GEVP solve times increase slightly between Sets #1 and #2 due to the slightly bigger local problem sizes. The overall cost for the coarse space setup for each model is essentially identical, since it is dominated by the cost of solving the local GEVPs and can also be carried out fully in parallel with only some local data exchange. In contrast, the final coarse space problem (24) is (currently) solved on one processor, and thus eventually dominates the overall cost for larger models. To remain efficient, the coarse space size needs to be optimized. For all considered models, the model order reduction is around 32× for Set #1 and around 50× for Set #2. As a consequence, the increase in oversampling size from Set #1 to Set #2 significantly reduces the cost of the coarse solve, particularly for the larger models (4-5-6). These gains clearly outweigh the higher cost for the local GEVP solves, but there is a limit to this improvement, preventing the use of too large oversampling sizes, namely the amount of local memory (RAM) needed to process the local GEVPs in parallel. In this example, subdomains with o * = 6 have more than 50, 000 DoF, necessitating over 8GB of RAM per subdomain for the local GEVPs. A reasonable oversampling size thus needs to balance performance and memory consumption.

102The strength of our approach is the ability to construct approximation spaces of adjustable complexity in a very simple way. A cheaper approximation can be built by choosing a lower threshold t for selecting the local eigenvectors. In particular, for Set #3, where o * = 3 and t = 10 −3 , the size of local bases (m j ) reduces to between 30 and 50, leading to a model order reduction of about 170×. This allows the construction and solve of the coarse-space approximation for a 2m C-spar (Model 7) on 512 processors in 10 minutes, further pushing the scalability test. The model order reduction is then sufficient to keep all the coarse solve computation times under 10 seconds, even for the Model 7. The accuracy of the solution of two sets of parameters: #1 and #3 is compared in Figure 17 for Model 6. Both qualitatively, as visible on Figure 17, and quantitatively (relative L 2 -errors) the displacement field u H appears to be well represented for both sets, which is in agreement with the beam example observations. However, as expected, since it is derived from the stresses (eq. (29)), the accu- Figure 17: Visualisation of the solution accuracy for Set #3 (b,d) compared to Set #1 (a,c) for Model 6 (see Figure 16), plotting for both sets in (a, b) the compressive criterion (eq. (29)) and in (c, d) the displacement field. The relative L 2 -errors (on strain e and displacement e d ) with respect to the fine scale approximation are associated with each parameter set.

103racy of the compressive criterion in Set #3 is affected by the small basis size. Despite a visible noise on the compressive failure criterion of Set #3 (see the zoom-in in Figure 17), global extrema are preserved. Hence, this set of parameters is able to detect the global maximum of the criterion at very cheap cost.

Conclusion & future work

104In this paper, we have presented the first scalable HPC implementation of a MS-GFEM method and demonstrated that it delivers high quality approximate solutions for very small coarse space sizes. As proven in previous theoretical work, this is due to the nearly exponential decay of the reciprocal eigenvalues in the local generalised eigenvalue problems. Here, we have demonstrated that this nearly exponential decay crucially relies on enforcing an A-harmonic constraint on the local eigenproblems also in composites applications, and that oversampling of the local subdomains is essential to achieve good accuracies at small local basis sizes. While the related GenEO-coarse space, which does not enforce A-harmonicity in the local eigenproblems, also leads to acceptable results in approximating displacements, we have seen that A-harmonicity is crucial to accurately approximate strains, stresses and derived failure criteria in composite applications.

105We have demonstrated good parallel scalability on several hundreds of processor cores. While a single solve of the fine-scale problem is cheaper using, e.g., GenEO-preconditioned Krylov methods, the localized approach of MS-GFEM opens up new opportunities for parallel scalability. When solving large numbers of closely related problems, eigenvectors from unaffected subdomains may be retained, solving costly eigenproblems only where model parameters or geometry changes between runs. If only a few subdomains are affected, the global solution can be computed using a significantly smaller number of processors in the same time as a full run. This is especially interesting in future Uncertainty Quantification (UQ) applications, such as the impact of (meso-scale) localized wrinkles in composite structures on the strength or the failure behaviour of the overall (macro-scale) structure. In such applications, the problem setup will essentially be identical in all but a few subdomains and large numbers of runs are required.

106The integration of our new MS-GFEM method into an offline/online framework, where local approximation spaces will only be updated in a few subdomains between runs, is currently ongoing and will form part of a subsequent publication. This will also include the application of the offline/online framework as part of Uncertainty Quantification (UQ) methods for composites; in particular, exploiting the natural hierarchy of approximate models in the MS-GFEM framework within multilevel UQ methods such as MLMC [37] or MLMCMC [38].

107The coarse space solves have been handled by a single processor in this study. Another way to improve the framework efficiency will be to parallelize the coarse space solve, using a direct or an iterative parallel solver. This aspect and the management of parallel resources in the online runs will also be explored.

108On the practical side, our approach has a largely automatic workflow, from domain decomposition to the automatic generation of a coarse space specifically tuned to the given problem. The balance between global approximation error and basis size can be controlled by setting a single threshold for the selection of eigenvectors. In multiscale applications, and specifically composites, MS-GFEM is particularly interesting since we obtain a low-dimensional approximation without assuming scale separation. Instead, the eigenproblems capture the structure of the given problem, providing better quality than hand-tuned approximations. The resulting coarse space then accurately captures fine-and coarse-scale interaction.

109A very relevant aspect in the study of composite materials is material failure under load. In contrast to linear elasticity (as covered by this work), nonlinear models are needed to simulate the failure of composites aero-structures (non-linear geometry, damage initiation and propagation). We are therefore also extending our methods to nonlinear solvers and implement nonlinear material behavior in dune-composites.

참고문헌 48건

  1. Randomized Oversampling for Generalized Multiscale Finite Element Methods Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2016 10.1137/140988826
  2. Iterative Methods for Sparse Linear Systems Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 2003 10.1137/1.9780898718003
  3. Multi-scale second-order computational homogenization of multi-phase materials: a nested finite element solution strategy Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2004 10.1016/j.cma.2003.12.073
  4. Localization of elliptic multiscale problems Mathematics of Computation · American Mathematical Society · 2014 10.1090/s0025-5718-2014-02868-8
  5. Preprocessing and postprocessing for materials based on the homogenization method with adaptive finite element methods Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1990 10.1016/0045-7825(90)90148-f
  6. Multilevelk-way Partitioning Scheme for Irregular Graphs Journal of Parallel and Distributed Computing · Elsevier BV · 1998 10.1006/jpdc.1997.1404
  7. Domain Decomposition Preconditioners for Multiscale Flows in High-Contrast Media Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2010 10.1137/090751190
  8. A Multiscale Finite Element Method for Elliptic Problems in Composite Materials and Porous Media Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5682
  9. Domain Decomposition Preconditioners for Multiscale Flows in High Contrast Media: Reduced Dimension Coarse Spaces Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2010 10.1137/100790112
  10. BoomerAMG: A parallel algebraic multigrid solver and preconditioner Applied Numerical Mathematics · Elsevier BV · 2002 10.1016/s0168-9274(01)00115-5
  11. On the six-dimensional orthogonal tensor representation of the rotation in three dimensions: A simplified approach Mechanics of Materials · Elsevier BV · 2009 10.1016/j.mechmat.2008.12.006
  12. Algorithm 832 ACM Transactions on Mathematical Software · Association for Computing Machinery · 2004 10.1145/992200.992206
  13. A generic grid interface for parallel and adaptive scientific computing. Part I: abstract framework Computing · Springer Science+Business Media · 2008 10.1007/s00607-008-0003-x
  14. Analysis of a Two-level Schwarz Method with Coarse Spaces Based on Local Dirichlet-to-Neumann Maps Computational Methods in Applied Mathematics · De Gruyter · 2012 10.2478/cmam-2012-0027
  15. Optimal Local Approximation Spaces for Generalized Finite Element Methods with Application to Multiscale Problems Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2011 10.1137/100791051
  16. A generic grid interface for parallel and adaptive scientific computing. Part II: implementation and tests in DUNE Computing · Springer Science+Business Media · 2008 10.1007/s00607-008-0004-9
  17. Abstract robust coarse spaces for systems of PDEs via generalized eigenproblems in the overlaps Numerische Mathematik · Springer Science+Business Media · 2013 10.1007/s00211-013-0576-y
  18. Gmsh: A 3‐D finite element mesh generator with built‐in pre‐ and post‐processing facilities International Journal for Numerical Methods in Engineering · Wiley · 2009 10.1002/nme.2579
  19. Machine Computation Using the Exponentially Convergent Multiscale Spectral Generalized Finite Element Method ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2013 10.1051/m2an/2013117
  20. Generalized multiscale finite element methods (GMsFEM) Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.04.045
  21. MULTISCALE CONTINUOUS AND DISCONTINUOUS MODELING OF HETEROGENEOUS MATERIALS: A REVIEW ON RECENT DEVELOPMENTS Journal of Multiscale Modelling · World Scientific · 2011 10.1142/s1756973711000509
  22. Multilevel Monte Carlo Path Simulation Operations Research · Institute for Operations Research and the Management Sciences · 2008 10.1287/opre.1070.0496
  23. GENERIC IMPLEMENTATION OF FINITE ELEMENT METHODS IN THE DISTRIBUTED AND UNIFIED NUMERICS ENVIRONMENT (DUNE) Conference on Scientific Computing · 2010
  24. Gamblets for opening the complexity-bottleneck of implicit schemes for hyperbolic and parabolic ODEs/PDEs with rough coefficients Journal of Computational Physics · Elsevier BV · 2017 10.1016/j.jcp.2017.06.037
  25. Dune-composites – A new framework for high-performance finite element modelling of laminates Composite Structures · Elsevier BV · 2017 10.1016/j.compstruct.2017.09.104
  26. Modelling and simulation methodology for unidirectional composite laminates in a Virtual Test Lab framework Composite Structures · Elsevier BV · 2018 10.1016/j.compstruct.2018.02.016
  27. Multiscale coarse spaces for overlapping Schwarz methods based on the ACMS space in 2D ETNA - Electronic Transactions on Numerical Analysis · Verlag der Osterreichischen Akademie der Wissenschaften · 2018 10.1553/etna_vol48s156
  28. International Workshop on Applied ParallelComputing 2001
  29. Adaptive GDSW Coarse Spaces for Overlapping Schwarz Methods in Three Dimensions SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2019 10.1137/18m1220613
  30. Simulation of failure in laminated polymer composites: Building-block validation Composite Structures · Elsevier BV · 2019 10.1016/j.compstruct.2019.111168
  31. Overlapping Schwarz methods with adaptive coarse spaces for multiscale problems in 3D Numerische Mathematik · Springer Science+Business Media · 2018 10.1007/s00211-018-1008-9
  32. Multilevel Markov Chain Monte Carlo SIAM Review · Society for Industrial and Applied Mathematics · 2019 10.1137/19m126966x
  33. High-performance dune modules for solving large-scale, strongly anisotropic elliptic problems with applications to aerospace composites Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2019.106997
  34. Multiscale-Spectral GFEM and optimal oversampling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.112960
  35. Parallel Processing and Applied Mathematics Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-43229-4
  36. Randomized Sampling for Basis Function Construction in Generalized Finite Element Methods Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2020 10.1137/18m1166432
  37. The Dune framework: Basic concepts and recent developments Computers & Mathematics with Applications · Elsevier BV · 2020 10.1016/j.camwa.2020.06.007
  38. Flux Norm Approach to Finite Dimensional Homogenization Approximations with Non-Separated Scales and High Contrast Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 2010 10.1007/s00205-010-0302-1
  39. Super-localization of elliptic multiscale problems Mathematics of Computation · American Mathematical Society · 2022 10.1090/mcom/3798
  40. Numerical homogenization beyond scale separation Acta Numerica · Cambridge University Press · 2021 10.1017/s0962492921000015
  41. Multilevel Spectral Domain Decomposition SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2022 10.1137/21m1427231
  42. Novel Design and Analysis of Generalized Finite Element Methods Based on Locally Optimal Spectral Approximations SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2022 10.1137/21m1406179
  43. Optimal Local Approximation Spaces for Parabolic Problems Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2022 10.1137/20m1384294
  44. Error estimates for discrete generalized FEMs with locally optimal spectral approximations Mathematics of Computation · American Mathematical Society · 2022 10.1090/mcom/3755
  45. Wavenumber Explicit Convergence of a Multiscale Generalized Finite Element Method for Heterogeneous Helmholtz Problems SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2023 10.1137/21m1466748
  46. Synchrotron micro-CT in kink-band formation of UD-CFRP laminates with microdefects Composites Part B Engineering · Elsevier BV · 2023 10.1016/j.compositesb.2023.111038
  47. Regularized coupling multiscale method for thermomechanical coupled problems Journal of Computational Physics · Elsevier BV · 2023 10.1016/j.jcp.2023.112737
  48. Exponential Convergence of a Generalized FEM for Heterogeneous Reaction-Diffusion Equations Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2024 10.1137/22m1522231