Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

A port-reduced static condensation reduced basis element method for large component-synthesized structures: approximation and A Posteriori error estimation

A port-reduced static condensation reduced basis element method for large component-synthesized... jleftang@gmail.com Department of Mechanical Background: We consider a static condensation reduced basis element framework for Engineering, Massachusetts efficient approximation of parameter-dependent linear elliptic partial differential Institute of Technology, 77 equations in large three-dimensional component-based domains. The approach Massachusetts Avenue, Cambridge, MA-02139, USA features an offline computational stage in which a library of interoperable parametrized Current address: DNV components is prepared; and an online computational stage in which these GL - Software, P.O.Box 300, component archetypes may be instantiated and connected through predefined ports NO-1322, Høvik, Norway to form a global synthesized system. Thanks to the component-interior reduced basis approximations, the online computation time is often relatively small compared to a classical finite element calculation. Methods: In addition to reduced basis approximation in the component interiors, we employ in this paper port reduction with empirical port modes to reduce the number of degrees of freedom on the ports and thus the size of the Schur complement system. The framework is equipped with efficiently computable a posteriori error estimators that provide asymptotically rigorous bounds on the error in the approximation with respect to the underlying finite element discretization. We extend our earlier approach for two-dimensional scalar problems to the more demanding three-dimensional vector-field case. Results and Conclusions: This paper focuses on linear elasticity analysis for large structures with tens of millions of finite element degrees of freedom. Through our procedure we effectively reduce the number of degrees of freedom to a few thousand, and we demonstrate through extensive numerical results for a microtruss structure that our approach provides an accurate, rapid, and a posteriori verifiable approximation for relevant large-scale engineering problems. Keywords: Static condensation; Reduced basis element method; Component synthesis; Domain decomposition; Port reduction; Interface reduction; A posteriori error estimation; Non-conforming methods; Structural analysis; Large-scale simulation © 2013 Eftang and Patera; licensee Springer. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 2 of 49 http://www.amses-journal.com/content/1/1/3 Background For several decades the finite element (FE) method has been a popular and important tool in engineering design and analysis of systems modelled by partial differential equations (PDEs). In particular, in fields such as structural analysis and strength assessment, the FE method is in widespread use in industry through a variety of commercial software packages. Many of the structures that are subject to industrial FE analysis are composed of a large number of components — consider for example a truss bridge, a space satellite [1], or a building or vehicle frame. Such large and at first sight complicated structures pose challenges both in terms of initial manual labor related to domain modelling and meshing, and in terms of subsequent computational cost. Component-based structures which contain many identical or similar components are often analyzed through substructuring or superelement techniques [2], which mitigate some of these issues. Mathematically, superelement techniques are based on static con- densation of all FE degrees of freedom that are interior to components, and hence the size of the global but condensed linear-algebraic (Schur complement) system is equal to the number of degrees of freedom associated with component interfaces, henceforth in this paper referred to as ports. The static condensation step necessitates a large num- ber of component-interior FE “bubble” solves — one FE solve for each degree of freedom on each port of each component — and is for this reason rather expensive; however this step is embarrassingly parallel, and is furthermore required only once for each unique component instantiation. Model order reduction techniques can be applied to substructuring or superelement procedures in order to further reduce the computational cost. A well-known approach is the classical component mode synthesis (CMS) [3,4], which replaces the original FE spaces for the component-interior bubble solves with spaces spanned by a few component-interior eigenmodes. As a result, the cost associated with each bubble calcula- tion is reduced, and the formation of the global Schur complement system is consequently much less expensive. A more recent approach, which is relevant in the context of parameter-dependent PDEs and which we for this reason consider here in this paper, is the static condensation reduced basis element method (SCRBE) introduced in [5]. Rather than the eigenmodal expansion typically used in the CMS, the SCRBE employs the reduced basis method (RB) [6] for the bubble function approximations. Each RB approximation space is specifically tailored to a particular bubble and the associated parameter dependence defined by the PDE within each component; the SCRBE thus accommodates parametric variations for example related to component geometry, loads, material properties, or boundary con- ditions. Furthermore, thanks to the typically very rapid (often exponential) convergence of the RB approximation [7,8], these RB spaces are low-dimensional and thus bubble function approximation is computationally inexpensive. In addition to enabling parametric variations, the SCRBE features a strict offline-online computational decoupling. In the offline stage, the RB spaces and associated datasets for each component archetype in a component library is computed and stored. This stage requires FE solves and may thus be relatively expensive, but is carried out only once as a library preprocessing step. In the subsequent online stage, the user may instantiate any of the interoperable library archetypes, and assign to each component instantiation the desired parameter values; the RB bubble function approximations are then computed, 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 3 of 49 http://www.amses-journal.com/content/1/1/3 and the Schur complement system is assembled and solved. This online step is much less expensive and in particular does never invoke the underlying FE discretization. However, common to all these static-condensation-based approaches — including the SCRBE — is a global Schur complement linear-algebraic system of size equal to the total number of degrees of freedom associated with ports. For large systems with many com- ponents and ports, and in particular for problems with three-dimensional vector-valued field variables — such as in linear elasticity — the size of this system is considerable and thus clearly prohibits the fast response required in, say, an interactive design or optimiza- tion context. To overcome this limitation various port reduction techniques may be used. For example, for the CMS approaches an eigenmode expansion (with subsequent trunca- tion) for the port degrees of freedom is considered in [9,10], and an adaptive procedure based on a posteriori error estimators for the port reduction is considered in [11]. For the SCRBE, we introduce in [12] port reduction with empirical modes; in this case the port approximation spaces are informed by snapshots of relevant port-restricted solutions which are obtained through an offline pairwise empirical training algorithm. Unique to the SCRBE is a certification framework that allows efficient computation of a posteriori bounds or estimators for the error in the SCRBE approximation with respect to the underlying FE “truth” discretization. This framework invokes classical residual argu- ments on the (RB) bubble level [6], a non-conforming approximation to the error-residual equation at the port level, and finally matrix perturbation at the system level in order to bound (under an eigenvalue proximity assumption) the error contributions from both RB approximation [5] and port reduction [12]. In actual practice, we may reduce online com- putational cost by consideration of a plausible and asymptotically rigorous error estimator rather than a rigorous error bound. In this paper, we extend our earlier work for two-dimensional scalar problems in [12] to the more demanding three-dimensional vector-field case. We focus here on applica- tions in linear elasticity, but we note that the component synthesis and indeed RB and port approximations can be readily extended to problems in heat transfer or (frequency domain) acoustics, or any phenomenon described by a linear elliptic or parabolic [13] PDE. Through our procedure we effectively reduce the number of degrees of freedom from tens of millions (in the underlying FE discretization) to only a few thousand (in the port-reduced SCRBE approximation); the associated computation time is thus reduced from minutes or hours to only a few seconds. Our approach here features several important innovations. First, as we consider here larger global systems with a much larger number of instantiated components we intro- duce a new non-symmetric SCRBE approximation, which reduces both offline and online cost and memory footprint; the corresponding linear-algebraic system is subsequently symmetrized in order to (say) accommodate efficient linear solvers. We also demonstrate that our central theoretical results in particular related to a posteriori error estimation survive intact for this more efficient revision of our earlier formulations in [12]. Sec- ond, we provide a precise formulation for general geometric mappings and port space compatibility, and we demonstrate that (in the isotropic linear-elastic case) rigid-body parameters related to “docking” of component instantiations in a system do not affect the associated bilinear forms and thus do not impact offline — thanks to smaller RB space dimensions — or online — thanks to treatment of differently oriented compo- nent instantiations as effectively identical — computational cost. Third, we introduce a 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 4 of 49 http://www.amses-journal.com/content/1/1/3 new functional interpretation of our algebraic a posteriori error estimation framework in [12], which may serve to extend our approach here to larger classes of problems. And finally, we consider multi-reference parameter bound conditioners [14] for sharper error estimation. The remainder of the paper is organized as follows. We start with a brief presentation of a general parametrized component static condensation framework for d-dimensional vector-valued linear elliptic partial differential equations; we focus on the concepts rel- evant in the SCRBE framework and we formulate the port compatibility requirements. Next, we discuss the RB and port reduction strategies for the computational cost reduc- tion associated with component interiors and component interfaces, respectively. Then, we introduce our a posteriori error estimation framework. Finally, we present exten- sive results for a three-dimensional microtruss application, and provide some conclusive remarks. We include with this manuscript [Additional file 1]. This short movie presents the main ingredients of the port-reduced SCRBE method, and sums up the key numerical results reported in this paper. Component-based static condensation Concepts: library components and system We now introduce the key concepts for our SCRBE approximation: a library of parametrized and interoperable archetype components, which is prepared in the offline stage; and a system of component instantiations connected at ports, which is assembled and solved (and, if desired, visualized) in the online stage. In the context of structural analysis, an archetype component typically (but not neces- sarily) corresponds to a physical construction unit, such as a beam, a plate, or a connector; in physical d-dimensional space (d = 1, 2, 3) we denote by  ⊂ R the reference domain associated with archetype component m,1 ≤ m ≤ M,where M is the num- ber of archetypes in the library. The boundary of this domain, ∂ ,has aset of n m m disjoint local ports, denoted as γˆ ⊆ ∂ ,1 ≤ j ≤ n ; these ports enable the m,j m m components to connect to other components. Note we shall assume that all ports on an archetype component are mutually separated by (at least) a non-port, non-Dirichlet boundary segment. If this is not the case, modifications to our procedures below must be considered [10]. The physical behavior of each archetype component is governed by a vector-valued (we consider d field components) parametrized linear elliptic partial differential equation. We thus introduce for 1 ≤ m ≤ M the continuous (and here, in this paper, symmetric) 1 d 1 d ˆ ˆ archetype bilinear form a ˆ (·, ·; μ ˆ ) : (H ( )) × (H ( )) → R, and the bounded m m m m 1 d m P ˆ ˆ ˆ m archetypelinearfunctional f (·, ·; μ ˆ ) : (H ( )) → R. Here, μ ˆ ∈ D ⊂ R is m m m m avectorof P scalar parameters that describe (say) the component geometry, boundary 1 d conditions, loads, or material properies, and (H ( )) is the usual (d-tensorized) first- order Sobolev space over  . We shall assume that a ˆ and f admit affine expansions m m m as Q Q m m q q q q ˆ ˆ a ˆ (·, ·; μ ˆ ) = a ˆ (·, ·) (μ ˆ ), f (·; μ ˆ ) = f (·) (μ ˆ ),(1) m m a m m m m q=1 q=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 5 of 49 http://www.amses-journal.com/content/1/1/3 q q q q where the a ˆ and f are parameter-independent forms and the  and  are parameter- dependent functions; for computational efficiency of the SCRBE evaluation stage it is ˆ ˆ critical that Q and Q are relatively small. h 1 d ˆ ˆ We next introduce the discrete archetype component spaces X ⊂ (H ( )) ,1 ≤ 1 d m ≤ M, which correspond to standard FE discretizations [15] of (H ( )) ;and we introduce the discrete port spaces, the restrictions ˆ ˆ P ≡ X | (2) m,j γˆ m m,j γ m,j of dimension N ≡ dim(P ). We denote the bases for these port spaces by {ˆ χ } m m,j m,j,k k=1 such that ˆ γ P = span{ˆ χ , ... , χ ˆ }.(3) m,j m,j,1 m,j,N m,j For simplicity of presentation here we shall assume that Dirichlet conditions are enforced only on ports and thus not through the archetype component discrete spaces X (this is the case for our numerical results later). The library component archetypes may be instantiated and connected at ports to form a global system. To this end we introduce a mapping M : {1, ... , I}→{1, ... , M} from any of the I instantiations in the system to exactly one of the M archetypes in the library. For instantiated component i, we introduce the parameter vector μ ∈ D ,where D ⊆ i i i D . We then introduce a (parameter-dependent) geometric mapping T :  → M(i) i i i from archetype (reference) to system (physical) coordinates; thus  = T ( ) is the i i M(i) instantiated component domain and γ = T (γˆ ),1 ≤ j ≤ n , are the instantiated i,j i M(i),j M(i) def ports. We consider for each of our mappings T application of a deformation T and rot rot def def then a rotation T such that T ≡ T T . In this paper, we consider for T only i i i i def dilation and translation, and we further assume that T , when applied to a port, is pure translation (such that γ = T (γˆ ) corresponds to a rigid-body transformation). We i,j i M(i),j illustrate the situation (for d = 2) in Figure 1 and Figure 2: in Figure 1 we show a single Figure 1 An archetype component in coordinates (x ˆ , y ˆ ). m 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 6 of 49 http://www.amses-journal.com/content/1/1/3 Figure 2 Two component instantiations form a system in coordinates (x, y). archetype library component; in Figure 2 we instantiate two components of the same archetype subject to different mappings T and T , the first of which has a non-trivial 1 2 def (piecewise dilation) T . We also introduce a mapped discrete component-local space h rot −1 h X = span{T v ◦ T , v ∈ X };(4) i i i M(i) and further, with rot −1 χ ≡ T χ ˆ ◦ T,(5) i,j,k M(i),j,k i i we introduce, for 1 ≤ j ≤ n ,1 ≤ i ≤ I, the mapped discrete port spaces M(i) P = span{χ ,1 ≤ k ≤ N }.(6) i,j i,j,k M(i),j −1 Note that here and in the following the notation [·] ◦T denotes the usual composition, rot rot and the notation T (·) denotes pointwise application of T to the (vector-valued) i i c rot argument; we apply T to the dependent variables to eliminate parameters related to spatial orientation of components from the bilinear forms, and to accommodate compatibility of basis functions on instantiated ports. We may now introduce the synthesized system domain  as  =∪  ,the system i=1 parameter domain D =⊕ D , and the system parameter vector μ = (μ , ... , μ );we i 1 I i=1 denote the total number of system parameters by P. When an instantiated component becomes part of a system, its local ports are associ- ated to global ports. Each global port  ,1 ≤ p ≤ n , in the system is either a coincidence of two local ports and hence in the interior of , or a single local port on the bound- ary ∂. We define the connectivity of the system through global-to-local index sets π , 1 ≤ p ≤ n : an interior global port is associated to two local ports γ and γ ,and we i,j i ,j thus set π ={(i, j), (i , j )}; a boundary global port is associated to a single local port γ , p i,j and we thus set π ={(i, j)}. We also introduce for instantiated component i,1 ≤ i ≤ I, a local-to-global map G such that for local port j,1 ≤ j ≤ n ,wehave G (j) = p if i i M(i) (i, j) ∈ π . Note that on any global port  ,1 ≤ p ≤ n , we may elect to impose Dirichlet p p 0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 7 of 49 http://www.amses-journal.com/content/1/1/3 boundary conditions; we denote by n ≤ n the number of global ports on which we do not impose Dirichlet boundary conditions. To ensure global continuity of the solution we must require conforming port spaces and bases in the sense that for any shared (that is, interior) global port π ={(i, j), (i , j )} we must have χ = χ;(7) i,j,k i ,j ,k we discuss this port compatibility requirement further in the “Port compatibility” subsec- tion below. 1 d We may now introduce for any w, v ∈ (H ()) and any μ ∈ D the system-level symmetric, continuous bilinear form as rot −1 rot −1 a(w, v; μ) = a ˆ ((T ) (w| ◦ T ), (T ) (v| ◦ T ); μ ),(8) M(i)  i  i i i i i i i=1 and the system-level bounded linear functional rot −1 f (v; μ) = f ((T ) (v| ◦ T ); μ );(9) M(i)  i i i i i=1 note that the effect of the mapping T to each archetype bilinear and linear form (defined over the archetype reference domain) is reflected through the parameter μ . In the case that T is a pure rigid-body transformation (that is, T is a rotation and a i i translation) and the material properties of the component do not depend on spatial orien- rot tation — such as in isotropic linear elasticity — the application of T to the dependent variables results in cancellation of the mapping Jacobians, and thus the archetype bilinear form does not reflect the associated mapping parameters. Similarly, when T is a combina- tion of a rigid-body map and (say) dilation, only the latter must be parametrized through the archetype bilinear form. We explicitly demonstrate this cancellation for the case of isotropic linear elasticity in the “Microtruss beam application” section, and we comment on the computational implications in the “Model reduction” section. 1 d 1 d We now introduce a global space X() ⊂ (H ()) such that X() is equal to (H ()) except for restrictions to enforce port (and in general also non-port) Dirichlet boundary conditions; we assume that sufficient boundary conditions are enforced such that a(·, ·; μ) is coercive over X(). The well-posed system-level variational problem then reads as follows. For any μ ∈ D,find u(μ) ∈ X() such that a(u(μ), v; μ) = f (v; μ), ∀v ∈ X(); (10) we also introduce a compliance output as s(μ) = f (u(μ); μ). (Note that, as discussed in [5], restrictions apply to the geometric maps T to maintain well-posedness of (10).) h h Similarly, we introduce a global FE discretization X () ⊂ X() as X () = I h h ⊕ X () ∩ X();hence X () inherits the boundary conditions as well as the global i=1 i continuity enforced by X(). The FE discretization of (10) now reads as follows. For any h h μ ∈ D,find u (μ) ∈ X () such that h h a(u (μ), v; μ) = f (v; μ), ∀v ∈ X (); (11) h h we also introduce the FE compliance output s (μ) = f (u (μ); μ). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 8 of 49 http://www.amses-journal.com/content/1/1/3 Mathematical formulation: static condensation To formulate the static condensation procedure we decompose our discrete global space X () into bubble spaces associated with component-interior degrees of freedom and a skeleton space associated with port degrees of freedom. To this end we introduce on archetype component m,1 ≤ m ≤ M, the bubble space h h γ ˆ ˆ B ={v ∈ X : v| = 0, 1 ≤ j ≤ n }; (12) γˆ m;0 m m,j m note that members of B vanish on local ports. We next introduce the coupling modes m;0 ˆ ˆ ψ ∈ X such that m,j,k ∇ψ ·∇v = 0, ∀v ∈ B , (13) m,j,k m;0 χ ˆ ,on γˆ , m,j,k m,j ψ = (14) m,j,k 0, on γˆ for j = j, m,j γ γ for 1 ≤ k ≤ N ,1 ≤ j ≤ n ; we define, on instantiated component i,1 ≤ i ≤ I, m,j −1 rot h ψ ≡ T (ψ ◦ T ), and we introduce the global functions ∈ X () such i,j,k M(i),j,k p,k i i that, for π ={(i, j), (i , j )}, ψ ,in  , ⎪ i ,j ,k i ≡ (15) ψ ,in  , p,k i i,j,k 0, in  \ ( ∪  ). We may then introduce the global skeleton space S() ≡ span{ ,1 ≤ k ≤ N ,1 ≤ p ≤ n } (16) p,k of dimension n ≡ N . (17) SC p=1 Note that S() is a continuous space thanks to the port compatibility requirement (7). Also note that in the definition of S() we include only the n ≤ n ports on which we do not impose Dirichlet boundary conditions (we assume without loss of generality that we enforce Dirichlet boundary conditions on global ports   , ... ,  ). n +1 Given the bubble spaces and the coupling modes, we now first introduce, for 1 ≤ i ≤ I, f ;h ˆ ˆ thesourcebubble b (μ ) ∈ B , which satisfies i M(i);0 f ;h ˆ ˆ a ˆ (b (μ ), v; μ ) = f (v; μ ), ∀v ∈ B ; (18) M(i) i i M(i) i i M(i);0 f ;h f ;h f ;h −1 rot we define b (μ ) ≡ T (b (μ ) ◦T ).Notethat b (μ) is a component-local particu- i i i i i i i lar solution to our global equation. We next introduce fundamental solutions φ (μ ) ≡ i,j,k i h h h ˆ ˆ ˆ ˆ b (μ ) + ψ associated with each coupling mode ψ and bubble b (μ ) ∈ B i i i,j,k i,j,k i,j,k i,j,k M(i);0 such that φ (μ ) satisfies i,j,k i h h ˆ ˆ a ˆ (φ (μ ), v; μ ) = 0, ∀v ∈ B (19) M(i) i i i,j,k M(i);0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 9 of 49 http://www.amses-journal.com/content/1/1/3 (note (19) is an equation for b (μ ) given the known ψ ); we define, on instantiated i,j,k i,j,k −1 rot component i,1 ≤ i ≤ I, φ (μ ) ≡ T (φ (μ ) ◦ T ) andweintroduce theglobal i,j,k i i,j,k i i i functions (μ) ∈ X () such that, for π ={(i, j), (i , j )}, p,k p ⎪ φ (μ ),in  , i ,j,k i i (μ) ≡ φ (μ ),in  , (20) p,k i,j,k i i 0, in  \ ( ∪  ). i i Note that each (μ) is the fundamental solution (local to a component pair) of G (i),k our (homogeneous) global equation associated with the particular port mode χ .Also i,j,k f ;h note that (μ) and b (μ ) scale linearly with certain “free” parameters, such as G (i),k i component-wide thermal conductivity or Young’s modulus, which enter outside the bilin- ear form in (18) and (19); this will have important cost-saving implications in the context of RB approximation. h h For each instantiated component we introduce a global function u (μ ) ∈ X () which f ;h represents the local solution on component i in terms of the source bubbles b (μ ) and the fundamental solutions φ (μ ) as i,j,k i n N I M(i) M(i),j ⎨ f ;h b (μ ) + U (μ)φ (μ ),in  , h i G ( j),k i,j,k i i i i u (μ ) = (21) i=1 j=1 k=1 0, in  \  , where the coefficient vector U (μ) contains global unknowns to be determined G ( j),k below. To couple the solutions in neighboring components we require weak flux continu- ity across global ports: we write I I n p f ;h h h u (μ) = u (μ ) = b (μ ) + U (μ) (μ); (22) i i p,k p,k i=1 i=1 p=1 k=1 h h we then test on all v ∈ S() such that u (μ) ∈ X () satisfies a(u (μ), v; μ) = f (v; μ), ∀v ∈ S(); (23) h h as before, our FE compliance output is s (μ) = f (u (μ); μ). We emphasize that (23) is, thanks to Galerkin orthogonality of the fundamental solu- tions in (19) with respect to the associated bubble space, equivalent to (11). For this same reason we may further define an alternative skeleton space S ≡ span{ (μ),1 ≤ k ≤ N ,1 ≤ p ≤ n }, (24) symm p,k h h such that u (μ) ∈ X () satisfies a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (). (25) symm There is no distinction between (23) and (25) in the FE static condensation context; however in the context of the SCRBE, direct approximation of (23) leads to a non- symmetric Schur complement system, while direct approximation of (25) leads to a symmetric Schur complement system. In this paper we shall pursue the former with sub- sequent Schur complement symmetrization as the latter implies significantly larger online computational cost. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 10 of 49 http://www.amses-journal.com/content/1/1/3 The formulation (23) is equivalent to the symmetric linear-algebraic Schur complement system A(μ)U(μ) = F(μ) (26) of size n , in which SC A (μ) = a( (μ), ; μ), (27) ( p,k),( p ,k ) p ,k p,k f ;h F (μ) = f ( ; μ) − a(b (μ ), ; μ). (28) ( p,k) p,k p,k i=1 We may readily demonstrate the symmetry: by (19) and symmetry of a ˆ (·, ·; μ ) we obtain m i h h ˆ ˆ ˆ ˆ ˆ a ˆ (φ (μ ), ψ ; μ) =ˆa (b (μ ) + ψ , b (μ ) + ψ ; μ ) (29) i i i i M(i) i,j,k i,j ,k M(i) i,j,k i,j ,k i,j,k i,j ,k h h ˆ ˆ =ˆa (b (μ ) + ψ , b (μ ) + ψ ; μ ) (30) M(i) i i i i,j ,k i,j,k i,j ,k i,j,k ˆ ˆ =ˆa (b (μ ) + ψ , ψ ; μ ) (31) M(i) i i,j ,k i,j,k i i,j ,k ˆ ˆ =ˆa (φ (μ ), ψ ; μ ), (32) M(i) i,j ,k i i,j,k i and as a result a( (μ), ; μ) = a( (μ), ; μ). (33) p ,k p,k p,k p ,k The matrix A(μ) is thus symmetric and in particular may be rewritten as 1 1 A (μ) = a( (μ), ; μ) + a( (μ), ; μ) (34) (p,k),(p ,k ) p ,k p,k p,k p ,k 2 2 We shall invoke the interpretation (34) of A(μ) to symmetrize the SCRBE Schur comple- ment system below. Port compatibility The port compatibility requirement (7) between port basis functions associated with ports which may interconnect in a system — port of the same type — ensures solu- tion continuity across shared global ports. We recall the archetype port basis functions χ ˆ introduced in (3), and we recall the associated physical (instantiated) port space M(i),j,k basis functions χ introduced in (6). To honor (7), it is clear that the basis functions i,j,k χ ˆ on different archetype ports of the same port type must be defined differently m,j,k according to the archetype port orientation. To render this more precise we introduce for each unique port type a reference port d−1 domain β ⊂ R ; we assume for simplicity of exposition that there is only a single port type and thus β needs no subscript. We then consider, on archetype component m,each rot tran archetype port domain γˆ as the image of β under a rigid-body map R = R R , m,j m,j m,j m,j rot tran where R corresponds to rotation and R corresponds to translation, such that m,j m,j γˆ = R (β); (35) m,j m,j this map is the key to honor the port compatibility requirement (7). We then introduce, on the reference port domain β, a set of reference port modes χ ˆ , 1 ≤ k ≤ N , and an associated reference port space β β P = span{ˆ χ ,1 ≤ k ≤ N } (36) k 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 11 of 49 http://www.amses-journal.com/content/1/1/3 of dimension N . We then define, on archetype port domain γˆ of type β,the archetype m,j γ γ port space basis functions χ ˆ ,1 ≤ k ≤ N ,1 ≤ j ≤ n ,as m m m,j,k rot −1 χ ˆ ≡ R (χ ˆ ◦ R ), (37) m,j,k m,j m,j Note that N = N . We now consider two instantiated port domains γ = T (γˆ ), γ = T (γˆ ), (38) i,j i M(i),j i ,j i M(i ),j on different instantiated components i and i . From (5) we have for the associated port space basis functions rot −1 χ = T (χ ˆ ◦ T ), (39) i,j,k i M(i),j,k rot −1 χ = T (χ ˆ ◦ T ), (40) i ,jv,k M(i ),j ,k i i and so, with (37), rot rot −1 −1 χ = T (R (χ ˆ ◦ R ) ◦ T ), (41) i,j,k i M(i),j M(i),j i rot rot −1 −1 χ = T (R (χ ˆ ◦ R ) ◦ T ). (42) i ,j ,k i M(i ),j k M(i ),j i Now, suppose that π ={(i, j), (i , j )} for a shared global port  such that γ = γ .In p p i,j i ,j this case, from (35) and (38), we obtain T (R (β)) = T (R (β)). (43) i M(i),j i M(i ),j def We recall that T (for 1 ≤ i ≤ I)whenappliedtoaport correspondstopuretranslation. As a result, application of the port mapping T R corresponds only to translation and i M(i),j rotation. We now recall that the rotation applied to β on each side of (43) is unique, and rot rot rot rot we may thus conclude from (43) that T R = T R . With (41) and (42), we i M(i),j i M(i ),j then obtain χ = χ , and we thus honor our port compatibility requirement (7). i,j,k i ,j ,k Model reduction The computational efficacy of our port-reduced SCRBE approach is realized through two separate model reduction techniques. As in the standard SCRBE approach [5] we con- sider component-interior model reduction through RB approximation [6] of the source bubbles (18) and of the fundamental solutions (19) to reduce the cost of each of the many component-interior linear solves required to form the Schur complement system. In addi- tion to RB approximation in the component interiors, we employ port reduction [12] with empirical port modes to reduce the number of degrees of freedom on the ports and thus the size of the Schur complement system. We now discuss each of these techniques in more detail. Component-interior reduction For the component-interior model reduction we employ RB approximations f f ;h b (μ ) ≈ b (μ ), (44) i i i i φ (μ ) ≈ φ (μ ), (45) i,j,k i i i,j,k and thus (μ) ≈ (μ). The purpose of these RB approximations is to allow for p,k p,k efficient formation of an approximation to the Schur complement system (54): each RB approximation b (μ ) or φ (μ ) is associated with a rapidly convergent [7] RB space i i,j,k i specifically tailored to the particular bubble and to the parameter dependence defined by 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 12 of 49 http://www.amses-journal.com/content/1/1/3 the corresponding (archetype domain) PDE (18) or (19). All RB bubble spaces are thus different, and furthermore each space is typically of much lower dimension than the orig- inal FE spaces B . As a consequence, the RB approximations to the solutions of (18) and m;0 (19) are obtained at significantly reduced computational cost with minimal compromise to solution accuracy. The RB method is now considered standard, and we refer the reader to [6] for all technical details relevant to the particular class of problems (linear elliptic) that we consider here. ∗ h We now introduce the SCRBE approximation u ˜ (μ) ≈ u (μ) as I n p ∗ ∗ ˜ ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ), (46) i p,k i p,k i=1 p=1 k=1 ∗ h and we again choose S() as the test space such that u ˜ (μ) ∈ X () satisfies a(u ˜ (μ), v; μ) = f (v; μ), ∀v ∈ S(); (47) the equivalent linear-algebraic system is ∗ ∗ ˜ ˜ ˜ A (μ)U (μ) = F(μ) (48) where ˜ ˜ ˜ A (μ) = a( (μ), ; μ), (49) p ,k p,k ( p,k),( p ,k ) f ;h ˜ ˜ ˜ F (μ) = f ( ; μ) − a(b (μ ), ; μ), (50) ( p,k) p,k p,k i=1 for 1 ≤ k ≤ N ,1 ≤ k ≤ N ,1 ≤ p, p ≤ n .Notethat A (μ) in (49) is non-symmetric because each RB approximation φ (μ ) (mapped to the respective archetype domain) i,j,k i satisfies (19) only with respect to the associated RB bubble subspace. These RB approxi- mations are thus not Galerkin orthogonal with respect to other bubble spaces; recall that this Galerkin orthogonality (together with symmetry of a ˆ (·, ·; μ )) is the key to the sym- m i metry of A(μ) as demonstrated in (29). To recover symmetry we have two options: we may either, as in [5,12], test on a space ˜ ˜ S () = span{ (μ),1 ≤ k ≤ N ,1 ≤ p ≤ n } (51) symm p,k in (47), or we may explicitly symmetrize A (μ) by algebraic manipulation. The former option necessitates larger offline and online computational cost and storage, in fact, when compared to the latter, by a multiplicative factor equal to the number of RB basis functions. We thus elect to recover symmetry by algebraic manipulation: we exploit the interpre- tation (34) of A(μ) and we define A(μ) ≈ A(μ) as 1 1 ∗ ∗ T ˜ ˜ ˜ A(μ) = A (μ) + A (μ) , (52) 2 2 such that 1 1 ˜ ˜ ˜ A (μ) = a( (μ), ; μ) + a( (μ), ; μ). (53) (p,k),(p ,k ) p ,k p,k p,k p ,k 2 2 We may then finally introduce our symmetric SCRBE linear-algebraic system as ˜ ˜ ˜ A(μ)U(μ) = F(μ), (54) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 13 of 49 http://www.amses-journal.com/content/1/1/3 and we define the SCRBE field approximation u ˜ (μ) ≈ u (μ) as I n p ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (55) p,k p,k i=1 p=1 k=1 The associated SCRBE compliance output approximation is s ˜(μ) = f (u ˜ (μ); μ). Note that in actual practice, we assemble (54) through a direct-stiffness procedure from component-local matrix and vector blocks associated with and assembled for each of the I component instantiations; the procedure is described in detail in [5,12]. The assem- bly of these component-local quantities constitutes the majority of online computational cost. However, we need only perform the assembly for each unique component instan- tiation, as identical (or “cloned”) components may share local matrices and vectors. We thus realize significant computational savings for systems which consist of instantiations of many component clones, such that we need only consider I  I effective component eff instantiations for this assembly proceedure. There are two particularly important situations in which different component instantia- tions are effectively clones in the sense that the component-local matrix and vector blocks may still be re-used: First, matrix and vector blocks computed for component instantia- tions which differ only in spatial orientation are (in the case that material properties do not depend on spatial orientation, such as in isotropic linear elasticity) identical thanks to cancellation of the mapping Jacobians in the archetype domain bilinear form; sec- ond, “free” parameters such as component-wide thermal conductivity or Young’s modulus enter outside the bilinear forms in (18) and (19), and thus the associated matrix blocks will only differ by a scaling factor. As a result, we often obtain I  I in practice. We eff discuss this situation further under “Computational procedures” later in this section. Port reduction Framework While the RB approximation is concerned with component-interior model reduction, we apply port reduction to reduce the number of degrees of freedom associated with com- ponent interfaces. For the port reduction procedure we shall consider on each global port only n ≤ N port modes as “Active” and thus contributing to the approximation; A,p p for substantial computational savings we require n  N . We consider in this sub- A,p p section the generic port reduction framework and in the next subsection our particular choice of port space basis functions which realizes n  N . A,p Based on the n active modes associated with each global port we introduce a port- A,p PR reduced skeleton space S () ⊆ S() as PR S () ≡ span{ ,1 ≤ k ≤ n ,1 ≤ p ≤ n } (56) p,k A,p of dimension n ≡ n ≤ n . (57) A SC A,p p=1 PR,∗ h We further introduce a port-reduced approximation u ˜ (μ) ≈ u (μ) as I n A,p PR,∗ ∗ ˜ ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (58) i p,k i p,k i=1 p=1 k=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 14 of 49 http://www.amses-journal.com/content/1/1/3 PR We now choose S () as our test space such that PR,∗ PR a(u ˜ (μ), v; μ) = f (v; μ), ∀v ∈ S (), (59) which leads to the linear-algebraic system PR,∗ PR,∗ PR ˜ ˜ ˜ A (μ)U (μ) = F (μ) (60) of size n ,where PR,∗ ˜ ˜ A (μ) = a( (μ), ; μ), (61) p ,k p,k ( p,k),(p ,k ) f ;h PR F (μ) = f ( ; μ) − a(b (μ ), ; μ), (62) p,k i p,k ( p,k) i for 1 ≤ k ≤ n ,1 ≤ k ≤ n ,1 ≤ p, p ≤ n . We then symmetrize as A,p A,p 1 1 PR PR,∗ PR,∗ T ˜ ˜ ˜ A ≡ A (μ) + A (μ) , (63) 2 2 we define the port-reduced SCRBE system as PR PR PR ˜ ˜ ˜ A (μ)U (μ) = F (μ), (64) PR h and we define the port-reduced SCRBE field approximation u ˜ (μ) ≈ u (μ) as I n A,p PR PR ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (65) i p,k i p,k i=1 p=1 k=1 PR The associated port-reduced SCRBE compliance output approximation is s ˜ (μ) = PR f (u ˜ (μ); μ). The purpose of port reduction is of course to reduce the size of the Schur complement system — and thus computational cost — while maintaining accuracy of the approxima- tion. The size of the system (64), n , is equal to the total number of active port modes in the system. In practice, we shall typically invoke only a few port degrees of freedom on each port such that n  n . A good choice for the port modes χ is key to A SC i,j,k the accuracy of the port-reduced SCRBE approximation, and is the focus of the next subsection. Empirical port mode training To ensure port compatibility we must for each port type develop our port basis on the associated reference port domain β as discussed under “Port compatibility” above. To this end we pursue a pairwise training algorithm that provides a port space tailored to the family of solutions associated with this port type. We shall develop bases for the full port spaces (6) and not merely the space spanned by “Active” modes; the remaining “Inactive” modes shall play a role in certification (for residual calculation), which we discuss further in the “Certification framework” section. Our port spaces shall consist of three sets of modes. The first set of modes is explicitly specified and consists of the six modes associated with rigid-body motion. We include these six modes for two reasons: first, it simplifies the procedure for specification of typical Dirichlet boundary conditions, and second, it ensures invertibility of the Schur complement operator associated with “Inactive” modes, which is a property we require for our non-conforming error estimation framework. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 15 of 49 http://www.amses-journal.com/content/1/1/3 The second set of modes consists of the n ≤ N − 6 modes which shall be the pod outcome of our pairwise training algorithm. The third set of modes consists of N − n − 6 singular Sturm-Liouville eigenmodes restricted to the orthogonal complement pod of the first n + 6 empirical modes [12]. These modes serve to complete the discrete pod port space in a numerically stable fashion. Recall that the total number of modes associated with the reference port β is N .We 2 β consider here the case d = 3and thus β ⊂ R ; each port mode χ ˆ ,1 ≤ i ≤ N ,has the β β,1 β,2 β,3 form χ ˆ = (χ ˆ , χ ˆ , χ ˆ ), where the number of degrees of freedom associated with i i i i β,j each field component χ ˆ is N /3. In the case that β is the square β = [ −0.5, 0.5] , the first six reference port modes are explicitly defined as β β β χ ˆ = (1, 0, 0), χ ˆ = (0, 1, 0), χ ˆ = (0, 0, 1), (66) 1 2 3 for the three ports associated with translation; as χ ˆ (ξ, η) = (−η, ξ,0) (67) for the mode associated with pure rotation; and as β β χ ˆ (ξ, η) = (0, 0, ξ), χ ˆ = (0, 0, η), (68) 5 6 2 d forthe twomodes associated with flipping.Notethese sixmodes aremutually (L (β)) - orthonormal. (If β is not the square β = [ −0.5, 0.5] we apply Gram-Schmidt orthonor- 2 d malization to these first six modes to recover (L (β)) -orthonormality.) The next n port modes are the outcome of our pairwise empirical training algo- pod rithm. In this algorithm we exploit the fact that within any system, the solution on any global (shared, say) port is determined completely by the parameter values assigned to the pair of components sharing the port and the (typically relatively smooth) solution on all other ports associated with these two components. The purpose of our pairwise train- ing algorithm is to explore the associated “solution manifold” induced by local parameter dependence and neighboring ports in a systematic fashion such that the empirical modes associated with each port type are tailored to all possible component connectivity and all admissible component parameter values. For our empirical training algorithm we shall require discrete “Legendre polynomials” β β L ,1 ≤ i ≤ N /3, such that the L are the eigenvectors of a scalar singular i i Sturm-Liouville eigenproblem [16] over β ordered according to increasing eigenvalue; we shall also require a univariate random variable r with uniform density; and we introduce an algorithm tuning parameter γ> 1 related to anticipated regularity. We then identify one or several pairs of components in the component library that may connect through a global port of the relevant port type β. The empirical training procedure for each such pair is now given by Algorithm 1: we sample (solve) each pair N times for different (random) parameters and different sample (random but smooth thanks to the parameter γ> 1) boundary conditions on all non- connected ports (note that we assign random boundary conditions independently to each vector component); for each such sample we extract the solution on the shared port of the relevant type, map it to the reference port β, subtract from this mapped solution its 2 d orthogonal (L (β)) -projection onto each of the six rigid body modes χ ˆ ,1 ≤ i ≤ 6, and i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 16 of 49 http://www.amses-journal.com/content/1/1/3 then finally include the result ζ in a snapshot set S associated with the current pair. pair 2 d Note that in Algorithm 1 (·, ·) 2 refers to the vector (L (β)) inner product. L (β) Algorithm 1 Pairwise training (two components connected at global port  ) S =∅. pair for n = 1, ... , N do samples Assign random parameters μ ∈ D to component i = 1, 2. i i On all non-shared ports  , assign random boundary conditions: N /3 u | = r L , i = 1, 2, 3. γ k k=1 Solve the two-component system; extract solution on shared port  (mapped to β): ζ ← u| Subtract the orthogonal projection onto rigid-body modes: for i = 1, ...,6 do (ζ , χ ˆ ) 2 L (β) i β ζ ← ζ − χ ˆ , ˆ χ  2 L (β) end for Include the result in the snapshot set: S ← S ∪ ζ pair pair end for After pairwise training of all pairs relevant for one port type, we form the bigger snapshot set S = S . (69) type pair pair We then perform a data compression step: we invoke the proper orthogonal decom- 2 d position (POD) [17] (with respect to the vector (L (β)) inner product). The output 2 d from the POD procedure is a set of n mutually (L (β)) -orthonormal POD modes pod which are also orthonormal to the six first modes χ ˆ ,1 ≤ i ≤ 6, related to rigid-body motion. We choose these n POD modes as our next reference port basis functions pod β β χ ˆ ,1 ≤ i ≤ n ; we typically observe rapid (often exponential) convergence [12] of 6+i pod these POD modes with respect to the input snapshot set S . type β β We refer to all first n + 6 port modes as our empirical port modes.If n is chosen pod pod such that n + 6 < N , we now complete the discrete space with Sturm-Liouville pod n +6 β pod singular eigenmodes restricted to the orthogonal complement space (span{ˆ χ } ) i i=1 (of dimension N − n − 6) as discussed in detail in [12]. pod We finally note that for our pairwise training approach we may employ the (non-port- reduced) SCRBE framework or we may use standard FE approximations. The computa- tional cost associated with empirical training is not critical as the procedure is performed 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 17 of 49 http://www.amses-journal.com/content/1/1/3 offline. For our numerical results in this paper we have used the non-port-reduced SCRBE framework to calculate empirical modes. Computational procedures The computational procedures associated with our port-reduced SCRBE approximation framework naturally decouple into an offline preprosessing stage and an online evaluation stage, and we now discuss each in more detail. Note we provide here only descriptions of each of the offline and online steps involved; for detailed online operation counts we refer to [12]. Offline The offline stage is the preprosessing stage — performed only once — in which we con- struct and prepare the archetype component library. This stage consists of the following steps. Off1. Empirical pairwise training by Algorithm 1. For each port type we sample pairs of components to obtain efficient port space basis functions χ ˆ , 1 ≤ k ≤ N , associated with each reference port domain β. In the current implementation, we employ the non-port-reduced SCRBE [5] (rather than standard global FE) for the pairwise training. Off2. RB space construction. For each archetype component m, 1 ≤ m ≤ M,wemust n γ train N + 1 different RB spaces to accommodate the RB approximations j=1 m,j (44) and (45). Each construction of an RB space requires a number of component-local FE solves (each associated with an RB space basis function), and thus this step is potentially rather expensive, depending on the component spatial ˆ ˆ discretization and parametric complexity Q and Q in the bilinear and linear form expansions (1). Note, however, that the construction of the RB approximation spaces (subsequent to port space construction) is embarrassingly parallel. Also note that we do not consider parameters for spatial orientation (because of the mapping Jacobian cancellations in the archetype domain formulation), and furthermore recall that components often have “free” parameters such as component-wide thermal conductivity or Young’s modulus, with which the solutions to (18) and (19) simply scale linearly. As a result, RB space dimensions are typically rather small (around ten basis functions often suffice for each RB space), and thus although this step typically dominates offline cost the computational effort is not onerous: typically a couple of CPU hours is required for each archetype component. Off3. Online dataset preparation. For each archetype component we construct data to enable efficient assembly of the component-local Schur complement matrix and vector blocks in the subsequent online stage. The computation time depends stongly on component spatial discretization and parametric complexity, but is typically between minutes and hours (on a single CPU) for each component. The online dataset also contains all RB basis functions, which are required for online global field visualization, if desired. Off4. Data loading. We finally read the online datasets (typically a few hundred Mb) for all library components into computer memory to prepare for the online stage. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 18 of 49 http://www.amses-journal.com/content/1/1/3 Note that with our current implementation of the framework, since we employ the non- port-reduced SCRBE in step Off1 above, we must first perform a step Off0a (similar to Off2) and then a step Off0b (similar to Off3) in order to enable the necessary “online” pair evaluation in Off1. Online The online stage is the stage in which we instantiate archetype components, and assemble and solve our system. This stage consists of the following steps, which in the current implementation is performed on a single CPU. On1. Component instantiation. Instantiate I components from the library, assign the relevant parameter values to each component, and connect components to other components through ports of the same type to form a system; this step is most easily effected through a graphical user interface [Additional file 1]. On2. Schur complement system formation. Perform component-local RB solves (of small RB dimension) associated with all “Active” degrees of freedom to obtain (RB ˜ ˜ coefficients for) the RB approximations φ (μ ) and b (μ ), assemble the i,j ,k i i associated matrix and vector blocks for each component, and assemble the Schur complement system (64) through a direct-stiffness procedure [5,12]. The entries in the component-local matrix blocks are of the form 1 1 ˜ ˜ ˜ A (μ ) = a (φ (μ ), ψ ; μ ) + a (φ (μ ), ψ ; μ ) i i i,j ,k i i,j,k i i i,j,k i i,j ,k i A,A;( j,k),( j ,k ) 2 2 (70) (the symmetrization is performed on the component level) and the entries in the component-local vector blocks are of the form F (μ ) = f (ψ ; μ) − i, j, k A;( j,k) a (b (μ ), ψ ; μ); the subscripts refer to assembly of “Active” component i i i,j,k A matrices and vectors. However, thanks to an efficient construction-evaluation procedure [6], which relies on the affine operator expansions (1), only the RB ˜ ˜ coefficients associated with φ (μ ) and b (μ ) are required for this assembly i i i,j ,k step. We emphasize in particular that the underlying component FE discretization is never invoked. We recall that parameters related to spatial orientation (component “docking”) do not appear in the (archetype) bilinear forms due to cancellation of the associated Jacobians (we demonstrate this for isotropic linear elasticity in the “Microtruss beam application” section); and moreover, certain parametric variations such as component-wide conductivity or Young’s modulus are “free” in the sense that they enter as scalars outside the bilinear forms in (18) and (19). As a consequence, matrix and vector blocks associated with different component instantiations are in practice often identical (in the context of “free” parameters up to a multiplicative constant). We may thus in typical systems often consider only I  I effectively different (or unique) component instantiations, for which eff we perform RB solves and assemble component-local matrices and vectors. The component-local matrices and vectors for the remaining I − I component eff instantiations are then simply copies of the respective data from effectively identical components. This consideration of component “clones” together with 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 19 of 49 http://www.amses-journal.com/content/1/1/3 the realization of “docking” parameter cancellation and “free” parameters contribute significantly to the modest computational cost associated with On2. The typical computation time is a few seconds. On3. Evaluate. Solve the “Active” Schur complement system, and evaluate any relevant derived quantities from the solution vector (for example a compliance output). The typical computation time is a few seconds. The computational cost associated with this online stage is dominated by On2 (when I eff is close to I)orOn3 (when I  I). However, the offline and online stages above are only eff concerned with the port-reduced SCRBE approximation. We consider the computational procedures associated with a posteriori error estimation in the next section. Certification framework Our port-reduced SCRBE approximation is equipped with efficiently computable a posteriori error bounds and estimators that provide certificates for the error in the approximation with respect to the underlying global FE discretization. We employ in this paper the energy-norm and compliance output bound developed in [12], and we present the main ingredients and certain extensions below. We furthermore sharpen the bounds by consideration of a multi-reference parameter bound conditioner. The error in our approximation derives from two sources: port reduction and RB approximation. Below we first address the error due to port reduction, that is to say, the case in which the error due to RB approximation is zero. In this case the error bound pre- sentation simplifies significantly and in particular admits a pure functional interpretation. We then subsequently perturb the equivalent algebraic interpretation to provide a bound for the general case in which the error due to RB approximation is non-zero. Port reduction error contribution We assume in this subsection only that the only source of error is port reduction and hence that there is no RB-induced error. We introduce the function A,p I n PR f ;h PR h u (μ) = b (μ ) + U (μ) (μ) ∈ X (), (71) i p,k p,k i=1 p=1 k=1 which satisfies PR PR a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (); (72) PR h hence u (μ) is the port-reduced approximation to u (μ) obtained in the absence of RB PR errors. We note that we may (as in (25)) replace the skeleton space S () in (72) by the skeleton space PR S () = span{ (μ),1 ≤ k ≤ n ,1 ≤ p ≤ n }⊂ S (), (73) p,k symm symm A,p PR h and thus u (μ) ∈ X () also satisfies PR PR a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (); (74) symm PR PR f ;h note that u (μ) ∈ / S () because of the source bubble terms b (μ ) in (71). symm 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 20 of 49 http://www.amses-journal.com/content/1/1/3 We define the associated (RB-error-free) error field as h h PR e (μ) ≡ u (μ) − u (μ) n A,p p PR = (U (μ) − U (μ)) (μ) + U (μ) (μ) , (75) p,k p,k p,k p,k p,k p=1 k=1 k=n +1 A,p (in which the subscript refers to the case of zero RB error contribution) and we note h h PR that e (μ) ∈ S () because the source bubble contributions from u (μ) and u (μ) symm cancel. Our goal is to develop a bound for the energy e (μ) ,where · ≡ a(·, ·; μ) (76) is the usual energy norm. From (25) and (74) we see that h PR a(e (μ), v; μ) = f (v) − a(u (μ), v; μ), ∀v ∈ S (); (77) symm this error-residual relationship is the point of departure for our error bound development. Thanks to coercivity and symmetry of a(·, ·; μ), the error field e (μ) admits the equivalent definition e (μ) = arg min J (v; μ), (78) v∈S () symm where PR J (v; μ) ≡ a(v, v) − f (v) − a(u (μ), v; μ) , (79) h 2 h h h and furthermore e (μ) = a(e (μ), e (μ); μ) =−2J (e (μ); μ). We now relax the 0 μ 0 0 0 minimization (78) by consideration of a discontinuous (non-conforming) skeleton space NC PR S () ≡ S () symm symm γ γ γ ⊕ span{φ (μ), (n + 1) ≤ k ≤ N ,1 ≤ j ≤ n ,1 ≤ i ≤ I} i,j,k i,j i A,i,j ≡ span{ (μ),1 ≤ i ≤ n }, (80) NC in which the basis functions (μ),1 ≤ i ≤ n , merely represent a re-indexing of the NC γ γ basis functions (μ),1 ≤ k ≤ n ,1 ≤ p ≤ n ,and φ (μ), (n + 1) ≤ k ≤ N ,1 ≤ p,k i,j,k p A,i,j i,j j ≤ n ,1 ≤ i ≤ I. Note that the φ (μ) represent independent (non-conforming) degrees i,j,k NC of freedom local to component i. The dimension of S () is symm γ γ n = n + N − n ≥ n ; (81) NC A SC i,j A,i,j i=1 j=1 NC NC note that S () ⊇ S (). We also define a non-conforming skeleton space S ⊇ symm symm S() as NC PR S () ≡ S () γ γ γ ⊕ span{ψ , (n + 1) ≤ k ≤ N ,1 ≤ j ≤ n ,1 ≤ i ≤ I} i,j,k i,j i A,i,j ≡ span{ ,1 ≤ i ≤ n }. (82) NC Hence for NC e (μ) ≡ arg min J (v; μ) (83) NC v∈S () symm 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 21 of 49 http://www.amses-journal.com/content/1/1/3 (recall the “broken” definition of a(·, ·; μ) in (8)) we must have NC h J (e (μ); μ) ≤ J (e (μ); μ) (84) 0 0 NC NC h h and thus a(e (μ), e (μ); μ) ≥ a(e (μ), e (μ); μ). This first relaxation of (78) not only 0 0 0 0 provides a bound on the energy of the error field, but also accommodates efficient bound NC calculation thanks to the non-conforming space S (). symm A second relaxation step is required to obtain a computationally tractable error bound. NC NC To this end we introduce a bound conditioner, the bilinear form b : S ()×S → symm symm R,defined as b (·, ·) ≡ a(·, ·; μ ) (85) ref for a reference parameter value μ ∈ D. Note that here, b (·, ·) depends implicitly on μ ref through the parameter-dependent reference parameter μ . In fact, an important inno- ref vation of this paper is this multi-reference parameter bound conditioner: in the online stage, we optimally select μ from a database of a few candidate reference parameters ref (through a discrete enumeration procedure); we discuss the selection of μ further in ref the “Computational procedures” subsection below. We also define a(v, v; μ) λ (μ) ≡ min . (86) min NC b (v, v) v∈S () μ symm We then introduce a modified functional λ (μ) min PR NC J (v; μ) ≡ b (v, v) − f (v) − a(u (μ), v; μ) , ∀v ∈ S (), (87) b μ symm and we consider the minimization NC e ¯ (μ) ≡ arg min J (v; μ). (88) NC v∈S () symm By the definition of λ (μ) in (86) it is clear that J (v; μ) ≤ J (v; μ) for all v ∈ min b NC NC S (). Thus in particular, since e ¯ (μ) is the minimizer, symm NC NC NC J (e ¯ (μ); μ) ≤ J (e (μ); μ) ≤ J (e (μ); μ) ≤ J (e (μ); μ), (89) b b 0 0 0 0 where the last inequality follows from (84). Consequently, we obtain the energy-norm error bound NC NC h h λ (μ)b (e ¯ (μ), e ¯ (μ)) ≥ a(e (μ), e (μ); μ) (90) min μ 0 0 0 0 NC NC where the field variable e ¯ (μ) ∈ S () — a presumably rather good approxima- 0 symm h NC tion to the original error field e (μ) [12] — satisfies the elliptic problem b (e ¯ (μ), v) = 0 0 −1 PR NC λ (μ) (f (v; μ) − a(u (μ), v; μ)) for all v ∈ S (). Equivalently, because of the min symm Galerkin orthogonality in (19), NC PR NC b (e ¯ (μ), v) = f (v; μ) − a(u (μ), v; μ) , ∀v ∈ S (). (91) λ (μ) min Thanks to incorporation of the modes related to rigid-body motion in our port space bases (presuming n ≥ 6 on all global ports  ,1 ≤ p ≤ n ) we expect in general (and A,p for a particular system, we computationally verify) that (91) is well-posed; for the simpler class of problems with scalar-valued fields we demonstrate this well-posedness in [12]. The RB-error-free bound given in (90) (together with (91)) is the basis on which we in the next subsection extend our error estimation framework to the general case of non-zero RB errors and furthermore to certain outputs of interest. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 22 of 49 http://www.amses-journal.com/content/1/1/3 In order to implement this error bound, and to facilitate incorporation of RB-induced error contributions, we now interpret the error bound (90) in terms of algebraic quanti- n p ties. To this end, we first note that, for any v(μ) = V (μ) (μ) —thatis, p,k p,k p=1 k=1 for any v(μ) ∈ S () with coefficients V(μ) —wehave symm a(v(μ), v(μ); μ) = V(μ) A(μ)V(μ); (92) we refer to the right-hand side of (92) as the “Schur energy” of V(μ).Itshall prove convenient to introduce the zero-extended solution vectors PR PR U (μ) U (μ) PR n PR,NC n ˆ SC ˆ NC U (μ) ≡ ∈ R ,and U (μ) ≡ ∈ R , (93) 0 0 0 0 in which all but the first n entries are explicitly set to zero. We also define the error coefficient vector PR n SC E (μ) ≡ U(μ) − U (μ) ∈ R (94) h n such that the error (75) can be written e (μ) = E (μ) (μ). Note here, 0;p,k p,k 0 p=1 k=1 we tacitly interpret (without loss of generality) U(μ) such that the first n entries cor- respond to the n active degrees of freedom. The algebraic version of the error residual equation (77) is A(μ)E (μ) = R (μ), (95) 0 0 where the residual vector is given as PR R (μ) = F(μ) − A(μ)U (μ); (96) note that, thanks to (92) and the fact that e (μ) ∈ S (), (95) is equivalent to (77). symm NC n ×n NC NC NC We now introduce a non-conforming matrix A (μ) ∈ R and vector F (μ) ∈ NC R as NC A (μ) = a( (μ), (μ); μ), (97) i,j j i f ;h NC F (μ) = f ( (μ); μ) − a(b (μ ), (μ); μ), (98) i i i l=1 for 1 ≤ i, j ≤ n .Notethat a( (μ), (μ); μ) = a( (μ), ; μ) becauseofthe NC j i j i NC Galerkin orthogonality in (19), and thus A (μ) is indeed the non-conforming ver- sion of the Schur complement matrix A(μ) in (26); similarly, note that f ( (μ); μ) − I f ;h I f ;h a(b (μ ), (μ); μ) = f ( ; μ) − a(b (μ ), (μ); μ) because of (18) and l l l=1 l i i l=1 l i NC the fact that (μ) − vanish on ports, and thus F (μ) is the non-conforming version i i of the vector F(μ) in (26). We further define a non-conforming reference matrix NC NC B ≡ A (μ ), (99) ref which corresponds to the bilinear form b (·, ·). We also introduce a non-conforming NC NC residual vector R (μ) ∈ R as NC PR R (μ) = f ( (μ)) − a(u (μ), (μ); μ),1 ≤ i ≤ n ; (100) NC 0;i i i NC NC NC PR note that R (μ) = F (μ) − A (μ)U (μ). 0 0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 23 of 49 http://www.amses-journal.com/content/1/1/3 NC n ¯ NC Next, we introduce a (unknown) coefficient vector E (μ) ∈ R such that NC NC e ¯ (μ) = E (μ) (μ). (101) 0;i 0 i i=1 Thus from (91), (99), and (100) we obtain NC NC −1 NC E (μ) = (B ) R (μ). (102) 0 μ 0 λ (μ) min NC Similarly to (92), we note that for any v(μ) = V (μ) (μ) —thatis, forany i=1 i NC v(μ) ∈ S () —wehave symm T NC a(v(μ), v(μ); μ) = V(μ) A (μ)V(μ). (103) NC NC Hence in particular, since e ¯ (μ) ∈ S (),weobtain symm NC NC NC T NC NC ¯ ¯ λ (μ)b (e ¯ (μ), e ¯ (μ)) = λ (μ)E (μ) B E (μ) min μ min 0 0 0 μ 0 NC T NC −1 NC = R (μ) (B ) R (μ). (104) 0 μ 0 λ (μ) min Further, since e (μ) ∈ S , we may invoke (92) and write symm a(e (μ), e (μ); μ) = E (μ) A(μ)E (μ). (105) 0 0 0 0 Finally, we note that λ (μ) of (86) is the smallest eigenvalue associated with the min generalized eigenproblem NC NC A (μ)V(μ) = λ(μ)B . (106) The algebraic interpretation of the port reduction error bound (90) is thus NC T NC −1 NC T R (μ) (B ) R (μ) ≥ E (μ) A(μ)E (μ). (107) 0 0 0 μ 0 λ (μ) min NC −1 NC We note that the bound (107) necessitates a solve (B ) R (μ) of dimension n ≥ NC μ 0 n . However, this solve may be performed efficiently thanks to i) the non-conforming SC NC skeleton space S () which in a natural way allows component-local elimination of all degrees of freedom that do not couple at shared global ports; and ii) the quasi parameter- NC independent bound conditioner matrix B associated with the bilinear form b , which allows offline pre-factorization for all these component-local solves. And furthermore, in actual practice we invoke not λ (μ) but rather a computationally tractable eigen- min value lower bound λ (μ) ≤ λ (μ). We consider computational aspects of our min,LB min error estimation framework in more detail in the “Computational procedures” subsection below. RB error contribution — A Posteriori error estimators We now modify (107) in order to obtain an efficiently computable a posteriori error bound which is also valid in the presence of RB error contributions. First, as we in the SCRBE context only have access to an approximation of the FE Schur complement system, the residual can not be computed exactly and we thus instead compute a residual approxima- tion together with bounds on associated RB-error-induced residual perturbation terms. Second, we introduce a lower bound (valid under an eigenvalue proximity assumption) for the eigenvalue λ (μ) which is based on the solution to a port-reduced eigenprob- min lem, an approximate eigenproblem residual, and bounds on associated RB-error-induced eigenproblem residual perturbation terms. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 24 of 49 http://www.amses-journal.com/content/1/1/3 Moreover, in the presence of RB error contributions the error in the Schur energy is not equal to the energy of the error in the field, and thus in addition to a bound on the former we require a bound on additional RB perturbation terms to obtain a bound for the latter. Further, we develop in this section, from our Schur energy error bound, a new bound on port-restricted compliance outputs. For this output bound we must take into account that PR PR ˜ ˜ we in this paper (in contrast to in [12]) employ S () rather than S () ⊂ S () symm symm (the former being a port-reduced version of the latter, which is defined in (51)) as our skeleton space. Finally, we introduce asymptotically rigorous error estimators, by which we reduce computational cost by neglecting typically very small quadratic RB error bound contributions. To begin, we define the error field as h h PR e (μ) ≡ u (μ) −˜u (μ). (108) It is again convenient to introduce the zero-extended solution vectors, PR PR ˜ ˜ U (μ) U (μ) PR n PR,NC n ˆ SC ˆ NC U (μ) ≡ ∈ R ,and U (μ) ≡ ∈ R , (109) 0 0 PR in which the solution U (μ) of (64) is extended by n − n and n − n zeros, SC A NC A respectively. We may then write I n h;f h;f h PR ˜ ˆ ˜ e (μ) = (b (μ ) − b (μ )) + U (μ) (μ) − U (μ) (μ) , i i p,k p,k p,k i i p,k i=1 p=1 k=1 (110) and we note that e (μ) is not amemberof S () because of the errors in the RB symm bubble approximations. We also define a vector of error coefficients as PR E(μ) ≡ U(μ) − U (μ). (111) We first develop a bound for the error in the Schur energy norm, E(μ) A(μ)E(μ), through perturbations of the left-hand side of (107). We subsequently modify this bound to obtain a bound on e (μ) ; note the former is not equivalent to the latter because e (μ) is not a member of S (). symm The usual error-residual relationship still holds in the presence of RB error contribu- tions. In this case the relevant error-residual equation is A(μ)E(μ) = R(μ), (112) where the residual vector is given as PR R(μ) = F(μ) − A(μ)U (μ). (113) The difference between (95) and (112) is rather subtle: the former features the resid- PR ual associated with the RB-error-free solution vector U (μ) (never computationally realized), while the latter features the residual associated with the RB-error-affected PR SCRBE solution vector U (μ) (computed in practice). The non-conforming version of the residual is NC NC NC PR R (μ) ≡ F (μ) − A (μ)U (μ). (114) Next, we redefine our quasi parameter-independent (due to online reference param- NC NC eter selection) bound conditioner matrix B from the previous subsection as B = μ μ 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 25 of 49 http://www.amses-journal.com/content/1/1/3 NC A (μ ); note that any SPD matrix may serve as our bound conditioner, and thus the RB ref NC approximations now present in B do not necessitate modifications to the error bound NC expression (and therefore the B of the previous subsection did not bear a subscript ). NC Henceforth, the eigenproblem (106) is interpreted with this redefined B as the right- hand side matrix, and λ (μ) is interpreted as the associated smallest eigenvalue. In the min presence of RB error contributions, (107) now becomes NC T NC −1 NC R (μ) (B ) R (μ) ≥ E(μ) A(μ)E(μ). (115) λ (μ) min To bound the error in the Schur energy, we must thus, based on residual and eigenvalue approximations, develop upper and lower bounds for the numerator and denominator, respectively, of the left-hand side of (115). NC We first consider the approximation to the non-conforming residual R (μ).Aswe NC NC do not have access to F (μ) and A (μ) as defined in (97) and (98), but rather to RB- NC NC NC NC ˜ ˜ approximated versions F (μ) ≈ F (μ) and A (μ) ≈ A (μ),weintroduce our NC NC NC NC ˜ ˜ approximation based on F (μ) ≈ F (μ) and A (μ) ≈ A (μ) as NC NC NC PR,NC ˜ ˜ ˜ ˆ R (μ) = F (μ) − A (μ)U (μ) (116) NC NC NC such that R (μ) = R (μ) + δR (μ). Here, NC NC NC NC NC PR,NC ˜ ˜ ˆ δR (μ) = F (μ) − F (μ) + (A (μ) − A (μ))U (μ) (117) is an RB-error-induced perturbation term. We may readily from standard RB error bounds [5,6] develop bounds on these perturbation quantities; we introduce a vector σ (μ) such that, for any μ ∈ D, NC σ (μ) ≥|δR (μ)|,1 ≤ i ≤ n . (118) i NC We next consider the approximation to the eigenvalue λ (μ).Again,aswedonot in min NC practice have access to A (μ), and furthermore as we wish to avoid solution of a full PR eigenproblem of dimension n , we consider an approximation λ (μ) to λ (μ) given NC min min as the smallest eigenvalue associated with the port-reduced SCRBE eigenproblem PR PR PR ˜ ˜ A (μ)V(μ) = λ (μ)B V(μ); (119) PR NC here, B denotes the block of B associated with “Active” degrees of freedom. We μ μ PR PR denote by V (μ) the eigenvector associated with λ (μ), and we assume the nor- min min PR T PR PR malization V (μ) B V (μ) = 1. We also introduce an approximate eigenproblem min μ min residual NC NC PR PR NC PR ˜ ˜ ˆ ˆ R (μ) = A (μ)V (μ) − λ (μ)B V (μ), (120) eig min min μ min PR PR n n ˆ NC A in which V (μ) ∈ R is a zero-expanded version of V (μ) ∈ R . Note that the min min NC NC PR PR NC PR ˆ ˜ ˆ exact eigenproblem residual is given as R (μ) = A V (μ) − λ (μ)B V (μ), eig min min μ min NC and we may thus define a vector of RB perturbation terms δR (μ) such that eig NC NC NC R (μ) = R (μ) + δR (μ). We may then develop bounds on these RB-error- eig eig eig induced perturbation quantities — we introduce a vector σ (μ) such that, for any eig μ ∈ D, NC σ (μ) ≥|δR (μ)|,1 ≤ i ≤ n . (121) eig,i NC eig,i We now obtain a computable eigenvalue lower bound in 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 26 of 49 http://www.amses-journal.com/content/1/1/3 Lemma 1. Let C > 0 be such that NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) , (122) eig μ eig eig 2 assume that PR PR |λ (μ) − λ (μ)|≤|λ (μ) − λ(μ)|, (123) min min min NC for all λ(μ) which satisfy (106) (with the redefined B ), and let PR λ (μ; C) ≡ λ (μ) min,LB min NC NC NC 2 T NC −1 T NC −1 ˜ ˜ ˜ − R (μ) (B ) R (μ) + 2σ (μ) |(B ) R (μ)|+ Cσ (μ) . eig eig eig μ eig μ eig 2 (124) Then λ (μ; C) ≤ λ (μ). (125) min,LB min Proof. We refer to ([12], Proposition 1) for the proof, and we note that a similar residual- based eigenvalue bound has been developed in [18] for the standard eigenproblem. With the residual approximation R(μ), associated RB error bounds σ (μ),and theeigen- value lower bound λ (μ; C) above, we may now obtain a computable bound for the min,LB left-hand side of (115) and thus the error in the Schur energy norm in Proposition 1. Let C > 0 be a computable constant such that NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) , (126) μ 2 NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) . (127) eig μ eig eig 2 Then define NC T NC −1 NC T NC −1 NC ˜ ˜ ˜ R (μ) (B ) R (μ) + 2σ (μ) |(B ) R (μ)|+ Cσ (μ) μ μ (μ; C) ≡ . λ (μ; C) min,LB (128) Then if the assumption (123) holds, we have E(μ) A(μ)E(μ) ≤  (μ; C). (129) Proof. We merely note here that the numerator in (128) is an upper bound for the numerator in (115), and that λ (μ; C) ≤ λ (μ) is a lower bound for the denomina- min,LB min tor in (115). We refer to ([12], Appendix A) for the detailed proof. We proceed to bound the energy of the error in the field. Since e (μ) is not a member of S (), a small modification to (128) is necessary to obtain a bound for e (μ) . symm μ To this end, we introduce additional RB perturbation terms f ;h f b (μ) ≡ b (μ) − b (μ) (130) i i i=1 n A,p ˜ ˜ (μ) ≡ U (μ) (μ) − (μ) ; (131) A A,p,k p,k p,k p=1 k=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 27 of 49 http://www.amses-journal.com/content/1/1/3 we also introduce an RB error bound [6] κ(μ) such that, for any μ ∈ D, κ(μ) ≥b (μ) +  (μ) . (132) We then introduce our bound for the energy of the error field in Proposition 2. Define  (μ; C) as U 2 (μ; C) ≡  (μ; C) + κ(μ) . (133) where κ(μ) is given in (132). Then if the assumption (123) holds, we have h u e (μ) ≤  (μ; C). (134) Proof. We refer to ([12], Appendix A) for the proof. Next, we develop a bound for the error in port-restricted compliance outputs. To this n ×n A A end we introduce a matrix σ (μ) ∈ R such that σ (μ) ≥|A (μ) − A (μ)|,1 ≤ i, j ≤ n . (135) A,i,j i,j i,j A We then state Proposition 3. Let s U PR T PR ˜ ˜ (μ; C) ≡  (μ; C) +|U (μ)| σ (μ)|U (μ)| (136) (in which |·| denotes entry-wise absolute value and not vector modulus). Assume that f ;h thesourcef (·; μ) is restricted to ports such that b (μ ) = 0, 1 ≤ i ≤ I. The error in a PR PR port-restricted compliance output s ˜ (μ) = f (u ˜ (μ); μ) canthenbebounded as h PR s |s (μ) −˜s (μ)|≤  (μ; C) (137) PR Proof. We provide here a full proof as in the present paper (skeleton space S ())the proof is different from a related proof in [12] (skeleton space S ()). symm We first note that n p h f e (μ) = b (μ) +  (μ) + E (μ) (μ); (138) A p,k p,k p=1 k=1 note in the port-restricted output case considered here, b (μ) = 0. For the compliance output error, we may then write (using symmetry of a(·, ·; μ)) h PR h h s (μ) −˜s (μ) = a(u (μ), e (μ); μ) h h h h h PR = a(e (μ), u (μ); μ) = a(e (μ), e (μ); μ) + a(e (μ), u ˜ (μ); μ), (139) and thus by (138) (and again symmetry of a(·, ·; μ)) h PR T s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + a( (μ),  (μ); μ) A A n p h PR + 2 a( (μ),  (μ); μ) + a(e (μ), u ˜ (μ); μ). (140) p,k A p=1 k=1 h PR PR We note that e (μ) is not Galerkin-orthogonal to u ˜ (μ) because u ˜ (μ) (even in the f ;h PR case b (μ ) = 0) is not a member of the skeleton test space S ().Wethusdonot i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 28 of 49 http://www.amses-journal.com/content/1/1/3 obtain equality between the compliance output error and the squared energy of the error field in (139). This is the key difference between the compliance output error bound result PR PR ˜ ˜ here and in [12]; in [12], we invoke the skeleton space S () ⊂ S () (the latter is symm PR defined in (51)) of which u ˜ (μ) is a member (for port-restricted compliance such that b (μ) = 0), and thus we directly obtain this equality. We next note that  (μ)| vanish on all ports and thus is a member of the FE bubble space associated with instantiated component i. From the Galerkin orthogonality (19) we then conclude that the third term on the right-hand side of (140) is equal to zero, and we obtain h PR T h PR s (μ)−˜s (μ) = E(μ) A(μ)E(μ) +a( (μ),  (μ); μ) +a(e (μ), u ˜ (μ); μ) (141) A A We now consider the two right-most terms on the right-hand side of (141) (we omit the μ-dependence for simplicity of exposition). We first obtain h PR a( ,  ) + a(e , u ˜ ) A A n  n A,p A,p n n PR PR ˜ ˜ ˜ ˜ = U U a( − , − ) p,k p,k p ,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n  n n A,p n A,p PR PR ˜ ˜ ˜ ˜ + U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n p n A,p PR + E U a( , ), (142) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 h f by the expression for e (μ) in (138) (for b (μ) = 0) and the definition of  (μ) in (131). For the first two terms on the right-hand side of (142) we obtain n  n n A,p n A,p PR PR ˜ ˜ ˜ ˜ U U a( − , − ) p,k p,k p ,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n n n A,p n A,p PR PR ˜ ˜ ˜ ˜ + U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n n n A,p n A,p PR PR ˜ ˜ ˜ = U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n  n A,p A,p n n PR PR ˜ ˜ ˜ = U U a( , − ) = 0, (143) p ,k p,k p,k p,k p ,k p=1 k=1 p =1 k =1 where in the second step we invoke symmetry of a(·, ·; μ) and in the final step the Galerkin orthogonality (19). For the last term on the right-hand side of (142) we obain n p n A,p PR E U a( , ) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 p A,p n n PR T PR ˜ ˆ = E U a( , ) = E AU , (144) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 29 of 49 http://www.amses-journal.com/content/1/1/3 where we again exploit Galerkin orthogonality with respect to (μ) − (μ). p ,k p ,k PR PR ˆ ˆ We note that A(μ)E(μ) = A(μ)(U(μ) − U (μ)) = F(μ) − A(μ)U (μ). With (141), (142), (143), and (144) (and symmetry of A(μ))wethenobtain h PR T T PR s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + E(μ) A(μ)U (μ) T PR PR ˆ ˆ = E(μ) A(μ)E(μ) + F(μ) − A(μ)U (μ) U (μ). (145) f ;h f In the case of a port-restricted compliance, we have b (μ ) = b (μ ) = 0and i i i i ˜ ˜ thus also F(μ) = F(μ). It is furthermore straightforward to show that (F(μ) − PR T PR PR ˜ ˆ ˆ ˜ A(μ)U (μ)) U (μ) = 0 because the port-reduced SCRBE solution vector U (μ) PR (that is, the non-zero coefficients of U (μ)) satisfies (64) exactly. We thus obtain in this case T T PR PR PR PR ˆ ˆ ˜ ˆ ˆ F(μ) − A(μ)U (μ) U (μ) = F(μ) − A(μ)U (μ) U (μ) PR PR ˜ ˜ ˆ ˜ ˆ = F(μ) − A(μ)U (μ) + A(μ)U (μ) PR PR ˆ ˆ − A(μ)U (μ) U (μ) PR PR ˜ ˆ ˆ = A(μ) − A(μ) U (μ) U (μ). (146) From (145) and (146) (and symmetry of A(μ) and A(μ)) we then conclude that h PR T PR T PR ˆ ˜ ˆ s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + U (μ) A(μ) − A(μ) U (μ), (147) which, with the triangle inequality and (135), yields the desired result. We do not in the present paper consider bounds on more general outputs. We reiterate that Lemma 1, Proposition 1, Proposition 2, and Proposition 3 all pro- vide rigorous bounds under the eigenvalue proximity assumption given in (123). These bounds necessitate computation of a bound C for Rayleigh quotients associated with NC −1 NC NC (B ) , for which we may choose C = 1/λ (B ),where λ (B ) is the smallest min min μ μ μ NC eigenvalue associated with B . Unfortunately, this choice for C is typically a rather pes- h NC simistic Rayleigh quotient bound, and furthermore calculation of λ (B ) requires min considerable (albeit, as discussed in the next section, not onerous) computational cost. However, we note that the terms which multiply C in (124) and (128), as well as the term κ(μ) in (133), are quadratic in RB error bound contributions and thus presumably small compared to the terms that are linear in RB error bound contributions. We thus introduce asymptotically rigorous error estimators, in which we choose to neglect these terms: we set C = 0 in (124) and (128) to obtain a Schur energy error estimator  (μ;0); we then obtain an estimator for the energy of the error field as u;0 U (μ) ≡  (μ;0), (148) in which we also neglect the term κ(μ) in (133); and finally we obtain an estimator for the port-restricted compliance output error as s;0 s (μ) ≡  (μ;0). (149) In actual practice, RB errors are typically rather small, and we shall thus for our large- scale numerical results in this paper employ the error estimators (148) and (149). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 30 of 49 http://www.amses-journal.com/content/1/1/3 Computational procedures The main computational costs associated with our a posteriori error estimation frame- NC NC −1 NC −1 NC ˜ ˜ work derive from the two non-conforming solves (B ) R (μ) and (B ) R (μ) μ eig μ required in (124) and in the numerator of (128), respectively, and from the calculation of PR the smallest eigenvalue λ (μ) of (119). We now discuss the former in more detail; for min the latter we employ an implementation of a Krylov-Schur (inverted spectrum) iterative solver from the SLEPc library [19]. For our discussion here it is convenient to first introduce a particular interpretation of the non-port-reduced SCRBE system matrix and right-hand side as ˜ ˜ ˜ A (μ) A (μ) F (μ) A,A A,I A ˜ ˜ A(μ) = , F(μ) = . (150) ˜ ˜ ˜ A (μ) A (μ) F (μ) I,A I,I I PR ˜ ˜ Here, the matrix block A (μ) = A (μ) is the“Active”matrixblock whichweinvoke A,A ˜ ˜ for our port-reduced SCRBE approximation, the blocks A (μ) and A (μ) correspond I,A I,A to couplings between the “Active” and “Inactive” degrees of freedom, and the block A (μ) I,I is associated only with “Inactive” degrees of freedom. Note that the interpretation (150) simply corresponds to a particular ordering of (54). In the particular case of only two instantiated components, the system matrix A(μ) may be written as 1 2 1 2 ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) + A (μ ) 1 2 1 2 A,A A,A A,I A,I A(μ) = , (151) 1 2 1 2 ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) + A (μ ) 1 2 1 2 I,I I,I I,A I,A where each submatrix A (μ) is a matrix block associated with instantiated component ∗,∗ NC i, i = 1, 2. The non-conforming matrix A (μ) for this two-component system is then ⎡ ⎤ 1 2 1 2 ˜ ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) A (μ ) 1 2 1 2 A,A A,A A,I A,I ⎢ ⎥ NC 1 1 ˜ ˜ ˜ A (μ) = A (μ ) A (μ ) 0 . (152) ⎣ ⎦ 1 1 I,I I,A 2 2 ˜ ˜ A (μ ) 0 A (μ ) 2 2 I,I I,A Note that the difference between (151) and (152) is that the latter does not couple “Inactive” port degrees of freedom. NC For the computation of the residual approximation R (μ) in (116) we note that ⎡ ⎤ R (μ) ⎢ ⎥ NC ˜ ˜ R (μ) = R (μ) ⎣ ⎦ R (μ) ⎡ ⎤ ⎡ ⎤ ⎡ ⎤ 1 2 PR ˜ ˜ ˜ ˜ ˜ F (μ) A (μ) A (μ ) A (μ ) U (μ) A A,A 1 2 A,I A,I ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ 1 1 1 ˜ ˜ ˜ = − ⎣ F (μ ) ⎦ ⎣ A (μ ) A (μ ) 0 ⎦ ⎣ 0 ⎦ 1 1 1 I I,A I,I 2 2 2 ˜ ˜ ˜ F (μ ) A (μ ) 0 A (μ ) 0 2 2 2 I I,A I,I ⎡ ⎤ ⎡ ⎤ PR ˜ ˜ ˜ F (μ) − A (μ)U (μ) 0 A A,A ⎢ ⎥ ⎢ ⎥ 1 1 PR 1 1 PR,1 ˜ ˜ ˜ ˜ ˜ ˜ = F (μ ) − A (μ )U (μ) = F (μ ) − A (μ )U (μ) , ⎣ 1 1 ⎦ ⎣ 1 1 ⎦ I I,A I I,A 2 2 2 2 PR PR,2 ˜ ˜ ˜ ˜ ˜ ˜ F (μ ) − A (μ )U (μ) F (μ ) − A (μ )U (μ) 2 2 2 2 I I,A I I,A (153) PR,i PR ˜ ˜ where U (μ) is extracted from U (μ) for the degrees of freedom associated with component i. Note that the first n entries in the residual vector are zero, and that we may obtain the local residuals R (μ) by component-local evaluation. The eigenproblem NC residual approximation R (μ) admits a similar procedure. eig 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 31 of 49 http://www.amses-journal.com/content/1/1/3 NC NC We now consider the system B z(μ) = R (μ), which we may write as ⎡ ⎤ ⎡ ⎤ ⎡ ⎤ 1 2 1 2 B + B B B z (μ) R (μ) A A A,A A,A A,I A,I ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ 1 1 1 1 B B 0 z (μ) = R (μ) , (154) ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ I,A I,I I I 2 2 2 2 B 0 B z (μ) R (μ) I,A I,I I I and we note that 1 2 1 1 −1 1 2 2 −1 2 B + B − B (B ) B −B (B ) B z (μ) A,A A,A A,I I,I I,A A,I I,I I,A 1 1 −1 1 2 2 −1 2 ˜ ˜ ˜ = R (μ) − B (B ) R (μ) − B (B ) R (μ). A,I I,I I A,I I,I I (155) We may thus obtain z(μ) by consideration of a second Schur complement: we first solve smaller local problems associated with each of the two components, and then a global problem of size n for z (μ); we finally recover z(μ) by standard back-substitution as A A i i −1 i i z (μ) = (B ) (R (μ) − B z (μ)). The extension of this procedure to a system with an I I,I I I,A arbitrary number of components and ports is straightforward. An important innovation of this paper for our error bound framework is a multi- reference parameter bound conditioner. In fact, the system reference parameter value μ shall be chosen online, based on a database of component-local reference parame- ref ter values μ ˆ ,1 ≤ t ≤ n ,1 ≤ m ≤ M. The component-local reference matrices m,ref m,ref B in (154) and (155) are thus chosen online from a database of n precomputed m,ref ∗,∗ m,t t ˆ ˆ component-local matrices B associated with the parameter values μ ˆ ∈ D . For our ∗,∗ m,ref numerical results of this paper, we choose the component reference parameters to mini- mize the Euclidean distance between μ and μ. This multi-reference parameter bound ref conditioner procedure significantly sharpens our error bound through a closer-to-unity PR smallest eigenvalue λ (μ) (and associated eigenvalue bound) at only minor additional min computational cost (note a related approach is considered in [14] in a different context). The computational efficacy of our error bound framework is thus realized largely NC through the quasi parameter-independent and non-conforming operator B .Asfor the SCRBE approximation framework, the computational procedures associated with the error bound framework naturally decouple into offline and online stages. We consider these stages as extensions of the offline and online approximation computational stages discussed earlier, and we now discuss each in more detail (we again refer to [12] for detailed online operation counts). Offline Off5. Online dataset preparation. For each archetype component we construct data to enable efficient assembly of the matrix blocks A (μ) required for residual I,A calculation in (153) (the matrix blocks A (μ) are also required for residual A,A calculation; however the associated data is already constructed in Off3). Note that i i ˜ ˜ the blocks A (μ) and, more importantly, the blocks A (μ),are not required for A,I I,I residual calculation. Hence the cost of this stage scales quadratically in n but only linearly in n . Off6. Bound conditioner preparation. For each archetype component m, 1 ≤ m ≤ M, we choose (manually) n (typically only a few) reference parameter values m,ref m,t m,t ˆ ˆ μ ˆ and compute associated bound conditioner reference matrices B , B , m,ref I,I AA m,t and B , 1 ≤ t ≤ n . m,ref A,I 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 32 of 49 http://www.amses-journal.com/content/1/1/3 m,t We also perform and store the Cholesky factorization of each of the B ,and we I,I m,t m,t −1 m,t ˆ ˆ ˆ precompute the terms B (B ) B required for assembly of the left-hand A,I I,I) I,A side of (155). Off7. Data loading. We finally read the online datasets and error bound conditioner data (typically a few Gb combined) for all library components into computer memory to prepare for the online stage. Online On4. Port-reduced eigenproblem. We compute the smallest eigenvalue and associated eigenvector associated with (119) using a Krylov-Schur algorithm [19]. On5. Matrix and vector block assembly. Assemble component matrix and vector i i ˜ ˜ blocks A (μ) and vectors F (μ) for each unique component instantiation; note I,A I that the “Active” component matrix and vector blocks A (μ) are already A,A assembled in On2. As in On2, we exploit “cloned” component instantiations to effectively reduce the number of component instantiations to I  I. eff PR ˆ ˜ On6. Residual calculation. Given the solution vector U(μ), the eigenvalue λ (μ),and min PR the associated (normalized and zero-expanded) eigenvector V (μ),we min NC NC ˜ ˜ calculate R (μ) and R (μ) locally on each component. eig On7. Non-conforming solves. We first choose the reference parameter value μ t t 1 I μ = (μ ˆ , ... , μ ˆ ) (156) ref M(1),ref M(I),ref (where 1 ≤ t ≤ n ) from the database of candidate component reference i M(i),ref parameter values such that the Euclidean distance between each μ and μ ˆ M(i),ref NC −1 NC NC −1 NC is minimized. We then compute (B ) R (μ) and (B ) R (μ) through μ μ eig component-local elimination of “Inactive” degrees of freedom as indicated in (155). Note that this step is particularly efficient thanks to the preparation in Off6. NC On8. Calculation of λ (B ). In the case that we wish to employ a rigorous error min NC bound (we choose C = 1/λ (B ) rather than C = 0), we must also compute min NC NC λ (B ). Note that we may compute λ (B ) rather efficiently through min min μ μ (typically) a few inverse power iterations, and hence only a few additional NC non-conforming solves. This procedure is applicable for λ (B ) but not for min NC λ (A (μ)) because the latter would have required expensive online formation min of the A (μ) component-local matrix blocks. I,I The computational cost associated with this online stage is typically dominated by On4 and On7. However for systems in which almost all components are unique — that is, I eff close to I — the cost of matrix assembly in On5 is considerable. In any event, the error estimation online computational cost discussed here is typically larger than the approxi- mation online computational cost discussed earlier (we report actual timings in the next section). Microtruss beam application We consider here application of our port-reduced SCRBE framework to structural anal- ysis of a microtruss beam. The particular beam we consider is in practice manufactured from microcylinders that are welded together in a three-dimensional square array con- figuration to form a larger but light-weight truss structure; see Figure 3. Many examples side ports (zero stress) top ports (traction) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 33 of 49 http://www.amses-journal.com/content/1/1/3 Figure 3 Microtruss structure. The system has I = 408 instantiated components, 224 of which are of type component 1 and 184 of which are of type component 2. of microtruss structures exist in literature and in engineering, and our choice here is only one of numerous possibilities. We refer to [20-22] for analyses and manufacturing considerations for such structures, including the particular type we consider here. The microtruss structure is a good fit for our methodology. First, the structure admits a very natural decomposition into components, and the macroscale beam is comprised of many identical or similar instantiations of the same component archetypes; thus typically we may obtain I  I which implies particularly effective treatment by the port-reduced eff SCRBE. Second, the behavior of the macroscale beam as a function of component param- eters and system topology is non-trivial, and furthermore the solution may exhibit large localized stresses within the components; hence the fidelity of a full FE discretization — provided by the port-reduced SCRBE framework at a fraction of the cost — is desired. Third, it is often of interest to assess performance in off-design conditions in particular in the presence of inevitable flaws, in which not just natural periodicity but departures from periodicity — well within the capabilities of the SCRBE — are important. Archetype component library Before we introduce our components, we consider the non-dimensionalization of the equations of isotropic linear elasticity for a “generic” archetype (and thus entities below bear ˆs). To this end we first define the non-dimensional tensor C as ν 1 C ≡ δ δ + (δ δ + δ δ ),1 ≤ i, j, k, l ≤ 3, (157) ijkl ij kl ik jl il jk (1 + ν)(1 − 2ν) 2(1 + ν) in which ν is the Poisson ratio (we choose ν = 0.3 for steel); the dimensional elasticity dim dim ˆ ˆ ˆ tensor is then given as the product E C ,where E is the Young’s modulus. The ijkl dim dim dim associated stress tensor σ ˆ (u ˆ ), given the dimensional displacement u ˆ ,isdefined dim dim dim dim dim ˆ ˆ as σ ˆ (u ˆ ) = E C ∂u ˆ /∂x ˆ . ijkl ij k l We shall consider either homogeneous Dirichlet boundary conditions, or (port) trac- tions. In the latter case the boundary conditions are enforced through the stress tensor bottom ports (zero displacement) side ports (zero stress) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 34 of 49 http://www.amses-journal.com/content/1/1/3 tr;dim dim dim dim as σ ˆ e ˆ = κ ˆ (e ˆ denotes the canonical vectors) for a specified traction vector ij j i j tr;dim κ ˆ . To derive non-dimensional equations we introduce the dimensionless variables x ˆ = tr tr;dim dim dim,0 dim dim,0 dim dim,0 dim dim,0 dim,0 ˆ ˆ ˆ ˆ ˆ ˆ ˆ x ˆ /L , u ˆ =ˆu /L , E = E /E , σ ˆ =ˆ σ /E ,and κ ˆ = κ ˆ /E , dim,0 dim,0 where L is a characteristic length, and E is a characteristic Young’s modulus. The tr non-dimensional traction boundary conditions then become σ n = κ . Below, all our ij j equations take a non-dimensional form. We now introduce our (non-dimensional) archetype component library, which consists of the two three-dimensional isotropic linear-elastic components illustrated in Figure 4; dim,0 note L in Figure 4 is the characteristic length used in our non-dimensionalization. The first archetype, component 1, is a “Steinmetz cylinder,” and has four circular ports: the left and right ports are of type port 1 and the top and bottom ports are of type port 2. For both port types, the reference port space dimension is N = 219 (73 mesh nodes). The FE discretization for component 1 has N = 115,443 degrees of free- dom in linear hexahedral elements. Note in Figure 4 that the mesh is significantly refined where the weld stub meets the cylinder base in order to resolve potentially high stress concentrations in this area. The archetype parameter vector for this component is tr μ ˆ = (E , κ ˆ ), (158) 1 1 1,top dim,0 tr dim ˆ ˆ ˆ where E = E /E is a Young’s modulus scaling parameter and κ ˆ is a directional 1,top 1 1 traction applied on the top port. The archetype bilinear and linear forms associated with component 1 are, for all w ˆ , v ˆ ∈ X ,given as i k ∂w ˆ ∂v ˆ ˆ ˆ a ˆ (w ˆ , v ˆ; μ ˆ ) = E C , (159) 1 1 1 ijkl ˆ ∂x ˆ ∂x ˆ j l tr i f (v ˆ; μ ˆ ) = κ ˆ v ˆ , (160) 1 1 1,top,i γˆ 1,top where γˆ denotes the boundary associated with the top port. For the bound condi- 1,top tioner reference matrix blocks we consider a single reference parameter value μ ˆ = 1,ref E = 1(thus n = 1). 1,ref 1,ref Figure 4 The (dimensional) archetype components for the microtruss library: component 1 (left) dim dim and component 2 (right). The port radius for port 1 and port 2 is r = 0.7405L and dim dim r = 0.55L , respectively. 2 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 35 of 49 http://www.amses-journal.com/content/1/1/3 ˆ ˆ We note that Q = 1; the Young’s modulus parameter E is “free” in the sense that it enters outside the integral of (19). As a result, we may consider any value of E with only a single RB basis function in each of the RB approximation spaces. For f we note that f f ;h ˆ ˆ ˆ Q = 3; however, as f is port-restricted, we obtain b = 0. 1 1 We also note that a ˆ in (159) does not reflect the rigid-body mapping parameters required to “dock” instantiations of component 1 to the correct position in the sys- tem frame. To demonstrate this property more explicitly we consider the mapping T = rot def def T T , in which, for component 1, T is pure translation; we introduce an asso- 1 1 1 3×3 3 ciated rotation matrix Q ∈ R and a translation vector T ∈ R . For any coordinate x ˆ ∈  ,wethushave x = Q (x ˆ + T) ,1 ≤ i ≤ 3, where x = (x , x , x ) ∈  and  is 1 i ij j 1 3 3 1 1 the instantiated component domain; note that the Jacobian of the mapping, Q,isunitary and thus detQ = 1. On  , the instantiated component bilinear form reads, for any w, v ∈ X , 1 1 i k ∂w ∂v a (w, v; μ) = E C d ,1 ≤ i, j, k, l ≤ 3. (161) 1 1 ijkl 1 ∂x ∂x j l Here, C is the elasticity tensor on the instantiated domain (i.e., in the system coordinates) such that [23] C = Q Q Q Q C (162) ijkl ii jj kk ll i j k l for C defined in (157). We recall from the Section “Component-based static condensa- rot tion” that we apply T to the dependent variables, and thus for any function v ∈ X we i j 1 2 3 write v = Q v ˆ ,where v ˆ = (v ˆ , v ˆ , v ˆ ) ∈ X . Starting from (161), we obtain in this case, ij 1 for w, v ∈ X , i k ∂w ∂v −1 −1 a (w, v; μ ) = E Q C Q (detQ) d (163) 1 1 1 ij kl jj ll ∂x ˆ ∂x ˆ j l i k ∂w ˆ ∂v ˆ −1 −1 = E Q Q C Q Q d (164) 1 i i i j k l k k jj ll ˆ ∂x ˆ ∂x ˆ j l i k ∂w ˆ ∂v ˆ −1 −1 ˆ ˆ = E Q Q Q Q Q Q C Q Q d i i i i j j k k l l i j k l k k jj ll ˆ ∂x ˆ ∂x ˆ (165) i k ∂w ˆ ∂v ˆ −1 −1 ˆ ˆ = E (Q Q )(Q Q )(Q Q )(Q Q )C d i i i i j j k k k k l l i j k l jj ll ˆ ∂x ˆ ∂x ˆ (166) i k ∂w ˆ ∂v ˆ T −1 T −1 ˆ ˆ = E (Q Q) (Q Q) (Q Q) (Q Q) C d ii jj kk ll i j k l ˆ ∂x ˆ ∂x ˆ j l (167) i k ∂w ˆ ∂v ˆ ˆ ˆ = E C d (168) 1 ijkl ˆ ∂x ˆ ∂x ˆ j l =ˆa (w ˆ , v ˆ; μ ). (169) 1 1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 36 of 49 http://www.amses-journal.com/content/1/1/3 The key point in (163)–(169) is that the representation of the instantiated bilinear form in archetype coordinates does not require parameters related to the rotation Jacobian Q due to the cancellations in (167) and the fact that detQ = 1. For our RB approximations we employ the archetype domain for all computations and thus the RB spaces do not need to take these “docking” parameters into account. Furthermore the matrix and vector blocks for component instantiations that differ only in spatial orientation are identical, which thus contributes to the realization of I  I in an instantiated system. eff We next consider our second archetype, component 2, which is a short cylinder stub. It hastwo portsoftype port 1 and may thus connect to the left and right ports of component 1. The reference port space dimension is again N = 219. The FE dis- cretization for component 2 has N = 3,504 degrees of freedom in linear hexahedral elements. The parameter vector for this component is tr tr ˆ ˆ μ ˆ = (E , L , κ ˆ , κ ˆ ), (170) 2 2 2 2,left 2,right dim,0 dim dim dim,0 ˆ ˆ ˆ ˆ ˆ ˆ where E = E /E is a Young’s modulus scaling parameter, L = L /L ∈ 2 2 2 2 2 tr tr [ 0.5, 2] is a length scaling parameter, and κ ˆ and κ ˆ are directional traction applied 2,left 2,right on the left and right ports, respectively. The archetype bilinear and linear forms associated ˆ ˆ ˆ ˆ with component 2 are, for all w, v ∈ X ( ),given as 2 2 i k i k ∂w ˆ ∂v ˆ ∂w ˆ ∂v ˆ ˆ ˆ ˆ a ˆ (w ˆ , v ˆ; μ ˆ ) = E C + C 2 2 2 ijk3 i3kl ˆ ∂x ˆ ∂x ˆ ˆ ∂x ˆ ∂x ˆ j 3  3 l 2 2 i k i k E ∂w ˆ ∂v ˆ ∂w ˆ ∂v ˆ ˆ ˆ ˆ ˆ + C + E L C , (171) i3k3 2 2 ijkl ˆ ˆ ∂x ˆ ∂x ˆ ˆ ∂x ˆ ∂x ˆ 3 3  j l 2 2 2 tr tr i i f (v ˆ; μ ˆ ) = κ ˆ v ˆ + κ ˆ v ˆ , (172) 2 2 2,left,i 2,right,i γˆ γˆ 2,left 2,right where, in (171), j and l take only the values 1, 2, and where, in (172) γˆ and γˆ are 2,left 2,right the boundaries associated with the left and right port, respectively. We note that Q = 3 and that Q = 6. Note that the bilinear form depends on the dilation parameter L ,but not on spatial orientation of the component; we may show this by reverse application of the arguments in (163)–(169) to each of three terms in (171). For the bound conditioner refer- 1 1 1 ˆ ˆ ence matrix blocks we consider three parameter values μ ˆ = (E , L ) = (1, 0.75), 2,ref 2,ref 2,ref 2 2 2 3 3 3 ˆ ˆ ˆ ˆ μ ˆ = (E , L ) = (1, 1),and μ ˆ = (E , L ) = (1, 1.5) (thus n = 3). 2,ref 2,ref 2,ref 2,ref 2,ref 2,ref 2,ref Pairwise empirical port mode training We now discuss the pairwise empirical port mode training for our library com- ponents. For the port 1 type we consider the three component pairs shown in Figure 5 Component pairs used for empirical training of port 1. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 37 of 49 http://www.amses-journal.com/content/1/1/3 Figure 5: a pair with two instantiations of component 2, a pair with one instan- tiation of component 1 and one instantiation of component 2,and apairwith two instantiations of component 1 connected via side ports (port 1). For the port 2 type we consider the single pair of instantiations of component 1 con- nected via a port 2 type port as shown in Figure 6; note that when we consider a large microtruss structure we shall always “weld” our cylinders in this particular cross configuration. We then execute Algorithm 1 for each pair; for the boundary condition regularity parameter in Algorithm 1 we choose γ = 3. For the training of port 1 we extract N = 150 different port samples in S from each of the three pairs; recall that samples pair we subtract the projection onto the six modes χ ˆ ,1 ≤ i ≤ 6, related to rigid-body motion from all snapshots. We then combine all 450 modes in S ,and performaPOD type over these 450 modes to compress the data to n = 44 POD modes. We then obtain pod n + 6 = 50 empirical modes, which we complement by N − 50 = 169 eigen- pod modes (restricted to the orthogonal complement space) to complete the discrete space (noteinpracticeweshall always uselessthan50modes forthe port-reduced SCRBE approximation). The approach for the training of port 2 is identical except we perform POD over N = 300 different port samples (with the projections onto the rigid samples body modes subtracted) extracted from the single component pair. We choose the same number of POD modes (n = 44) and thus empirical modes for this port POD type. We shall use these empirical port modes for most of our numerical results below. How- ever we shall also compare these results to results obtained using more standard (and in Figure 6 Component pairs used for empirical training of port 2. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 38 of 49 http://www.amses-journal.com/content/1/1/3 particular non-empirical) “Legendre” port eigenmodes. In this latter case, the reference port modes χ ˆ are given as β β β β β β χ ˆ = (L ,0,0), χ ˆ = (0, L ,0), χ ˆ =(0, 0, L ), 1 1 2 1 3 1 β β β β β β χ ˆ = (L ,0,0), χ ˆ = (0, L ,0), χ ˆ = (0, 0, L ), ... 4 2 5 2 6 2 (173) where the L ,1 ≤ i ≤ N /3, are the eigenvectors of a scalar singular Sturm-Liouville eigenproblem over β ordered according to increasing eigenvalue. Numerical results We now present numerical results for our three-dimensional linear-elastic microtruss library to demonstrate our port-reduced SCRBE approximation and error estimation framework. Our implementation is in C++ and is based on the library libMesh [24,25]. In our current implementation offline calculations are performed in parallel, while online calculations are limited to a single core. The offline computation time for our microtruss library is about five hours using up to 24-cores on an AMD Opteron 6238 workstation computer. In offline stages Off4 and Off7 we load all required data into memory to prepare for the online stage. An (upper bound for) the online memory footprint for this library is 1.5Gb. Cylindrical cantilever beam We shall first consider a cylindrical cantilever beam system, for which we may compare our compliance output results to standard (Euler-Bernoulli) beam theory [26]. Hence this system provides an opportunity to confirm both the validity of the SCRBE framework — in terms both of approximation and certification — as well as the fidelity of the underlying FE “truth” component discretization. Ourcantileversystemisoftotal length l = 8L and consists of I = 8 instantiations of component 2 of individual length L = L,1 ≤ i ≤ I; we consider E = 1, 1 ≤ i i i ≤ I,and thus here I = 1. We prescribe zero Dirichlet conditions on the left-most eff port of the system and we apply a unity-magnitude tangential traction on the right-most port as shown in Figure 7; the deformations in Figure 7 show the displacement field, and the colors indicate the Von Mises stresses with higher stresses in red. The output for this system is the average displacement over the right-most port in the direction of the Figure 7 Side view of cantilever beam system consisting of I = 8 instantiations of component 2. Each component is of length L (in the figure L = 1.9), and the system is subject to a unity tangential traction tr κ on the right-most port. The colors indicate Von Mises stresses with high magnitudes in red. right 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 39 of 49 http://www.amses-journal.com/content/1/1/3 specified traction and is thus equal to compliance normalized by port area. We use n = A,p 20 empirical port modes on all global ports  ,1 ≤ p ≤ n . We report in the second, third, and fourth columns of Table 1 the port-reduced SCRBE PR PR compliance output approximation s ˜ (μ), the relative error in s ˜ (μ) with respect to the FE “truth”complianceoutput s (μ), and the effectivity of the compliance output estima- s;0 tor,  (μ), respectively. We note that the error in the output approximation is very small, and that the error estimator is relatively sharp; note that for large values of L the term PR T PR ˜ ˜ |U (μ)| σ (μ)|U (μ)| dominates in (136) and causes the effectivity to increase some- what. We emphasize that our error estimator is for all these cases indeed an error upper bound: the effectivities are greater than unity. We report in the fourth and fifth columns of Table 1 the theoretical maximum deflec- EB j tion s (μ) as predicted by classical Euler-Bernoulli beam theory, and the relative PR EB difference between s ˜ (μ) and s (μ). The theoretical predictions match the computa- tional results reasonably well, and in particular become increasingly accurate for larger L (the analytical results are valid in the limit of a long cantilever). Furthermore the dis- crepancy is for larger L sufficiently small that we deem our component FE discretization sufficiently rich. Next, we consider the behavior of our port-reduced SCRBE compliance output approx- imation and associated error estimator as functions of n empirical port modes for A,p a fixed length parameter L = 1.3. In Figure 8 we report the relative compliance error h PR PR s;0 PR |s (μ) −˜s (μ)|/s ˜ (μ), the relative error estimator  (μ)/s ˜ (μ) given in (149), s PR and the relative error bound  (μ; C)/s ˜ (μ) given in Proposition 3 realized for C = NC 1/λ (B ). We make several observations: first, the relative error decreases very fast min −4 and is of order 10 already for n = 10. Second, the error estimator is always A,p greater than the error and is furthermore reasonably sharp — the effectivity is O(10) — ˜ ˜ for n ≤ 18; at n = 18 the RB error bound contribution |U(μ)| σ (μ)|U(μ)| A,p A,p becomes the dominating term in (136) and thus adding additional port modes will not reduce the error estimator. Third, the rigorous error bound is reasonably sharp 2 NC only for small n :the term σ (μ) /λ (B ) in (128) dominates from an early min A,p 2 point not because of large RB error bound contributions per se but because C = NC NC 1/λ (B ) is a pessimistic estimate for the Rayleigh quotient associated with B min μ μ and σ (μ). We also compare our empirical port approximation to the more standard eigen- mode (Legendre) port approximation introduced in (173). In Figure 9 we report for the Table 1 Results for variable L for the cylindrical cantilever beam system using n = 20 A,p empirical port modes on each port PR PR h s;0 EB PR s (μ)−˜s (μ)  (μ) s ˜ (μ)−s (μ) EB l = 8L s ˜ (μ) s (μ) PR PR PR s ˜ (μ) |s (μ)−˜s (μ)| s ˜ (μ) 4.0 1.6504e+2 8.4e-5 1.7e+1 1.5562e+2 5.7e-2 5.6 4.3969e+2 3.8e-5 6.8e+0 4.2702e+2 2.8e-2 7.2 9.2362e+2 2.8e-5 2.3e+1 9.0758e+2 1.7e-3 8.8 1.6767e+3 2.4e-5 4.5e+1 1.6571e+3 1.2e-3 10.4 2.7584e+3 2.2e-5 3.3e+1 2.7352e+3 8.4e-3 12.0 4.2281e+3 1.8e-5 2.5e+1 4.2018e+3 6.2e-3 13.6 6.1450e+3 1.3e-5 1.7e+2 6.1165e+3 4.6e-3 15.2 8.5671e+3 2.0e-5 3.5e+2 8.5392e+3 3.3e-3 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 40 of 49 http://www.amses-journal.com/content/1/1/3 −1 −2 −3 −4 −5 −6 5 10 15 20 25 30 Figure 8 Relative compliance output error, relative output error estimator, and relative output error bound as functions of n for the cantilever beam (L = 1.3), using empirical port spaces. Legendre case the relative compliance error, the relative error estimator, and the rela- tive error bound superposed on the results for the empirical case (in gray). From the two error curves (squares) we note that the empirical port mode approximation is more than an order of magnitude better than the Legendre approximation for small n ,and A,p for larger n the error in the Legendre approximation decreases significantly only for A,p certain eigenmodes whereas the empirical approximation converges in a more regular Figure 9 Relative compliance output error, relative output error estimator, and relative output error bound as functions of n for the cantilever beam (L = 1.3), using Legendre port spaces (superposed on the results for empirical port spaces). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 41 of 49 http://www.amses-journal.com/content/1/1/3 fashion. We also note that the error estimator (triangles) and bound (asterisk) for the empirical approximation is about an order of magnitude smaller than the estimator and bound for the Legendre approximation, respectively. Finally, we consider in Figure 10 and Figure 11 the relative compliance output error esti- s;0 PR mator  (μ)/s ˜ (μ) for empirical and Legendre port modes as functions of L for three different values of n ;notethe resultsfor thelattercaseare superposed on theresults A,p for the former case in Figure 11. We note that for L far from the reference parameter val- 1 2 3 ˆ ˆ ˆ ues (recall L = 0.75, L = 1.0, L = 1.5) only the empirical port modes provide 2,ref 2,ref 2,ref a good approximation; in fact using empirical port modes we obtain even for n = 10 a A,p relative error estimator smaller than 0.013 for all sampled values of L. Again, we empha- size that these error estimates indeed provide bounds on the error: for all cases the relative −4 error with respect to the FE discretization is smaller than 10 as reported in the second column of Table 1. For the remainder of our numerical results we exclusively employ the error estimator (136) or (148) rather than the respective rigorous bound. Microtruss structure We shall now consider a larger microtruss beam. Our first microtruss system, system 1, is an array of of I = 408 components (224 of which are of archetype component 1 and 184 of which are of archetype component 2). We illustrate the system assembly process in Figure 12 and Figure 3; note that this procedure is efficient thanks to a graphical user interface that allows “cloning” of smaller subsystems which we may interconnect to form the final system [Additional file 1]. Note in actual (engineering) practice, this microtruss beam may be manufactured from N = 40 rods that are welded together. rods To the final system shown in Figure 3 we apply zero Dirichlet boundary conditions on the 32 bottom ports; we apply homogeneous Neumann boundary conditions on the 80 tr side ports; we apply a unity-magnitude tangential traction (Neumann) κ on the32top top (red) ports in the z-direction. The size of the non-port-reduced Schur complement system −1 =20 =25 =30 −2 −3 −4 0.5 1 1.5 2 Figure 10 Cantilever beam relative compliance error estimator as a function of L for different n A,p using empirical port spaces. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 42 of 49 http://www.amses-journal.com/content/1/1/3 −1 −2 −3 =20 =25 =30 −4 0.5 1 1.5 2 Figure 11 Cantilever beam relative compliance error estimator as a function of L for different n A,p using Legendre port spaces (superposed on the results for empirical port spaces). is in this case n = 147, 168. Note that system 1 refers to a particular topology config- SC ured with particular Dirichlet boundary conditions; we shall thus consider system 1 for z x many different system parameter values. In particular, we denote by L and L the length of all component instantiations of component 2 which are oriented in the z-direction and x-direction, respectively, as indicated for L in Figure 3. We first demonstrate the ability of the port-reduced SCRBE framework to provide FE-fidelity field approximations at low computational cost. For our first calculation we z x consider the parameter values E = 1, 1 ≤ i ≤ I, L = 1.1, and L = 1. We show (qualitatively) the solution fields in Figure 13 and Figure 14: the displacement field is shown in Figure 13 as a deformation of the original geometry (compare to the original geometry in Figure 3); a closeup of the Von Mises stress field near a “weld” is shown in Figure 14. The high-stress concentrations (red) are typically isolated to areas where a weld meets the cylinder base. Note that this high-stress, near-singular, area of the field is located somewhat close to the ports but nevertheless well within the interior of the Figure 12 Assembly of the microtruss structure by component and subsystem “cloning” using a graphical user interface. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 43 of 49 http://www.amses-journal.com/content/1/1/3 x z Figure 13 Displacement field shown as deformation for parameter values L = 1, L = 1.1, E = 1, 1 ≤ i ≤ I. components. Placement of singular or more rapid behavior within the interior of a com- ponent, when possible, can reduce the number of port degrees of freedom required as provided by the pairwise training algorithm. For n = 20 and n = 25 “Active” port modes we obtain the relative energy-norm A,p A,p error estimators h u;0 h u;0 e (μ)  (μ) e (μ)  (μ) μ μ ≤ = 0.1139, ≤ = 0.05641, (174) PR PR PR PR ˜u (μ) ˜u (μ) ˜u (μ) ˜u (μ) μ μ μ μ x z Figure 14 Von Mises stress field for parameter values L = 1, L = 1.1, E = 1, 1 ≤ i ≤ I. i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 44 of 49 http://www.amses-journal.com/content/1/1/3 respectively (note the inequalities are not confirmed but valid under the assumption that the error estimators indeed provide error bounds). The port-reduced SCRBE system sizes are n = 13, 440 and n = 16, 800, respectively, and we thus realize in both cases A A n  n . For these calculations I = 4 — there are only two unique instantiations A SC eff of component 1 and only two unique instantiations of component 2 —and we thus realize very efficient online computations. The total (for solution and error estimate) online CPU time is approximately 12.9 seconds for the n = 20 calculation and approx- A,p imately 18 seconds for the n = 25 calculation. We report detailed online timing results A,p in the left and middle columns of Table 2, and we note that for both computations the certification dominates online cost. In particular, the calculation of the minimum eigen- value (On4) together with the non-conforming solves (On7) contribute roughly 8/10 of total cost. Note that as we consider the error estimator rather than the error bound, we do not execute On8. We next demonstrate the ability of the SCRBE framework to handle different topologi- cal configurations, here in the form of a simulated material flaw. To this end, we introduce a second microtruss system, system 2, which is identical to system 1 except we assume that three “random” welds are broken such that now we do not couple the corresponding port 2 ports (top or bottom local ports of component 1). These three shared global ports are thus split into six non-shared global ports, on which we impose homogeneous Neumann (zero-stress) boundary conditions. On all other ports the bound- ary conditions are the same as for system 1. The size of the non-port-reduced Schur complement system is in this case slightly larger: the non-port-reduced system is of size n = 147,825, and the port-reduced system for n = 20 active port modes is of size SC A,p n = 13,500. A closeup of the solution field near a broken weld is shown in Figure 15; note the low stress concentration at the failed weld compared to neighboring intact welds. We now consider the compliance output and associated error estimators for system 1 and system 2. The compliance is for these systems the integrated displacement in the z-direction over all top (red in Figure 3) ports, and is thus effectively a measure of the microtruss beam directional stiffness. For system 1 and system 2 we then compute solutions and corresponding compliance outputs for different values of L ∈[0.5,2]; we consider L = 1and E = 1, 1 ≤ i ≤ I. We thus effectively consider the directional x i stiffness of the microtruss beams as a function of the spacing between rods oriented in the x-direction. The results for n = 20 are shown in Figure 16. The solid blue and solid red lines A,p indicate the port-reduced SCRBE system 1 and system 2 output approximation, respectively; the dashed lines indicate the estimated bounds on the output as provided by Table 2 Breakdown of majority of online computational cost in seconds for system 1 for indicated n active port modes and I unique component instantiations eff A,p I = 4, n = 20 I = 4, n = 25 I = 80, n = 25 eff eff eff A,p A,p A,p On2 0.5 0.6 8.3 On3 1.3 2.5 2.5 On4 6.5 7.8 9.2 On5 0.8 0.9 18.1 On7 3.8 6.2 6.2 Total 12.9 18 44.3 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 45 of 49 http://www.amses-journal.com/content/1/1/3 Figure 15 Solution (displacement and Von Mises stress (colors)) near a failed weld for system 2. the error estimator (149). As expected, system 2 (with the weld failure) is less stiff and thus exhibits larger top-port displacements than system 1. However, we can not in this case for larger L distinguish between system 1 and system 2 with any confidence because the (estimated) output bounds overlap. We next consider the same “parameter sweep,” but now using n = 25 empirical port A,p modes. For system 1 this corresponds to a port-reduced SCRBE system of size n = 16,800 and for system 2 asystemofsize n = 16,875. In Figure 17, we show the outputs and output bounds for system 1 and system 2, and we note that we are now able to easily distinguish the two systems. So farwehavefor system 1 and system 2 considered only a single system param- eter L and thus I  I. We now consider for system 1 a somewhat more demanding z eff case in which we also assign “random” Young’s modulus E ∈[ 0.9, 1.1], 1 ≤ j ≤ N ,to rods rod (system 1) (system 1) (system 2) (system 2) 0.5 1 1.5 2 Figure 16 Parameter sweeps — compliance outputs and (estimated) compliance output bounds — over L ∈ [0.5, 2] for system 1 and system 2 using n = 20 “Active” port modes. A,p 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 46 of 49 http://www.amses-journal.com/content/1/1/3 (system 1) (system 1) (system 2) (system 2) 0.5 1 1.5 2 Figure 17 Parameter sweeps — compliance outputs and (estimated) compliance output bounds — over L ∈ [0.5, 2] for system 1 and system 2 using n = 25 “Active” port modes. A,p each of the N = 40 rods of the system; we thus consider here P = 40 system param- rods eters (one of the E scales out) and we obtain in this case I = 80. Because of the eff rod larger I , computational cost increases somewhat as reported in the rightmost column of eff Table 2. For this particular simulation we obtain a relative error field energy estimator u;0 PR (μ)/˜u (μ) = 0.0712 using n = 25 empirical port modes. A,p Finally, we close this section with comparison to standard global FE analysis of x z system 1 for system parameters L = 1, L = 1.1 and E = 1, 1 ≤ i ≤ I.Wecon- sider n = 20, n = 25, and n = 30, and we report in Table 3 for each case the A,p A,p A,p h PR PR relative output error, (s (μ) −˜s (μ))/s ˜ (μ), and the output error estimator effectivity, s;0 h PR (μ)/(s (μ)−˜s (μ)). For all calculations the relative output error is indeed small, and certainly within acceptable tolerances in an engineering context. The estimator effectiv- ities are furthermore greater than unity — our error estimators are indeed error upper bounds — and moreover, the efficivities show that our estimators are relatively sharp. The global FE space X () for system 1 is of dimension N = 26,381,328. The com- FE putation time for a single global FE simulation on a workstation with eight AMD Opteron 6238 cores is 59 minutes for 93 conjugate gradient iterations using an algebraic multi- grid preconditioner [27] (we employ the BoomerAMG [28] parallel algebraic multigrid implementation provided by the hypre [29] linear solver library). For n = 25, the port- A,p reduced SCRBE approximation and error estimation requires about 18 seconds on a single core and we thus obtain a speedup of almost 200 — note that significantly larger speedup is possible through parallelization of the SCRBE online stage. We finally note that to com- pute the results in Figure 17, we have for each parameter sweep performed seventeen evaluations of the port-reduced SCRBE compliance output and associated output bound Table 3 Relative output error and output error estimator effectivity for system 1 for x z parameter values L = 1, L = 1.1 and E = 1, 1 ≤ i ≤ I n = 20 n = 25 n = 35 A,p A,p A,p h PR s (μ)−s ˜ (μ) 4.67978e-4 2.31664e-4 2.5646e-5 PR s (μ) s;0 (μ) 28.3 14.8 67.6 h PR s (μ)−s ˜ (μ) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 47 of 49 http://www.amses-journal.com/content/1/1/3 estimators in only about five minutes total CPU time. A similar parametric analysis using a classical FE approach is clearly not equally tractable. Conclusions In this paper we have extended the port-reduced static condensation reduced basis ele- ment method to analysis of large-scale component-based structures. In particular we have demonstrated the applicability and efficacy of the procedure in three-dimensional linear elasticity analysis of a microtruss structure with hundreds of components. Through a combination of i) component-interior reduced basis approximations and ii) port reduction using empirical modes tailored to the component library, we are able to obtain an accurate online approximation for any component parameter values and any system topology using very few global degrees of freedom. Moreover, we may estimate (and rigorously bound in the limit of small reduced basis error contributions) the error in this port-reduced SCRBE approximation with respect to the underlying global finite element discretization through efficiently computable a posteriori errorl estimators. For the microtruss application we consider in this paper, more than twenty-six mil- lion degrees of freedom in the alternative global FE discretization is reduced to a few thousand degrees of freedom in the port-reduced SCRBE approximation. The online computation time is accordingly reduced from about an hour to only seconds, and thus the approach enables large-scale computation in many-query contexts such as interactive design or optimization. Further, our computational results for the microtruss structure indicate applications in stochastic homogenization and material failure identification, which may require many simulations for (say) random parameters and topology [30]. Another application is vibration analysis of structures as considered in [31]. The presented approach is an alternative to standard FE analysis of large component- based structures such as bridges, microtrusses, or vehicle or building frames. How- ever, we may consider any linear elliptic or parabolic [13] parameter-dependent partial differential equation, and thus problems in (say) heat transfer [32], acoustics [33], and electromagnetics may be considered as well. Endnotes For non-symmetric, non-coercive, complex-valued, or parabolic problems additional elements are required for our a posteriori error estimation framework. We first apply the inverse map to physical coordinates to obtain reference coordinates, and then evaluate the function on the reference domain. To illustrate this latter application of the mapping, consider for example a vector field (0, 1) defined on  in the frame (x ˆ , y ˆ ) in Figure 1. We then consider this same 1 1 1 rot vector field over  in Figure 2: by application of T to the field (0, 1) we obtain an interpretation in the system frame (x, y) which is consistent with the interpretation on the archetype domain — the field is parallel to the original x ˆ axis (for  ), and not 1 1 parallel to the system x axis. We start with the strong formulation on each component; we multiply by a test function and integrate by parts; we then add the equations on adjacent components and invoke flux continuity to cancel the corresponding port integral terms. In practice this is automatically accommodated by the variational formulation (23). In this paper, we consider for R only rigid-body transformations; more general m,j mappings and parametrized port deformations are also possible but is subject of future work. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 48 of 49 http://www.amses-journal.com/content/1/1/3 Note in the scalar-field case this simplifies to only the constant mode. Our current implementation does not recognize “free” parameters (Young’s modulus, conductivity) and thus each set of component clones will contain components with different spatial orientation but identical (“non-docking”) parameters. h 2 d−1 With the current (L (β)) orthogonalization of our port space bases, the  norm of the residual coefficients is rather strong. We conjecture that the constant C in (126) and (127) can be improved by consideration of an orthogonalization which provides a global Riesz basis (in the limit as the FE discretization parameter h → 0) with respect to −1 d the (H ()) semi-norm. i 1 2 2 The Von Mises stresses are calculated as σ = (σ − σ ) + (σ − σ ) + VM 11 22 22 33 1/2 2 2 2 2 (σ − σ ) + 6(σ + σ + σ ) . 33 11 12 23 31 The formula for the maximum deflection d(l) of a cantilever beam of length l, Young’s modulus E, second moment of inertia I, and subject to tangential force P at one end is d(l) = Pl /(3EI). To reduce the error estimator in this case we would have to reduce the values in σ (μ) by adding additional RB snapshots to the RB bubble spaces in the offline stage. For component 1 all instantiations have identical parameters, but there are two different component-local matrix blocks because we consider Dirichlet boundary conditions on all bottom ports of components located at the bottom of the microtruss structure. The E correspond to component-wide Young’s modulus, and hence these parameters are “free” in the sense discussed in the “Model reduction” section. Thus with a more complete treatment of effectively identical components we would have recovered I = 4for this case. eff Additional file Additional file 1: A short video which illustrates the methodology of this paper is published together with this paper as prscrbe_movie.mp4. Competing interests The authors declare that they have no competing interests Authors’ contributions JLE developed computational procedures and the associated C++ implementation, contributed to the theoretical results, and drafted the manuscript. ATP developed computational procedures and theoretical results. All authors participated in the writing, review, and revision of the manuscript. Acknowledgements We are grateful to Dr. D. J. Knezevic for development of SCRBE library code, to Dr. D. B. P. Huynh for graphical system assembly and visualization software, and to Dr. S. Vallaghé for fruitful discussion. This work has been sponsored by the Research Council of Norway and ONR Grant N00014-11-0713. Received: 9 August 2013 Accepted: 20 December 2013 Published: 29 January 2014 References 1. Abdelal GF, Abuelfoutouh N, Gad AH (2013) Finite element analysis for satellite structures. Springer, London 2. Egeland O, Haraldsen PO (1974) SESAM-69 — a general purpose finite element method program. Comput Struct 4: 41–68 3. Craig R, Bampton M (1968) Coupling of substructures for dynamic analyses. AIAA J 6(7): 1313–1319 4. Hurty WC (1964) On the dynamic analysis of structural systems using component modes In: First AIAA Annual Meeting. AIAA (American Institute of Aeronautics and Astronautics), Washington. AIAA paper, no. 64-487 5. Huynh DBP, Knezevic DJ, Patera AT (2013) A static condensation reduced basis element method: approximation and a posteriori error estimation. ESAIM: Math Model Numerical Anal 47(1): 213–251 6. Rozza G, Huynh DBP, Patera AT (2008) Reduced basis approximation and a posteriori error estimation for affinely parametrized elliptic coercive partial differential equations: application to transport and continuum mechanics. Arch Comput Methods Eng 15(3): 229–275 7. Binev P, Cohen A, Dahmen W, DeVore R, Petrova G, Wojtaszczyk P (2011) Convergence rates for greedy algorithms in reduced basis methods. SIAM J Math Anal 43(3): 1457–1472 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 49 of 49 http://www.amses-journal.com/content/1/1/3 8. Haasdonk B (2013) Convergence rates of the pod–greedy method. ESAIM: Math Model Numerical Anal 47: 859–873 9. Bourquin F (1992) Component mode synthesis and eigenvalues of second order operators: discretization and algorithm. Math Model Numerical Anal 26(3): 385–423 10. Hetmaniuk UL, Lehoucq RB (2010) A special finite element method based on component mode synthesis. ESAIM: Math Model Numerical Anal 44(3): 401–420 11. Jakobsson H, Bengzon F, Larson MG (2011) Adaptive component mode synthesis in linear elasticity. Internat J Numer Methods Engrg 86(7): 829–844 12. Eftang JL, Patera AT (2013) Port reduction in parametrized component static condensation: approximation and a posteriori error estimation. Int J Numerical Methods Eng 96(5): 269–302 13. Vallaghé S (2013) The static condensation reduced basis element method for parabolic problems. M3AS: Math Models Methods Appl Sci. http://augustine.mit.edu/methodology/papers/SV_M3AS_2013.pdf 14. Veroy K, Rovas DV, Patera AT (2002) A posteriori error estimation for reduced-basis approximation of parametrized elliptic coercive partial differential equations: “convex inverse” bound conditioners. ESAIM: Control, Optimisation Calculus Variations 8: 1007–1028 15. Quarteroni A, Valli A (1994) Numerical approximation of partial differential equations Springer Series in Computational Mathematics, vol. 23. Springer, Berlin 16. Bernardi C, Maday Y (1997) Spectral methods In: Handbook of Numerical Analysis, North-Holland, Amsterdam, pp 209–485 17. Kunisch K, Volkwein S (2002) Galerkin proper orthogonal decomposition methods for a general equation in fluid dynamics. SIAM J Numer Anal 40(2): 492–515 18. Isaacson E, Keller HB (1994) Computation of eigenvalues and eigenvectors, analysis of numerical methods 19. Hernández V, Román JE, Tomás A, Vidal V (2007) Krylov-Schur Methods in SLEPc. Technical report, Universidad Politecnica De Valencia. http://www.grycap.upv.es/slepc 20. Queheillalt DT, Wadley HNG (2005) Cellular metal lattices with hollow trusses. Acta Materialia 53: 303–313 21. Wadley HNG (2006) Multifunctional periodic cellular metals. Philos Trans R Soc A 364: 31–68 22. Wadley HNG, Fleck NA, Evans AG (2003) Fabrication and structural performance of periodic cellular metal sandwich structures. Composites Sci Technol 63: 2331–2343 23. Flügge W (1972) Tensor analysis and continuum mechanics. Springer, Berlin 24. Kirk BS, Peterson JW, Stogner RH, Carey GF (2006) libMesh: A C++ library for parallel adaptive mesh refinement/coarsening simulations. Eng Comput 22(3–4): 237–254 25. Knezevic DJ, Peterson JW (2011) A high-performance parallel implementation of the certified reduced basis method. Comput Methods Appl Mech Eng 200(13–16): 1455–1466 26. Timoshenko SP (1953) History of strength of materials. McGraw-Hill, New York 27. Saad Y (2003) Iterative methods for sparse linear systems, 2nd edn. Society for Industrial and Applied Mathematics, Philadelphia 28. Henson VE, Yang UM (2002) BoomerAMG: a parallel algebraic multigrid solver and preconditioner. Appl Numer Math 41(1): 155–177. Developments and trends in iterative methods for large systems of equations—in memoriam Rüdiger Weiss (Lausanne, 2000) 29. hypre: Scalable linear solvers. http://computation.llnl.gov/casc/linear_solvers/sls_hypre.html 30. Anantharaman A, Le Bris C (2011) A numerical approach related to defect-type theories for some weakly random problems in homogenization. Multiscale Model Simul 9(2): 513–544 31. Vallaghé S, Huynh DBP, Knezevic DJ, Patera AT (2013) Component-based reduced basis for eigenproblems. Comput Struct. http://augustine.mit.edu/methodology/papers/VHKP_CS_July2013.pdf 32. Vallaghé S, Patera AT (2012) The static condensation reduced basis element method for a mixed-mean conjugate heat exchanger model. SIAM J Sci Comput. http://augustine.mit.edu/methodology/papers/ VP_SISC_revised_May2013.pdf 33. Huynh DBP, Knezevic DJ, Patera AT (2013) A static condensation reduced basis element method: complex problems. Comput Methods Appl Mech Eng 259(0): 197–216 doi:10.1186/2213-7467-1-3 Cite this article as: Eftang and Patera: A port-reduced static condensation reduced basis element method for large component-synthesized structures: approximation and A Posteriori error estimation. Advanced Modeling and Simulation in Engineering Sciences 2013 1:3. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png "Advanced Modeling and Simulation in Engineering Sciences" Springer Journals

