IS - Model Reduction in Materials, Processes and Structures XII International Conference on Computational Plasticity. Fundamentals and Applications COMPLAS XII E. O˜nate, D.R.J. Owen, D. Peric and B. Su´arez (Eds) DEIM-BASED PGD FOR MULTI-PARAMETRIC NONLINEAR MODEL REDUCTION JOSE V. AGUADO1∗, FRANCISCO CHINESTA1, ADRIEN LEYGUE1, ELIAS CUETO2AND ANTONIO HUERTA3 1Institut Recherche en G´enie Civil et M´ecanique (GeM), Ecole Centrale de Nantes 1 rue de la No¨e, BP 92101, F-44321 Nantes cedex 3, France e-mail: {jose.aguado-lopez;francisco.chinesta,adrien.leygue}@ec-nantes.fr 2Aragon Institute of Engineering Research (I3A), Universidad de Zaragoza Maria de Luna 3, E-50018 Zaragoza, Spain e-mail:
[email protected] 3Laboratori de Calcul Numeric (LaCaN), Universitat Politecnica de Catalunya BarcelonaTech, 08034 Barcelona, Spain e-mail:
[email protected] Key words: Model Reduction; Nonlinear; DEIM; Proper Generalized Decomposition Abstract. A new technique for efficiently solving parametric nonlinear reduced order models in the Proper Generalized Decomposition (PGD) framework is presented here. This technique is based on the Discrete Empirical Interpolation Method (DEIM)[1], and thus the nonlinear term is interpolated using the reduced basis instead of being fully evaluated. The DEIM has already been demonstrated to provide satisfactory results in terms of computational complexity decrease when combined with the Proper Orthogonal Decomposition (POD). However, in the POD case the reduced basis is a posteriori known as it comes from several pre-computed snapshots. On the contrary, the PGD is an a priori model reduction method. This makes the DEIM-PGD coupling rather delicate, because different choices are possible as it is analyzed in this work. 1 INTRODUCTION The efficient resolution of complex models (in the dimensionality sense) is probably the essential objective of any model reduction method. This objective has been clearly reached for many linear models encountered in physics and engineering [2, 3]. However, model order reduction of nonlinear models, and specially, of parametric nonlinear models, remains as an open issue. Using classic linearization techniques such Newton method, both the nonlinear term and its Jacobian must be evaluated at a cost that still depends on 1 DEIM-based PGD for multi-parametric nonlinear model reduction 303
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta the dimension of the non-reduced model [1]. The Discrete Empirical Interpolation Method (DEIM), which the discrete version of the Empirical Interpolation Method (EIM) [4], proposes to overcome this difficulty by using the reduced basis to interpolate the nonlinear term. The DEIM has been used with Proper Orthogonal Decomposition (POD) [5, 1] where the reduced basis is a priori known as it comes from several pre-computed snapshots. In this work, we propose to use the DEIM in the Proper Generalized Decomposition (PGD) framework [5, 6], which is an a priori model reduction technique, and thus the nonlinear term is interpolated using the reduced basis that is being constructed during the resolution. 2 DEIM-based PGD FOR NONLINEAR MODELS Consider a certain model in the general form: L(u)+FNL(u)=0 (1) where Lis a linear differential operator and FNL is a nonlinear function, both applying over the unknown u(x),x∈Ω=Ω 1×...×Ωd⊂Rd, which belongs to the appropriate functional space and respects some boundary and/or initial conditions. Using the PGD method implies constructing a basis B={φ1,...,φ N}such that the solution can be written as: u(x)≈ N i=1 αi·φi(x) where αiare coefficients, and φi(x)=Pi1(x1)·...·Pid(xd),i=1,...,N being Pij(xj),j =1,...,d, functions of a certain coordinate xj∈Ωj. In the linear case, the basis Bcan be constructed sequentially by solving a nonlinear problem at each step in order to find functions Pij. In the nonlinear case a linearization scheme for Eq. (1) is compulsory, but evaluating the nonlinear term is still as costly as in the non-reduced model. The DEIM method proposes to circumvent this inconvenient by performing an interpolation of the nonlinear term using the basis functions. In a POD framework, these functions come from the precomputed snapshots, but in a PGD framework these functions are constructed by using the PGD algorithm. Here we propose to proceed as follows: 1. Solve the linear problem: find u0such that L(u0)=0→B0={φ0 1,...,φ 0 N0} 2. Select a set of points X0={x0 1,...,x0 N0}. Later on we explain how to make an appropriate choice. 3. Interpolate the nonlinear term FNL using functions B0in the points X0. Or in other words, find the coefficients ϕ0 isuch as: FNL u0 m≡F NL u0(x0 m)= N0 i=1 ϕ0 i·φ0 i(x0 m),m=1,...,N 0 2 304
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta The previous equation represents a linear system which will be invertible if B0is linearly independent (and it is because it comes from the solution of the linear problem) and all points of X0are different. 4. Once we have computed {ϕ0 1,...,ϕ 0 N0}, the interpolation of the nonlinear term reads: FNL(u)≈b0=− N0 i=1 ϕ0 i·φ0 i And therefore, the linearized problem writes: L(u)=b0(2) 5. At this point, three options can be thought: (a) Restart the separated representation, i.e., find u1such that: L(u1)−b0=0 Applying the PGD method we will obtain a new reduced basis B1={φ1 1,...,φ 1 N1}. (b) Reuse the solution u0, i.e. u1=u0+u. Then, we seek usuch that: L(u)=b0−L(u0) We solve this problem by applying the PGD method, i.e. B={ φ1,..., φ N} and then B1=B0⊕ Band N1=N0+ N. (c) Reuse by projecting. In this case we consider u0,1(x)= N0 i=1 η0 i·φ0 i(x) which introduced into Eq. (2) allows computing coefficients η0 i. Then the approximation is enriched by considering u1=u0,1+u. In this case, we seek u such that: L(u)=b0−L(u0,1) Once this problem is solved by applying the PGD method, i.e. B={ φ1,..., φ N} and then B1=B0⊕ Band N1=N0+ N. 6. From this point we repeat the precedent steps: let us assume that we have already computed uk. Then select a set of points Xk={xk 1,...,xk Nk}, interpolate the nonlinear term using Bk, and find uk+1, until a certain convergence criteria is reached. 3 305
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta 3 ELECTION OF THE INTERPOLATION POINTS An open question is how to choose the points Xk={xk 1,...,xk Nk}. Consider that a certain computation step we know the reduced approximation basis: Bk={φk 1,...,φ k Nk} Following [1, 4], we consider: xk 1= arg max x∈Ω|φk 1(x)| Then we compute c1from c1·φk 1(xk 1)=φk 2(xk 1) which allows defining: r2(x)=φk 2(x)−c1·φk 1(x) from where we can compute the following point, xk 2as: xk 2= arg max x∈Ω|r2(x)| As by construction r2(xk 1) = 0, we can ensure that xk 1�=xk 2. This process can be generalized and thus, if we are looking for xk j,j ≤k, the following function can be constructed: rj(x)=φk j(x)− j−1 i=1 ci·φk i(x) where coefficients ci,1≤i≤j−1, need to be computed. It can be done by imposing that: rj(xk l)=0=φk j(xk l)− j−1 i=1 ci·φk i(xk l),l=1,...,j−1 that constitutes a linear system whose solution results the coefficients ci. And then we compute the sought point: xk j= arg max x∈Ω|rj(x)|(3) It must be pointed out that, in principle, Eq. (3) implies reconstructing the solution, that is to say, to compute explicitly the functions φk l,l=2,...,j−1 from the separated functions Pk l,s(xs) with s=1,...,d. For l= 1, notice that things are much simpler: xk 1=xk 1,1,...,x k 1,d with xk 1,s = arg max xs∈Ωs|Pk 1,s(xs)|,s=1,...,d For l>1 some simplifying procedures must be defined for avoiding the solution reconstruction and improve the performance in the multi-parametric case. The analysis of such procedures constitutes a work in progress. 4 306
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta 4 NUMERICAL EXAMPLE Aiming to prove the ability of the DEIM-based PGD method for solving nonlinear problems, we consider the transient heat equation with a quadratic nonlinearity: ∂u ∂t −∆u+u2=0 ,(x,t)∈Ω×(0,T] (4) being Ω = [0,1] ×[0,1] ⊂R2. The initial condition reads u(x,t = 0) = 0 and a homogeneous Dirichlet boundary condition is applied in the bottom half of the left bord. A gaussian flux is impossed over the upper bord: ∇u·n=A·exp −(x−x0)2 2σ2,x∈{x, y ∈Ω:y=1}, being x0=0.5 (i.e. the gaussian is centered), σ=0.15 and A= 1. Outside these regions, a zero-flux condition is considered. A space-time separated representation is sought in this case: u(x,t)= N i=1 Xi(x)·Ti(t) (5) We use here the reuse option, that is to say, the reduced basis is enriched without projection. Using the notation introduced in the previous section the convergence was reached after the construction of k= 8 reduced bases in which the nonlinear term was interpolated, for a relative error less than 0.1% to the reference solution. The final solution involved N= 25 functional products φi=Xi(x)·Ti(t). Fig. 1 compares the time evolution at different locations obtained with the DEIM based PGD and the exact solution. Then Fig. 2 and 3 depict the four fist space and time modes respectively. From these results we can conclude on the potentiality of the proposed technology for solving non-linear eventually multi-parametric models. 5 CONCLUSIONS This work presents the DEIM-based PGD technique for solving efficiently reduced nonlinear models. The improvement is achieved by interpolating the nonlinear term using the reduced basis, computed as usual with the PGD method, instead of performing its complete evaluation. As the PGD is an a priori model reduction technique, a progressive reduced basis enrichment must be considered, and thus up to three different choices can be done: restart the reduced basis, reuse the previous reduced basis by enrichment and reuse the reduced basis by projecting. A deep analysis of the different alternatives is in progress. 5 307
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta REFERENCES [1] Chaturantabut, S. and Sorensen, D.C. Nonlinear model order reduction via discrete empirical interpolation. SIAM J. Sci. Comput. (2010) 32:2737- -2764. [2] Chinesta, F., Leygue, A., Bordeu, F., Aguado, J.V., Cueto, E., Gonzalez, D., Alfaro, I., Ammar, A. and Huerta, A. PGD-based computational vademecum for efficient design, optimization and control. Arch. Comput. Methods Eng. (2013) 20:31- -59 [3] Pruliere,E., Chinesta, F. and Ammar, A. On the deterministic solution of multidimensional parametric models by using the Proper Generalized Decomposition. Mathematics and Computers in Simulation (2010) 81:791- -810. [4] Barrault, M., Maday, Y., Nguyen, N.C. and Patera, A.T. An “empirical interpolation method”: application to efficient reduced-basis discretization of partial differential equations. Comptes Rendus Mathematique (2004) 339/9:667- -672. [5] Chinesta, F., Lavedeze, P. and Cueto, E. A short review in Model Order Reduction based on Proper Generalized Decomposition. Archives of Computational Methods in Engineering (2011) 18:395- -404, 2011. [6] Ammar, A., Mokdad, B., Chinesta, F. and Keunings, R. A new family of solvers for some classes of multidimensional partial differential equations encountered in kinetic theory modeling of compex fluids. Part II: Transient simulation using spacetime separated representation. Journal of Non-Newtonian Fluid Mechanics (2007) 144:98- -121. 6 308
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta PGD sol, t = 0.32 sec 0 0.05 0.1 0.15 0.2 0.25 0.3 FEM sol, t = 0.32 sec 0 0.05 0.1 0.15 0.2 0.25 0.3 PGD sol, t = 0.66 sec 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 FEM sol, t = 0.66 sec 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 PGD sol, t = 1.00 sec 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 FEM sol, t = 1.00 sec 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 Figure 1: Comparison of the DEIM-based PGD solution (on the left) to the FEM reference solution (on the right), for three different times, t=0.32,0.66,1.00 sec 7 309
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta spatial modes, X1 0 0.5 1 1.5 spatial modes, X2 −1 −0.8 −0.6 −0.4 −0.2 0 spatial modes, X3 0.2 0.4 0.6 0.8 1 1.2 1.4 spatial modes, X4 −1 −0.8 −0.6 −0.4 −0.2 0 Figure 2: First four space normalized modes of the DEIM-based PGD solution 8 310
Jose V. Aguado, Francisco Chinesta, Adrien Leygue, Elias Cueto and Antonio Huerta 0 0.2 0.4 0.6 0.8 1 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 time modes t (sec) T1 0 0.2 0.4 0.6 0.8 1 −0.05 0 0.05 0.1 0.15 0.2 time modes t (sec) T2 0 0.2 0.4 0.6 0.8 1 −0.05 0 0.05 0.1 0.15 0.2 0.25 0.3 time modes t (sec) T 3 0 0.2 0.4 0.6 0.8 1 −0.05 0 0.05 0.1 0.15 0.2 0.25 0.3 time modes t (sec) T4 Figure 3: First four time normalized modes of the DEIM-based PGD solution 9 311