scieee AI-readable full text Open interactive document viewer

Separated response surfaces for flows in parametrised domains: comparison of a priori and a posteriori PGD algorithms

Giacomini, Matteo,Borchini, Luca,Sevilla Cárdenas, Rubén,Huerta, Antonio

Abstract

Reduced order models (ROM) are commonly employed to solve parametric problems and to devise inexpensive response surfaces to evaluate quantities of interest in real-time. There are many families of ROMs in the literature and choosing among them is not always a trivial task. This work presents a comparison of the performance of a priori and a posteriori proper generalised decomposition (PGD) algorithms for an incompressible Stokes flow problem in a geometrically parametrised domain. This problem is particularly challenging as the geometric parameters affect both the solution manifold and the computational spatial domain. The difficulty is further increased because multiple geometric parameters are considered and extended ranges of values are analysed for the parameters and this leads to significant variations in the flow features. Using a set of numerical experiments involving geometrically parametrised microswimmers, the two PGD algorithms are extensively compared in terms of their accuracy and their computational cost, expressed as a function of the number of full-order solves required.

Full text

Giacomini, M.; Borchini, L.; Sevilla, R. and Huerta, A. “Separated response surfaces for flows in parametrised domains: comparison of a priori and a posteriori PGD algorithms”. Finite Elements in Analysis and Design, Vol. 196, 103530 (2021). Separated response surfaces for flows in parametrised domains: comparison of a priori and a posteriori PGD algorithms M. Giacomini1 ,2 ,* , L. Borchini1 ,3, R. Sevilla3and A. Huerta1 ,2 June 25, 2021 Abstract Reduced order models (ROM) are commonly employed to solve parametric problems and to devise inexpensive response surfaces to evaluate quantities of interest in real-time. There are many families of ROMs in the literature and choosing among them is not always a trivial task. This work presents a comparison of the performance of a priori and a posteriori proper generalised decomposition (PGD) algorithms for an incompressible Stokes flow problem in a geometrically parametrised domain. This problem is particularly challenging as the geometric parameters affect both the solution manifold and the computational spatial domain. The difficulty is further increased because multiple geometric parameters are considered and extended ranges of values are analysed for the parameters and this leads to significant variations in the flow features. Using a set of numerical experiments involving geometrically parametrised microswimmers, the two PGD algorithms are extensively compared in terms of their accuracy and their computational cost, expressed as a function of the number of full-order solves required. Keywords: reduced order models; a priori; a posteriori; proper generalised decomposition; response surfaces; geometry parametrisation 1Laboratori de C`alcul Num`eric (LaC`aN), ETS de Ingenieros de Caminos, Canales y Puertos, Universitat Polit`ecnica de Catalunya, Barcelona, Spain 2International Centre for Numerical Methods in Engineering (CIMNE), Barcelona, Spain. 3Zienkiewicz Centre for Computational Engineering, Faculty of Science and Engineering, Swansea University, Wales, UK * Corresponding author: Matteo Giacomini. E-mail: [email protected] 1 1 Introduction and literature review Since their introduction by Box and Wilson in 1951 [1], response surfaces have been extensively used in computational engineering to devise the relationship between input variables or parameters and output quantities of interest [2,3]. This is especially interesting in the context of parametrised partial differential equations (PDEs), where the solution depends both on the spatial coordinates and on a set of user-defined parameters. The solutions of such parametric problems are defined as multidimensional manifolds and efficient strategies for their computation have been developed during the last decades using reduced order models (ROMs) [4,5]. In this context, surrogate models of parametric response surfaces were devised by expressing the multidimensional quantities of interest in terms of the elements of the reduced basis constructed for the ROM, see e.g. [6–12]. Interested readers are also referred to the collection [13] and references therein. Response surfaces based on a posteriori ROMs are constructed starting from a series of snapshots obtained as full-order solutions of the problem under analysis, for a given set of values of the parameters. A critical aspect to devise competitive and accurate numerical strategies is the selection of the snapshots, that is, the sampling procedure in the parametric space. Several techniques were proposed to address this problem, starting from the classical Latin hypercube sampling [14] and centroidal Voronoi tessellation [15] to greedy approaches based on a posteriori error estimates [16,17] and model-constrained adaptive sampling [18]. In this context, special attention was also devoted to hyper-reduction techniques [19,20], required to achieve competitive performance in the evaluation of nonlinear quantities of interest [21–23]. Once the sampling points are selected, the computation of the snapshots is generally performed in parallel, exploiting the independence of each set of parameters to one another, to reduce the computational cost of the offline phase. Recently, an alternative strategy aiming to reduce the number of required full-order solutions was proposed via an incremental algorithm [24]. The idea is to compute snapshots sequentially and on-the-fly, corresponding to the values of the parameters identified by an appropriate error estimate. In a similar fashion, a priori model reduction strategies construct an approximation by means of a greedy algorithm which sequentially computes the terms of the reduced solution [25]. Although such procedure cannot be performed in parallel, a priori ROMs automatically determine the number of terms in the reduced basis and do not require prior knowledge of the solution, circumventing the sampling step. Starting from the reduced solution obtained using either a priori, e.g. the proper generalised decomposition (PGD) [25,26], or a posteriori, e.g. reduced basis (RB) [16,17,27] or proper orthogonal decomposition (POD) [28,29], approaches, parametric response surfaces can be efficiently devised. In this context, a critical aspect is represented by the interpolation strategy used to evaluate the quantities of interest depending on the solution manifold constructed using the ROMs. The difficulty of effectively interpolating the reduced solution in a multidimensional manifold was first addressed in [30]. Since then, different 2 strategies were proposed to reduce the dimensionality of the input space, e.g. via kernel principal component analysis [31] and manifold learning [32–34], and to perform accurate interpolation using manifold walking [35] and co-kriging [36] techniques. Recently, manifold learning techniques and collocation methods inspired by sparse grids [37] have been coupled with PGD-based separated representations of functions of interest [38,39]. The resulting methodologies, including sparse subspace learning [40] and sparse PGD [41], allow to concurrently devise low-dimensional descriptions of the parameter space and functional approximation of the solution manifold, leading to the so-called hybrid twins paradigm [42]. Although both a priori and a posteriori ROMs have been utilised to solve parametrised PDEs and to devise parametric response surfaces, it is not possible to know a priori which reduction approach will perform better for a given problem. Indeed, to the best of the authors’ knowledge, no comparison of these approaches in terms of their accuracy and their computational cost is available in the literature. The present work aims to provide a comparison of a priori and a posteriori model reduction techniques, with special emphasis on their cost in terms of number of calls to the full-order solver. It is worth noticing that the current development of a priori and a posteriori ROMs shows different levels of maturity. Indeed, a posteriori approaches feature an extended literature tackling various aspects critical for their efficiency, such as sampling strategies and error control. On the contrary, in the context of a priori ROMs, methodologies for the advanced treatment of the space of parameters [43] or the embedded control of accuracy [44–46] represent an active line of investigation. Hence, in order for the present comparison to be unbiased, similar versions of the a priori and a posteriori ROM algorithms, without targeted sampling or error control streatgies, are considered. For the purpose of this comparison, the PGD framework, successfully applied in recent years to several problems [47–51], is considered to construct both the a priori and the a posteriori ROM strategy. More precisely, this study focuses on PGD for geometrically parametrised PDEs. Previous works, see e.g. [52–55], have shown that this class of parametric problems is particularly challenging since the parameters under analysis affect both the solution manifold and the computational spatial domain. In particular, the difficulty of such problems increases when more than one parameter is considered and when the parameters are responsible for extreme changes of the geometry. Hence, PDEs on geometrically parametrised domains offer complex benchmark cases for ROM strategies, even when a low number of parameters is considered. The remainder of the manuscript is organised as follows. Section 2presents the incompressible Stokes flow problem in a geometrically parametrised domain and the full-order hybridisable discontinuous Galerkin (HDG) solver. The PGD framework is introduced in section 3, where the a priori and a posteriori algorithms are detailed and critically compared. An extensive set of numerical simulations for geometrically parametrised Stokes flows in the context of modelling of microswimmers is presented in section 4. More precisely, a comparison of a priori and a posteriori PGD algorithms is performed in terms of accuracy and computational cost by means of parametric problems involving one or 3 more geometric parameters, with different ranges of values, to study the sensitivity of the PGD-based methodologies to the variability of the multidimensional solution. Finally, section 5summarises the presented results and the open lines of investigation and appendix A presents some technical details on the separated form of the operators involved in the a priori PGD algorithm. 2 Full-order Stokes solver in geometrically parametrised domains The model problem for the present study is an incompressible Stokes flow in a domain with parametrised geometry. More precisely, the parametrised domain is denoted by Ωµ⊂Rnsd , nsd being the number of spatial dimensions, with boundary ∂Ωµ=Γµ D∪Γµ N∪Γµ S, where the portions Γµ D, Γµ Nand Γµ Sare disjoint by pairs. The npa parameters µ∈I⊂Rnpa control the geometric representation of the domain and are assumed to be independent, that is, I:= I1× I2× · · · × Inpa with µj∈ Ijfor j= 1,...,npa. By considering the parameters µas extra coordinates of a multidimensional problem in the higher-dimensional manifold Ωµ×I, the solution of the Stokes problem is the parametric velocity-pressure pair, u(xµ,µ) and p(xµ,µ), such that                −∇ µ·(ν∇ µu−pInsd) = sin Ωµ×I, ∇ µ·u= 0 in Ωµ×I, u=uDon Γµ D×I, nµ·ν∇ µu−pInsd=gNon Γµ N×I, u·Dµ+nµ·ν∇ µu−pInsdEµ=0on Γµ S×I, (1) where ν>0 is the kinematic viscosity of the fluid, sdenotes the applied body forces and nµis the outward unit normal vector to the boundary. As mentioned above, the external boundary ∂Ωµis partitioned in Dirichlet, Γµ D, Neumann, Γµ N, and slip, Γµ S, boundaries which also depend on the parameters µ. Thus, the velocity uDand the pseudo-traction gNare imposed on Γµ Dand Γµ N, respectively, for each value in the parametric space I. Similarly, on Γµ S, perfectly slip (i.e. symmetry) conditions are enforced by introducing the matrices Dµ:=[nµ,0nsd×(nsd−1)] and Eµ:=[0,tµ 1, ..., tµ nsd−1], where the tangential directions tµ k, k=1,...,nsd −1 form an orthonormal system of vectors {nµ,tµ 1,...,tµ nsd−1}, see [56]. Moreover, from the divergence-free equation in problem (1), the compatibility condition huD·nµ,1iΓµ D+hu·nµ,1i∂Ωµ\Γµ D= 0 for almost every µ∈I,(2) is imposed, where h·,·iSdenotes the L2inner product defined on any surface S⊂∂Ωµ. Finally, it is worth recalling that in case no Neumann boundary conditions are considered, that is ∂Ωµ=Γµ D∪Γµ S, an additional constraint is required to guarantee the uniqueness 4 of the computed pressure field. A common constraint, see [57–59], enforces a zero mean value of the pressure on the domain, that is, for almost every µ∈I, 1 |Ωµ|p, 1Ωµ = 0,(3) (·,·)Dbeing the L2inner product in a generic subdomain D⊂Ω. 2.1 Multidimensional hybridisable discontinuous Galerkin solver The multidimensional Stokes flow problem (1) is discretised using the full-order HDG solver described in [55]. The choice of the HDG framework [57,60] allows to devise an LBB- compliant discretisation of the Stokes equations with high-order isoparametric formulations using equal order polynomial approximations for all the variables, see e.g. [56,58,61–63]. In addition, the PGD-ROM based on the HDG formulation provides an exact separation of the integrals appearing in the geometrically parametrised PDE [55] and does not rely on numerical separation techniques as discussed in [54]. In this section, the multidimensional HDG formulation of equation (1) is briefly recalled, whereas for a complete derivation interested readers are referred to [55]. First, the spatial, Ωµ, and parametric, Ij, j=1,...,npa, domains are subdivided in nel and nj el disjoint subdomains, respectively, that is, Ωµ= nel [ e=1 Ωµ e,such that Ωi∩Ωl=∅for i6=l, Ij= nj el [ e=1 Ij e,such that Ij i∩ Ij l=∅for i6=l. Moreover, the mesh skeleton Γµof the spatial domain is defined as Γµ:= "nel [ e=1 ∂Ωµ e#\∂Ωµ. The full-order HDG solver for geometrically parametrised Stokes flows is devised according to the formulation introduced in [55]. More precisely, a reference domain Ω, independent of the parameters µ, is introduced and a mapping Mµ: Ω ×I−→ Ωµ (x,µ)7−→ xµ=Mµ(x,µ).(4) is considered to transform it into the geometrically parametrised domain Ωµ, see [52–55]. 5 The HDG formulation of the Stokes equations is thus written on the reference domain Ω by applying the mapping (4). Following [55], the functional spaces Vh(Ω) := {v∈ L2(Ω) : v|Ωe∈ Pk(Ωe)∀Ωe, e = 1,...,nel}, b Vh(S) := {ˆv∈ L2(S) : ˆv|Γ i∈ Pk(Γ i)∀Γ i⊂S⊆∂Ω∪Γ}, Lh(Ij) := {v∈ L2(Ij) : v|Ij e∈ Pk(Ij e)∀Ij e, e = 1,...,nj el}, Lh(I) := Lh(I1)⊗ · · · ⊗ Lh(Inpa ), are introduced, where Pk(Ωe), Pk(Γ i) and Pk(Ij e) denote the spaces of polynomial functions of complete degree at most kin Ωe, on Γ iand in Ij e, respectively. Moreover, for the sake of readability, the following scalar-valued, Vµ, vector-valued, Vµand b Vµ, and tensor-valued, Wµ, discrete functional spaces are defined Vµ:= Vh(Ω) ⊗Lh(I),Vµ:= Vh(Ω) ⊗Lh(I)nsd , b Vµ:= hb Vh(Γ ∪Γ N∪Γ S)⊗Lh(I)insd ,Wµ:= Vh(Ω) ⊗Lh(I)nsd×nsd . As usual in the context of HDG formulations of the Stokes equations [56–59,61–64], the mixed variable L=−ν∇ µu, i.e. a scaling of the gradient of velocity, the hybrid variable ˆurepresenting the trace of the velocity on the element faces and the mean pressure ρon the boundary of the element are introduced. First, a static condensation of the degrees of freedom inside each element is performed via the HDG local problems: for e=1,...,nel, velocity, ue, pressure, pe, and mixed variable, Le, are written element-by-element in terms of the hybrid velocity ˆuand the mean pressure ρe. The weak form of the HDG local problems on the spatial reference element Ωeis: given uDon Γ Dand ˆuhon Γ ∪Γ N∪Γ S, find (uh e, ph e,Lh e)∈Vµ× Vµ×Wµsuch that ALL(W,Lh e;µ) + ALu(W,uh e;µ) = LL(W;µ) + ALˆu(W,ˆuh;µ), AuL(v,Lh e;µ) + Auu(v,uh e;µ) + Aup(v, ph e;µ) =Lu(v;µ) + Auˆu(v,ˆuh;µ), Apu(v, uh e;µ) = Lp(v;µ) + Apˆu(v, ˆuh;µ), Aρp(1, ph e;µ) = Aρρ(1, ρh e;µ), (5) for all (v, v, W)∈Vµ× Vµ×Wµ. The multidimensional bilinear and linear forms appearing in equation (5) are obtained by applying the mapping (4) to the integrals defined 6 on the geometrically parametrised elements Ωµ e, leading to ALL(W,L;µ) := −W, ν−1det(Jµ)LΩe×I, ALu(W,u;µ) := adj(Jµ)∇·W,uΩe×I, ALˆu(W,ˆu;µ) := hadj(Jµ)n·W,ˆui(∂Ωe\Γ D)×I, AuL(v,L;µ) := v,adj(Jµ)∇·LΩe×I, Auu(v,u;µ) := hv,τ ui∂Ωe×I, Aup(v, p;µ) := v,adj(Jµ)∇pΩe×I, Auˆu(v,ˆu;µ) := hv,τˆui(∂Ωe\Γ D)×I, Apu(v, u;µ) := adj(Jµ)∇v, uΩe×I, Apˆu(v, ˆu;µ) := hv, ˆu·adj(Jµ)ni(∂Ωe\Γ D)×I, Aρp(w, p;µ) := w, |Ωe|−1pΩe×I, Aρρ(w, ρ;µ) := w, ρI, (6a) where (·,·)D×Istands for the L2inner product in a generic subdomain D×Iwith D⊂Ω and h·,·iS×Idenotes the L2inner product in any domain S×I, with S⊂∂Ωµ. Moreover, Jµ=Jµ(x,µ) and det(Jµ) represent the Jacobian of the mapping and its determinant, respectively, whereas its adjoint is defined as adj(Jµ)= det(Jµ)J−1 µ. The corresponding linear forms are given by LL(W;µ) := hadj(Jµ)n·W,uDi(∂Ωe∩Γ D)×I, Lu(v;µ) := v,det(Jµ)sΩe×I+hv,τuDi(∂Ωe∩Γ D)×I, Lp(v;µ) := hv, uD·adj(Jµ)ni(∂Ωe∩Γ D)×I. (6b) It is worth noticing that the bilinear and linear forms introduced in equation (6) depend both on spatial, x, and parametric, µ, variables. On the one hand, the integrals obtained from the application of the mapping (4) are defined on the spatial reference domain Ω, which is independent of the parameters µ. On the other hand, the Jacobian of the mapping being a function of space and parameters, it follows that the terms det(Jµ) and adj(Jµ) depend both on xand µ, as further detailed in the following section. Remark 1 (Stabilisation in hybridisable discontinuous Galerkin methods).The HDG stabilisation tensor τis known to play an important role in the accuracy and convergence properties of the numerical approximation [59,60,65,66]. In the context of Stokes flow problems, see [56], an isotropic stabilisation tensor is considered, namely τ:= (τν/`)Insd , where `is a characteristic length of the domain and τa positive scaling factor selected equal to 10 in the present work. Second, the globally-coupled degrees of freedom, namely the hybrid velocity and the mean pressure, are computed by solving the HDG global problem whose weak form reads: 7 find ˆuh∈b Vµand ρh∈Rnel ⊗Lh(I) such that nel X e=1 AˆuL(ˆv,Lh e;µ) + Aˆuu(ˆv,uh e;µ) + Aˆup(ˆv, ph e;µ) +Aˆuˆu(ˆv,ˆuh;µ)= nel X e=1 {Lˆu(ˆv;µ)}, Apˆu(1,ˆuh;µ) = −Lp(1; µ), (7) for all ˆv∈b Vµ, with the multidimensional bilinear and linear forms AˆuL(ˆv,L;µ) :=hˆv,adj(Jµ)n·Li(∂Ωe\(Γ D∪Γ S))×I − hˆv,adj(Jµ)n·LEi(∂Ωe∩Γ S)×I, Aˆuu(ˆv,u;µ) :=hˆv,τui(∂Ωe\(Γ D∪Γ S))×I− hˆv,(τ u)·Ei(∂Ωe∩Γ S)×I, Aˆup(ˆv, p;µ) :=hˆv, p adj(Jµ)ni(∂Ωe\(Γ D∪Γ S))×I, Aˆuˆu(ˆv,ˆu;µ) := − hˆv,τˆui(∂Ωe\(Γ D∪Γ S))×I +hˆv,ˆu·adj(Jµ)D+ (τˆu)·Ei(∂Ωe∩Γ S)×I, Lˆu(ˆv;µ) := − hˆv,gNi(∂Ωe∩Γ N)×I. (8) Similarly to what observed for the local problem, the bilinear and linear forms of the global problem presented in equation (8) are defined on the reference domain Ω, independent of µ, whereas the adjoint of the Jacobian adj(Jµ) incorporates the dependence on the space and on the parameters. Interested readers are referred to [55] for the details of the derivation of the local and global problems of the multidimensional HDG method for a Stokes flow in a geometrically parametrised domain. For the sake of readability and except in case of ambiguity, the subscript eand the superscript hwill be henceforth omitted. 3 Separated response surfaces based on the proper generalised decomposition In order to construct response surfaces for the real-time evaluation of quantities of interest, the parametric problem (1) needs to be efficiently computed for a large number of configurations. Nonetheless, the solution of the geometrically parametrised Stokes flow problem in a space of dimension nsd+npa using the previously introduced multidimensional HDG solver is computationally unaffordable, even when only few parameters are considered. In this section, two PGD-based strategies are presented to construct response surfaces in terms of separated functions. Before detailing the two algorithms, the framework to construct a separated approximation using PGD is briefly recalled. 8 As classical in the context of ROMs for parametric PDEs [67,68], the bilinear and linear forms introduced in section 2.1 require an affine dependence on the parameters µ. For the problem involving geometrically parametrised domains introduced in section 2.1, the bilinear and linear forms are approximated by the sum of products of parameterdependent functions and spatial operators independent of the parameters, as detailed in A. As previously mentioned, the integrals in the weak forms (5) and (7) of the HDG local and global problems are defined on the parameter-independent reference domain, whereas the determinant and the adjoint of the mapping incorporate the dependence on the parameters. It is worth noticing that a fixed mesh is generated once for the spatial reference domain. Hence, no mesh quality issues due to the deformation of the mesh of the reference domain arise. Of course, if the transformation (4) is responsible for extreme deformations of the reference configuration, the Jacobian of the isoparametric mapping may degrade, leading to the need of a larger number of integration points for the computation of the terms in equations (6) and (8). It is worth noticing that this is especially critical in the context of high-order curved meshes. Hence, it is still advisable to perform a preliminary study of mesh quality for the configurations corresponding to the limit of the geometric mapping, as reported for the examples in section 4. 3.1 Separated representation of the unknown variables According to the PGD framework [25], the unknown variables are written as rank-msep- arable approximations as um PGD (x,µ) = σm ufm u(x)ψm(µ) + um−1 PGD (x,µ), pm PGD (x,µ) = σm pfm p(x)ψm(µ) + pm−1 PGD (x,µ), Lm PGD (x,µ) = σm LFm L(x)ψm(µ) + Lm−1 PGD (x,µ), ˆum PGD (x,µ) = σm ˆufm ˆu(x)ψm(µ) + ˆum−1 PGD (x,µ), ρm PGD (x,µ) = σm ρfm ρ(x)ψm(µ) + ρm−1 PGD (x,µ), (9) where each term in the expansion, referred to as mode, is the product of a spatial function and a function depending on the parameters and σm L,σm u,σm p,σm ˆuand σm ρdenote the amplitudes of the corresponding modes. For the sake of simplicity, the parametric terms are assumed to be factorisable using one-dimensional functions, that is, ψm(µ) = npa Y j=1 ψm j(µj).(10) Remark 2 (Factorisation of the parametric space).In the context of PGD approximations, spatial and parametric modes are computed alternatively. In order to guarantee the computational efficiency of the PGD algorithm, it is critical for the number of degrees of freedom in the parametric problem to be considerably smaller than the number of unknowns in the spatial problem. Assumption (10) is commonly employed to enforce that the 9 force on an object of surface B, the rank-mseparated approximation is given by Fm DPGD (µ) = ZB−pm PGD (x,µ)Insd −(Lm PGD (x,µ) + Lm PGD (x,µ)T)ndΓ = m X j=1 Djψj(µ) (21) where the Djcorresponds to the drag coefficient of the j-th spatial mode and is obtained as Dj:= ZB−σj pfj p(x)Insd −σj L(Fj L(x) + Fj L(x)T)ndΓ.(22) It is worth noticing that the accuracy of the separated response surface of a quantity of interest directly depends upon the precision achieved by the PGD approximation of the variables utilised for its computation (e.g. pressure and gradient of velocity in the case of the drag). In this context, the HDG method used as full-order solver allows to achieve optimal convergence of order k+1 for both the pressure and the mixed variable respresenting the gradient of velocity [55,63]. Thus, it provides additional accuracy in the approximation of the viscous part of the drag with respect to classical primal finite element formulations, in which this is obtained as a postprocess of the computed velocity field. To construct separated approximations assessing the accuracy in a given quantity of interest, interested readers are referred to [44,72,73], where PGD algorithms with goal-oriented error control were investigated. 3.5 Critical comparison of a priori and a posteriori PGD algorithms Both the a priori and a posteriori approach introduced above have attractive properties and their performance differs depending upon the problem under analysis and the parameters of interest. As it is not possible to know which of the two methodologies will perform better for a given problem, this section offers a critical comparison of the two approaches, highlighting the main advantages and disadvantages of each method. It is worth noticing that geometric parameters are one of the more challenging problems to consider in the context of parametric PDEs as the changes induced by such parameters not only have an influence on the discretised equations but also on the computational spatial domain. The main drawback of the a posteriori PGD approach is that the user is required to select of a set of snapshots, corresponding to the simulations of the full-order problem, for a given set of values of the parameters. In order to provide a comparison of the cost of a priori and a posteriori PGD in terms of full-order solves, in this work no problemspecific sampling is considered and the snapshots are computed in correspondence of the nodes of the parametric intervals used by the a priori algorithm. Although more advanced sampling techniques have been proposed, see section 1, the selected points are expected to 16 produce accurate representations of the solution in the parametric domain inheriting the good approximation properties of the utilised Fekete nodal distributions. Despite the vast literature on sampling methods, it is not possible to initially know the number of snapshots the a posteriori ROM will require to capture the multidimensional solution accurately. In contrast, the a priori PGD approach requires no previous knowledge of the solution and no snapshots need to be selected by the user. Instead, a set of modes is automatically constructed in the enrichment process and the required number of terms is automatically determined by the greedy algorithm according to a user-defined tolerance. An important advantage of the a posteriori approach is that the snapshots can be computed in parallel as they are completely independent of each other. In contrast, the a priori approach computes the modes sequentially within the enrichment process. The computation of each mode involves several calls to the spatial solver in order to obtain the solution of the nonlinear problem by using the AD scheme. The main drawback of the a priori PGD approach is that its standard implementation is generally intrusive with respect to the spatial solver, see [54,55]. This means that access to the code is required to devise the PGD algorithm starting from the spatial solver. Despite some recent advances towards non-intrusive implementations of the a priori PGD [69,76,77], this aspect still represents an important challenge for the application of the methodology in an industrial context, where the use of commercial software is preferred. On the contrary, the a posteriori approach does not require access to the code sources as it simply relies on a set of snapshots, which can be obtained using any computational code. Concerning the two types of separated approximations introduced in section 3.1, it is worth mentioning that equation (9) and (11) are equivalent. In the latter, the computation of each new mode is split into a prediction and a correction step. This approach is fostered for the a priori PGD as it allows to refine the stopping criterion of the AD scheme (Algorithm 1- Step 5) by introducing an additional check to end the iteration loop when the amplitude of the correction is negligible with respect to the amplitude of the current mode, see [55]. This test has been omitted in the present work to perform a more transparent comparison with the a posteriori PGD algorithm in which no information is provided a priori to reduce the number of computed snapshots. The points previously discussed are general for any parametric problem, but a crucial aspect specific to geometrically parametrised problems concerns the mesh generation process. More precisely, for each parametric configuration of the geometry, a different mesh is required. It is worth noticing that these meshes need to have the same number of nodes and the same connectivity matrix. A common approach for a posteriori ROMs is thus to generate one mesh and morph it to obtain the mesh corresponding to each geometric configuration of interest. In this context, special attention needs to be paid to the morphing algorithm, especially in a high-order framework, as this deformation can significantly decrease the quality of the resulting meshes. An alternative approach, used in the context of a priori PGD in [52–55], relies on defining a reference configuration and an appropriate 17 geometric mapping. Henceforth, only one mesh is required to compute the snapshots for the a posteriori PGD and to perform the computation of the a priori PGD solution, for any geometric configuration of interest. 4 Numerical experiments This section presents a set of numerical examples to investigate the performance of a priori and a posteriori PGD approaches in the context of Stokes flows in geometrically parametrised domains. The problem of interest is the Stokes flow around the so-called push-me-pull-you microswimmer, a geometry extensively studied in the context of microfluidics devices [78,79]. The swimmer consists of two bladders of spherical shape that can change their volume and mutual distance, with the constraint that the total volume of the two bladders is kept constant. Several numerical tests will be presented, involving one and two parameters. First, parametric studies involving a unique parameter will be performed, with special attention on the influence of the range of parameters starting from the configurations of interest described in the literature [78,79]. Then, the concurrent treatment of two parameters will be analysed. In this context, special attention will be devoted to analysing the possibility of extending the previously obtained results to multidimensional cases. 4.1 Description of the geometry and parametrised mappings First, the axial symmetry of the problem is exploited and the computational domain is defined as Ω = ([−L, L]×[0, H]) \(B+∪ B−), where B±={x∈R2:kx±x0k2≤Rref},(23) where L=6, H=2, x0=(1.5,0) and Rref=0.116, as represented in figure 1. A Dirichlet boundary condition is imposed on the left portion of the boundary to simulate an inlet with unitary horizontal velocity. A homogeneous Neumann condition is applied on the right vertical boundary to simulate an outlet surface. On the surface of the two bladders, a homogeneous Dirichlet condition describes a no-slip boundary. Finally, on the remaining boundaries of the domain a perfect slip condition is enforced. The geometry of the computational domain is described using two parameters: the parameter µ1characterises the radius of the two spherical bladders; the parameter µ2 controls the distance between the centres of the two spheres. It is worth noticing that only one parameter is required to control the radius of the spheres because the total volume of the two bladders is kept constant. Let Mµ1be the mapping controlling the radius of the two spheres. Figure 2(a) reports a sketch of the piecewise definition of the mapping in the vicinity of one sphere, Rout=0.45 18 Figure 1: Computational domain for the simulation of the axisymmetric flow around the push-me-pull-you microswimmer. The inflow boundary is highlighted in orange, the outflow boundary in blue, the slip boundary in red and the no-slip boundary in black. Rout Rref x0 (a) Mµ1 Rint x0 (b) Mµ2 Figure 2: Piecewise mapping (a) Mµ1and (b) Mµ2controlling the variation of radius and distance, respectively. Detail of the mapping in the vicinity of the sphere centred at x0. being the interface between the deformable region (inside) and the fixed one (outside). Following [54,55], the mapping Mµ1is defined in the separable form (13) as 19 M1 1(x) =    1 rx− 0if kx− 0k ≤ Rout 0 otherwise φ1 1(µ1) = Rout(R+(µ1)−Rref) Rout −Rref , M2 1(x) = (x− 0if kx− 0k ≤ Rout 0 otherwise φ2 1(µ1) = Rout −R+(µ1) Rout −Rref , M3 1(x) = (x0if kx− 0k ≤ Rout 0 otherwise φ3 1(µ1) = 1, M4 1(x) =    1 rx+ 0if kx+ 0k ≤ Rout 0 otherwise φ4 1(µ1) = Rout(R−(µ1)−Rref) Rout −Rref , M5 1(x) = (x+ 0if kx+ 0k ≤ Rout 0 otherwise φ5 1(µ1) = Rout −R−(µ1) Rout −Rref , M6 1(x) = (−x0if kx+ 0k ≤ Rout 0 otherwise φ6 1(µ1) = 1, (24) where x± 0:=x±x0. In this work, the interval for the first parameter is defined as I1=[−1,1]. In addition, the radius of the second sphere, centred at x0, is defined as R+(µ1)=−0.0372µ2 1+0.0968µ1+0.25, whereas the radius of the first sphere, centred at −x0, is given by R−(µ1) = 1 32 −R+(µ1)31 3.(25) Hence, for µ1=−1, the radii of the two spheres are R−=0.3096 and R+=0.116, respectively, whereas their values are R−=0.116 and R+=0.3096 for µ1=1. Similarly, the mapping Mµ2for the distance is defined in a piecewise form as represented in figure 2(b). Let Rint=0.47 denote the location of the interface between the fixed and deformable region for the mapping affecting the distance of the spheres. The definition of the separable form of the mapping is given by M1 2(x) = d(x) 0φ1 2(µ2) = −1 3x0µ2, M2 2(x) = xφ2 2(µ2)=1, (26) 20 where the distance function d(x) is d(x) :=                      x+L x0+Rint −Lif x∈[−L, −x0−Rint] −1 if x∈[−x0−Rint,−x0+Rint] x x0−Rint if x∈[−x0+Rint, x0−Rint] 1 if x∈[x0−Rint, x0+Rint] x−L x0+Rint −Lif x∈[x0+Rint, L] .(27) For the parameter µ2, two different intervals are considered. The objective of this study is to evaluate the sensitivity of a priori and a posteriori PGD algorithms to variations in the amplitude of the parametric intervals, with special emphasis on the case in which large deformations of the domain are induced by the geometric parameters. On the one hand, the interval I2=[−2,−1] induces a maximum and minimum distance between the bladders equal to Dmax=5 and Dmin=4, respectively. On the other hand, the interval I2=[−3,2] is responsible for a maximum and minimum distance between the bladders equal to Dmax=6 and Dmin=1, respectively. It is worth noticing that in the latter setup, extreme deformations are introduced by the mapping, leading to complex variations of the flow features near the microswimmer. Finally, when the two parameters are concurrently analysed, the resulting mapping is obtained as the composition of the two mappings associated with the radius and the distance. It is worth noticing that given the above piecewise definitions of Mµ1and Mµ2, the resulting mappings are only C0in the spatial domain. Hence, the meshes introduced in the following section need to be conforming with the artificial interfaces utilised to define the mappings, that is, the dashed lines in figure 2. Of course, alternative definitions of these mappings may be devised, e.g. by imposing higher regularity across the interfaces [80]. Consequently, different intervals of the parameters µ1and µ2may arise. The choices above stem from the works [54,55] and interested readers can compare the results computed for the small and large interval I2with the ones reported in [54] and [55], respectively. 4.2 Problem setup and comparison criteria Figure 3shows the computational mesh of the reference domain for the push-me-pull- you microswimmer. The mesh has 1,426 fourth-order triangular elements. The spatial discretisation leads to a global HDG system of 22,260 equations. For the a priori PGD approach, 10 elements are used to discretise the parametric domain I1, whereas 20 and 100 elements are employed for the intervals I2=[−2,−1] and I2=[−3,2], respectively. The different number of elements in each parametric interval has been selected after observing that the variation in the flow induced by the first parameter is weaker than the variation induced by the second one [54,55]. It is worth noticing 21 Figure 3: Computational mesh for the simulation of the axisymmetric flow around the push-me-pull-you microswimmer. that the set of nodes used to discretise the second parametric dimension in the first case, I2=[−2,−1], is a subset of the nodes selected for the second case, where I2=[−3,2]. In all the numerical tests, a degree of approximation k=4 is utilised for both the spatial and the parametric discretisations and non-uniform Fekete nodal distributions are employed. For the a posteriori PGD algorithm, the snapshots are computed in correspondance of the position of the nodes in the parametric space utilised for the a priori approach. To compare the accuracy of the a priori and the a posteriori PGD algorithms, two error measures are considered. First, a multidimensional L2(Ω ×I) error is defined for each variable, namely velocity, pressure and gradient of the velocity, by using a reference solution. For instance, the multidimensional L2(Ω ×I) error measure for the velocity field is given by Eu:= RIRΩ(uPGD (x,µ)−uREF (x,µ))·(uPGD (x,µ)−uREF (x,µ))dΩdµ RIRΩuREF (x,µ)·uREF (x,µ)dΩdµ 1/2 .(28) It is worth noticing that the evaluation of the multidimensional error (28) requires the definition of a reference solution uREF at each integration point of the space of parameters. For each integration point of the space I, the reference solution is thus computed using the HDG spatial solver on a new, finer, mesh of the reference domain and with a higher order polynomial approximation. It is worth mentioning that an increased number of integration points on the spatial mesh is considered for this computation in order to guarantee that the reference solution is not affected by the introduction of the mapping in the HDG solver. It follows that the error introduced by the interpolation of the reference solution defined on the fine mesh onto the mesh used for the PGD computation is negligible and the quantity in equation (28) provides an accurate description of the error of the reduction strategy. For the example with I1=[−1,1] and I2=[−3,2], a total of 25,000 reference solutions were required to compute this error measure, since five integration points in each parametric element are utilised for k=4. Second, the separated response surface for the drag force F Dand its error are considered to assess the accuracy of the PGD-based strategies analysed. More precisely, the L2(I) 22 error measure for the drag force in the parametric space is defined as ED=RI(F DPGD (µ)−F DREF (µ))2dµ RIF DREF (µ)2dµ 1/2 ,(29a) whereas the error in the quantity of interest F Das a function of the parameters is given by εD(µ) = |F DPGD (µ)−F DREF (µ)| |F DREF (µ)|.(29b) 4.3 One geometric parameter In this section, two geometric mappings, affecting independently the radius of the spherical bladders and their distance, are considered. An extensive comparison of accuracy and computational cost of the a priori and the a posteriori PGD approaches is presented for these two cases and special attention is devoted to the PGD-based separated response surfaces for the drag force. 4.3.1 Varying the radius of the spherical bladders The first example involves the simulation of the Stokes flow past the push-me-pull-you microswimmer when the domain is parametrised using µ1and the distance between the centres of the two spheres is fixed and equal to 3. To evaluate the influence of the number of nonlinear iterations in the AD scheme of the a priori PGD, different numbers of iterations are considered, namely ni=1,2,3,5. In addition, to evaluate the influence of the number of snapshots used in the a posteriori PGD approach, different numbers of snapshots are employed, namely ns=11,21,41. First, the effect of the geometric mapping on the quality of the meshes is investigated. Figure 4displays the mesh configurations associated with the two extreme values of the parameter µ1controlling the radius of the bladders. Moreover, the mesh quality, measured as the scaled Jacobian of the isoparametric mapping [70,71], is reported for the corresponding geometric configurations. The mesh quality map shows that for the sphere with minimum radius, 0.116, the quality is lower than one only in the elements with an edge on the boundary or on the interior interface used to define the piecewise geometric mapping described in [55]. This is due to the use of the mesh generation technique described in [70,71], where only the elements in contact with curved entities are represented with high-order polynomials. In contrast, for the sphere with maximum radius, 0.3096, all the elements in the region where the mapping is different from the identity are deformed. It is worth noticing that in all the presented cases, the majority of the elements features a mesh quality of 0.9 or higher and only few elements experience an extreme distortion reducing the value of the scaled Jacobian of the isoparametric mapping to 0.7. Hence, the mesh in 23 (a) Mesh, µ1=−1 (b) Quality, µ1=−1 (c) Mesh, µ1= 1 (d) Quality, µ1= 1 Figure 4: (a-c) Mesh configurations and (b-d) mesh quality of two deformed microswimmers for the mapping with µ1as a geometric parameter. figure 3is confirmed to be suitable for the parametric study of the influence of the radius in the microswimmer configuration. Figure 5shows the evolution of the L2(Ω × I1) error measure for velocity and pressure as a function of the number of modes, m, for both the a priori and the a posteriori PGD approaches. The results in figure 5(a) show that the a posteriori approach is able to provide highly accurate results, with an error below 10−3, with only five modes and using 11 snapshots. Increasing the number of snapshots to 21, the accuracy of the approximation is not improved and the error with five modes stagnates at approximately the same level achieved by the PGD with 11 snapshots. The additional ten snapshots introduced for ns=21 24 (a) u(b) p Figure 5: Evolution of the L2(Ω × I1) error for (a) velocity and (b) pressure as a function of the number of PGD modes for the problem with one geometric parameter controlling the radius of the spherical bladders. The legend details the number nsof snapshots used by the a posteriori PGD approach (blue) and the number niof nonlinear AD iterations used by the a priori PGD approach (red). are responsible for slightly perturbing the PGD solution computed using 11 snapshots, without providing valuable information on the parametric solution. Of course, this result is strongly influenced by the choice of the sampling points and advanced sampling techniques are expected to improve the a posteriori approximation in this case. Nonetheless, since the a priori PGD algorithm constructs an approximation without any prior information, no specific sampling has been considered for the a posteriori PGD in order to present a fair comparison of the cost of the two solvers under similar working conditions. If a higher accuracy is required for the approximation in figure 5(a), the number of snapshots needs to be increased to 41. In this case, with seven computed modes, the a posteriori PGD is able to provide an error below 10−4. For the a priori approach, the results show that with only one iteration in the AD scheme, the accuracy of the computed modes is limited and the error stagnates at a level almost two orders of magnitude higher than the corresponding results obtained performing two iterations. In addition, this example also shows that two iterations is the optimal value as higher values, for instance three or five iterations, provide results with almost the same accuracy but they require additional solutions of the spatial problem. With two iterations in the AD scheme, the a priori PGD approach requires up to 20 modes to reach an accuracy that is comparable to the accuracy obtained by the a posteriori approach with five modes and 41 snapshots. To further analyse the accuracy of the two PGD approaches, the evolution of the L2(Ω × I1) error for the gradient of velocity and the L2(I1) error for the drag force on the 25 (a) u(b) p (c) L(d) F D Figure 15: Evolution of (a-c) the L2(Ω × I2) error for velocity, pressure and gradient of velocity and (d) the L2(I2) error for the drag force as a function of the number of PGD modes for the problem with one geometric parameter controlling the distance between the spherical bladders and I2=[−2,−1]. The legend details the number nsof snapshots used by the a posteriori PGD approach (blue) and the number niof nonlinear AD iterations used by the a priori PGD approach (red). meshes of two microswimmer configurations obtained from the extreme values of the parameter µ2describing the distance between the bladders. The figure also displays the mesh quality, measured as the scaled Jacobian of the isoparametric mapping, of the two deformed configurations. The results report that the mesh quality is not affected by the mapping considered as the change in distance is piecewise linear and the lower mesh quality only concentrates in the vicinity of the spheres. This is due to the deformation required to transform the reference mesh with radius 0.116 into the geometric configuration un- 32 (a) Mesh, µ2=−3 (b) Quality, µ2=−3 (c) Mesh, µ2= 2 (d) Quality, µ2= 2 Figure 16: (a-c) Mesh configurations and (b-d) mesh quality of two deformed swimmers for the mapping with µ2as a geometric parameter. der analysis, associated with the bladders of equal volume, in which the radius achieves the value 0.25. As previously observed for the case of the parametrised radius, only few elements present a mesh quality of 0.7 whereas most elements feature a scaled Jacobian of 0.9 or higher. Hence, the mesh in figure 3also provides a good approximation for the parametric study of the distance between the bladders. Figure 17 shows the evolution of the L2(Ω×I2) error for velocity, pressure and gradient of velocity and the L2(I2) error for the drag force as a function of the number mof modes. It is worth empasising that a simple visual comparison of the results in figures 15 and 17 clearly illustrates the challenge that a larger interval of variation of the geometric parameter 33 (a) u(b) p (c) L(d) F D Figure 17: Evolution of (a-c) the L2(Ω × I2) error for velocity, pressure and gradient of velocity and (d) the L2(I2) error for the drag force as a function of the number of PGD modes for the problem with one geometric parameter controlling the distance between the spherical bladders and I2=[−3,2]. The legend details the number nsof snapshots used by the a posteriori PGD approach (blue) and the number niof nonlinear AD iterations used by the a priori PGD approach (red). induces for both PGD approaches. The results show that the a posteriori approach requires 10 modes in order to reach the maximum accuracy for velocity, pressure and gradient of velocity. In addition, it can be observed that the a posteriori algorithm requires eight modes and 201 snapshots to provide an error in the drag force below 10−5. A higher number of snapshots does not lead to a further reduction in the error, whereas a lower number of snapshots, 101, is responsible 34 for a slight increase in the error. Concerning the a priori PGD, the AD scheme with one iteration leads to a stagnated error that is several orders of magnitude higher than the one obtained with two or more iterations. For two iterations, the number of modes required to reach the maximum accuracy is 15 and for three or five iterations the number of modes required varies between 10 and 12. When the drag force is considered, the a priori approach shows that an accuracy below 10−5can be obtained with two iterations and 14 modes, three iterations and 10 modes or five iterations and 10 modes. The most efficient alternative thus consists of computing 10 modes with three AD iterations for a total of 40 spatial solves, requiring a marginally lower cost than the computation of 14 modes with two AD iterations, that is, 42 calls to the HDG spatial solver. Comparing the performance of the a priori and a posteriori approaches for this more challenging problem, it is clear that the a priori approach is capable of achieving the same accuracy as the a posteriori approach with a significant lower computational cost. For instance, to reach an accuracy in the drag force below 10−5, the a priori approach requires 40 solutions of the spatial problem whereas the same level of accuracy cannot be reached by the a posteriori approach with 101 snapshots. In this case the a posteriori approach requires 201 snapshots, which is five times more than the a priori method. Although this may seem a clear disadvantage of the a posteriori PGD, it is worth noticing that the 201 snapshots could be easily computed in parallel. On the contrary, the a priori PGD solves the spatial problems following a sequential approach. Hence, the resulting computational time of the a posteriori PGD may still be competitive despite the higher number of fullorder HDG solves required. In addition, recall that the number of snapshots required by the a posteriori PGD algorithms strongly depends on the sampling strategy employed. Several advanced sampling methods proposed in the literature, see section 1, can be utilised to reduce the number of snapshots and to improve the performance of the a posteriori PGD scheme. As previously mentioned, this is out of the scope of the current work: in order to perform an unbiased comparison of a priori and a posteriori PGD strategies, two versions of the algorithms exploiting neither prior information nor tailored improvements such as advanced sampling and error control techniques, are considered. To further highlight the additional difficulty of constructing a ROM for the extended range of values of the parameter µ2, the first normalised spatial modes of the module of the velocity are reported in figure 18 and 19 for the interval I2= [−2,−1] and I2= [−3,2], respectively. The results, computed via the a priori PGD with ni=3, display an increased variability of the flow in the region between the two bladders, where modes accounting for localised spatial phenomena appear. A similar behaviour is experienced by the pressure modes, not reported here for brevity. The importace of the presented modes in the final PGD approximation is analysed in figure 20. The evolution of the relative amplitude of the computed modes for the interval I2= [−3,2] displays that the first four modes have a comparable importance in the PGD approximation. On the contrary, the fourth mode in the case of I2= [−2,−1] already has a relative amplitude below 10−3. To achieve this level of truncation when the extended interval I2is considered, the a priori PGD needs to compute nine modes. Finally, figure 21 shows the corresponding parametric modes 35 (a) m= 1 (b) m= 2 (c) m= 3 (d) m= 4 Figure 18: First four normalised spatial modes of the module of the velocity computed using the a priori PGD algorithm for the interval I2= [−2,−1] of the parametric distance. (a) m= 1 (b) m= 2 (c) m= 3 (d) m= 4 (e) m= 5 (f) m= 6 (g) m= 7 (h) m= 8 Figure 19: First eight normalised spatial modes of the module of the velocity computed using the a priori PGD algorithm for the interval I2= [−3,2] of the parametric distance. computed using the a priori PGD strategy for the two parametric intervals studied above. The results display that the parametric functions for the small interval I2= [−2,−1] present a smooth transition between the extreme values of µ2and no localised phenomena are identified. On the contrary, when the extended interval I2= [−3,2] is considered, several parametric functions feature large variations in a localised region between µ2=1 36 (a) I2= [−2,−1] (b) I2= [−3,2] Figure 20: Convergence of the mode amplitude computed using the a priori PGD algorithm for different intervals of the parametric distance. (a) I2= [−2,−1] (b) I2= [−3,2] Figure 21: First normalised parametric modes computed using the a priori PGD algorithm for different intervals of the parametric distance. and µ2=2. This region of the parametric domain is associated with the configurations of minimum distance between the bladders. In these scenarios, the influence of the two spheres on one another is maximum and small variations of the distance are expected to generate complex flow patterns. As in the previous example, the separated response surface of the total drag force on the two spheres is computed using the a priori PGD algorithm. It is worth noticing that the range of values of µ2considered in figure 22(a) is a subinterval of the one analysed in figure 22(b). The scales of the two figures confirm the higher variability of the flow 37 (a) I2= [−2,−1] (b) I2= [−3,2] Figure 22: Response surfaces of the total drag force as a function of the distance µ2between the two spheres, for two different ranges of values of the parameter. quantities when larger parametric intervals are considered and the consequent additional difficulties faced by the PGD-ROM strategies to cope with the sensitivity to the range of values considered. 4.3.3 Accuracy of a priori and a posteriori response surfaces The previous examples with one geometric parameter have shown that, when the error in equation (29a) is considered, the computational cost of the a priori PGD is as competitive as the a posteriori one and outperforms it for a larger range of the parametric interval. However, this quantity measures the average accuracy over the whole parametric domain, without considering the worst case scenarios, that is, the cases where the maximum error is observed. To further compare the two approaches, figure 23 displays the value of the error in equation (29b) in the drag force, as a function of the parameter µ1for the first example with one geometric parameter controlling the radius of the spherical bladders. The minima observed for both the a priori and the a posteriori approaches in figure 23(a) coincide with the midpoints of the elements I1 e, e=1,...,n1 el as these locations correspond to both a high-order node and an integration point for the fourth-order polynomial approximation used in each element of the parametric space. More importantly, the results show that the accuracy of the a priori and the a posteriori approaches is almost identical, not only when measured in the L2(I1) norm (Fig. 6(b)), but also when the pointwise error in the drag force is displayed for every configuration in I1. To capture the qualitative behaviour of the error as a function of µ1, a smoothing is displayed in figure 23(b). The results clearly show that the error is slightly higher near the boundary of the parametric interval. The smoothing is performed by considering a single value for the error in each element, obtained 38 (a) Error measure (b) Smoothed error measure Figure 23: Error in the drag, defined in equation (29b), as a function of the parameter µ1. (a) I2= [−2,−1] (b) I2= [−3,2] Figure 24: Smoothed error measure in the drag force, defined in equation (29b), as a function of the parameter µ2. as the average of the error at all integration points. Similarly, figure 24 compares the value of the smoothed error measure in the drag force as a function of the parameter µ2for the second example, with one geometric parameter controlling the distance between the spherical bladders. The results of the two cases previously studied, with I2=[−2,−1] and I2=[−3,2], display the increased difficulty of computing an accurate response surface as the range of values in the parametric space increases. For I2=[−2,−1], the accuracy is almost independent of the value of the parameter, whereas for I2=[−3,2] a more significant dependence is observed, especially near µ2=2, that is, when the distance between the spherical bladders is minimum. It is clear 39 (a) Module of velocity, µ2=−3 (b) Pressure, µ2=−3 (c) Module of velocity, µ2= 2 (d) Pressure, µ2= 2 Figure 25: Module of velocity and pressure field for two values of the parameter µ2corre- sponding to maximum (top) and minimum (bottom) distance of the bladders. that for large values of µ2, there is a strong influence in the flow impinging onto the second sphere caused by its proximity to the first sphere. Figure 25 reports the particularisation of the PGD solution computed for two values of the parameter of interest, highlighting the additional difficulties due to the small distance between the two bladders for µ2=2. Finally, the comparison of the results in figures 23 and 24 clearly illustrates the rationale behind the choice of the resolution for the discretisation of the intervals I1and I2. Given the limited variation of the solution in figure 23(b), only 10 elements were considered in the first parametric dimension, whereas the discretisation of the second parametric dimension contains 20 elements for the interval I2=[−2,−1] and 100 elements for the case of I2=[−3,2]. 4.4 Two geometric parameters In this section, the two geometric parameters studied separately in the previous examples are considered in a single simulation. As observed in [55], this problem is particularly challenging and an increased number of modes is required to capture the solution. To ease the visualisation, the figures in this section report the number of modes for the a priori approach after the PGD compression is performed, whereas the global number of computed modes is commented in the text. First, the interval for the parameter that controls the distance is set to I2=[−2,−1]. Figure 26 shows the evolution of the L2(Ω ×I) error for velocity, pressure and gradient of velocity and the L2(I) error for the drag force as a function of the number mof modes. The results reveal that the a posteriori approach provides almost identical accuracy using 231 and 861 snapshots. The errors in velocity and pressure are below 10−2and the error in the gradient of velocity is almost 10−2. In this case, four modes are sufficient to obtain the maximum accuracy in velocity, pressure and gradient of velocity, whereas an additional 40 (a) u(b) p (c) L(d) F D Figure 26: Evolution of (a-c) the L2(Ω ×I) error for velocity, pressure and gradient of velocity and (d) the L2(I) error for the drag force as a function of the number of PGD modes for the problem with two geometric parameters and I2=[−2,−1]. The legend details the number nsof snapshots used by the a posteriori PGD approach (blue) and the number niof nonlinear iterations used by the a priori PGD approach (red). mode is required to achieve the most accurate results in the drag force. Using 3,321 snapshots, the a posteriori PGD computes 10 modes and provides much more accurate results, with an error one order of magnitude lower, compared to the computation with 861 snapshots. To obtain an error in the drag force below 10−2, the a posteriori approach requires four modes and 231 snapshots, whereas seven modes and 3,321 snapshots are required to achieve an error below 10−3. When the a priori PGD algorithm is employed, one nonlinear iteration in the AD scheme is sufficient to obtain an accuracy almost identical to the one provided by the a posteriori approach with 231 and 861 snapshots. In addition, by 41 considered, the a priori approach requires a significantly lower computational cost, measured in terms of number of full-order HDG solves, with respect to the a posteriori PGD. Nonetheless, it is worth recalling that snapshots in the a posteriori PGD can be easily computed in parallel, whereas the computation of the modes in the a priori approach is sequential. The presented numerical results also highlight the additional difficulty introduced by the presence of multiple geometric parameters. In this case, the a priori PGD requires up to 11 times less calls to the full-order HDG solver than the a posteriori approach to achieve an accuracy in the drag force below 10−3. Hence, the numerical results display the superior performance of the a priori PGD when either the parametric solution features increased variability, due to the range of values of the geometric parameters or to their number, or higher accuracy is required by the user. Nonetheless, the employment of advanced sampling techniques in the a posteriori PGD is expected to reduce the number of required snapshots and competitive computing times may be achieved via their parallel computation. It is worth emphasising that the conclusions of parametric studies considering only one geometric parameter at a time do not extend to parametric PDEs in which multiple parameters are concurrently considered in a unique problem. Hence, prompted by these results, further comparisons involving problems with more than two geometric parameters and a posteriori algorithms based on tailored sampling techniques are expected to provide additional insights on the applicability and limitations of PGD-based strategies in the context of industrial parametric studies. Acknowledgements This work was partially supported by the European Union’s Horizon 2020 research and innovation programme under the Marie Sk lodowska-Curie Actions (Grant number: 675919) that financed the Ph.D. fellowship of L.B. and by the Spanish Ministry of Economy and Competitiveness (Grant number: DPI2017-85139-C2-2-R). M.G. and A.H. are also grateful for the support provided by the Spanish Ministry of Economy and Competitiveness through the Severo Ochoa programme for centres of excellence in RTD (Grant number: CEX2018-000797-S) and the Generalitat de Catalunya (Grant number: 2017-SGR-1278). R.S. also acknowledges the support of the Engineering and Physical Sciences Research Council (Grant number: EP/P033997/1). References [1] G. Box, K. Wilson, On the experimental attainment of optimum conditions, Journal of the royal statistical society: Series b (Methodological) 13 (1) (1951) 1–38. 48 [2] P. Breitkopf, H. Naceur, A. Rassineux, P. Villon, Moving least squares response surface approximation: formulation and metal forming applications, Computers & Structures 83 (17-18) (2005) 1411–1428. [3] P. Zhang, P. Breitkopf, C. Knopf-Lenoir, W. Zhang, Diffuse response surface model based on moving Latin hypercube patterns for reliability-based design optimization of ultrahigh strength steel NC milling parameters, Structural and Multidisciplinary Optimization 44 (5) (2011) 613–628. [4] F. Chinesta, A. Huerta, G. Rozza, K. Willcox, Model Reduction Methods, in: E. Stein, R. de Borst, T. Hughes (Eds.), Encyclopedia of Computational Mechanics Second Edition, Vol. Part 1 Solids and Structures, John Wiley & Sons, Ltd., Chichester, 2017, Ch. 3, pp. 1–36. [5] B. Peherstorfer, K. Willcox, M. Gunzburger, Survey of multifidelity methods in uncertainty propagation, inference, and optimization, SIAM Review 60 (3) (2018) 550–591. [6] P. LeGresley, J. Alonso, Airfoil design optimization using reduced order models based on proper orthogonal decomposition, in: AIAA Fluids 2000 conference and exhibit, 2000, p. 2545. [7] G. Weickum, M. Eldred, K. Maute, A multi-point reduced-order modeling approach of transient structural dynamics with application to robust design optimization, Structural and Multidisciplinary Optimization 38 (6) (2009) 599. [8] M. Xiao, P. Breitkopf, R. Coelho, C. Knopf-Lenoir, M. Sidorkiewicz, P. Villon, Model reduction by CPOD and Kriging, Structural and Multidisciplinary Optimization 41 (4) (2010) 555–574. [9] K. Carlberg, C. Farhat, A low-cost, goal-oriented compact proper orthogonal decomposition basis for model reduction of static systems, International Journal for Numerical Methods in Engineering 86 (3) (2011) 381–402. [10] A. Manzoni, A. Quarteroni, G. Rozza, Shape optimization for viscous flows by reduced basis methods and free-form deformation, International Journal for Numerical Methods in Fluids 70 (5) (2012) 646–670. [11] C. Gogu, J.-C. Passieux, Efficient surrogate construction by combining response surface methodology and reduced order modeling, Structural and Multidisciplinary Optimization 47 (6) (2013) 821–837. [12] M. J. Zahr, C. Farhat, Progressive construction of a parametric reduced-order model for PDE-constrained optimization, International Journal for Numerical Methods in Engineering 102 (5) (2015) 1111–1135. [13] P. Breitkopf, R. Coelho, Multidisciplinary design optimization in computational mechanics, John Wiley & Sons, 2013. 49 [14] M. McKay, R. Beckman, W. Conover, A comparison of three methods for selecting values of input variables in the analysis of output from a computer code, Technometrics 21 (1) (1979) 239–245. [15] Q. Du, V. Faber, M. Gunzburger, Centroidal Voronoi tessellations: Applications and algorithms, SIAM Review 41 (4) (1999) 637–676. [16] M. Grepl, A. Patera, A posteriori error bounds for reduced-basis approximations of parametrized parabolic partial differential equations, ESAIM: Mathematical Modelling and Numerical Analysis 39 (1) (2005) 157–181. [17] K. Veroy, A. Patera, Certified real-time solution of the parametrized steady incompressible Navier–Stokes equations: rigorous reduced-basis a posteriori error bounds, International Journal for Numerical Methods in Fluids 47 (8-9) (2005) 773–788. [18] T. Bui-Thanh, K. Willcox, O. Ghattas, Model reduction for large-scale systems with high-dimensional parametric input space, SIAM Journal on Scientific Computing 30 (6) (2008) 3270–3288. [19] D. Ryckelynck, A priori hyperreduction method: an adaptive approach, Journal of Computational Physics 202 (1) (2005) 346–366. [20] S. Chaturantabut, D. Sorensen, Nonlinear model reduction via discrete empirical interpolation, SIAM Journal on Scientific Computing 32 (5) (2010) 2737–2764. [21] K. Carlberg, C. Bou-Mosleh, C. Farhat, Efficient non-linear model reduction via a least-squares Petrov–Galerkin projection and compressive tensor approximations, International Journal for Numerical Methods in Engineering 86 (2) (2011) 155–181. [22] D. Amsallem, M. Zahr, C. Farhat, Nonlinear model order reduction based on local reduced-order bases, International Journal for Numerical Methods in Engineering 92 (10) (2012) 891–916. [23] K. Carlberg, C. Farhat, J. Cortial, D. Amsallem, The GNAT method for nonlinear model reduction: effective implementation and application to computational fluid dynamics and turbulent flows, Journal of Computational Physics 242 (2013) 623–647. [24] P. Phalippou, S. Bouabdallah, P. Breitkopf, P. Villon, M. Zarroug, ‘On-the-fly’ snapshots selection for Proper Orthogonal Decomposition with application to nonlinear dynamics, Computer Methods in Applied Mechanics and Engineering 367 (2020) 113120. [25] F. Chinesta, R. Keunings, A. Leygue, The proper generalized decomposition for advanced numerical simulations. A primer, Springer Briefs in Applied Sciences and Technology, Springer, Cham, 2014. 50 [26] F. Chinesta, A. Leygue, F. Bordeu, J. Aguado, E. Cueto, D. Gonz´alez, I. Alfaro, A. Ammar, A. Huerta, PGD-based computational vademecum for efficient design, optimization and control, Archives of Computational Methods in Engineering 20 (1) (2013) 31–59. [27] M. Barrault, Y. Maday, N. Nguyen, A. Patera, An ‘empirical interpolation’ method: application to efficient reduced-basis discretization of partial differential equations, Comptes Rendus Mathematique 339 (9) (2004) 667 – 672. [28] A. Iollo, S. Lanteri, J.-A. D´esid´eri, Stability Properties of POD-Galerkin Approximations for the Compressible Navier-Stokes Equations, Theoretical and Computational Fluid Dynamics 13 (6) (2000) 377–396. [29] K. Kunisch, S. Volkwein, Galerkin proper orthogonal decomposition methods for a general equation in fluid dynamics, SIAM Journal on Numerical Analysis 40 (2) (2002) 492–515. [30] D. Amsallem, C. Farhat, Interpolation method for adapting reduced-order models and application to aeroelasticity, AIAA Journal 46 (7) (2008) 1803–1813. [31] D. Gonz´alez, J. Aguado, E. Cueto, E. Abisset-Chavanne, F. Chinesta, kPCA-based parametric solutions within the PGD framework, Archives of Computational Methods in Engineering 25 (1) (2018) 69–86. [32] D. Mill´an, M. Arroyo, Nonlinear manifold learning for model reduction in finite elastodynamics, Computer Methods in Applied Mechanics and Engineering 261 (2013) 118–131. [33] G. Le Quilliec, B. Raghavan, P. Breitkopf, A manifold learning-based reduced order model for springback shape characterization and optimization in sheet metal forming, Computer Methods in Applied Mechanics and Engineering 285 (2015) 621–638. [34] L. Meng, P. Breitkopf, G. Le Quilliec, B. Raghavan, P. Villon, Nonlinear shapemanifold learning approach: concepts, tools and applications, Archives of Computational Methods in Engineering 25 (1) (2018) 1–21. [35] B. Raghavan, L. Xia, P. Breitkopf, A. Rassineux, P. Villon, Towards simultaneous reduction of both input and output spaces for interactive simulation-based structural design, Computer Methods in Applied Mechanics and Engineering 265 (2013) 174–185. [36] M. Xiao, G. Zhang, P. Breitkopf, P. Villon, W. Zhang, Extended Co-Kriging interpolation method based on multi-fidelity data, Applied Mathematics and Computation 323 (2018) 120–131. [37] H.-J. Bungartz, M. Griebel, Sparse grids, Acta Numerica 13 (1) (2004) 147–269. 51 [38] R. Ib´a˜nez, D. Borzacchiello, J. Aguado, E. Abisset-Chavanne, E. Cueto, P. Ladev`eze, F. Chinesta, Data-driven non-linear elasticity: constitutive manifold construction and problem discretization, Computational Mechanics 60 (5) (2017) 813–826. [39] R. Ib´a˜nez, E. Abisset-Chavanne, J. Aguado, D. Gonzalez, E. Cueto, F. Chinesta, A manifold learning approach to data-driven computational elasticity and inelasticity, Archives of Computational Methods in Engineering 25 (1) (2018) 47–57. [40] D. Borzacchiello, J. Aguado, F. Chinesta, Non-intrusive sparse subspace learning for parametrized problems, Archives of Computational Methods in Engineering 26 (2) (2019) 303–326. [41] R. Ib´a˜nez, E. Abisset-Chavanne, A. Ammar, D. Gonz´alez, E. Cueto, A. Huerta, J.-L. Duval, F. Chinesta, A multi-dimensional data-driven sparse identification technique: the sparse Proper Generalized Decomposition, Complexity (5608286) (2018) 1–11. [42] F. Chinesta, E. Cueto, E. Abisset-Chavanne, J.-L. Duval, F. El Khaldi, Virtual, digital and hybrid twins: a new paradigm in data-based engineering and engineered data, Archives of Computational Methods in Engineering 27 (1) (2020) 105–134. [43] D. Modesto, B. Ye, S. Zlotnik, A. Huerta, Fast solution of elliptic harbor agitation problems under frequency-direction input spectra by model order reduction and NURBS-enhanced FEM, Coastal Engineering 156 (2020) 103618. [44] K. Kergrene, L. Chamoin, M. Laforest, S. Prudhomme, On a goal-oriented version of the proper generalized decomposition method, Journal of Scientific Computing 81 (1) (2019) 92–111. [45] J. Reis, J. Moitinho de Almeida, P. D´ıez, S. Zlotnik, Error estimation for proper generalized decomposition solutions: Dual analysis and adaptivity for quantities of interest, International Journal for Numerical Methods in Engineering 121 (23) (2020) 5275–5294. [46] K. Smetana, O. Zahm, Randomized residual-based error estimators for the proper generalized decomposition approximation of parametrized problems, International Journal for Numerical Methods in Engineering 121 (23) (2020) 5153–5177. [47] J. Aguado, A. Huerta, F. Chinesta, E. Cueto, Real-time monitoring of thermal processes by reduced-order modeling, International Journal for Numerical Methods in Engineering 102 (5) (2015) 991–1017. [48] D. Modesto, S. Zlotnik, A. Huerta, Proper Generalized Decomposition for parameterized Helmholtz problems in heterogeneous and unbounded domains: application to harbor agitation, Computer Methods in Applied Mechanics and Engineering 295 (2015) 127–149. 52 [49] P. D´ıez, S. Zlotnik, A. Huerta, Generalized parametric solutions in Stokes flow, Computer Methods in Applied Mechanics and Engineering 326 (2017) 223–240. [50] A. Sibileau, A. Garc´ıa-Gonz´alez, F. Auricchio, S. Morganti, P. D´ıez, Explicit parametric solutions of lattice structures with proper generalized decomposition (PGD). Applications to the design of 3D-printed architectured materials, Computational Mechanics 62 (4) (2018) 871–891. [51] G. Barroso, A. Gil, P. Ledger, M. Mallett, A. Huerta, A regularised-adaptive Proper Generalised Decomposition implementation for coupled magneto-mechanical problems with application to MRI scanners, Computer Methods in Applied Mechanics and Engineering 358 (2020) 112640. [52] A. Ammar, A. Huerta, F. Chinesta, E. Cueto, A. Leygue, Parametric solutions involving geometry: a step towards efficient shape optimization, Computer Methods in Applied Mechanics and Engineering 268 (2014) 178–193. [53] S. Zlotnik, P. D´ıez, D. Modesto, A. Huerta, Proper generalized decomposition of a geometrically parametrized heat problem with geophysical applications, International Journal for Numerical Methods in Engineering 103 (10) (2015) 737–758. [54] R. Sevilla, S. Zlotnik, A. Huerta, Solution of geometrically parametrised problems within a CAD environment via model order reduction, Computer Methods in Applied Mechanics and Engineering 358 (2020) 112631. [55] R. Sevilla, L. Borchini, M. Giacomini, A. Huerta, Hybridisable discontinuous Galerkin solution of geometrically parametrised Stokes flows, Computer Methods in Applied Mechanics and Engineering 372 (2020) 113397. [56] M. Giacomini, R. Sevilla, A. Huerta, Tutorial on Hybridizable Discontinuous Galerkin (HDG) formulation for incompressible flow problems, in: L. De Lorenzis, A. D¨uster (Eds.), Modeling in Engineering Using Innovative Numerical Methods for Solids and Fluids, Vol. 599 of CISM International Centre for Mechanical Sciences, Springer International Publishing, 2020, pp. 163–201. [57] B. Cockburn, J. Gopalakrishnan, The derivation of hybridizable discontinuous Galerkin methods for Stokes flow, SIAM Journal on Numerical Analysis 47 (2) (2009) 1092–1125. [58] B. Cockburn, K. Shi, Devising HDG methods for Stokes flow: an overview, Computers & Fluids 98 (2014) 221–229. [59] N. Nguyen, J. Peraire, B. Cockburn, A hybridizable discontinuous Galerkin method for Stokes flow, Computer Methods in Applied Mechanics and Engineering 199 (9-12) (2010) 582–597. 53 [60] B. Cockburn, J. Gopalakrishnan, R. Lazarov, Unified hybridization of discontinuous Galerkin, mixed, and continuous Galerkin methods for second order elliptic problems, SIAM Journal on Numerical Analysis 47 (2) (2009) 1319–1365. [61] B. Cockburn, J. Gopalakrishnan, N. Nguyen, J. Peraire, F.-J. Sayas, Analysis of HDG methods for Stokes flow, Mathematics of Computation 80 (274) (2011) 723–760. [62] R. Sevilla, A. Huerta, HDG-NEFEM with degree adaptivity for Stokes flows, Journal of Scientific Computing 77 (3) (2018) 1953–1980. [63] M. Giacomini, A. Karkoulias, R. Sevilla, A. Huerta, A superconvergent HDG method for Stokes flow with strongly enforced symmetry of the stress tensor, Journal of Scientific Computing 77 (3) (2018) 1679–1702. [64] B. Cockburn, N. Nguyen, J. Peraire, A comparison of HDG methods for Stokes flow, Journal of Scientific Computing 45 (1-3) (2010) 215–237. [65] N. Nguyen, J. Peraire, B. Cockburn, An implicit high-order hybridizable discontinuous Galerkin method for linear convection-diffusion equations, Journal of Computational Physics 228 (9) (2009) 3232–3254. [66] N. Nguyen, J. Peraire, B. Cockburn, An implicit high-order hybridizable discontinuous Galerkin method for nonlinear convection-diffusion equations, Journal of Computational Physics 228 (23) (2009) 8841–8855. [67] A. Patera, G. Rozza, Reduced Basis Approximation and A-Posteriori Error Estimation for Parametrized Partial Differential Equations, MIT Pappalardo Graduate Monographs in Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA (2007). [68] G. Rozza, Fundamentals of reduced basis method for problems governed by parametrized PDEs and applications, in: Separated representations and PGD-based model reduction, Vol. 554 of CISM Courses and Lectures, Springer, Vienna, 2014, pp. 153–227. [69] V. Tsiolakis, M. Giacomini, R. Sevilla, C. Othmer, A. Huerta, Nonintrusive proper generalised decomposition for parametrised incompressible flow problems in Open- FOAM, Computer Physics Communications 249 (2020) 107013. [70] R. Poya, R. Sevilla, A. Gil, A unified approach for a posteriori high-order curved mesh generation using solid mechanics, Computational Mechanics 58 (3) (2016) 457–490. [71] Z. Xie, R. Sevilla, O. Hassan, K. Morgan, The generation of arbitrary order curved meshes for 3D finite element analysis, Computational Mechanics 51 (3) (2013) 361– 374. 54 [72] R. Garc´ıa-Blanco, D. Borzacchiello, F. Chinesta, P. D´ıez, Monitoring a PGD solver for parametric power flow problems with goal-oriented error assessment, International Journal for Numerical Methods in Engineering 111 (6) (2017) 529–552. [73] R. Garc´ıa-Blanco, P. D´ıez, D. Borzacchiello, F. Chinesta, Algebraic and parametric solvers for the power flow problem: towards real-time and accuracy-guaranteed simulation of electric systems, Archives of Computational Methods in Engineering 25 (4) (2018) 1003–1026. [74] P. D´ıez, S. Zlotnik, A. Garc´ıa-Gonz´alez, A. Huerta, Algebraic PGD for tensor separation and compression: an algorithmic approach, Comptes Rendus M´ecanique 346 (7) (2018) 501–514. [75] P. D´ıez, S. Zlotnik, A. Garc´ıa-Gonz´alez, A. Huerta, Encapsulated PGD Algebraic Toolbox Operating with High-Dimensional Data, Archives of Computational Methods in Engineering 27 (2020) 1321–1336. [76] A. Courard, D. N´eron, P. Ladev`eze, L. Ballere, Integration of PGD-virtual charts into an engineering design process, Computational Mechanics 57 (4) (2016) 637–651. [77] X. Zou, M. Conti, P. D´ıez, F. Auricchio, A nonintrusive proper generalized decomposition scheme with application in biomechanics, International Journal for Numerical Methods in Engineering 113 (2) (2018) 230–251. [78] J. Avron, O. Kenneth, D. Oaknin, Pushmepullyou: an efficient micro-swimmer, New Journal of Physics 7 (1) (2005) 234. [79] F. Alouges, A. DeSimone, A. Lefebvre, Optimal strokes for axisymmetric microswimmers, The European Physical Journal E 28 (3) (2009) 279–284. [80] A. Løvgren, Y. Maday, E. Rønquist, Global C1maps on general domains, Mathematical Models and Methods in Applied Sciences 19 (05) (2009) 803–832. A Separated expressions of the bilinear and linear forms In this appendix, the separated form of the PGD approximation of the HDG local (5) and global (7) problems is briefly reported. For its detailed derivation, interested readers are referred to [55]. From the separated form (11), the computation of the m-th mode is performed in two steps, corresponding to the HDG local and global problems. The PGD spatial equation 55 arising from the local problem (5) is: find (σm L∆FL, σm u∆fu, σm p∆fp)∈Wh×Vh× Vhsuch that nd X k=1 βk θAk LL(δFL, σm L∆FL) + na X k=1 βk ϑAk Lu(δFL, σm u∆fu) =Rm L(δFLψm) + na X k=1 βk ϑAk Lˆu(δFL, σm ˆu∆fˆu), na X k=1 βk ϑAk uL(δfu, σm L∆FL) + βAuu(δfu, σm u∆fu) + na X k=1 βk ϑAk up(δfu, σm p∆fp) =Rm u(δfuψm) + βAuˆu(δfu, σm ˆu∆fˆu), na X k=1 βk ϑAk pu(δfp, σm u∆fu) =Rm p(δfpψm) + na X k=1 βk ϑAk pˆu(δfp, σm ˆu∆fˆu) βAρp(1, σm p∆fp) =Rm p(ψm) + βAρρ(1, σm ρ∆fρ), (30) for all (δFL, δfu, δfp)∈Wh×Vh× Vh. The separated bilinear forms in equation (30) are given by Ak LL(δFL,FL) := −δFL, ν−1DkFLΩe,Ak Lu(δFL,fu) := Ak∇·δFL,fuΩe, Ak Lˆu(δFL,fˆu) := hAkn·δFL,fˆui∂Ωe\Γ D,Ak uL(δfu,FL) := δfu,Ak∇·FLΩe, Auu(δfu,fu) := hδfu,τfui∂Ωe,Ak up(δfu, fp) := δfu,Ak∇fpΩe, Auˆu(δfu,fˆu) := hδfu,τ fˆui∂Ωe\Γ DAk pu(δfp,fu) := Ak∇δfp,fuΩe, Ak pˆu(δfp,fˆu) := hδfp,fˆu·Akni∂Ωe\Γ D,Aρp(δfρ, fp) := δfρ,|Ωe|−1fpΩe, Aρρ(δfρ, fρ) := δfρfρ, (31) 56 whereas the corresponding linear forms are Rm L(δFLψ) := na X k=1 nD X l=1 hAkn·δFL,gl Di∂Ωe∩Γ DAk ϑ(ψ, λl D) − m X i=1 nd X k=1 Ak LL(δFL, σi LFi L)Ak θ(ψ, ψi) − m X i=1 na X k=1 Ak Lu(δFL, σi ufi u)− Ak Lˆu(δFL, σi ˆufi ˆu)Ak ϑ(ψ, ψi) Rm u(δfuψ) := nd X k=1 nS X l=1 δfu, Dkgl SΩeAk θ(ψ, λl S) + nD X l=1 hδfu,τgl Di∂Ωe∩Γ DA(ψ, λl D) − m X i=1 na X k=1 Ak uL(δfu, σi LFi L) + Ak up(δfu, σi pfi p)Ak ϑ(ψ, ψi) − m X i=1 Auu(δfu, σi ufi u)− Auˆu(δfu, σi ˆufi ˆu)A(ψ, ψi) Rm p(δfpψ) := na X k=1 nD X l=1 hδfp,gl D·Akni∂Ωe∩Γ DAk ϑ(ψ, λl D) − m X i=1 na X k=1 Ak pu(δfp, σi ufi u)− Ak pˆu(δfp, σi ˆufi ˆu)Ak ϑ(ψ, ψi) Rm p(δfρψ) := − m X i=1 Aρp(δfρ, σi pfi p)− Aρρ(δfρ, σi ρfi ρ)A(ψ, ψi). (32) Finally, the parametric constants appearing in equation (30) are defined as βk θ:= Ak θ(ψm, ψm)βk ϑ:= Ak ϑ(ψm, ψm), β := A(ψm, ψm),(33) where the bilinear forms in the parametric space are given by Ak θ(δψ, ψ) := δψ, θkψI, Ak ϑ(δψ, ψ) := δψ, ϑkψI, A(δψ, ψ) := δψ, ψI. (34) The separated approximation of the trial and test functions, see equations (11) and (16), is also exploited to construct the separated form of the HDG global problem (7): find 57