A port-reduced static condensation reduced basis element method for large component-synthesized structures: approximation and A Posteriori error estimation

Loading next page...
 
/lp/springer-journals/a-port-reduced-static-condensation-reduced-basis-element-method-for-lNh80JEqSB

References (33)

Publisher
Springer Journals
Copyright
2013 Eftang and Patera; licensee Springer.
eISSN
2213-7467
DOI
10.1186/2213-7467-1-3
Publisher site
See Article on Publisher Site

Abstract

jleftang@gmail.com Department of Mechanical Background: We consider a static condensation reduced basis element framework for Engineering, Massachusetts efficient approximation of parameter-dependent linear elliptic partial differential Institute of Technology, 77 equations in large three-dimensional component-based domains. The approach Massachusetts Avenue, Cambridge, MA-02139, USA features an offline computational stage in which a library of interoperable parametrized Current address: DNV components is prepared; and an online computational stage in which these GL - Software, P.O.Box 300, component archetypes may be instantiated and connected through predefined ports NO-1322, Høvik, Norway to form a global synthesized system. Thanks to the component-interior reduced basis approximations, the online computation time is often relatively small compared to a classical finite element calculation. Methods: In addition to reduced basis approximation in the component interiors, we employ in this paper port reduction with empirical port modes to reduce the number of degrees of freedom on the ports and thus the size of the Schur complement system. The framework is equipped with efficiently computable a posteriori error estimators that provide asymptotically rigorous bounds on the error in the approximation with respect to the underlying finite element discretization. We extend our earlier approach for two-dimensional scalar problems to the more demanding three-dimensional vector-field case. Results and Conclusions: This paper focuses on linear elasticity analysis for large structures with tens of millions of finite element degrees of freedom. Through our procedure we effectively reduce the number of degrees of freedom to a few thousand, and we demonstrate through extensive numerical results for a microtruss structure that our approach provides an accurate, rapid, and a posteriori verifiable approximation for relevant large-scale engineering problems. Keywords: Static condensation; Reduced basis element method; Component synthesis; Domain decomposition; Port reduction; Interface reduction; A posteriori error estimation; Non-conforming methods; Structural analysis; Large-scale simulation © 2013 Eftang and Patera; licensee Springer. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 2 of 49 http://www.amses-journal.com/content/1/1/3 Background For several decades the finite element (FE) method has been a popular and important tool in engineering design and analysis of systems modelled by partial differential equations (PDEs). In particular, in fields such as structural analysis and strength assessment, the FE method is in widespread use in industry through a variety of commercial software packages. Many of the structures that are subject to industrial FE analysis are composed of a large number of components — consider for example a truss bridge, a space satellite [1], or a building or vehicle frame. Such large and at first sight complicated structures pose challenges both in terms of initial manual labor related to domain modelling and meshing, and in terms of subsequent computational cost. Component-based structures which contain many identical or similar components are often analyzed through substructuring or superelement techniques [2], which mitigate some of these issues. Mathematically, superelement techniques are based on static con- densation of all FE degrees of freedom that are interior to components, and hence the size of the global but condensed linear-algebraic (Schur complement) system is equal to the number of degrees of freedom associated with component interfaces, henceforth in this paper referred to as ports. The static condensation step necessitates a large num- ber of component-interior FE “bubble” solves — one FE solve for each degree of freedom on each port of each component — and is for this reason rather expensive; however this step is embarrassingly parallel, and is furthermore required only once for each unique component instantiation. Model order reduction techniques can be applied to substructuring or superelement procedures in order to further reduce the computational cost. A well-known approach is the classical component mode synthesis (CMS) [3,4], which replaces the original FE spaces for the component-interior bubble solves with spaces spanned by a few component-interior eigenmodes. As a result, the cost associated with each bubble calcula- tion is reduced, and the formation of the global Schur complement system is consequently much less expensive. A more recent approach, which is relevant in the context of parameter-dependent PDEs and which we for this reason consider here in this paper, is the static condensation reduced basis element method (SCRBE) introduced in [5]. Rather than the eigenmodal expansion typically used in the CMS, the SCRBE employs the reduced basis method (RB) [6] for the bubble function approximations. Each RB approximation space is specifically tailored to a particular bubble and the associated parameter dependence defined by the PDE within each component; the SCRBE thus accommodates parametric variations for example related to component geometry, loads, material properties, or boundary con- ditions. Furthermore, thanks to the typically very rapid (often exponential) convergence of the RB approximation [7,8], these RB spaces are low-dimensional and thus bubble function approximation is computationally inexpensive. In addition to enabling parametric variations, the SCRBE features a strict offline-online computational decoupling. In the offline stage, the RB spaces and associated datasets for each component archetype in a component library is computed and stored. This stage requires FE solves and may thus be relatively expensive, but is carried out only once as a library preprocessing step. In the subsequent online stage, the user may instantiate any of the interoperable library archetypes, and assign to each component instantiation the desired parameter values; the RB bubble function approximations are then computed, 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 3 of 49 http://www.amses-journal.com/content/1/1/3 and the Schur complement system is assembled and solved. This online step is much less expensive and in particular does never invoke the underlying FE discretization. However, common to all these static-condensation-based approaches — including the SCRBE — is a global Schur complement linear-algebraic system of size equal to the total number of degrees of freedom associated with ports. For large systems with many com- ponents and ports, and in particular for problems with three-dimensional vector-valued field variables — such as in linear elasticity — the size of this system is considerable and thus clearly prohibits the fast response required in, say, an interactive design or optimiza- tion context. To overcome this limitation various port reduction techniques may be used. For example, for the CMS approaches an eigenmode expansion (with subsequent trunca- tion) for the port degrees of freedom is considered in [9,10], and an adaptive procedure based on a posteriori error estimators for the port reduction is considered in [11]. For the SCRBE, we introduce in [12] port reduction with empirical modes; in this case the port approximation spaces are informed by snapshots of relevant port-restricted solutions which are obtained through an offline pairwise empirical training algorithm. Unique to the SCRBE is a certification framework that allows efficient computation of a posteriori bounds or estimators for the error in the SCRBE approximation with respect to the underlying FE “truth” discretization. This framework invokes classical residual argu- ments on the (RB) bubble level [6], a non-conforming approximation to the error-residual equation at the port level, and finally matrix perturbation at the system level in order to bound (under an eigenvalue proximity assumption) the error contributions from both RB approximation [5] and port reduction [12]. In actual practice, we may reduce online com- putational cost by consideration of a plausible and asymptotically rigorous error estimator rather than a rigorous error bound. In this paper, we extend our earlier work for two-dimensional scalar problems in [12] to the more demanding three-dimensional vector-field case. We focus here on applica- tions in linear elasticity, but we note that the component synthesis and indeed RB and port approximations can be readily extended to problems in heat transfer or (frequency domain) acoustics, or any phenomenon described by a linear elliptic or parabolic [13] PDE. Through our procedure we effectively reduce the number of degrees of freedom from tens of millions (in the underlying FE discretization) to only a few thousand (in the port-reduced SCRBE approximation); the associated computation time is thus reduced from minutes or hours to only a few seconds. Our approach here features several important innovations. First, as we consider here larger global systems with a much larger number of instantiated components we intro- duce a new non-symmetric SCRBE approximation, which reduces both offline and online cost and memory footprint; the corresponding linear-algebraic system is subsequently symmetrized in order to (say) accommodate efficient linear solvers. We also demonstrate that our central theoretical results in particular related to a posteriori error estimation survive intact for this more efficient revision of our earlier formulations in [12]. Sec- ond, we provide a precise formulation for general geometric mappings and port space compatibility, and we demonstrate that (in the isotropic linear-elastic case) rigid-body parameters related to “docking” of component instantiations in a system do not affect the associated bilinear forms and thus do not impact offline — thanks to smaller RB space dimensions — or online — thanks to treatment of differently oriented compo- nent instantiations as effectively identical — computational cost. Third, we introduce a 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 4 of 49 http://www.amses-journal.com/content/1/1/3 new functional interpretation of our algebraic a posteriori error estimation framework in [12], which may serve to extend our approach here to larger classes of problems. And finally, we consider multi-reference parameter bound conditioners [14] for sharper error estimation. The remainder of the paper is organized as follows. We start with a brief presentation of a general parametrized component static condensation framework for d-dimensional vector-valued linear elliptic partial differential equations; we focus on the concepts rel- evant in the SCRBE framework and we formulate the port compatibility requirements. Next, we discuss the RB and port reduction strategies for the computational cost reduc- tion associated with component interiors and component interfaces, respectively. Then, we introduce our a posteriori error estimation framework. Finally, we present exten- sive results for a three-dimensional microtruss application, and provide some conclusive remarks. We include with this manuscript [Additional file 1]. This short movie presents the main ingredients of the port-reduced SCRBE method, and sums up the key numerical results reported in this paper. Component-based static condensation Concepts: library components and system We now introduce the key concepts for our SCRBE approximation: a library of parametrized and interoperable archetype components, which is prepared in the offline stage; and a system of component instantiations connected at ports, which is assembled and solved (and, if desired, visualized) in the online stage. In the context of structural analysis, an archetype component typically (but not neces- sarily) corresponds to a physical construction unit, such as a beam, a plate, or a connector; in physical d-dimensional space (d = 1, 2, 3) we denote by  ⊂ R the reference domain associated with archetype component m,1 ≤ m ≤ M,where M is the num- ber of archetypes in the library. The boundary of this domain, ∂ ,has aset of n m m disjoint local ports, denoted as γˆ ⊆ ∂ ,1 ≤ j ≤ n ; these ports enable the m,j m m components to connect to other components. Note we shall assume that all ports on an archetype component are mutually separated by (at least) a non-port, non-Dirichlet boundary segment. If this is not the case, modifications to our procedures below must be considered [10]. The physical behavior of each archetype component is governed by a vector-valued (we consider d field components) parametrized linear elliptic partial differential equation. We thus introduce for 1 ≤ m ≤ M the continuous (and here, in this paper, symmetric) 1 d 1 d ˆ ˆ archetype bilinear form a ˆ (·, ·; μ ˆ ) : (H ( )) × (H ( )) → R, and the bounded m m m m 1 d m P ˆ ˆ ˆ m archetypelinearfunctional f (·, ·; μ ˆ ) : (H ( )) → R. Here, μ ˆ ∈ D ⊂ R is m m m m avectorof P scalar parameters that describe (say) the component geometry, boundary 1 d conditions, loads, or material properies, and (H ( )) is the usual (d-tensorized) first- order Sobolev space over  . We shall assume that a ˆ and f admit affine expansions m m m as Q Q m m q q q q ˆ ˆ a ˆ (·, ·; μ ˆ ) = a ˆ (·, ·) (μ ˆ ), f (·; μ ˆ ) = f (·) (μ ˆ ),(1) m m a m m m m q=1 q=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 5 of 49 http://www.amses-journal.com/content/1/1/3 q q q q where the a ˆ and f are parameter-independent forms and the  and  are parameter- dependent functions; for computational efficiency of the SCRBE evaluation stage it is ˆ ˆ critical that Q and Q are relatively small. h 1 d ˆ ˆ We next introduce the discrete archetype component spaces X ⊂ (H ( )) ,1 ≤ 1 d m ≤ M, which correspond to standard FE discretizations [15] of (H ( )) ;and we introduce the discrete port spaces, the restrictions ˆ ˆ P ≡ X | (2) m,j γˆ m m,j γ m,j of dimension N ≡ dim(P ). We denote the bases for these port spaces by {ˆ χ } m m,j m,j,k k=1 such that ˆ γ P = span{ˆ χ , ... , χ ˆ }.(3) m,j m,j,1 m,j,N m,j For simplicity of presentation here we shall assume that Dirichlet conditions are enforced only on ports and thus not through the archetype component discrete spaces X (this is the case for our numerical results later). The library component archetypes may be instantiated and connected at ports to form a global system. To this end we introduce a mapping M : {1, ... , I}→{1, ... , M} from any of the I instantiations in the system to exactly one of the M archetypes in the library. For instantiated component i, we introduce the parameter vector μ ∈ D ,where D ⊆ i i i D . We then introduce a (parameter-dependent) geometric mapping T :  → M(i) i i i from archetype (reference) to system (physical) coordinates; thus  = T ( ) is the i i M(i) instantiated component domain and γ = T (γˆ ),1 ≤ j ≤ n , are the instantiated i,j i M(i),j M(i) def ports. We consider for each of our mappings T application of a deformation T and rot rot def def then a rotation T such that T ≡ T T . In this paper, we consider for T only i i i i def dilation and translation, and we further assume that T , when applied to a port, is pure translation (such that γ = T (γˆ ) corresponds to a rigid-body transformation). We i,j i M(i),j illustrate the situation (for d = 2) in Figure 1 and Figure 2: in Figure 1 we show a single Figure 1 An archetype component in coordinates (x ˆ , y ˆ ). m 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 6 of 49 http://www.amses-journal.com/content/1/1/3 Figure 2 Two component instantiations form a system in coordinates (x, y). archetype library component; in Figure 2 we instantiate two components of the same archetype subject to different mappings T and T , the first of which has a non-trivial 1 2 def (piecewise dilation) T . We also introduce a mapped discrete component-local space h rot −1 h X = span{T v ◦ T , v ∈ X };(4) i i i M(i) and further, with rot −1 χ ≡ T χ ˆ ◦ T,(5) i,j,k M(i),j,k i i we introduce, for 1 ≤ j ≤ n ,1 ≤ i ≤ I, the mapped discrete port spaces M(i) P = span{χ ,1 ≤ k ≤ N }.(6) i,j i,j,k M(i),j −1 Note that here and in the following the notation [·] ◦T denotes the usual composition, rot rot and the notation T (·) denotes pointwise application of T to the (vector-valued) i i c rot argument; we apply T to the dependent variables to eliminate parameters related to spatial orientation of components from the bilinear forms, and to accommodate compatibility of basis functions on instantiated ports. We may now introduce the synthesized system domain  as  =∪  ,the system i=1 parameter domain D =⊕ D , and the system parameter vector μ = (μ , ... , μ );we i 1 I i=1 denote the total number of system parameters by P. When an instantiated component becomes part of a system, its local ports are associ- ated to global ports. Each global port  ,1 ≤ p ≤ n , in the system is either a coincidence of two local ports and hence in the interior of , or a single local port on the bound- ary ∂. We define the connectivity of the system through global-to-local index sets π , 1 ≤ p ≤ n : an interior global port is associated to two local ports γ and γ ,and we i,j i ,j thus set π ={(i, j), (i , j )}; a boundary global port is associated to a single local port γ , p i,j and we thus set π ={(i, j)}. We also introduce for instantiated component i,1 ≤ i ≤ I, a local-to-global map G such that for local port j,1 ≤ j ≤ n ,wehave G (j) = p if i i M(i) (i, j) ∈ π . Note that on any global port  ,1 ≤ p ≤ n , we may elect to impose Dirichlet p p 0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 7 of 49 http://www.amses-journal.com/content/1/1/3 boundary conditions; we denote by n ≤ n the number of global ports on which we do not impose Dirichlet boundary conditions. To ensure global continuity of the solution we must require conforming port spaces and bases in the sense that for any shared (that is, interior) global port π ={(i, j), (i , j )} we must have χ = χ;(7) i,j,k i ,j ,k we discuss this port compatibility requirement further in the “Port compatibility” subsec- tion below. 1 d We may now introduce for any w, v ∈ (H ()) and any μ ∈ D the system-level symmetric, continuous bilinear form as rot −1 rot −1 a(w, v; μ) = a ˆ ((T ) (w| ◦ T ), (T ) (v| ◦ T ); μ ),(8) M(i)  i  i i i i i i i=1 and the system-level bounded linear functional rot −1 f (v; μ) = f ((T ) (v| ◦ T ); μ );(9) M(i)  i i i i i=1 note that the effect of the mapping T to each archetype bilinear and linear form (defined over the archetype reference domain) is reflected through the parameter μ . In the case that T is a pure rigid-body transformation (that is, T is a rotation and a i i translation) and the material properties of the component do not depend on spatial orien- rot tation — such as in isotropic linear elasticity — the application of T to the dependent variables results in cancellation of the mapping Jacobians, and thus the archetype bilinear form does not reflect the associated mapping parameters. Similarly, when T is a combina- tion of a rigid-body map and (say) dilation, only the latter must be parametrized through the archetype bilinear form. We explicitly demonstrate this cancellation for the case of isotropic linear elasticity in the “Microtruss beam application” section, and we comment on the computational implications in the “Model reduction” section. 1 d 1 d We now introduce a global space X() ⊂ (H ()) such that X() is equal to (H ()) except for restrictions to enforce port (and in general also non-port) Dirichlet boundary conditions; we assume that sufficient boundary conditions are enforced such that a(·, ·; μ) is coercive over X(). The well-posed system-level variational problem then reads as follows. For any μ ∈ D,find u(μ) ∈ X() such that a(u(μ), v; μ) = f (v; μ), ∀v ∈ X(); (10) we also introduce a compliance output as s(μ) = f (u(μ); μ). (Note that, as discussed in [5], restrictions apply to the geometric maps T to maintain well-posedness of (10).) h h Similarly, we introduce a global FE discretization X () ⊂ X() as X () = I h h ⊕ X () ∩ X();hence X () inherits the boundary conditions as well as the global i=1 i continuity enforced by X(). The FE discretization of (10) now reads as follows. For any h h μ ∈ D,find u (μ) ∈ X () such that h h a(u (μ), v; μ) = f (v; μ), ∀v ∈ X (); (11) h h we also introduce the FE compliance output s (μ) = f (u (μ); μ). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 8 of 49 http://www.amses-journal.com/content/1/1/3 Mathematical formulation: static condensation To formulate the static condensation procedure we decompose our discrete global space X () into bubble spaces associated with component-interior degrees of freedom and a skeleton space associated with port degrees of freedom. To this end we introduce on archetype component m,1 ≤ m ≤ M, the bubble space h h γ ˆ ˆ B ={v ∈ X : v| = 0, 1 ≤ j ≤ n }; (12) γˆ m;0 m m,j m note that members of B vanish on local ports. We next introduce the coupling modes m;0 ˆ ˆ ψ ∈ X such that m,j,k ∇ψ ·∇v = 0, ∀v ∈ B , (13) m,j,k m;0 χ ˆ ,on γˆ , m,j,k m,j ψ = (14) m,j,k 0, on γˆ for j = j, m,j γ γ for 1 ≤ k ≤ N ,1 ≤ j ≤ n ; we define, on instantiated component i,1 ≤ i ≤ I, m,j −1 rot h ψ ≡ T (ψ ◦ T ), and we introduce the global functions ∈ X () such i,j,k M(i),j,k p,k i i that, for π ={(i, j), (i , j )}, ψ ,in  , ⎪ i ,j ,k i ≡ (15) ψ ,in  , p,k i i,j,k 0, in  \ ( ∪  ). We may then introduce the global skeleton space S() ≡ span{ ,1 ≤ k ≤ N ,1 ≤ p ≤ n } (16) p,k of dimension n ≡ N . (17) SC p=1 Note that S() is a continuous space thanks to the port compatibility requirement (7). Also note that in the definition of S() we include only the n ≤ n ports on which we do not impose Dirichlet boundary conditions (we assume without loss of generality that we enforce Dirichlet boundary conditions on global ports   , ... ,  ). n +1 Given the bubble spaces and the coupling modes, we now first introduce, for 1 ≤ i ≤ I, f ;h ˆ ˆ thesourcebubble b (μ ) ∈ B , which satisfies i M(i);0 f ;h ˆ ˆ a ˆ (b (μ ), v; μ ) = f (v; μ ), ∀v ∈ B ; (18) M(i) i i M(i) i i M(i);0 f ;h f ;h f ;h −1 rot we define b (μ ) ≡ T (b (μ ) ◦T ).Notethat b (μ) is a component-local particu- i i i i i i i lar solution to our global equation. We next introduce fundamental solutions φ (μ ) ≡ i,j,k i h h h ˆ ˆ ˆ ˆ b (μ ) + ψ associated with each coupling mode ψ and bubble b (μ ) ∈ B i i i,j,k i,j,k i,j,k i,j,k M(i);0 such that φ (μ ) satisfies i,j,k i h h ˆ ˆ a ˆ (φ (μ ), v; μ ) = 0, ∀v ∈ B (19) M(i) i i i,j,k M(i);0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 9 of 49 http://www.amses-journal.com/content/1/1/3 (note (19) is an equation for b (μ ) given the known ψ ); we define, on instantiated i,j,k i,j,k −1 rot component i,1 ≤ i ≤ I, φ (μ ) ≡ T (φ (μ ) ◦ T ) andweintroduce theglobal i,j,k i i,j,k i i i functions (μ) ∈ X () such that, for π ={(i, j), (i , j )}, p,k p ⎪ φ (μ ),in  , i ,j,k i i (μ) ≡ φ (μ ),in  , (20) p,k i,j,k i i 0, in  \ ( ∪  ). i i Note that each (μ) is the fundamental solution (local to a component pair) of G (i),k our (homogeneous) global equation associated with the particular port mode χ .Also i,j,k f ;h note that (μ) and b (μ ) scale linearly with certain “free” parameters, such as G (i),k i component-wide thermal conductivity or Young’s modulus, which enter outside the bilin- ear form in (18) and (19); this will have important cost-saving implications in the context of RB approximation. h h For each instantiated component we introduce a global function u (μ ) ∈ X () which f ;h represents the local solution on component i in terms of the source bubbles b (μ ) and the fundamental solutions φ (μ ) as i,j,k i n N I M(i) M(i),j ⎨ f ;h b (μ ) + U (μ)φ (μ ),in  , h i G ( j),k i,j,k i i i i u (μ ) = (21) i=1 j=1 k=1 0, in  \  , where the coefficient vector U (μ) contains global unknowns to be determined G ( j),k below. To couple the solutions in neighboring components we require weak flux continu- ity across global ports: we write I I n p f ;h h h u (μ) = u (μ ) = b (μ ) + U (μ) (μ); (22) i i p,k p,k i=1 i=1 p=1 k=1 h h we then test on all v ∈ S() such that u (μ) ∈ X () satisfies a(u (μ), v; μ) = f (v; μ), ∀v ∈ S(); (23) h h as before, our FE compliance output is s (μ) = f (u (μ); μ). We emphasize that (23) is, thanks to Galerkin orthogonality of the fundamental solu- tions in (19) with respect to the associated bubble space, equivalent to (11). For this same reason we may further define an alternative skeleton space S ≡ span{ (μ),1 ≤ k ≤ N ,1 ≤ p ≤ n }, (24) symm p,k h h such that u (μ) ∈ X () satisfies a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (). (25) symm There is no distinction between (23) and (25) in the FE static condensation context; however in the context of the SCRBE, direct approximation of (23) leads to a non- symmetric Schur complement system, while direct approximation of (25) leads to a symmetric Schur complement system. In this paper we shall pursue the former with sub- sequent Schur complement symmetrization as the latter implies significantly larger online computational cost. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 10 of 49 http://www.amses-journal.com/content/1/1/3 The formulation (23) is equivalent to the symmetric linear-algebraic Schur complement system A(μ)U(μ) = F(μ) (26) of size n , in which SC A (μ) = a( (μ), ; μ), (27) ( p,k),( p ,k ) p ,k p,k f ;h F (μ) = f ( ; μ) − a(b (μ ), ; μ). (28) ( p,k) p,k p,k i=1 We may readily demonstrate the symmetry: by (19) and symmetry of a ˆ (·, ·; μ ) we obtain m i h h ˆ ˆ ˆ ˆ ˆ a ˆ (φ (μ ), ψ ; μ) =ˆa (b (μ ) + ψ , b (μ ) + ψ ; μ ) (29) i i i i M(i) i,j,k i,j ,k M(i) i,j,k i,j ,k i,j,k i,j ,k h h ˆ ˆ =ˆa (b (μ ) + ψ , b (μ ) + ψ ; μ ) (30) M(i) i i i i,j ,k i,j,k i,j ,k i,j,k ˆ ˆ =ˆa (b (μ ) + ψ , ψ ; μ ) (31) M(i) i i,j ,k i,j,k i i,j ,k ˆ ˆ =ˆa (φ (μ ), ψ ; μ ), (32) M(i) i,j ,k i i,j,k i and as a result a( (μ), ; μ) = a( (μ), ; μ). (33) p ,k p,k p,k p ,k The matrix A(μ) is thus symmetric and in particular may be rewritten as 1 1 A (μ) = a( (μ), ; μ) + a( (μ), ; μ) (34) (p,k),(p ,k ) p ,k p,k p,k p ,k 2 2 We shall invoke the interpretation (34) of A(μ) to symmetrize the SCRBE Schur comple- ment system below. Port compatibility The port compatibility requirement (7) between port basis functions associated with ports which may interconnect in a system — port of the same type — ensures solu- tion continuity across shared global ports. We recall the archetype port basis functions χ ˆ introduced in (3), and we recall the associated physical (instantiated) port space M(i),j,k basis functions χ introduced in (6). To honor (7), it is clear that the basis functions i,j,k χ ˆ on different archetype ports of the same port type must be defined differently m,j,k according to the archetype port orientation. To render this more precise we introduce for each unique port type a reference port d−1 domain β ⊂ R ; we assume for simplicity of exposition that there is only a single port type and thus β needs no subscript. We then consider, on archetype component m,each rot tran archetype port domain γˆ as the image of β under a rigid-body map R = R R , m,j m,j m,j m,j rot tran where R corresponds to rotation and R corresponds to translation, such that m,j m,j γˆ = R (β); (35) m,j m,j this map is the key to honor the port compatibility requirement (7). We then introduce, on the reference port domain β, a set of reference port modes χ ˆ , 1 ≤ k ≤ N , and an associated reference port space β β P = span{ˆ χ ,1 ≤ k ≤ N } (36) k 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 11 of 49 http://www.amses-journal.com/content/1/1/3 of dimension N . We then define, on archetype port domain γˆ of type β,the archetype m,j γ γ port space basis functions χ ˆ ,1 ≤ k ≤ N ,1 ≤ j ≤ n ,as m m m,j,k rot −1 χ ˆ ≡ R (χ ˆ ◦ R ), (37) m,j,k m,j m,j Note that N = N . We now consider two instantiated port domains γ = T (γˆ ), γ = T (γˆ ), (38) i,j i M(i),j i ,j i M(i ),j on different instantiated components i and i . From (5) we have for the associated port space basis functions rot −1 χ = T (χ ˆ ◦ T ), (39) i,j,k i M(i),j,k rot −1 χ = T (χ ˆ ◦ T ), (40) i ,jv,k M(i ),j ,k i i and so, with (37), rot rot −1 −1 χ = T (R (χ ˆ ◦ R ) ◦ T ), (41) i,j,k i M(i),j M(i),j i rot rot −1 −1 χ = T (R (χ ˆ ◦ R ) ◦ T ). (42) i ,j ,k i M(i ),j k M(i ),j i Now, suppose that π ={(i, j), (i , j )} for a shared global port  such that γ = γ .In p p i,j i ,j this case, from (35) and (38), we obtain T (R (β)) = T (R (β)). (43) i M(i),j i M(i ),j def We recall that T (for 1 ≤ i ≤ I)whenappliedtoaport correspondstopuretranslation. As a result, application of the port mapping T R corresponds only to translation and i M(i),j rotation. We now recall that the rotation applied to β on each side of (43) is unique, and rot rot rot rot we may thus conclude from (43) that T R = T R . With (41) and (42), we i M(i),j i M(i ),j then obtain χ = χ , and we thus honor our port compatibility requirement (7). i,j,k i ,j ,k Model reduction The computational efficacy of our port-reduced SCRBE approach is realized through two separate model reduction techniques. As in the standard SCRBE approach [5] we con- sider component-interior model reduction through RB approximation [6] of the source bubbles (18) and of the fundamental solutions (19) to reduce the cost of each of the many component-interior linear solves required to form the Schur complement system. In addi- tion to RB approximation in the component interiors, we employ port reduction [12] with empirical port modes to reduce the number of degrees of freedom on the ports and thus the size of the Schur complement system. We now discuss each of these techniques in more detail. Component-interior reduction For the component-interior model reduction we employ RB approximations f f ;h b (μ ) ≈ b (μ ), (44) i i i i φ (μ ) ≈ φ (μ ), (45) i,j,k i i i,j,k and thus (μ) ≈ (μ). The purpose of these RB approximations is to allow for p,k p,k efficient formation of an approximation to the Schur complement system (54): each RB approximation b (μ ) or φ (μ ) is associated with a rapidly convergent [7] RB space i i,j,k i specifically tailored to the particular bubble and to the parameter dependence defined by 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 12 of 49 http://www.amses-journal.com/content/1/1/3 the corresponding (archetype domain) PDE (18) or (19). All RB bubble spaces are thus different, and furthermore each space is typically of much lower dimension than the orig- inal FE spaces B . As a consequence, the RB approximations to the solutions of (18) and m;0 (19) are obtained at significantly reduced computational cost with minimal compromise to solution accuracy. The RB method is now considered standard, and we refer the reader to [6] for all technical details relevant to the particular class of problems (linear elliptic) that we consider here. ∗ h We now introduce the SCRBE approximation u ˜ (μ) ≈ u (μ) as I n p ∗ ∗ ˜ ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ), (46) i p,k i p,k i=1 p=1 k=1 ∗ h and we again choose S() as the test space such that u ˜ (μ) ∈ X () satisfies a(u ˜ (μ), v; μ) = f (v; μ), ∀v ∈ S(); (47) the equivalent linear-algebraic system is ∗ ∗ ˜ ˜ ˜ A (μ)U (μ) = F(μ) (48) where ˜ ˜ ˜ A (μ) = a( (μ), ; μ), (49) p ,k p,k ( p,k),( p ,k ) f ;h ˜ ˜ ˜ F (μ) = f ( ; μ) − a(b (μ ), ; μ), (50) ( p,k) p,k p,k i=1 for 1 ≤ k ≤ N ,1 ≤ k ≤ N ,1 ≤ p, p ≤ n .Notethat A (μ) in (49) is non-symmetric because each RB approximation φ (μ ) (mapped to the respective archetype domain) i,j,k i satisfies (19) only with respect to the associated RB bubble subspace. These RB approxi- mations are thus not Galerkin orthogonal with respect to other bubble spaces; recall that this Galerkin orthogonality (together with symmetry of a ˆ (·, ·; μ )) is the key to the sym- m i metry of A(μ) as demonstrated in (29). To recover symmetry we have two options: we may either, as in [5,12], test on a space ˜ ˜ S () = span{ (μ),1 ≤ k ≤ N ,1 ≤ p ≤ n } (51) symm p,k in (47), or we may explicitly symmetrize A (μ) by algebraic manipulation. The former option necessitates larger offline and online computational cost and storage, in fact, when compared to the latter, by a multiplicative factor equal to the number of RB basis functions. We thus elect to recover symmetry by algebraic manipulation: we exploit the interpre- tation (34) of A(μ) and we define A(μ) ≈ A(μ) as 1 1 ∗ ∗ T ˜ ˜ ˜ A(μ) = A (μ) + A (μ) , (52) 2 2 such that 1 1 ˜ ˜ ˜ A (μ) = a( (μ), ; μ) + a( (μ), ; μ). (53) (p,k),(p ,k ) p ,k p,k p,k p ,k 2 2 We may then finally introduce our symmetric SCRBE linear-algebraic system as ˜ ˜ ˜ A(μ)U(μ) = F(μ), (54) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 13 of 49 http://www.amses-journal.com/content/1/1/3 and we define the SCRBE field approximation u ˜ (μ) ≈ u (μ) as I n p ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (55) p,k p,k i=1 p=1 k=1 The associated SCRBE compliance output approximation is s ˜(μ) = f (u ˜ (μ); μ). Note that in actual practice, we assemble (54) through a direct-stiffness procedure from component-local matrix and vector blocks associated with and assembled for each of the I component instantiations; the procedure is described in detail in [5,12]. The assem- bly of these component-local quantities constitutes the majority of online computational cost. However, we need only perform the assembly for each unique component instan- tiation, as identical (or “cloned”) components may share local matrices and vectors. We thus realize significant computational savings for systems which consist of instantiations of many component clones, such that we need only consider I  I effective component eff instantiations for this assembly proceedure. There are two particularly important situations in which different component instantia- tions are effectively clones in the sense that the component-local matrix and vector blocks may still be re-used: First, matrix and vector blocks computed for component instantia- tions which differ only in spatial orientation are (in the case that material properties do not depend on spatial orientation, such as in isotropic linear elasticity) identical thanks to cancellation of the mapping Jacobians in the archetype domain bilinear form; sec- ond, “free” parameters such as component-wide thermal conductivity or Young’s modulus enter outside the bilinear forms in (18) and (19), and thus the associated matrix blocks will only differ by a scaling factor. As a result, we often obtain I  I in practice. We eff discuss this situation further under “Computational procedures” later in this section. Port reduction Framework While the RB approximation is concerned with component-interior model reduction, we apply port reduction to reduce the number of degrees of freedom associated with com- ponent interfaces. For the port reduction procedure we shall consider on each global port only n ≤ N port modes as “Active” and thus contributing to the approximation; A,p p for substantial computational savings we require n  N . We consider in this sub- A,p p section the generic port reduction framework and in the next subsection our particular choice of port space basis functions which realizes n  N . A,p Based on the n active modes associated with each global port we introduce a port- A,p PR reduced skeleton space S () ⊆ S() as PR S () ≡ span{ ,1 ≤ k ≤ n ,1 ≤ p ≤ n } (56) p,k A,p of dimension n ≡ n ≤ n . (57) A SC A,p p=1 PR,∗ h We further introduce a port-reduced approximation u ˜ (μ) ≈ u (μ) as I n A,p PR,∗ ∗ ˜ ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (58) i p,k i p,k i=1 p=1 k=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 14 of 49 http://www.amses-journal.com/content/1/1/3 PR We now choose S () as our test space such that PR,∗ PR a(u ˜ (μ), v; μ) = f (v; μ), ∀v ∈ S (), (59) which leads to the linear-algebraic system PR,∗ PR,∗ PR ˜ ˜ ˜ A (μ)U (μ) = F (μ) (60) of size n ,where PR,∗ ˜ ˜ A (μ) = a( (μ), ; μ), (61) p ,k p,k ( p,k),(p ,k ) f ;h PR F (μ) = f ( ; μ) − a(b (μ ), ; μ), (62) p,k i p,k ( p,k) i for 1 ≤ k ≤ n ,1 ≤ k ≤ n ,1 ≤ p, p ≤ n . We then symmetrize as A,p A,p 1 1 PR PR,∗ PR,∗ T ˜ ˜ ˜ A ≡ A (μ) + A (μ) , (63) 2 2 we define the port-reduced SCRBE system as PR PR PR ˜ ˜ ˜ A (μ)U (μ) = F (μ), (64) PR h and we define the port-reduced SCRBE field approximation u ˜ (μ) ≈ u (μ) as I n A,p PR PR ˜ ˜ u ˜ (μ) = b (μ ) + U (μ) (μ). (65) i p,k i p,k i=1 p=1 k=1 PR The associated port-reduced SCRBE compliance output approximation is s ˜ (μ) = PR f (u ˜ (μ); μ). The purpose of port reduction is of course to reduce the size of the Schur complement system — and thus computational cost — while maintaining accuracy of the approxima- tion. The size of the system (64), n , is equal to the total number of active port modes in the system. In practice, we shall typically invoke only a few port degrees of freedom on each port such that n  n . A good choice for the port modes χ is key to A SC i,j,k the accuracy of the port-reduced SCRBE approximation, and is the focus of the next subsection. Empirical port mode training To ensure port compatibility we must for each port type develop our port basis on the associated reference port domain β as discussed under “Port compatibility” above. To this end we pursue a pairwise training algorithm that provides a port space tailored to the family of solutions associated with this port type. We shall develop bases for the full port spaces (6) and not merely the space spanned by “Active” modes; the remaining “Inactive” modes shall play a role in certification (for residual calculation), which we discuss further in the “Certification framework” section. Our port spaces shall consist of three sets of modes. The first set of modes is explicitly specified and consists of the six modes associated with rigid-body motion. We include these six modes for two reasons: first, it simplifies the procedure for specification of typical Dirichlet boundary conditions, and second, it ensures invertibility of the Schur complement operator associated with “Inactive” modes, which is a property we require for our non-conforming error estimation framework. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 15 of 49 http://www.amses-journal.com/content/1/1/3 The second set of modes consists of the n ≤ N − 6 modes which shall be the pod outcome of our pairwise training algorithm. The third set of modes consists of N − n − 6 singular Sturm-Liouville eigenmodes restricted to the orthogonal complement pod of the first n + 6 empirical modes [12]. These modes serve to complete the discrete pod port space in a numerically stable fashion. Recall that the total number of modes associated with the reference port β is N .We 2 β consider here the case d = 3and thus β ⊂ R ; each port mode χ ˆ ,1 ≤ i ≤ N ,has the β β,1 β,2 β,3 form χ ˆ = (χ ˆ , χ ˆ , χ ˆ ), where the number of degrees of freedom associated with i i i i β,j each field component χ ˆ is N /3. In the case that β is the square β = [ −0.5, 0.5] , the first six reference port modes are explicitly defined as β β β χ ˆ = (1, 0, 0), χ ˆ = (0, 1, 0), χ ˆ = (0, 0, 1), (66) 1 2 3 for the three ports associated with translation; as χ ˆ (ξ, η) = (−η, ξ,0) (67) for the mode associated with pure rotation; and as β β χ ˆ (ξ, η) = (0, 0, ξ), χ ˆ = (0, 0, η), (68) 5 6 2 d forthe twomodes associated with flipping.Notethese sixmodes aremutually (L (β)) - orthonormal. (If β is not the square β = [ −0.5, 0.5] we apply Gram-Schmidt orthonor- 2 d malization to these first six modes to recover (L (β)) -orthonormality.) The next n port modes are the outcome of our pairwise empirical training algo- pod rithm. In this algorithm we exploit the fact that within any system, the solution on any global (shared, say) port is determined completely by the parameter values assigned to the pair of components sharing the port and the (typically relatively smooth) solution on all other ports associated with these two components. The purpose of our pairwise train- ing algorithm is to explore the associated “solution manifold” induced by local parameter dependence and neighboring ports in a systematic fashion such that the empirical modes associated with each port type are tailored to all possible component connectivity and all admissible component parameter values. For our empirical training algorithm we shall require discrete “Legendre polynomials” β β L ,1 ≤ i ≤ N /3, such that the L are the eigenvectors of a scalar singular i i Sturm-Liouville eigenproblem [16] over β ordered according to increasing eigenvalue; we shall also require a univariate random variable r with uniform density; and we introduce an algorithm tuning parameter γ> 1 related to anticipated regularity. We then identify one or several pairs of components in the component library that may connect through a global port of the relevant port type β. The empirical training procedure for each such pair is now given by Algorithm 1: we sample (solve) each pair N times for different (random) parameters and different sample (random but smooth thanks to the parameter γ> 1) boundary conditions on all non- connected ports (note that we assign random boundary conditions independently to each vector component); for each such sample we extract the solution on the shared port of the relevant type, map it to the reference port β, subtract from this mapped solution its 2 d orthogonal (L (β)) -projection onto each of the six rigid body modes χ ˆ ,1 ≤ i ≤ 6, and i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 16 of 49 http://www.amses-journal.com/content/1/1/3 then finally include the result ζ in a snapshot set S associated with the current pair. pair 2 d Note that in Algorithm 1 (·, ·) 2 refers to the vector (L (β)) inner product. L (β) Algorithm 1 Pairwise training (two components connected at global port  ) S =∅. pair for n = 1, ... , N do samples Assign random parameters μ ∈ D to component i = 1, 2. i i On all non-shared ports  , assign random boundary conditions: N /3 u | = r L , i = 1, 2, 3. γ k k=1 Solve the two-component system; extract solution on shared port  (mapped to β): ζ ← u| Subtract the orthogonal projection onto rigid-body modes: for i = 1, ...,6 do (ζ , χ ˆ ) 2 L (β) i β ζ ← ζ − χ ˆ , ˆ χ  2 L (β) end for Include the result in the snapshot set: S ← S ∪ ζ pair pair end for After pairwise training of all pairs relevant for one port type, we form the bigger snapshot set S = S . (69) type pair pair We then perform a data compression step: we invoke the proper orthogonal decom- 2 d position (POD) [17] (with respect to the vector (L (β)) inner product). The output 2 d from the POD procedure is a set of n mutually (L (β)) -orthonormal POD modes pod which are also orthonormal to the six first modes χ ˆ ,1 ≤ i ≤ 6, related to rigid-body motion. We choose these n POD modes as our next reference port basis functions pod β β χ ˆ ,1 ≤ i ≤ n ; we typically observe rapid (often exponential) convergence [12] of 6+i pod these POD modes with respect to the input snapshot set S . type β β We refer to all first n + 6 port modes as our empirical port modes.If n is chosen pod pod such that n + 6 < N , we now complete the discrete space with Sturm-Liouville pod n +6 β pod singular eigenmodes restricted to the orthogonal complement space (span{ˆ χ } ) i i=1 (of dimension N − n − 6) as discussed in detail in [12]. pod We finally note that for our pairwise training approach we may employ the (non-port- reduced) SCRBE framework or we may use standard FE approximations. The computa- tional cost associated with empirical training is not critical as the procedure is performed 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 17 of 49 http://www.amses-journal.com/content/1/1/3 offline. For our numerical results in this paper we have used the non-port-reduced SCRBE framework to calculate empirical modes. Computational procedures The computational procedures associated with our port-reduced SCRBE approximation framework naturally decouple into an offline preprosessing stage and an online evaluation stage, and we now discuss each in more detail. Note we provide here only descriptions of each of the offline and online steps involved; for detailed online operation counts we refer to [12]. Offline The offline stage is the preprosessing stage — performed only once — in which we con- struct and prepare the archetype component library. This stage consists of the following steps. Off1. Empirical pairwise training by Algorithm 1. For each port type we sample pairs of components to obtain efficient port space basis functions χ ˆ , 1 ≤ k ≤ N , associated with each reference port domain β. In the current implementation, we employ the non-port-reduced SCRBE [5] (rather than standard global FE) for the pairwise training. Off2. RB space construction. For each archetype component m, 1 ≤ m ≤ M,wemust n γ train N + 1 different RB spaces to accommodate the RB approximations j=1 m,j (44) and (45). Each construction of an RB space requires a number of component-local FE solves (each associated with an RB space basis function), and thus this step is potentially rather expensive, depending on the component spatial ˆ ˆ discretization and parametric complexity Q and Q in the bilinear and linear form expansions (1). Note, however, that the construction of the RB approximation spaces (subsequent to port space construction) is embarrassingly parallel. Also note that we do not consider parameters for spatial orientation (because of the mapping Jacobian cancellations in the archetype domain formulation), and furthermore recall that components often have “free” parameters such as component-wide thermal conductivity or Young’s modulus, with which the solutions to (18) and (19) simply scale linearly. As a result, RB space dimensions are typically rather small (around ten basis functions often suffice for each RB space), and thus although this step typically dominates offline cost the computational effort is not onerous: typically a couple of CPU hours is required for each archetype component. Off3. Online dataset preparation. For each archetype component we construct data to enable efficient assembly of the component-local Schur complement matrix and vector blocks in the subsequent online stage. The computation time depends stongly on component spatial discretization and parametric complexity, but is typically between minutes and hours (on a single CPU) for each component. The online dataset also contains all RB basis functions, which are required for online global field visualization, if desired. Off4. Data loading. We finally read the online datasets (typically a few hundred Mb) for all library components into computer memory to prepare for the online stage. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 18 of 49 http://www.amses-journal.com/content/1/1/3 Note that with our current implementation of the framework, since we employ the non- port-reduced SCRBE in step Off1 above, we must first perform a step Off0a (similar to Off2) and then a step Off0b (similar to Off3) in order to enable the necessary “online” pair evaluation in Off1. Online The online stage is the stage in which we instantiate archetype components, and assemble and solve our system. This stage consists of the following steps, which in the current implementation is performed on a single CPU. On1. Component instantiation. Instantiate I components from the library, assign the relevant parameter values to each component, and connect components to other components through ports of the same type to form a system; this step is most easily effected through a graphical user interface [Additional file 1]. On2. Schur complement system formation. Perform component-local RB solves (of small RB dimension) associated with all “Active” degrees of freedom to obtain (RB ˜ ˜ coefficients for) the RB approximations φ (μ ) and b (μ ), assemble the i,j ,k i i associated matrix and vector blocks for each component, and assemble the Schur complement system (64) through a direct-stiffness procedure [5,12]. The entries in the component-local matrix blocks are of the form 1 1 ˜ ˜ ˜ A (μ ) = a (φ (μ ), ψ ; μ ) + a (φ (μ ), ψ ; μ ) i i i,j ,k i i,j,k i i i,j,k i i,j ,k i A,A;( j,k),( j ,k ) 2 2 (70) (the symmetrization is performed on the component level) and the entries in the component-local vector blocks are of the form F (μ ) = f (ψ ; μ) − i, j, k A;( j,k) a (b (μ ), ψ ; μ); the subscripts refer to assembly of “Active” component i i i,j,k A matrices and vectors. However, thanks to an efficient construction-evaluation procedure [6], which relies on the affine operator expansions (1), only the RB ˜ ˜ coefficients associated with φ (μ ) and b (μ ) are required for this assembly i i i,j ,k step. We emphasize in particular that the underlying component FE discretization is never invoked. We recall that parameters related to spatial orientation (component “docking”) do not appear in the (archetype) bilinear forms due to cancellation of the associated Jacobians (we demonstrate this for isotropic linear elasticity in the “Microtruss beam application” section); and moreover, certain parametric variations such as component-wide conductivity or Young’s modulus are “free” in the sense that they enter as scalars outside the bilinear forms in (18) and (19). As a consequence, matrix and vector blocks associated with different component instantiations are in practice often identical (in the context of “free” parameters up to a multiplicative constant). We may thus in typical systems often consider only I  I effectively different (or unique) component instantiations, for which eff we perform RB solves and assemble component-local matrices and vectors. The component-local matrices and vectors for the remaining I − I component eff instantiations are then simply copies of the respective data from effectively identical components. This consideration of component “clones” together with 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 19 of 49 http://www.amses-journal.com/content/1/1/3 the realization of “docking” parameter cancellation and “free” parameters contribute significantly to the modest computational cost associated with On2. The typical computation time is a few seconds. On3. Evaluate. Solve the “Active” Schur complement system, and evaluate any relevant derived quantities from the solution vector (for example a compliance output). The typical computation time is a few seconds. The computational cost associated with this online stage is dominated by On2 (when I eff is close to I)orOn3 (when I  I). However, the offline and online stages above are only eff concerned with the port-reduced SCRBE approximation. We consider the computational procedures associated with a posteriori error estimation in the next section. Certification framework Our port-reduced SCRBE approximation is equipped with efficiently computable a posteriori error bounds and estimators that provide certificates for the error in the approximation with respect to the underlying global FE discretization. We employ in this paper the energy-norm and compliance output bound developed in [12], and we present the main ingredients and certain extensions below. We furthermore sharpen the bounds by consideration of a multi-reference parameter bound conditioner. The error in our approximation derives from two sources: port reduction and RB approximation. Below we first address the error due to port reduction, that is to say, the case in which the error due to RB approximation is zero. In this case the error bound pre- sentation simplifies significantly and in particular admits a pure functional interpretation. We then subsequently perturb the equivalent algebraic interpretation to provide a bound for the general case in which the error due to RB approximation is non-zero. Port reduction error contribution We assume in this subsection only that the only source of error is port reduction and hence that there is no RB-induced error. We introduce the function A,p I n PR f ;h PR h u (μ) = b (μ ) + U (μ) (μ) ∈ X (), (71) i p,k p,k i=1 p=1 k=1 which satisfies PR PR a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (); (72) PR h hence u (μ) is the port-reduced approximation to u (μ) obtained in the absence of RB PR errors. We note that we may (as in (25)) replace the skeleton space S () in (72) by the skeleton space PR S () = span{ (μ),1 ≤ k ≤ n ,1 ≤ p ≤ n }⊂ S (), (73) p,k symm symm A,p PR h and thus u (μ) ∈ X () also satisfies PR PR a(u (μ), v; μ) = f (v; μ), ∀v ∈ S (); (74) symm PR PR f ;h note that u (μ) ∈ / S () because of the source bubble terms b (μ ) in (71). symm 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 20 of 49 http://www.amses-journal.com/content/1/1/3 We define the associated (RB-error-free) error field as h h PR e (μ) ≡ u (μ) − u (μ) n A,p p PR = (U (μ) − U (μ)) (μ) + U (μ) (μ) , (75) p,k p,k p,k p,k p,k p=1 k=1 k=n +1 A,p (in which the subscript refers to the case of zero RB error contribution) and we note h h PR that e (μ) ∈ S () because the source bubble contributions from u (μ) and u (μ) symm cancel. Our goal is to develop a bound for the energy e (μ) ,where · ≡ a(·, ·; μ) (76) is the usual energy norm. From (25) and (74) we see that h PR a(e (μ), v; μ) = f (v) − a(u (μ), v; μ), ∀v ∈ S (); (77) symm this error-residual relationship is the point of departure for our error bound development. Thanks to coercivity and symmetry of a(·, ·; μ), the error field e (μ) admits the equivalent definition e (μ) = arg min J (v; μ), (78) v∈S () symm where PR J (v; μ) ≡ a(v, v) − f (v) − a(u (μ), v; μ) , (79) h 2 h h h and furthermore e (μ) = a(e (μ), e (μ); μ) =−2J (e (μ); μ). We now relax the 0 μ 0 0 0 minimization (78) by consideration of a discontinuous (non-conforming) skeleton space NC PR S () ≡ S () symm symm γ γ γ ⊕ span{φ (μ), (n + 1) ≤ k ≤ N ,1 ≤ j ≤ n ,1 ≤ i ≤ I} i,j,k i,j i A,i,j ≡ span{ (μ),1 ≤ i ≤ n }, (80) NC in which the basis functions (μ),1 ≤ i ≤ n , merely represent a re-indexing of the NC γ γ basis functions (μ),1 ≤ k ≤ n ,1 ≤ p ≤ n ,and φ (μ), (n + 1) ≤ k ≤ N ,1 ≤ p,k i,j,k p A,i,j i,j j ≤ n ,1 ≤ i ≤ I. Note that the φ (μ) represent independent (non-conforming) degrees i,j,k NC of freedom local to component i. The dimension of S () is symm γ γ n = n + N − n ≥ n ; (81) NC A SC i,j A,i,j i=1 j=1 NC NC note that S () ⊇ S (). We also define a non-conforming skeleton space S ⊇ symm symm S() as NC PR S () ≡ S () γ γ γ ⊕ span{ψ , (n + 1) ≤ k ≤ N ,1 ≤ j ≤ n ,1 ≤ i ≤ I} i,j,k i,j i A,i,j ≡ span{ ,1 ≤ i ≤ n }. (82) NC Hence for NC e (μ) ≡ arg min J (v; μ) (83) NC v∈S () symm 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 21 of 49 http://www.amses-journal.com/content/1/1/3 (recall the “broken” definition of a(·, ·; μ) in (8)) we must have NC h J (e (μ); μ) ≤ J (e (μ); μ) (84) 0 0 NC NC h h and thus a(e (μ), e (μ); μ) ≥ a(e (μ), e (μ); μ). This first relaxation of (78) not only 0 0 0 0 provides a bound on the energy of the error field, but also accommodates efficient bound NC calculation thanks to the non-conforming space S (). symm A second relaxation step is required to obtain a computationally tractable error bound. NC NC To this end we introduce a bound conditioner, the bilinear form b : S ()×S → symm symm R,defined as b (·, ·) ≡ a(·, ·; μ ) (85) ref for a reference parameter value μ ∈ D. Note that here, b (·, ·) depends implicitly on μ ref through the parameter-dependent reference parameter μ . In fact, an important inno- ref vation of this paper is this multi-reference parameter bound conditioner: in the online stage, we optimally select μ from a database of a few candidate reference parameters ref (through a discrete enumeration procedure); we discuss the selection of μ further in ref the “Computational procedures” subsection below. We also define a(v, v; μ) λ (μ) ≡ min . (86) min NC b (v, v) v∈S () μ symm We then introduce a modified functional λ (μ) min PR NC J (v; μ) ≡ b (v, v) − f (v) − a(u (μ), v; μ) , ∀v ∈ S (), (87) b μ symm and we consider the minimization NC e ¯ (μ) ≡ arg min J (v; μ). (88) NC v∈S () symm By the definition of λ (μ) in (86) it is clear that J (v; μ) ≤ J (v; μ) for all v ∈ min b NC NC S (). Thus in particular, since e ¯ (μ) is the minimizer, symm NC NC NC J (e ¯ (μ); μ) ≤ J (e (μ); μ) ≤ J (e (μ); μ) ≤ J (e (μ); μ), (89) b b 0 0 0 0 where the last inequality follows from (84). Consequently, we obtain the energy-norm error bound NC NC h h λ (μ)b (e ¯ (μ), e ¯ (μ)) ≥ a(e (μ), e (μ); μ) (90) min μ 0 0 0 0 NC NC where the field variable e ¯ (μ) ∈ S () — a presumably rather good approxima- 0 symm h NC tion to the original error field e (μ) [12] — satisfies the elliptic problem b (e ¯ (μ), v) = 0 0 −1 PR NC λ (μ) (f (v; μ) − a(u (μ), v; μ)) for all v ∈ S (). Equivalently, because of the min symm Galerkin orthogonality in (19), NC PR NC b (e ¯ (μ), v) = f (v; μ) − a(u (μ), v; μ) , ∀v ∈ S (). (91) λ (μ) min Thanks to incorporation of the modes related to rigid-body motion in our port space bases (presuming n ≥ 6 on all global ports  ,1 ≤ p ≤ n ) we expect in general (and A,p for a particular system, we computationally verify) that (91) is well-posed; for the simpler class of problems with scalar-valued fields we demonstrate this well-posedness in [12]. The RB-error-free bound given in (90) (together with (91)) is the basis on which we in the next subsection extend our error estimation framework to the general case of non-zero RB errors and furthermore to certain outputs of interest. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 22 of 49 http://www.amses-journal.com/content/1/1/3 In order to implement this error bound, and to facilitate incorporation of RB-induced error contributions, we now interpret the error bound (90) in terms of algebraic quanti- n p ties. To this end, we first note that, for any v(μ) = V (μ) (μ) —thatis, p,k p,k p=1 k=1 for any v(μ) ∈ S () with coefficients V(μ) —wehave symm a(v(μ), v(μ); μ) = V(μ) A(μ)V(μ); (92) we refer to the right-hand side of (92) as the “Schur energy” of V(μ).Itshall prove convenient to introduce the zero-extended solution vectors PR PR U (μ) U (μ) PR n PR,NC n ˆ SC ˆ NC U (μ) ≡ ∈ R ,and U (μ) ≡ ∈ R , (93) 0 0 0 0 in which all but the first n entries are explicitly set to zero. We also define the error coefficient vector PR n SC E (μ) ≡ U(μ) − U (μ) ∈ R (94) h n such that the error (75) can be written e (μ) = E (μ) (μ). Note here, 0;p,k p,k 0 p=1 k=1 we tacitly interpret (without loss of generality) U(μ) such that the first n entries cor- respond to the n active degrees of freedom. The algebraic version of the error residual equation (77) is A(μ)E (μ) = R (μ), (95) 0 0 where the residual vector is given as PR R (μ) = F(μ) − A(μ)U (μ); (96) note that, thanks to (92) and the fact that e (μ) ∈ S (), (95) is equivalent to (77). symm NC n ×n NC NC NC We now introduce a non-conforming matrix A (μ) ∈ R and vector F (μ) ∈ NC R as NC A (μ) = a( (μ), (μ); μ), (97) i,j j i f ;h NC F (μ) = f ( (μ); μ) − a(b (μ ), (μ); μ), (98) i i i l=1 for 1 ≤ i, j ≤ n .Notethat a( (μ), (μ); μ) = a( (μ), ; μ) becauseofthe NC j i j i NC Galerkin orthogonality in (19), and thus A (μ) is indeed the non-conforming ver- sion of the Schur complement matrix A(μ) in (26); similarly, note that f ( (μ); μ) − I f ;h I f ;h a(b (μ ), (μ); μ) = f ( ; μ) − a(b (μ ), (μ); μ) because of (18) and l l l=1 l i i l=1 l i NC the fact that (μ) − vanish on ports, and thus F (μ) is the non-conforming version i i of the vector F(μ) in (26). We further define a non-conforming reference matrix NC NC B ≡ A (μ ), (99) ref which corresponds to the bilinear form b (·, ·). We also introduce a non-conforming NC NC residual vector R (μ) ∈ R as NC PR R (μ) = f ( (μ)) − a(u (μ), (μ); μ),1 ≤ i ≤ n ; (100) NC 0;i i i NC NC NC PR note that R (μ) = F (μ) − A (μ)U (μ). 0 0 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 23 of 49 http://www.amses-journal.com/content/1/1/3 NC n ¯ NC Next, we introduce a (unknown) coefficient vector E (μ) ∈ R such that NC NC e ¯ (μ) = E (μ) (μ). (101) 0;i 0 i i=1 Thus from (91), (99), and (100) we obtain NC NC −1 NC E (μ) = (B ) R (μ). (102) 0 μ 0 λ (μ) min NC Similarly to (92), we note that for any v(μ) = V (μ) (μ) —thatis, forany i=1 i NC v(μ) ∈ S () —wehave symm T NC a(v(μ), v(μ); μ) = V(μ) A (μ)V(μ). (103) NC NC Hence in particular, since e ¯ (μ) ∈ S (),weobtain symm NC NC NC T NC NC ¯ ¯ λ (μ)b (e ¯ (μ), e ¯ (μ)) = λ (μ)E (μ) B E (μ) min μ min 0 0 0 μ 0 NC T NC −1 NC = R (μ) (B ) R (μ). (104) 0 μ 0 λ (μ) min Further, since e (μ) ∈ S , we may invoke (92) and write symm a(e (μ), e (μ); μ) = E (μ) A(μ)E (μ). (105) 0 0 0 0 Finally, we note that λ (μ) of (86) is the smallest eigenvalue associated with the min generalized eigenproblem NC NC A (μ)V(μ) = λ(μ)B . (106) The algebraic interpretation of the port reduction error bound (90) is thus NC T NC −1 NC T R (μ) (B ) R (μ) ≥ E (μ) A(μ)E (μ). (107) 0 0 0 μ 0 λ (μ) min NC −1 NC We note that the bound (107) necessitates a solve (B ) R (μ) of dimension n ≥ NC μ 0 n . However, this solve may be performed efficiently thanks to i) the non-conforming SC NC skeleton space S () which in a natural way allows component-local elimination of all degrees of freedom that do not couple at shared global ports; and ii) the quasi parameter- NC independent bound conditioner matrix B associated with the bilinear form b , which allows offline pre-factorization for all these component-local solves. And furthermore, in actual practice we invoke not λ (μ) but rather a computationally tractable eigen- min value lower bound λ (μ) ≤ λ (μ). We consider computational aspects of our min,LB min error estimation framework in more detail in the “Computational procedures” subsection below. RB error contribution — A Posteriori error estimators We now modify (107) in order to obtain an efficiently computable a posteriori error bound which is also valid in the presence of RB error contributions. First, as we in the SCRBE context only have access to an approximation of the FE Schur complement system, the residual can not be computed exactly and we thus instead compute a residual approxima- tion together with bounds on associated RB-error-induced residual perturbation terms. Second, we introduce a lower bound (valid under an eigenvalue proximity assumption) for the eigenvalue λ (μ) which is based on the solution to a port-reduced eigenprob- min lem, an approximate eigenproblem residual, and bounds on associated RB-error-induced eigenproblem residual perturbation terms. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 24 of 49 http://www.amses-journal.com/content/1/1/3 Moreover, in the presence of RB error contributions the error in the Schur energy is not equal to the energy of the error in the field, and thus in addition to a bound on the former we require a bound on additional RB perturbation terms to obtain a bound for the latter. Further, we develop in this section, from our Schur energy error bound, a new bound on port-restricted compliance outputs. For this output bound we must take into account that PR PR ˜ ˜ we in this paper (in contrast to in [12]) employ S () rather than S () ⊂ S () symm symm (the former being a port-reduced version of the latter, which is defined in (51)) as our skeleton space. Finally, we introduce asymptotically rigorous error estimators, by which we reduce computational cost by neglecting typically very small quadratic RB error bound contributions. To begin, we define the error field as h h PR e (μ) ≡ u (μ) −˜u (μ). (108) It is again convenient to introduce the zero-extended solution vectors, PR PR ˜ ˜ U (μ) U (μ) PR n PR,NC n ˆ SC ˆ NC U (μ) ≡ ∈ R ,and U (μ) ≡ ∈ R , (109) 0 0 PR in which the solution U (μ) of (64) is extended by n − n and n − n zeros, SC A NC A respectively. We may then write I n h;f h;f h PR ˜ ˆ ˜ e (μ) = (b (μ ) − b (μ )) + U (μ) (μ) − U (μ) (μ) , i i p,k p,k p,k i i p,k i=1 p=1 k=1 (110) and we note that e (μ) is not amemberof S () because of the errors in the RB symm bubble approximations. We also define a vector of error coefficients as PR E(μ) ≡ U(μ) − U (μ). (111) We first develop a bound for the error in the Schur energy norm, E(μ) A(μ)E(μ), through perturbations of the left-hand side of (107). We subsequently modify this bound to obtain a bound on e (μ) ; note the former is not equivalent to the latter because e (μ) is not a member of S (). symm The usual error-residual relationship still holds in the presence of RB error contribu- tions. In this case the relevant error-residual equation is A(μ)E(μ) = R(μ), (112) where the residual vector is given as PR R(μ) = F(μ) − A(μ)U (μ). (113) The difference between (95) and (112) is rather subtle: the former features the resid- PR ual associated with the RB-error-free solution vector U (μ) (never computationally realized), while the latter features the residual associated with the RB-error-affected PR SCRBE solution vector U (μ) (computed in practice). The non-conforming version of the residual is NC NC NC PR R (μ) ≡ F (μ) − A (μ)U (μ). (114) Next, we redefine our quasi parameter-independent (due to online reference param- NC NC eter selection) bound conditioner matrix B from the previous subsection as B = μ μ 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 25 of 49 http://www.amses-journal.com/content/1/1/3 NC A (μ ); note that any SPD matrix may serve as our bound conditioner, and thus the RB ref NC approximations now present in B do not necessitate modifications to the error bound NC expression (and therefore the B of the previous subsection did not bear a subscript ). NC Henceforth, the eigenproblem (106) is interpreted with this redefined B as the right- hand side matrix, and λ (μ) is interpreted as the associated smallest eigenvalue. In the min presence of RB error contributions, (107) now becomes NC T NC −1 NC R (μ) (B ) R (μ) ≥ E(μ) A(μ)E(μ). (115) λ (μ) min To bound the error in the Schur energy, we must thus, based on residual and eigenvalue approximations, develop upper and lower bounds for the numerator and denominator, respectively, of the left-hand side of (115). NC We first consider the approximation to the non-conforming residual R (μ).Aswe NC NC do not have access to F (μ) and A (μ) as defined in (97) and (98), but rather to RB- NC NC NC NC ˜ ˜ approximated versions F (μ) ≈ F (μ) and A (μ) ≈ A (μ),weintroduce our NC NC NC NC ˜ ˜ approximation based on F (μ) ≈ F (μ) and A (μ) ≈ A (μ) as NC NC NC PR,NC ˜ ˜ ˜ ˆ R (μ) = F (μ) − A (μ)U (μ) (116) NC NC NC such that R (μ) = R (μ) + δR (μ). Here, NC NC NC NC NC PR,NC ˜ ˜ ˆ δR (μ) = F (μ) − F (μ) + (A (μ) − A (μ))U (μ) (117) is an RB-error-induced perturbation term. We may readily from standard RB error bounds [5,6] develop bounds on these perturbation quantities; we introduce a vector σ (μ) such that, for any μ ∈ D, NC σ (μ) ≥|δR (μ)|,1 ≤ i ≤ n . (118) i NC We next consider the approximation to the eigenvalue λ (μ).Again,aswedonot in min NC practice have access to A (μ), and furthermore as we wish to avoid solution of a full PR eigenproblem of dimension n , we consider an approximation λ (μ) to λ (μ) given NC min min as the smallest eigenvalue associated with the port-reduced SCRBE eigenproblem PR PR PR ˜ ˜ A (μ)V(μ) = λ (μ)B V(μ); (119) PR NC here, B denotes the block of B associated with “Active” degrees of freedom. We μ μ PR PR denote by V (μ) the eigenvector associated with λ (μ), and we assume the nor- min min PR T PR PR malization V (μ) B V (μ) = 1. We also introduce an approximate eigenproblem min μ min residual NC NC PR PR NC PR ˜ ˜ ˆ ˆ R (μ) = A (μ)V (μ) − λ (μ)B V (μ), (120) eig min min μ min PR PR n n ˆ NC A in which V (μ) ∈ R is a zero-expanded version of V (μ) ∈ R . Note that the min min NC NC PR PR NC PR ˆ ˜ ˆ exact eigenproblem residual is given as R (μ) = A V (μ) − λ (μ)B V (μ), eig min min μ min NC and we may thus define a vector of RB perturbation terms δR (μ) such that eig NC NC NC R (μ) = R (μ) + δR (μ). We may then develop bounds on these RB-error- eig eig eig induced perturbation quantities — we introduce a vector σ (μ) such that, for any eig μ ∈ D, NC σ (μ) ≥|δR (μ)|,1 ≤ i ≤ n . (121) eig,i NC eig,i We now obtain a computable eigenvalue lower bound in 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 26 of 49 http://www.amses-journal.com/content/1/1/3 Lemma 1. Let C > 0 be such that NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) , (122) eig μ eig eig 2 assume that PR PR |λ (μ) − λ (μ)|≤|λ (μ) − λ(μ)|, (123) min min min NC for all λ(μ) which satisfy (106) (with the redefined B ), and let PR λ (μ; C) ≡ λ (μ) min,LB min NC NC NC 2 T NC −1 T NC −1 ˜ ˜ ˜ − R (μ) (B ) R (μ) + 2σ (μ) |(B ) R (μ)|+ Cσ (μ) . eig eig eig μ eig μ eig 2 (124) Then λ (μ; C) ≤ λ (μ). (125) min,LB min Proof. We refer to ([12], Proposition 1) for the proof, and we note that a similar residual- based eigenvalue bound has been developed in [18] for the standard eigenproblem. With the residual approximation R(μ), associated RB error bounds σ (μ),and theeigen- value lower bound λ (μ; C) above, we may now obtain a computable bound for the min,LB left-hand side of (115) and thus the error in the Schur energy norm in Proposition 1. Let C > 0 be a computable constant such that NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) , (126) μ 2 NC T NC −1 NC NC 2 δR (μ) (B ) δR (μ) ≤ CδR (μ) . (127) eig μ eig eig 2 Then define NC T NC −1 NC T NC −1 NC ˜ ˜ ˜ R (μ) (B ) R (μ) + 2σ (μ) |(B ) R (μ)|+ Cσ (μ) μ μ (μ; C) ≡ . λ (μ; C) min,LB (128) Then if the assumption (123) holds, we have E(μ) A(μ)E(μ) ≤  (μ; C). (129) Proof. We merely note here that the numerator in (128) is an upper bound for the numerator in (115), and that λ (μ; C) ≤ λ (μ) is a lower bound for the denomina- min,LB min tor in (115). We refer to ([12], Appendix A) for the detailed proof. We proceed to bound the energy of the error in the field. Since e (μ) is not a member of S (), a small modification to (128) is necessary to obtain a bound for e (μ) . symm μ To this end, we introduce additional RB perturbation terms f ;h f b (μ) ≡ b (μ) − b (μ) (130) i i i=1 n A,p ˜ ˜ (μ) ≡ U (μ) (μ) − (μ) ; (131) A A,p,k p,k p,k p=1 k=1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 27 of 49 http://www.amses-journal.com/content/1/1/3 we also introduce an RB error bound [6] κ(μ) such that, for any μ ∈ D, κ(μ) ≥b (μ) +  (μ) . (132) We then introduce our bound for the energy of the error field in Proposition 2. Define  (μ; C) as U 2 (μ; C) ≡  (μ; C) + κ(μ) . (133) where κ(μ) is given in (132). Then if the assumption (123) holds, we have h u e (μ) ≤  (μ; C). (134) Proof. We refer to ([12], Appendix A) for the proof. Next, we develop a bound for the error in port-restricted compliance outputs. To this n ×n A A end we introduce a matrix σ (μ) ∈ R such that σ (μ) ≥|A (μ) − A (μ)|,1 ≤ i, j ≤ n . (135) A,i,j i,j i,j A We then state Proposition 3. Let s U PR T PR ˜ ˜ (μ; C) ≡  (μ; C) +|U (μ)| σ (μ)|U (μ)| (136) (in which |·| denotes entry-wise absolute value and not vector modulus). Assume that f ;h thesourcef (·; μ) is restricted to ports such that b (μ ) = 0, 1 ≤ i ≤ I. The error in a PR PR port-restricted compliance output s ˜ (μ) = f (u ˜ (μ); μ) canthenbebounded as h PR s |s (μ) −˜s (μ)|≤  (μ; C) (137) PR Proof. We provide here a full proof as in the present paper (skeleton space S ())the proof is different from a related proof in [12] (skeleton space S ()). symm We first note that n p h f e (μ) = b (μ) +  (μ) + E (μ) (μ); (138) A p,k p,k p=1 k=1 note in the port-restricted output case considered here, b (μ) = 0. For the compliance output error, we may then write (using symmetry of a(·, ·; μ)) h PR h h s (μ) −˜s (μ) = a(u (μ), e (μ); μ) h h h h h PR = a(e (μ), u (μ); μ) = a(e (μ), e (μ); μ) + a(e (μ), u ˜ (μ); μ), (139) and thus by (138) (and again symmetry of a(·, ·; μ)) h PR T s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + a( (μ),  (μ); μ) A A n p h PR + 2 a( (μ),  (μ); μ) + a(e (μ), u ˜ (μ); μ). (140) p,k A p=1 k=1 h PR PR We note that e (μ) is not Galerkin-orthogonal to u ˜ (μ) because u ˜ (μ) (even in the f ;h PR case b (μ ) = 0) is not a member of the skeleton test space S ().Wethusdonot i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 28 of 49 http://www.amses-journal.com/content/1/1/3 obtain equality between the compliance output error and the squared energy of the error field in (139). This is the key difference between the compliance output error bound result PR PR ˜ ˜ here and in [12]; in [12], we invoke the skeleton space S () ⊂ S () (the latter is symm PR defined in (51)) of which u ˜ (μ) is a member (for port-restricted compliance such that b (μ) = 0), and thus we directly obtain this equality. We next note that  (μ)| vanish on all ports and thus is a member of the FE bubble space associated with instantiated component i. From the Galerkin orthogonality (19) we then conclude that the third term on the right-hand side of (140) is equal to zero, and we obtain h PR T h PR s (μ)−˜s (μ) = E(μ) A(μ)E(μ) +a( (μ),  (μ); μ) +a(e (μ), u ˜ (μ); μ) (141) A A We now consider the two right-most terms on the right-hand side of (141) (we omit the μ-dependence for simplicity of exposition). We first obtain h PR a( ,  ) + a(e , u ˜ ) A A n  n A,p A,p n n PR PR ˜ ˜ ˜ ˜ = U U a( − , − ) p,k p,k p ,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n  n n A,p n A,p PR PR ˜ ˜ ˜ ˜ + U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n p n A,p PR + E U a( , ), (142) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 h f by the expression for e (μ) in (138) (for b (μ) = 0) and the definition of  (μ) in (131). For the first two terms on the right-hand side of (142) we obtain n  n n A,p n A,p PR PR ˜ ˜ ˜ ˜ U U a( − , − ) p,k p,k p ,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n n n A,p n A,p PR PR ˜ ˜ ˜ ˜ + U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n n n A,p n A,p PR PR ˜ ˜ ˜ = U U a( − , ) p,k p,k p ,k p,k p ,k p=1 k=1 p =1 k =1 n  n A,p A,p n n PR PR ˜ ˜ ˜ = U U a( , − ) = 0, (143) p ,k p,k p,k p,k p ,k p=1 k=1 p =1 k =1 where in the second step we invoke symmetry of a(·, ·; μ) and in the final step the Galerkin orthogonality (19). For the last term on the right-hand side of (142) we obain n p n A,p PR E U a( , ) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 p A,p n n PR T PR ˜ ˆ = E U a( , ) = E AU , (144) p,k p,k p ,k p ,k p=1 k=1 p =1 k =1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 29 of 49 http://www.amses-journal.com/content/1/1/3 where we again exploit Galerkin orthogonality with respect to (μ) − (μ). p ,k p ,k PR PR ˆ ˆ We note that A(μ)E(μ) = A(μ)(U(μ) − U (μ)) = F(μ) − A(μ)U (μ). With (141), (142), (143), and (144) (and symmetry of A(μ))wethenobtain h PR T T PR s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + E(μ) A(μ)U (μ) T PR PR ˆ ˆ = E(μ) A(μ)E(μ) + F(μ) − A(μ)U (μ) U (μ). (145) f ;h f In the case of a port-restricted compliance, we have b (μ ) = b (μ ) = 0and i i i i ˜ ˜ thus also F(μ) = F(μ). It is furthermore straightforward to show that (F(μ) − PR T PR PR ˜ ˆ ˆ ˜ A(μ)U (μ)) U (μ) = 0 because the port-reduced SCRBE solution vector U (μ) PR (that is, the non-zero coefficients of U (μ)) satisfies (64) exactly. We thus obtain in this case T T PR PR PR PR ˆ ˆ ˜ ˆ ˆ F(μ) − A(μ)U (μ) U (μ) = F(μ) − A(μ)U (μ) U (μ) PR PR ˜ ˜ ˆ ˜ ˆ = F(μ) − A(μ)U (μ) + A(μ)U (μ) PR PR ˆ ˆ − A(μ)U (μ) U (μ) PR PR ˜ ˆ ˆ = A(μ) − A(μ) U (μ) U (μ). (146) From (145) and (146) (and symmetry of A(μ) and A(μ)) we then conclude that h PR T PR T PR ˆ ˜ ˆ s (μ) −˜s (μ) = E(μ) A(μ)E(μ) + U (μ) A(μ) − A(μ) U (μ), (147) which, with the triangle inequality and (135), yields the desired result. We do not in the present paper consider bounds on more general outputs. We reiterate that Lemma 1, Proposition 1, Proposition 2, and Proposition 3 all pro- vide rigorous bounds under the eigenvalue proximity assumption given in (123). These bounds necessitate computation of a bound C for Rayleigh quotients associated with NC −1 NC NC (B ) , for which we may choose C = 1/λ (B ),where λ (B ) is the smallest min min μ μ μ NC eigenvalue associated with B . Unfortunately, this choice for C is typically a rather pes- h NC simistic Rayleigh quotient bound, and furthermore calculation of λ (B ) requires min considerable (albeit, as discussed in the next section, not onerous) computational cost. However, we note that the terms which multiply C in (124) and (128), as well as the term κ(μ) in (133), are quadratic in RB error bound contributions and thus presumably small compared to the terms that are linear in RB error bound contributions. We thus introduce asymptotically rigorous error estimators, in which we choose to neglect these terms: we set C = 0 in (124) and (128) to obtain a Schur energy error estimator  (μ;0); we then obtain an estimator for the energy of the error field as u;0 U (μ) ≡  (μ;0), (148) in which we also neglect the term κ(μ) in (133); and finally we obtain an estimator for the port-restricted compliance output error as s;0 s (μ) ≡  (μ;0). (149) In actual practice, RB errors are typically rather small, and we shall thus for our large- scale numerical results in this paper employ the error estimators (148) and (149). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 30 of 49 http://www.amses-journal.com/content/1/1/3 Computational procedures The main computational costs associated with our a posteriori error estimation frame- NC NC −1 NC −1 NC ˜ ˜ work derive from the two non-conforming solves (B ) R (μ) and (B ) R (μ) μ eig μ required in (124) and in the numerator of (128), respectively, and from the calculation of PR the smallest eigenvalue λ (μ) of (119). We now discuss the former in more detail; for min the latter we employ an implementation of a Krylov-Schur (inverted spectrum) iterative solver from the SLEPc library [19]. For our discussion here it is convenient to first introduce a particular interpretation of the non-port-reduced SCRBE system matrix and right-hand side as ˜ ˜ ˜ A (μ) A (μ) F (μ) A,A A,I A ˜ ˜ A(μ) = , F(μ) = . (150) ˜ ˜ ˜ A (μ) A (μ) F (μ) I,A I,I I PR ˜ ˜ Here, the matrix block A (μ) = A (μ) is the“Active”matrixblock whichweinvoke A,A ˜ ˜ for our port-reduced SCRBE approximation, the blocks A (μ) and A (μ) correspond I,A I,A to couplings between the “Active” and “Inactive” degrees of freedom, and the block A (μ) I,I is associated only with “Inactive” degrees of freedom. Note that the interpretation (150) simply corresponds to a particular ordering of (54). In the particular case of only two instantiated components, the system matrix A(μ) may be written as 1 2 1 2 ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) + A (μ ) 1 2 1 2 A,A A,A A,I A,I A(μ) = , (151) 1 2 1 2 ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) + A (μ ) 1 2 1 2 I,I I,I I,A I,A where each submatrix A (μ) is a matrix block associated with instantiated component ∗,∗ NC i, i = 1, 2. The non-conforming matrix A (μ) for this two-component system is then ⎡ ⎤ 1 2 1 2 ˜ ˜ ˜ ˜ A (μ ) + A (μ ) A (μ ) A (μ ) 1 2 1 2 A,A A,A A,I A,I ⎢ ⎥ NC 1 1 ˜ ˜ ˜ A (μ) = A (μ ) A (μ ) 0 . (152) ⎣ ⎦ 1 1 I,I I,A 2 2 ˜ ˜ A (μ ) 0 A (μ ) 2 2 I,I I,A Note that the difference between (151) and (152) is that the latter does not couple “Inactive” port degrees of freedom. NC For the computation of the residual approximation R (μ) in (116) we note that ⎡ ⎤ R (μ) ⎢ ⎥ NC ˜ ˜ R (μ) = R (μ) ⎣ ⎦ R (μ) ⎡ ⎤ ⎡ ⎤ ⎡ ⎤ 1 2 PR ˜ ˜ ˜ ˜ ˜ F (μ) A (μ) A (μ ) A (μ ) U (μ) A A,A 1 2 A,I A,I ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ 1 1 1 ˜ ˜ ˜ = − ⎣ F (μ ) ⎦ ⎣ A (μ ) A (μ ) 0 ⎦ ⎣ 0 ⎦ 1 1 1 I I,A I,I 2 2 2 ˜ ˜ ˜ F (μ ) A (μ ) 0 A (μ ) 0 2 2 2 I I,A I,I ⎡ ⎤ ⎡ ⎤ PR ˜ ˜ ˜ F (μ) − A (μ)U (μ) 0 A A,A ⎢ ⎥ ⎢ ⎥ 1 1 PR 1 1 PR,1 ˜ ˜ ˜ ˜ ˜ ˜ = F (μ ) − A (μ )U (μ) = F (μ ) − A (μ )U (μ) , ⎣ 1 1 ⎦ ⎣ 1 1 ⎦ I I,A I I,A 2 2 2 2 PR PR,2 ˜ ˜ ˜ ˜ ˜ ˜ F (μ ) − A (μ )U (μ) F (μ ) − A (μ )U (μ) 2 2 2 2 I I,A I I,A (153) PR,i PR ˜ ˜ where U (μ) is extracted from U (μ) for the degrees of freedom associated with component i. Note that the first n entries in the residual vector are zero, and that we may obtain the local residuals R (μ) by component-local evaluation. The eigenproblem NC residual approximation R (μ) admits a similar procedure. eig 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 31 of 49 http://www.amses-journal.com/content/1/1/3 NC NC We now consider the system B z(μ) = R (μ), which we may write as ⎡ ⎤ ⎡ ⎤ ⎡ ⎤ 1 2 1 2 B + B B B z (μ) R (μ) A A A,A A,A A,I A,I ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ 1 1 1 1 B B 0 z (μ) = R (μ) , (154) ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ I,A I,I I I 2 2 2 2 B 0 B z (μ) R (μ) I,A I,I I I and we note that 1 2 1 1 −1 1 2 2 −1 2 B + B − B (B ) B −B (B ) B z (μ) A,A A,A A,I I,I I,A A,I I,I I,A 1 1 −1 1 2 2 −1 2 ˜ ˜ ˜ = R (μ) − B (B ) R (μ) − B (B ) R (μ). A,I I,I I A,I I,I I (155) We may thus obtain z(μ) by consideration of a second Schur complement: we first solve smaller local problems associated with each of the two components, and then a global problem of size n for z (μ); we finally recover z(μ) by standard back-substitution as A A i i −1 i i z (μ) = (B ) (R (μ) − B z (μ)). The extension of this procedure to a system with an I I,I I I,A arbitrary number of components and ports is straightforward. An important innovation of this paper for our error bound framework is a multi- reference parameter bound conditioner. In fact, the system reference parameter value μ shall be chosen online, based on a database of component-local reference parame- ref ter values μ ˆ ,1 ≤ t ≤ n ,1 ≤ m ≤ M. The component-local reference matrices m,ref m,ref B in (154) and (155) are thus chosen online from a database of n precomputed m,ref ∗,∗ m,t t ˆ ˆ component-local matrices B associated with the parameter values μ ˆ ∈ D . For our ∗,∗ m,ref numerical results of this paper, we choose the component reference parameters to mini- mize the Euclidean distance between μ and μ. This multi-reference parameter bound ref conditioner procedure significantly sharpens our error bound through a closer-to-unity PR smallest eigenvalue λ (μ) (and associated eigenvalue bound) at only minor additional min computational cost (note a related approach is considered in [14] in a different context). The computational efficacy of our error bound framework is thus realized largely NC through the quasi parameter-independent and non-conforming operator B .Asfor the SCRBE approximation framework, the computational procedures associated with the error bound framework naturally decouple into offline and online stages. We consider these stages as extensions of the offline and online approximation computational stages discussed earlier, and we now discuss each in more detail (we again refer to [12] for detailed online operation counts). Offline Off5. Online dataset preparation. For each archetype component we construct data to enable efficient assembly of the matrix blocks A (μ) required for residual I,A calculation in (153) (the matrix blocks A (μ) are also required for residual A,A calculation; however the associated data is already constructed in Off3). Note that i i ˜ ˜ the blocks A (μ) and, more importantly, the blocks A (μ),are not required for A,I I,I residual calculation. Hence the cost of this stage scales quadratically in n but only linearly in n . Off6. Bound conditioner preparation. For each archetype component m, 1 ≤ m ≤ M, we choose (manually) n (typically only a few) reference parameter values m,ref m,t m,t ˆ ˆ μ ˆ and compute associated bound conditioner reference matrices B , B , m,ref I,I AA m,t and B , 1 ≤ t ≤ n . m,ref A,I 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 32 of 49 http://www.amses-journal.com/content/1/1/3 m,t We also perform and store the Cholesky factorization of each of the B ,and we I,I m,t m,t −1 m,t ˆ ˆ ˆ precompute the terms B (B ) B required for assembly of the left-hand A,I I,I) I,A side of (155). Off7. Data loading. We finally read the online datasets and error bound conditioner data (typically a few Gb combined) for all library components into computer memory to prepare for the online stage. Online On4. Port-reduced eigenproblem. We compute the smallest eigenvalue and associated eigenvector associated with (119) using a Krylov-Schur algorithm [19]. On5. Matrix and vector block assembly. Assemble component matrix and vector i i ˜ ˜ blocks A (μ) and vectors F (μ) for each unique component instantiation; note I,A I that the “Active” component matrix and vector blocks A (μ) are already A,A assembled in On2. As in On2, we exploit “cloned” component instantiations to effectively reduce the number of component instantiations to I  I. eff PR ˆ ˜ On6. Residual calculation. Given the solution vector U(μ), the eigenvalue λ (μ),and min PR the associated (normalized and zero-expanded) eigenvector V (μ),we min NC NC ˜ ˜ calculate R (μ) and R (μ) locally on each component. eig On7. Non-conforming solves. We first choose the reference parameter value μ t t 1 I μ = (μ ˆ , ... , μ ˆ ) (156) ref M(1),ref M(I),ref (where 1 ≤ t ≤ n ) from the database of candidate component reference i M(i),ref parameter values such that the Euclidean distance between each μ and μ ˆ M(i),ref NC −1 NC NC −1 NC is minimized. We then compute (B ) R (μ) and (B ) R (μ) through μ μ eig component-local elimination of “Inactive” degrees of freedom as indicated in (155). Note that this step is particularly efficient thanks to the preparation in Off6. NC On8. Calculation of λ (B ). In the case that we wish to employ a rigorous error min NC bound (we choose C = 1/λ (B ) rather than C = 0), we must also compute min NC NC λ (B ). Note that we may compute λ (B ) rather efficiently through min min μ μ (typically) a few inverse power iterations, and hence only a few additional NC non-conforming solves. This procedure is applicable for λ (B ) but not for min NC λ (A (μ)) because the latter would have required expensive online formation min of the A (μ) component-local matrix blocks. I,I The computational cost associated with this online stage is typically dominated by On4 and On7. However for systems in which almost all components are unique — that is, I eff close to I — the cost of matrix assembly in On5 is considerable. In any event, the error estimation online computational cost discussed here is typically larger than the approxi- mation online computational cost discussed earlier (we report actual timings in the next section). Microtruss beam application We consider here application of our port-reduced SCRBE framework to structural anal- ysis of a microtruss beam. The particular beam we consider is in practice manufactured from microcylinders that are welded together in a three-dimensional square array con- figuration to form a larger but light-weight truss structure; see Figure 3. Many examples side ports (zero stress) top ports (traction) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 33 of 49 http://www.amses-journal.com/content/1/1/3 Figure 3 Microtruss structure. The system has I = 408 instantiated components, 224 of which are of type component 1 and 184 of which are of type component 2. of microtruss structures exist in literature and in engineering, and our choice here is only one of numerous possibilities. We refer to [20-22] for analyses and manufacturing considerations for such structures, including the particular type we consider here. The microtruss structure is a good fit for our methodology. First, the structure admits a very natural decomposition into components, and the macroscale beam is comprised of many identical or similar instantiations of the same component archetypes; thus typically we may obtain I  I which implies particularly effective treatment by the port-reduced eff SCRBE. Second, the behavior of the macroscale beam as a function of component param- eters and system topology is non-trivial, and furthermore the solution may exhibit large localized stresses within the components; hence the fidelity of a full FE discretization — provided by the port-reduced SCRBE framework at a fraction of the cost — is desired. Third, it is often of interest to assess performance in off-design conditions in particular in the presence of inevitable flaws, in which not just natural periodicity but departures from periodicity — well within the capabilities of the SCRBE — are important. Archetype component library Before we introduce our components, we consider the non-dimensionalization of the equations of isotropic linear elasticity for a “generic” archetype (and thus entities below bear ˆs). To this end we first define the non-dimensional tensor C as ν 1 C ≡ δ δ + (δ δ + δ δ ),1 ≤ i, j, k, l ≤ 3, (157) ijkl ij kl ik jl il jk (1 + ν)(1 − 2ν) 2(1 + ν) in which ν is the Poisson ratio (we choose ν = 0.3 for steel); the dimensional elasticity dim dim ˆ ˆ ˆ tensor is then given as the product E C ,where E is the Young’s modulus. The ijkl dim dim dim associated stress tensor σ ˆ (u ˆ ), given the dimensional displacement u ˆ ,isdefined dim dim dim dim dim ˆ ˆ as σ ˆ (u ˆ ) = E C ∂u ˆ /∂x ˆ . ijkl ij k l We shall consider either homogeneous Dirichlet boundary conditions, or (port) trac- tions. In the latter case the boundary conditions are enforced through the stress tensor bottom ports (zero displacement) side ports (zero stress) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 34 of 49 http://www.amses-journal.com/content/1/1/3 tr;dim dim dim dim as σ ˆ e ˆ = κ ˆ (e ˆ denotes the canonical vectors) for a specified traction vector ij j i j tr;dim κ ˆ . To derive non-dimensional equations we introduce the dimensionless variables x ˆ = tr tr;dim dim dim,0 dim dim,0 dim dim,0 dim dim,0 dim,0 ˆ ˆ ˆ ˆ ˆ ˆ ˆ x ˆ /L , u ˆ =ˆu /L , E = E /E , σ ˆ =ˆ σ /E ,and κ ˆ = κ ˆ /E , dim,0 dim,0 where L is a characteristic length, and E is a characteristic Young’s modulus. The tr non-dimensional traction boundary conditions then become σ n = κ . Below, all our ij j equations take a non-dimensional form. We now introduce our (non-dimensional) archetype component library, which consists of the two three-dimensional isotropic linear-elastic components illustrated in Figure 4; dim,0 note L in Figure 4 is the characteristic length used in our non-dimensionalization. The first archetype, component 1, is a “Steinmetz cylinder,” and has four circular ports: the left and right ports are of type port 1 and the top and bottom ports are of type port 2. For both port types, the reference port space dimension is N = 219 (73 mesh nodes). The FE discretization for component 1 has N = 115,443 degrees of free- dom in linear hexahedral elements. Note in Figure 4 that the mesh is significantly refined where the weld stub meets the cylinder base in order to resolve potentially high stress concentrations in this area. The archetype parameter vector for this component is tr μ ˆ = (E , κ ˆ ), (158) 1 1 1,top dim,0 tr dim ˆ ˆ ˆ where E = E /E is a Young’s modulus scaling parameter and κ ˆ is a directional 1,top 1 1 traction applied on the top port. The archetype bilinear and linear forms associated with component 1 are, for all w ˆ , v ˆ ∈ X ,given as i k ∂w ˆ ∂v ˆ ˆ ˆ a ˆ (w ˆ , v ˆ; μ ˆ ) = E C , (159) 1 1 1 ijkl ˆ ∂x ˆ ∂x ˆ j l tr i f (v ˆ; μ ˆ ) = κ ˆ v ˆ , (160) 1 1 1,top,i γˆ 1,top where γˆ denotes the boundary associated with the top port. For the bound condi- 1,top tioner reference matrix blocks we consider a single reference parameter value μ ˆ = 1,ref E = 1(thus n = 1). 1,ref 1,ref Figure 4 The (dimensional) archetype components for the microtruss library: component 1 (left) dim dim and component 2 (right). The port radius for port 1 and port 2 is r = 0.7405L and dim dim r = 0.55L , respectively. 2 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 35 of 49 http://www.amses-journal.com/content/1/1/3 ˆ ˆ We note that Q = 1; the Young’s modulus parameter E is “free” in the sense that it enters outside the integral of (19). As a result, we may consider any value of E with only a single RB basis function in each of the RB approximation spaces. For f we note that f f ;h ˆ ˆ ˆ Q = 3; however, as f is port-restricted, we obtain b = 0. 1 1 We also note that a ˆ in (159) does not reflect the rigid-body mapping parameters required to “dock” instantiations of component 1 to the correct position in the sys- tem frame. To demonstrate this property more explicitly we consider the mapping T = rot def def T T , in which, for component 1, T is pure translation; we introduce an asso- 1 1 1 3×3 3 ciated rotation matrix Q ∈ R and a translation vector T ∈ R . For any coordinate x ˆ ∈  ,wethushave x = Q (x ˆ + T) ,1 ≤ i ≤ 3, where x = (x , x , x ) ∈  and  is 1 i ij j 1 3 3 1 1 the instantiated component domain; note that the Jacobian of the mapping, Q,isunitary and thus detQ = 1. On  , the instantiated component bilinear form reads, for any w, v ∈ X , 1 1 i k ∂w ∂v a (w, v; μ) = E C d ,1 ≤ i, j, k, l ≤ 3. (161) 1 1 ijkl 1 ∂x ∂x j l Here, C is the elasticity tensor on the instantiated domain (i.e., in the system coordinates) such that [23] C = Q Q Q Q C (162) ijkl ii jj kk ll i j k l for C defined in (157). We recall from the Section “Component-based static condensa- rot tion” that we apply T to the dependent variables, and thus for any function v ∈ X we i j 1 2 3 write v = Q v ˆ ,where v ˆ = (v ˆ , v ˆ , v ˆ ) ∈ X . Starting from (161), we obtain in this case, ij 1 for w, v ∈ X , i k ∂w ∂v −1 −1 a (w, v; μ ) = E Q C Q (detQ) d (163) 1 1 1 ij kl jj ll ∂x ˆ ∂x ˆ j l i k ∂w ˆ ∂v ˆ −1 −1 = E Q Q C Q Q d (164) 1 i i i j k l k k jj ll ˆ ∂x ˆ ∂x ˆ j l i k ∂w ˆ ∂v ˆ −1 −1 ˆ ˆ = E Q Q Q Q Q Q C Q Q d i i i i j j k k l l i j k l k k jj ll ˆ ∂x ˆ ∂x ˆ (165) i k ∂w ˆ ∂v ˆ −1 −1 ˆ ˆ = E (Q Q )(Q Q )(Q Q )(Q Q )C d i i i i j j k k k k l l i j k l jj ll ˆ ∂x ˆ ∂x ˆ (166) i k ∂w ˆ ∂v ˆ T −1 T −1 ˆ ˆ = E (Q Q) (Q Q) (Q Q) (Q Q) C d ii jj kk ll i j k l ˆ ∂x ˆ ∂x ˆ j l (167) i k ∂w ˆ ∂v ˆ ˆ ˆ = E C d (168) 1 ijkl ˆ ∂x ˆ ∂x ˆ j l =ˆa (w ˆ , v ˆ; μ ). (169) 1 1 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 36 of 49 http://www.amses-journal.com/content/1/1/3 The key point in (163)–(169) is that the representation of the instantiated bilinear form in archetype coordinates does not require parameters related to the rotation Jacobian Q due to the cancellations in (167) and the fact that detQ = 1. For our RB approximations we employ the archetype domain for all computations and thus the RB spaces do not need to take these “docking” parameters into account. Furthermore the matrix and vector blocks for component instantiations that differ only in spatial orientation are identical, which thus contributes to the realization of I  I in an instantiated system. eff We next consider our second archetype, component 2, which is a short cylinder stub. It hastwo portsoftype port 1 and may thus connect to the left and right ports of component 1. The reference port space dimension is again N = 219. The FE dis- cretization for component 2 has N = 3,504 degrees of freedom in linear hexahedral elements. The parameter vector for this component is tr tr ˆ ˆ μ ˆ = (E , L , κ ˆ , κ ˆ ), (170) 2 2 2 2,left 2,right dim,0 dim dim dim,0 ˆ ˆ ˆ ˆ ˆ ˆ where E = E /E is a Young’s modulus scaling parameter, L = L /L ∈ 2 2 2 2 2 tr tr [ 0.5, 2] is a length scaling parameter, and κ ˆ and κ ˆ are directional traction applied 2,left 2,right on the left and right ports, respectively. The archetype bilinear and linear forms associated ˆ ˆ ˆ ˆ with component 2 are, for all w, v ∈ X ( ),given as 2 2 i k i k ∂w ˆ ∂v ˆ ∂w ˆ ∂v ˆ ˆ ˆ ˆ a ˆ (w ˆ , v ˆ; μ ˆ ) = E C + C 2 2 2 ijk3 i3kl ˆ ∂x ˆ ∂x ˆ ˆ ∂x ˆ ∂x ˆ j 3  3 l 2 2 i k i k E ∂w ˆ ∂v ˆ ∂w ˆ ∂v ˆ ˆ ˆ ˆ ˆ + C + E L C , (171) i3k3 2 2 ijkl ˆ ˆ ∂x ˆ ∂x ˆ ˆ ∂x ˆ ∂x ˆ 3 3  j l 2 2 2 tr tr i i f (v ˆ; μ ˆ ) = κ ˆ v ˆ + κ ˆ v ˆ , (172) 2 2 2,left,i 2,right,i γˆ γˆ 2,left 2,right where, in (171), j and l take only the values 1, 2, and where, in (172) γˆ and γˆ are 2,left 2,right the boundaries associated with the left and right port, respectively. We note that Q = 3 and that Q = 6. Note that the bilinear form depends on the dilation parameter L ,but not on spatial orientation of the component; we may show this by reverse application of the arguments in (163)–(169) to each of three terms in (171). For the bound conditioner refer- 1 1 1 ˆ ˆ ence matrix blocks we consider three parameter values μ ˆ = (E , L ) = (1, 0.75), 2,ref 2,ref 2,ref 2 2 2 3 3 3 ˆ ˆ ˆ ˆ μ ˆ = (E , L ) = (1, 1),and μ ˆ = (E , L ) = (1, 1.5) (thus n = 3). 2,ref 2,ref 2,ref 2,ref 2,ref 2,ref 2,ref Pairwise empirical port mode training We now discuss the pairwise empirical port mode training for our library com- ponents. For the port 1 type we consider the three component pairs shown in Figure 5 Component pairs used for empirical training of port 1. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 37 of 49 http://www.amses-journal.com/content/1/1/3 Figure 5: a pair with two instantiations of component 2, a pair with one instan- tiation of component 1 and one instantiation of component 2,and apairwith two instantiations of component 1 connected via side ports (port 1). For the port 2 type we consider the single pair of instantiations of component 1 con- nected via a port 2 type port as shown in Figure 6; note that when we consider a large microtruss structure we shall always “weld” our cylinders in this particular cross configuration. We then execute Algorithm 1 for each pair; for the boundary condition regularity parameter in Algorithm 1 we choose γ = 3. For the training of port 1 we extract N = 150 different port samples in S from each of the three pairs; recall that samples pair we subtract the projection onto the six modes χ ˆ ,1 ≤ i ≤ 6, related to rigid-body motion from all snapshots. We then combine all 450 modes in S ,and performaPOD type over these 450 modes to compress the data to n = 44 POD modes. We then obtain pod n + 6 = 50 empirical modes, which we complement by N − 50 = 169 eigen- pod modes (restricted to the orthogonal complement space) to complete the discrete space (noteinpracticeweshall always uselessthan50modes forthe port-reduced SCRBE approximation). The approach for the training of port 2 is identical except we perform POD over N = 300 different port samples (with the projections onto the rigid samples body modes subtracted) extracted from the single component pair. We choose the same number of POD modes (n = 44) and thus empirical modes for this port POD type. We shall use these empirical port modes for most of our numerical results below. How- ever we shall also compare these results to results obtained using more standard (and in Figure 6 Component pairs used for empirical training of port 2. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 38 of 49 http://www.amses-journal.com/content/1/1/3 particular non-empirical) “Legendre” port eigenmodes. In this latter case, the reference port modes χ ˆ are given as β β β β β β χ ˆ = (L ,0,0), χ ˆ = (0, L ,0), χ ˆ =(0, 0, L ), 1 1 2 1 3 1 β β β β β β χ ˆ = (L ,0,0), χ ˆ = (0, L ,0), χ ˆ = (0, 0, L ), ... 4 2 5 2 6 2 (173) where the L ,1 ≤ i ≤ N /3, are the eigenvectors of a scalar singular Sturm-Liouville eigenproblem over β ordered according to increasing eigenvalue. Numerical results We now present numerical results for our three-dimensional linear-elastic microtruss library to demonstrate our port-reduced SCRBE approximation and error estimation framework. Our implementation is in C++ and is based on the library libMesh [24,25]. In our current implementation offline calculations are performed in parallel, while online calculations are limited to a single core. The offline computation time for our microtruss library is about five hours using up to 24-cores on an AMD Opteron 6238 workstation computer. In offline stages Off4 and Off7 we load all required data into memory to prepare for the online stage. An (upper bound for) the online memory footprint for this library is 1.5Gb. Cylindrical cantilever beam We shall first consider a cylindrical cantilever beam system, for which we may compare our compliance output results to standard (Euler-Bernoulli) beam theory [26]. Hence this system provides an opportunity to confirm both the validity of the SCRBE framework — in terms both of approximation and certification — as well as the fidelity of the underlying FE “truth” component discretization. Ourcantileversystemisoftotal length l = 8L and consists of I = 8 instantiations of component 2 of individual length L = L,1 ≤ i ≤ I; we consider E = 1, 1 ≤ i i i ≤ I,and thus here I = 1. We prescribe zero Dirichlet conditions on the left-most eff port of the system and we apply a unity-magnitude tangential traction on the right-most port as shown in Figure 7; the deformations in Figure 7 show the displacement field, and the colors indicate the Von Mises stresses with higher stresses in red. The output for this system is the average displacement over the right-most port in the direction of the Figure 7 Side view of cantilever beam system consisting of I = 8 instantiations of component 2. Each component is of length L (in the figure L = 1.9), and the system is subject to a unity tangential traction tr κ on the right-most port. The colors indicate Von Mises stresses with high magnitudes in red. right 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 39 of 49 http://www.amses-journal.com/content/1/1/3 specified traction and is thus equal to compliance normalized by port area. We use n = A,p 20 empirical port modes on all global ports  ,1 ≤ p ≤ n . We report in the second, third, and fourth columns of Table 1 the port-reduced SCRBE PR PR compliance output approximation s ˜ (μ), the relative error in s ˜ (μ) with respect to the FE “truth”complianceoutput s (μ), and the effectivity of the compliance output estima- s;0 tor,  (μ), respectively. We note that the error in the output approximation is very small, and that the error estimator is relatively sharp; note that for large values of L the term PR T PR ˜ ˜ |U (μ)| σ (μ)|U (μ)| dominates in (136) and causes the effectivity to increase some- what. We emphasize that our error estimator is for all these cases indeed an error upper bound: the effectivities are greater than unity. We report in the fourth and fifth columns of Table 1 the theoretical maximum deflec- EB j tion s (μ) as predicted by classical Euler-Bernoulli beam theory, and the relative PR EB difference between s ˜ (μ) and s (μ). The theoretical predictions match the computa- tional results reasonably well, and in particular become increasingly accurate for larger L (the analytical results are valid in the limit of a long cantilever). Furthermore the dis- crepancy is for larger L sufficiently small that we deem our component FE discretization sufficiently rich. Next, we consider the behavior of our port-reduced SCRBE compliance output approx- imation and associated error estimator as functions of n empirical port modes for A,p a fixed length parameter L = 1.3. In Figure 8 we report the relative compliance error h PR PR s;0 PR |s (μ) −˜s (μ)|/s ˜ (μ), the relative error estimator  (μ)/s ˜ (μ) given in (149), s PR and the relative error bound  (μ; C)/s ˜ (μ) given in Proposition 3 realized for C = NC 1/λ (B ). We make several observations: first, the relative error decreases very fast min −4 and is of order 10 already for n = 10. Second, the error estimator is always A,p greater than the error and is furthermore reasonably sharp — the effectivity is O(10) — ˜ ˜ for n ≤ 18; at n = 18 the RB error bound contribution |U(μ)| σ (μ)|U(μ)| A,p A,p becomes the dominating term in (136) and thus adding additional port modes will not reduce the error estimator. Third, the rigorous error bound is reasonably sharp 2 NC only for small n :the term σ (μ) /λ (B ) in (128) dominates from an early min A,p 2 point not because of large RB error bound contributions per se but because C = NC NC 1/λ (B ) is a pessimistic estimate for the Rayleigh quotient associated with B min μ μ and σ (μ). We also compare our empirical port approximation to the more standard eigen- mode (Legendre) port approximation introduced in (173). In Figure 9 we report for the Table 1 Results for variable L for the cylindrical cantilever beam system using n = 20 A,p empirical port modes on each port PR PR h s;0 EB PR s (μ)−˜s (μ)  (μ) s ˜ (μ)−s (μ) EB l = 8L s ˜ (μ) s (μ) PR PR PR s ˜ (μ) |s (μ)−˜s (μ)| s ˜ (μ) 4.0 1.6504e+2 8.4e-5 1.7e+1 1.5562e+2 5.7e-2 5.6 4.3969e+2 3.8e-5 6.8e+0 4.2702e+2 2.8e-2 7.2 9.2362e+2 2.8e-5 2.3e+1 9.0758e+2 1.7e-3 8.8 1.6767e+3 2.4e-5 4.5e+1 1.6571e+3 1.2e-3 10.4 2.7584e+3 2.2e-5 3.3e+1 2.7352e+3 8.4e-3 12.0 4.2281e+3 1.8e-5 2.5e+1 4.2018e+3 6.2e-3 13.6 6.1450e+3 1.3e-5 1.7e+2 6.1165e+3 4.6e-3 15.2 8.5671e+3 2.0e-5 3.5e+2 8.5392e+3 3.3e-3 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 40 of 49 http://www.amses-journal.com/content/1/1/3 −1 −2 −3 −4 −5 −6 5 10 15 20 25 30 Figure 8 Relative compliance output error, relative output error estimator, and relative output error bound as functions of n for the cantilever beam (L = 1.3), using empirical port spaces. Legendre case the relative compliance error, the relative error estimator, and the rela- tive error bound superposed on the results for the empirical case (in gray). From the two error curves (squares) we note that the empirical port mode approximation is more than an order of magnitude better than the Legendre approximation for small n ,and A,p for larger n the error in the Legendre approximation decreases significantly only for A,p certain eigenmodes whereas the empirical approximation converges in a more regular Figure 9 Relative compliance output error, relative output error estimator, and relative output error bound as functions of n for the cantilever beam (L = 1.3), using Legendre port spaces (superposed on the results for empirical port spaces). 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 41 of 49 http://www.amses-journal.com/content/1/1/3 fashion. We also note that the error estimator (triangles) and bound (asterisk) for the empirical approximation is about an order of magnitude smaller than the estimator and bound for the Legendre approximation, respectively. Finally, we consider in Figure 10 and Figure 11 the relative compliance output error esti- s;0 PR mator  (μ)/s ˜ (μ) for empirical and Legendre port modes as functions of L for three different values of n ;notethe resultsfor thelattercaseare superposed on theresults A,p for the former case in Figure 11. We note that for L far from the reference parameter val- 1 2 3 ˆ ˆ ˆ ues (recall L = 0.75, L = 1.0, L = 1.5) only the empirical port modes provide 2,ref 2,ref 2,ref a good approximation; in fact using empirical port modes we obtain even for n = 10 a A,p relative error estimator smaller than 0.013 for all sampled values of L. Again, we empha- size that these error estimates indeed provide bounds on the error: for all cases the relative −4 error with respect to the FE discretization is smaller than 10 as reported in the second column of Table 1. For the remainder of our numerical results we exclusively employ the error estimator (136) or (148) rather than the respective rigorous bound. Microtruss structure We shall now consider a larger microtruss beam. Our first microtruss system, system 1, is an array of of I = 408 components (224 of which are of archetype component 1 and 184 of which are of archetype component 2). We illustrate the system assembly process in Figure 12 and Figure 3; note that this procedure is efficient thanks to a graphical user interface that allows “cloning” of smaller subsystems which we may interconnect to form the final system [Additional file 1]. Note in actual (engineering) practice, this microtruss beam may be manufactured from N = 40 rods that are welded together. rods To the final system shown in Figure 3 we apply zero Dirichlet boundary conditions on the 32 bottom ports; we apply homogeneous Neumann boundary conditions on the 80 tr side ports; we apply a unity-magnitude tangential traction (Neumann) κ on the32top top (red) ports in the z-direction. The size of the non-port-reduced Schur complement system −1 =20 =25 =30 −2 −3 −4 0.5 1 1.5 2 Figure 10 Cantilever beam relative compliance error estimator as a function of L for different n A,p using empirical port spaces. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 42 of 49 http://www.amses-journal.com/content/1/1/3 −1 −2 −3 =20 =25 =30 −4 0.5 1 1.5 2 Figure 11 Cantilever beam relative compliance error estimator as a function of L for different n A,p using Legendre port spaces (superposed on the results for empirical port spaces). is in this case n = 147, 168. Note that system 1 refers to a particular topology config- SC ured with particular Dirichlet boundary conditions; we shall thus consider system 1 for z x many different system parameter values. In particular, we denote by L and L the length of all component instantiations of component 2 which are oriented in the z-direction and x-direction, respectively, as indicated for L in Figure 3. We first demonstrate the ability of the port-reduced SCRBE framework to provide FE-fidelity field approximations at low computational cost. For our first calculation we z x consider the parameter values E = 1, 1 ≤ i ≤ I, L = 1.1, and L = 1. We show (qualitatively) the solution fields in Figure 13 and Figure 14: the displacement field is shown in Figure 13 as a deformation of the original geometry (compare to the original geometry in Figure 3); a closeup of the Von Mises stress field near a “weld” is shown in Figure 14. The high-stress concentrations (red) are typically isolated to areas where a weld meets the cylinder base. Note that this high-stress, near-singular, area of the field is located somewhat close to the ports but nevertheless well within the interior of the Figure 12 Assembly of the microtruss structure by component and subsystem “cloning” using a graphical user interface. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 43 of 49 http://www.amses-journal.com/content/1/1/3 x z Figure 13 Displacement field shown as deformation for parameter values L = 1, L = 1.1, E = 1, 1 ≤ i ≤ I. components. Placement of singular or more rapid behavior within the interior of a com- ponent, when possible, can reduce the number of port degrees of freedom required as provided by the pairwise training algorithm. For n = 20 and n = 25 “Active” port modes we obtain the relative energy-norm A,p A,p error estimators h u;0 h u;0 e (μ)  (μ) e (μ)  (μ) μ μ ≤ = 0.1139, ≤ = 0.05641, (174) PR PR PR PR ˜u (μ) ˜u (μ) ˜u (μ) ˜u (μ) μ μ μ μ x z Figure 14 Von Mises stress field for parameter values L = 1, L = 1.1, E = 1, 1 ≤ i ≤ I. i 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 44 of 49 http://www.amses-journal.com/content/1/1/3 respectively (note the inequalities are not confirmed but valid under the assumption that the error estimators indeed provide error bounds). The port-reduced SCRBE system sizes are n = 13, 440 and n = 16, 800, respectively, and we thus realize in both cases A A n  n . For these calculations I = 4 — there are only two unique instantiations A SC eff of component 1 and only two unique instantiations of component 2 —and we thus realize very efficient online computations. The total (for solution and error estimate) online CPU time is approximately 12.9 seconds for the n = 20 calculation and approx- A,p imately 18 seconds for the n = 25 calculation. We report detailed online timing results A,p in the left and middle columns of Table 2, and we note that for both computations the certification dominates online cost. In particular, the calculation of the minimum eigen- value (On4) together with the non-conforming solves (On7) contribute roughly 8/10 of total cost. Note that as we consider the error estimator rather than the error bound, we do not execute On8. We next demonstrate the ability of the SCRBE framework to handle different topologi- cal configurations, here in the form of a simulated material flaw. To this end, we introduce a second microtruss system, system 2, which is identical to system 1 except we assume that three “random” welds are broken such that now we do not couple the corresponding port 2 ports (top or bottom local ports of component 1). These three shared global ports are thus split into six non-shared global ports, on which we impose homogeneous Neumann (zero-stress) boundary conditions. On all other ports the bound- ary conditions are the same as for system 1. The size of the non-port-reduced Schur complement system is in this case slightly larger: the non-port-reduced system is of size n = 147,825, and the port-reduced system for n = 20 active port modes is of size SC A,p n = 13,500. A closeup of the solution field near a broken weld is shown in Figure 15; note the low stress concentration at the failed weld compared to neighboring intact welds. We now consider the compliance output and associated error estimators for system 1 and system 2. The compliance is for these systems the integrated displacement in the z-direction over all top (red in Figure 3) ports, and is thus effectively a measure of the microtruss beam directional stiffness. For system 1 and system 2 we then compute solutions and corresponding compliance outputs for different values of L ∈[0.5,2]; we consider L = 1and E = 1, 1 ≤ i ≤ I. We thus effectively consider the directional x i stiffness of the microtruss beams as a function of the spacing between rods oriented in the x-direction. The results for n = 20 are shown in Figure 16. The solid blue and solid red lines A,p indicate the port-reduced SCRBE system 1 and system 2 output approximation, respectively; the dashed lines indicate the estimated bounds on the output as provided by Table 2 Breakdown of majority of online computational cost in seconds for system 1 for indicated n active port modes and I unique component instantiations eff A,p I = 4, n = 20 I = 4, n = 25 I = 80, n = 25 eff eff eff A,p A,p A,p On2 0.5 0.6 8.3 On3 1.3 2.5 2.5 On4 6.5 7.8 9.2 On5 0.8 0.9 18.1 On7 3.8 6.2 6.2 Total 12.9 18 44.3 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 45 of 49 http://www.amses-journal.com/content/1/1/3 Figure 15 Solution (displacement and Von Mises stress (colors)) near a failed weld for system 2. the error estimator (149). As expected, system 2 (with the weld failure) is less stiff and thus exhibits larger top-port displacements than system 1. However, we can not in this case for larger L distinguish between system 1 and system 2 with any confidence because the (estimated) output bounds overlap. We next consider the same “parameter sweep,” but now using n = 25 empirical port A,p modes. For system 1 this corresponds to a port-reduced SCRBE system of size n = 16,800 and for system 2 asystemofsize n = 16,875. In Figure 17, we show the outputs and output bounds for system 1 and system 2, and we note that we are now able to easily distinguish the two systems. So farwehavefor system 1 and system 2 considered only a single system param- eter L and thus I  I. We now consider for system 1 a somewhat more demanding z eff case in which we also assign “random” Young’s modulus E ∈[ 0.9, 1.1], 1 ≤ j ≤ N ,to rods rod (system 1) (system 1) (system 2) (system 2) 0.5 1 1.5 2 Figure 16 Parameter sweeps — compliance outputs and (estimated) compliance output bounds — over L ∈ [0.5, 2] for system 1 and system 2 using n = 20 “Active” port modes. A,p 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 46 of 49 http://www.amses-journal.com/content/1/1/3 (system 1) (system 1) (system 2) (system 2) 0.5 1 1.5 2 Figure 17 Parameter sweeps — compliance outputs and (estimated) compliance output bounds — over L ∈ [0.5, 2] for system 1 and system 2 using n = 25 “Active” port modes. A,p each of the N = 40 rods of the system; we thus consider here P = 40 system param- rods eters (one of the E scales out) and we obtain in this case I = 80. Because of the eff rod larger I , computational cost increases somewhat as reported in the rightmost column of eff Table 2. For this particular simulation we obtain a relative error field energy estimator u;0 PR (μ)/˜u (μ) = 0.0712 using n = 25 empirical port modes. A,p Finally, we close this section with comparison to standard global FE analysis of x z system 1 for system parameters L = 1, L = 1.1 and E = 1, 1 ≤ i ≤ I.Wecon- sider n = 20, n = 25, and n = 30, and we report in Table 3 for each case the A,p A,p A,p h PR PR relative output error, (s (μ) −˜s (μ))/s ˜ (μ), and the output error estimator effectivity, s;0 h PR (μ)/(s (μ)−˜s (μ)). For all calculations the relative output error is indeed small, and certainly within acceptable tolerances in an engineering context. The estimator effectiv- ities are furthermore greater than unity — our error estimators are indeed error upper bounds — and moreover, the efficivities show that our estimators are relatively sharp. The global FE space X () for system 1 is of dimension N = 26,381,328. The com- FE putation time for a single global FE simulation on a workstation with eight AMD Opteron 6238 cores is 59 minutes for 93 conjugate gradient iterations using an algebraic multi- grid preconditioner [27] (we employ the BoomerAMG [28] parallel algebraic multigrid implementation provided by the hypre [29] linear solver library). For n = 25, the port- A,p reduced SCRBE approximation and error estimation requires about 18 seconds on a single core and we thus obtain a speedup of almost 200 — note that significantly larger speedup is possible through parallelization of the SCRBE online stage. We finally note that to com- pute the results in Figure 17, we have for each parameter sweep performed seventeen evaluations of the port-reduced SCRBE compliance output and associated output bound Table 3 Relative output error and output error estimator effectivity for system 1 for x z parameter values L = 1, L = 1.1 and E = 1, 1 ≤ i ≤ I n = 20 n = 25 n = 35 A,p A,p A,p h PR s (μ)−s ˜ (μ) 4.67978e-4 2.31664e-4 2.5646e-5 PR s (μ) s;0 (μ) 28.3 14.8 67.6 h PR s (μ)−s ˜ (μ) 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 47 of 49 http://www.amses-journal.com/content/1/1/3 estimators in only about five minutes total CPU time. A similar parametric analysis using a classical FE approach is clearly not equally tractable. Conclusions In this paper we have extended the port-reduced static condensation reduced basis ele- ment method to analysis of large-scale component-based structures. In particular we have demonstrated the applicability and efficacy of the procedure in three-dimensional linear elasticity analysis of a microtruss structure with hundreds of components. Through a combination of i) component-interior reduced basis approximations and ii) port reduction using empirical modes tailored to the component library, we are able to obtain an accurate online approximation for any component parameter values and any system topology using very few global degrees of freedom. Moreover, we may estimate (and rigorously bound in the limit of small reduced basis error contributions) the error in this port-reduced SCRBE approximation with respect to the underlying global finite element discretization through efficiently computable a posteriori errorl estimators. For the microtruss application we consider in this paper, more than twenty-six mil- lion degrees of freedom in the alternative global FE discretization is reduced to a few thousand degrees of freedom in the port-reduced SCRBE approximation. The online computation time is accordingly reduced from about an hour to only seconds, and thus the approach enables large-scale computation in many-query contexts such as interactive design or optimization. Further, our computational results for the microtruss structure indicate applications in stochastic homogenization and material failure identification, which may require many simulations for (say) random parameters and topology [30]. Another application is vibration analysis of structures as considered in [31]. The presented approach is an alternative to standard FE analysis of large component- based structures such as bridges, microtrusses, or vehicle or building frames. How- ever, we may consider any linear elliptic or parabolic [13] parameter-dependent partial differential equation, and thus problems in (say) heat transfer [32], acoustics [33], and electromagnetics may be considered as well. Endnotes For non-symmetric, non-coercive, complex-valued, or parabolic problems additional elements are required for our a posteriori error estimation framework. We first apply the inverse map to physical coordinates to obtain reference coordinates, and then evaluate the function on the reference domain. To illustrate this latter application of the mapping, consider for example a vector field (0, 1) defined on  in the frame (x ˆ , y ˆ ) in Figure 1. We then consider this same 1 1 1 rot vector field over  in Figure 2: by application of T to the field (0, 1) we obtain an interpretation in the system frame (x, y) which is consistent with the interpretation on the archetype domain — the field is parallel to the original x ˆ axis (for  ), and not 1 1 parallel to the system x axis. We start with the strong formulation on each component; we multiply by a test function and integrate by parts; we then add the equations on adjacent components and invoke flux continuity to cancel the corresponding port integral terms. In practice this is automatically accommodated by the variational formulation (23). In this paper, we consider for R only rigid-body transformations; more general m,j mappings and parametrized port deformations are also possible but is subject of future work. 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 48 of 49 http://www.amses-journal.com/content/1/1/3 Note in the scalar-field case this simplifies to only the constant mode. Our current implementation does not recognize “free” parameters (Young’s modulus, conductivity) and thus each set of component clones will contain components with different spatial orientation but identical (“non-docking”) parameters. h 2 d−1 With the current (L (β)) orthogonalization of our port space bases, the  norm of the residual coefficients is rather strong. We conjecture that the constant C in (126) and (127) can be improved by consideration of an orthogonalization which provides a global Riesz basis (in the limit as the FE discretization parameter h → 0) with respect to −1 d the (H ()) semi-norm. i 1 2 2 The Von Mises stresses are calculated as σ = (σ − σ ) + (σ − σ ) + VM 11 22 22 33 1/2 2 2 2 2 (σ − σ ) + 6(σ + σ + σ ) . 33 11 12 23 31 The formula for the maximum deflection d(l) of a cantilever beam of length l, Young’s modulus E, second moment of inertia I, and subject to tangential force P at one end is d(l) = Pl /(3EI). To reduce the error estimator in this case we would have to reduce the values in σ (μ) by adding additional RB snapshots to the RB bubble spaces in the offline stage. For component 1 all instantiations have identical parameters, but there are two different component-local matrix blocks because we consider Dirichlet boundary conditions on all bottom ports of components located at the bottom of the microtruss structure. The E correspond to component-wide Young’s modulus, and hence these parameters are “free” in the sense discussed in the “Model reduction” section. Thus with a more complete treatment of effectively identical components we would have recovered I = 4for this case. eff Additional file Additional file 1: A short video which illustrates the methodology of this paper is published together with this paper as prscrbe_movie.mp4. Competing interests The authors declare that they have no competing interests Authors’ contributions JLE developed computational procedures and the associated C++ implementation, contributed to the theoretical results, and drafted the manuscript. ATP developed computational procedures and theoretical results. All authors participated in the writing, review, and revision of the manuscript. Acknowledgements We are grateful to Dr. D. J. Knezevic for development of SCRBE library code, to Dr. D. B. P. Huynh for graphical system assembly and visualization software, and to Dr. S. Vallaghé for fruitful discussion. This work has been sponsored by the Research Council of Norway and ONR Grant N00014-11-0713. Received: 9 August 2013 Accepted: 20 December 2013 Published: 29 January 2014 References 1. Abdelal GF, Abuelfoutouh N, Gad AH (2013) Finite element analysis for satellite structures. Springer, London 2. Egeland O, Haraldsen PO (1974) SESAM-69 — a general purpose finite element method program. Comput Struct 4: 41–68 3. Craig R, Bampton M (1968) Coupling of substructures for dynamic analyses. AIAA J 6(7): 1313–1319 4. Hurty WC (1964) On the dynamic analysis of structural systems using component modes In: First AIAA Annual Meeting. AIAA (American Institute of Aeronautics and Astronautics), Washington. AIAA paper, no. 64-487 5. Huynh DBP, Knezevic DJ, Patera AT (2013) A static condensation reduced basis element method: approximation and a posteriori error estimation. ESAIM: Math Model Numerical Anal 47(1): 213–251 6. Rozza G, Huynh DBP, Patera AT (2008) Reduced basis approximation and a posteriori error estimation for affinely parametrized elliptic coercive partial differential equations: application to transport and continuum mechanics. Arch Comput Methods Eng 15(3): 229–275 7. Binev P, Cohen A, Dahmen W, DeVore R, Petrova G, Wojtaszczyk P (2011) Convergence rates for greedy algorithms in reduced basis methods. SIAM J Math Anal 43(3): 1457–1472 2013, 1:3 Eftang and Patera Advanced Modeling and Simulation in Engineering Sciences Page 49 of 49 http://www.amses-journal.com/content/1/1/3 8. Haasdonk B (2013) Convergence rates of the pod–greedy method. ESAIM: Math Model Numerical Anal 47: 859–873 9. Bourquin F (1992) Component mode synthesis and eigenvalues of second order operators: discretization and algorithm. Math Model Numerical Anal 26(3): 385–423 10. Hetmaniuk UL, Lehoucq RB (2010) A special finite element method based on component mode synthesis. ESAIM: Math Model Numerical Anal 44(3): 401–420 11. Jakobsson H, Bengzon F, Larson MG (2011) Adaptive component mode synthesis in linear elasticity. Internat J Numer Methods Engrg 86(7): 829–844 12. Eftang JL, Patera AT (2013) Port reduction in parametrized component static condensation: approximation and a posteriori error estimation. Int J Numerical Methods Eng 96(5): 269–302 13. Vallaghé S (2013) The static condensation reduced basis element method for parabolic problems. M3AS: Math Models Methods Appl Sci. http://augustine.mit.edu/methodology/papers/SV_M3AS_2013.pdf 14. Veroy K, Rovas DV, Patera AT (2002) A posteriori error estimation for reduced-basis approximation of parametrized elliptic coercive partial differential equations: “convex inverse” bound conditioners. ESAIM: Control, Optimisation Calculus Variations 8: 1007–1028 15. Quarteroni A, Valli A (1994) Numerical approximation of partial differential equations Springer Series in Computational Mathematics, vol. 23. Springer, Berlin 16. Bernardi C, Maday Y (1997) Spectral methods In: Handbook of Numerical Analysis, North-Holland, Amsterdam, pp 209–485 17. Kunisch K, Volkwein S (2002) Galerkin proper orthogonal decomposition methods for a general equation in fluid dynamics. SIAM J Numer Anal 40(2): 492–515 18. Isaacson E, Keller HB (1994) Computation of eigenvalues and eigenvectors, analysis of numerical methods 19. Hernández V, Román JE, Tomás A, Vidal V (2007) Krylov-Schur Methods in SLEPc. Technical report, Universidad Politecnica De Valencia. http://www.grycap.upv.es/slepc 20. Queheillalt DT, Wadley HNG (2005) Cellular metal lattices with hollow trusses. Acta Materialia 53: 303–313 21. Wadley HNG (2006) Multifunctional periodic cellular metals. Philos Trans R Soc A 364: 31–68 22. Wadley HNG, Fleck NA, Evans AG (2003) Fabrication and structural performance of periodic cellular metal sandwich structures. Composites Sci Technol 63: 2331–2343 23. Flügge W (1972) Tensor analysis and continuum mechanics. Springer, Berlin 24. Kirk BS, Peterson JW, Stogner RH, Carey GF (2006) libMesh: A C++ library for parallel adaptive mesh refinement/coarsening simulations. Eng Comput 22(3–4): 237–254 25. Knezevic DJ, Peterson JW (2011) A high-performance parallel implementation of the certified reduced basis method. Comput Methods Appl Mech Eng 200(13–16): 1455–1466 26. Timoshenko SP (1953) History of strength of materials. McGraw-Hill, New York 27. Saad Y (2003) Iterative methods for sparse linear systems, 2nd edn. Society for Industrial and Applied Mathematics, Philadelphia 28. Henson VE, Yang UM (2002) BoomerAMG: a parallel algebraic multigrid solver and preconditioner. Appl Numer Math 41(1): 155–177. Developments and trends in iterative methods for large systems of equations—in memoriam Rüdiger Weiss (Lausanne, 2000) 29. hypre: Scalable linear solvers. http://computation.llnl.gov/casc/linear_solvers/sls_hypre.html 30. Anantharaman A, Le Bris C (2011) A numerical approach related to defect-type theories for some weakly random problems in homogenization. Multiscale Model Simul 9(2): 513–544 31. Vallaghé S, Huynh DBP, Knezevic DJ, Patera AT (2013) Component-based reduced basis for eigenproblems. Comput Struct. http://augustine.mit.edu/methodology/papers/VHKP_CS_July2013.pdf 32. Vallaghé S, Patera AT (2012) The static condensation reduced basis element method for a mixed-mean conjugate heat exchanger model. SIAM J Sci Comput. http://augustine.mit.edu/methodology/papers/ VP_SISC_revised_May2013.pdf 33. Huynh DBP, Knezevic DJ, Patera AT (2013) A static condensation reduced basis element method: complex problems. Comput Methods Appl Mech Eng 259(0): 197–216 doi:10.1186/2213-7467-1-3 Cite this article as: Eftang and Patera: A port-reduced static condensation reduced basis element method for large component-synthesized structures: approximation and A Posteriori error estimation. Advanced Modeling and Simulation in Engineering Sciences 2013 1:3.

Journal

"Advanced Modeling and Simulation in Engineering Sciences"Springer Journals

Published: Dec 1, 2014

There are no references for this article.