Anderson acceleration of a Picard solver for the Oldroyd-B model of viscoelastic fluids Duygu Vargun, Igor O. Monteiro, Leo G. Rebholz Abstract We study an iterative nonlinear solver for the Oldroyd-B system describing incompressible viscoelastic fluid flow. We establish a range of attributes of the fixed-point-based solver, together with the conditions under which it becomes contractive and examining the smoothness properties of its corresponding fixed-point function. Under these properties, we demonstrate that the solver meets the necessary conditions for recent Anderson acceleration (AA) framework, thereby showing that AA enhances the solver’s linear convergence rate. Results from two benchmark tests illustrate how AA improves the solver’s ability to converge as the Weissenberg number is increased. 1 Introduction We consider herein efficient solvers for viscoelastic fluids. These fluids display both fluid-like and solid-like characteristics: they respond to lower strains with an elastic, solid-like behavior, yet when subjected to sufficiently large stresses, they flow as liquids. Due to this behavior, they are classified as non-Newtonian fluids whose viscosity depends on the shear rate or its history. Examples of applications of viscoelastic fluids are blood, mucus, and synovial fluid, which are important for designing medical devices and treatments in biomedical engineering; polymer melts in extrusion processes, injection molding, and blow molding in the plastics industry; and, sealants, adhesives, and coatings in the construction industry. Given their extensive applications, theoretical insights and empirical evidence regarding these fluids are essential in numerous scientific and industrial domains. Numerically simulating the flow of viscoelastic fluids poses a highly challenging nonlinear problem, mainly because the governing equations exhibit hyperbolic characteristics linked to the physical parameter known as the Weissenberg number \lambda . Common solvers (e.g. the Picard type solver studied herein) are contractive for small \lambda , but for moderate or large \lambda the solvers are not contractive and tend to fail. This is not surprising since the physics of viscoelastic flows gets more complex as \lambda increases: when \lambda\ll 1 viscous effects dominate but as \lambda increases the (hyperbolic) elastic effects dominate [ 6 , 3 , 11 , 16 ] . Several approaches to improving solvers for flows characterized by higher \lambda and stress responses have been proposed in the literature, including defect correction methods [ 8 ] , Lagrangian framework for viscoelastic fluids [ 25 ] , alternative formulations [ 24 ] , and more [ 6 , 21 ] . We consider herein the steady Oldroyd-B model [ 22 ] for viscoelastic flow, which is given by the system: in \Omega\subset\mathbb{R}^{d} ( d= 2 or 3) with Lipschitz continuous boundary: \displaystyle\sigma+\lambda\left((u\cdot\nabla)\sigma-\nabla u\sigma-\sigma\nabla u^{T}\right)-2\alpha\mathbb{D}(u) \displaystyle=0\ \text{in}\ \Omega, (1.1) \displaystyle-\nabla\cdot\sigma-2(1-\alpha)\nabla\cdot\mathbb{D}(u)+\nabla p \displaystyle=f\ \text{in}\ \Omega, \displaystyle\nabla\cdot u \displaystyle=0\ \text{in}\ \Omega, \displaystyle u \displaystyle=0\ \text{on}\ \partial\Omega, where \sigma denotes the polymeric stress tensor, u the velocity vector, p the pressure of fluid, \lambda is the Weissenberg number (interpreted here as the product of the relaxation time of the fluid and a characteristic strain rate), and \mathbb{D}(u)=\left(\nabla u+\nabla u^{T}\right)/2 is the deformation tensor. To guarantee the uniqueness of p , we impose that its mean over \Omega is zero. The parameter \alpha , which must satisfy 0<\alpha<1 , can be interpreted as the fraction of viscoelastic viscosity, and f denotes the body force. We note that while Oldroyd-B is commonly used, several other viscoelastic fluid models are also used in practice to describe the behavior of complex fluids, with various models capturing different aspects of viscoelastic behavior (e.g. the Giesekus model includes an anisotropic drag term to capture the nonlinear behavior of polymer solutions [ 13 ] and Johnson-Segalman (a generalization of Oldroyd-B) accounts for nonlinear deformation (slip) between the polymer network and the solvent [ 14 ] ). Existence of a weak solution to the problem ( 1.1 ) has been documented by Renardy [ 32 ] , and moreover, if f is sufficiently regular and small, the problem admits a unique bounded solution (u,\sigma,p)\in H^{3}(\Omega)\times H^{2}(\Omega)\times H^{2}(\Omega) . We consider herein a solver enhancement called Anderson acceleration (AA) for the purpose of improving convergence of the nonlinear solvers for Oldroyd-B. As this approach is likely applicable to many of the various models listed above, we consider a simple setting so as to focus on the AA enhancement: a Picard-type iterative solver with conforming finite elements. The iteration is defined by: given u_{k} , determine u_{k+1},\sigma_{k+1},p_{k+1} satisfying \displaystyle\sigma_{k+1}+\lambda\left((u_{k}\cdot\nabla)\sigma_{k+1}-\nabla u_{k}\sigma_{k+1}-\sigma_{k+1}\nabla u_{k}^{T}\right)-2\alpha\mathbb{D}(u_{k+1}) \displaystyle=0\ \text{in}\ \Omega, (1.2) \displaystyle-\nabla\cdot\sigma_{k+1}-2(1-\alpha)\nabla\cdot\mathbb{D}(u_{k+1})+\nabla p_{k+1} \displaystyle=f\ \text{in}\ \Omega, \displaystyle\nabla\cdot u_{k+1} \displaystyle=0\ \text{in}\ \Omega, \displaystyle u_{k+1} \displaystyle=0\ \text{on}\ \partial\Omega. The iteration ( 1.2 ) may be taken into account as a fixed-point iteration of the form (u_{k+1},\sigma_{k+1},p_{k+1})=G(u_{k},\sigma_{k},p_{k}) , and we will show in section 3 that it has a contraction ratio that depends directly on \lambda . If \lambda is small, then the iteration is contractive and linearly convergent. However, for larger \lambda , the iteration is generally not contractive and convergence is not expected. Hence, we employ AA to enhance the convergence behavior of solver ( 1.2 ), as AA is recognized as a potent extrapolation technique that accelerates fixed-point iterations. This includes accelerating iterations that are already converging but also enabling convergence of iterations that would otherwise not converge such as in solvers for Navier-Stokes as the Reynolds number increases [ 29 ] and Boussinesq flows as the Rayleigh number increases [ 30 ] . AA was originally introduced by D.G. Anderson in 1965 [ 2 ] , and although it had modest use until 2011, it was after the Walker and Ni paper [ 37 ] that AA caught fire across nearly all of computational science as a simple way to improve most types of nonlinear solvers. AA has recently been used to in a wide range of problems including various types of Newtonian flow [ 20 , 29 , 30 , 31 ] and non-Newtonian flow problems [ 28 ] , electromagnetic nonlinear and [ 10 ] geometry optimization problems [ 23 ] radiation diffusion and nuclear physics [ 1 , 35 ] , geophysics [ 39 ] molecular interaction [ 33 ] , and many others e.g. [ 37 , 15 , 18 , 20 , 12 , 38 ] . Motivated by the proven success of AA in a range of nonlinear problems from above references, we now study it with viscoelastic flow. In this work, we demonstrate both theoretically and numerically that Picard enhanced with AA retains the simplicity of the standard Picard iteration while significantly improving its efficiency and robustness, particularly for larger values of \lambda in ( 1.2 ). Although our focus here is on the steady-state case, it is straightforward to adapt our methods and analysis to AA for solving the nonlinear systems that arise at each time step in the time-dependent problem. The structure of the paper is as follows. In the next section, we provide the essential notation and preliminary information necessary for our subsequent analysis. In Section 3, we provide the well-posedness and convergence analyses of the discretized fixed-point iteration ( 1.2 ) of Oldroyd-B. Section 4 introduces AA for ( 1.2 ), and proves that the iteration’s fixed-point function has sufficient smoothness properties so that the recently developed convergence theory for AA can be invoked. In Section 5, we support the theory we discussed in previous sections with numerical tests, and show how AA improves and enables convergence. Lastly, we draw conclusions in Section 6. The FENICS code we use for AA is given in the Appendix. 2 Mathematical preliminaries The function spaces for the velocity, pressure, and stress for ( 1.1 ) are given by (respectively): \displaystyle X \displaystyle\coloneqq\left(H^{1}_{0}(\Omega)\right)^{d}=\left\{v\in H^{1}(\Omega):v=0\ \text{on}\ \partial\Omega\right\}, \displaystyle Q \displaystyle\coloneqq L^{2}_{0}(\Omega)=\left\{q\in L^{2}(\Omega):\int_{\Omega}q\ d\Omega=0\right\}, \displaystyle\Sigma \displaystyle\coloneqq\left(L^{2}(\Omega)^{d\times d}\right)\bigcap\left\{\tau=(\tau_{ij}):\tau_{ij}=\tau_{ji},u\cdot\nabla\tau\in(L^{2}(\Omega))^{d\times d}\right\}. where \Omega\subset\mathbb{R}^{d}\ (d=2,\ 3) domain of the problem which is polygonal for d=2 or polyhedral for d=3 (or \partial\Omega\in C^{0,1} ). Additionally, the weakly divergence free subspace of X is given by \displaystyle V \displaystyle=\left\{v\in X:\int_{\Omega}q\nabla\cdot v\ d\Omega=0\ \forall q\in L^{2}_{0}(\Omega)\right\}. The notation (\cdot,\cdot) will be used to denote the L^{2} inner product with its norm denoted by \|\cdot\| . For notational simplicity, we will also use this notation for the duality pairing between H^{-1}(\Omega) and X with its norm denoted by \|\cdot\|_{-1} . Note that, \|\cdot\|_{\infty} denotes then L^{\infty}(\Omega)- norm. In the space X , the Poincaré inequality holds [ 17 ] : there exists a constant C_{P}>0 depending only on \Omega such that for any \phi\in X , \|\phi\|\leq C_{P}\|\nabla\phi\|. We also use the Korn type inequality [ 5 ] : \|\nabla\phi\|\leq C_{K}\|\mathbb{D}(\phi)\|,\ \forall\phi\in X. (2.1) 2.1 Finite element discretization of Oldroyd-B model We apply finite element methods to discretize equation ( 1.1 ) on a regular, conforming mesh \tau_{h}(\Omega) with a maximum element size of h . The pair of discrete velocity-pressure spaces (X_{h},Q_{h})\subset(X,Q) must satisfy \displaystyle\inf_{q\in Q_{h}}\sup_{v\in X_{h}}\frac{(\nabla\cdot v,q)}{\|q\|\|\nabla v\|}\geq\beta>0, (2.2) which is called the inf-sup (or LBB) condition. In ( 2.2 ), \beta is a constant independent of h . We denote P_{m}(\tau_{h}) as the set of degree m piecewise polynomial functions that are continuously connected across the entire mesh \tau_{h} . In contrast, P_{m}^{disc}(\tau_{h}) represents the set of degree m piecewise polynomial functions that are allowed to have discontinuities between across elements. One of the common choices in this setting that satisfy ( 2.2 ), is Taylor-Hood elements, (X_{h},Q_{h})=(P_{2}(\tau_{h})\cap X,P_{1}(\tau_{h})\cap Q)) along with the discrete stress space \Sigma_{h}=P_{1}^{disc}(\tau_{h})\cap\Sigma . We can now write the FEM scheme for ( 1.1 ): Find (u,p,\sigma)\in(X_{h},Q_{h},\Sigma_{h}) such that \displaystyle(\sigma,\tau)+\lambda\left(b(u,\sigma,\tau)-(\nabla u\sigma,\tau)-(\sigma\nabla u^{T},\tau)\right)-2\alpha(\mathbb{D}(u),\tau) \displaystyle=0\ \forall\tau\in\Sigma_{h}, (2.3) \displaystyle(\sigma,\mathbb{D}(v))+2(1-\alpha)(\mathbb{D}(u),\mathbb{D}(v))-(p,\nabla\cdot v) \displaystyle=(f,v)\ \forall v\in X_{h}, \displaystyle(q,\nabla\cdot u) \displaystyle=0\ \forall q\in Q_{h}, where the trilinear form b:X_{h}\times\Sigma_{h}\times\Sigma_{h}\rightarrow\mathbb{R} is defined by \displaystyle b(u,\sigma,\tau)=((u\cdot\nabla)\sigma,\tau)+\frac{1}{2}((\nabla\cdot u)\sigma,\tau). (2.4) We note b is equivalent to the usual convective form ((u\cdot\nabla)\sigma,\tau) when \|\nabla\cdot u\|=0 . The motivation behind using this divergence form is that ( 2.4 ) will vanish if \sigma=\tau , even if the first argument is not divergence-free; this is the typical case for finite element method discretizations. Existence and uniqueness of the weak solution to ( 2.3 ) is discussed in [ 9 , 32 ] . For notational simplicity, we can consider the equivalent problem set in discretely divergence free functions V_{h}:=\{v\in X_{h}:(\nabla\cdot v,q)=0\ \forall q\in Q_{h}\}, such that \displaystyle(\sigma,\tau)+\lambda\left(b(u,\sigma,\tau)-(\nabla u\sigma,\tau)-(\sigma\nabla u^{T},\tau)\right)-2\alpha(\mathbb{D}(u),\tau) \displaystyle=0\ \forall\tau\in\Sigma_{h}, (2.5) \displaystyle(\sigma,\mathbb{D}(v))+2(1-\alpha)(\mathbb{D}(u),\mathbb{D}(v)) \displaystyle=(f,v)\ \forall v\in V_{h}. For v\in V_{h} and s\in\Sigma_{h} , the notation \|(\cdot,\cdot)\|_{*} is used for the natural problem norm defined by \|(v,s)\|_{*}:=\left(\|\mathbb{D}(v)\|^{2}+\|s\|^{2}\right)^{1/2}. We assume the mesh is sufficiently regular for the inverse inequality to hold (see Theorem 4.5.11 and Remark 4.5.20 in [ 5 ] ): there exists a constant C_{I}>0 such that \displaystyle\|\nabla\sigma\|\leq C_{I}h^{-1}\|\sigma\|,\ \forall\sigma\in\Sigma_{h}. (2.6) 3 Analysis of fixed-point iteration of Oldroyd-B model In this section, we analyze the Picard-type iteration of Oldroyd-B model in V_{h}- formulation, which is defined as follows: Find (u_{k+1},\sigma_{k+1})\in(V_{h},\Sigma_{h}) satisfying all (v,\tau)\in(V_{h},\Sigma_{h}) such that \displaystyle(\sigma_{k+1},\tau)+\lambda\left(b(u_{k},\sigma_{k+1},\tau)-(\nabla u_{k}\sigma_{k+1},\tau)-(\sigma_{k+1}\nabla u_{k}^{T},\tau)\right)-2\alpha(\mathbb{D}(u_{k+1}),\tau) \displaystyle=0, (3.1) \displaystyle(\sigma_{k+1},\mathbb{D}(v))+2(1-\alpha)(\mathbb{D}(u_{k+1}),\mathbb{D}(v)) \displaystyle=(f,v). Lemma 3.2 . (Stability) Assume the true velocity solution u to ( 1.1 ) and previous iterate u_{k} to ( 3.1 ) is sufficiently close to u so that \|\nabla(u_{k}-u)\|_{\infty}+\|\nabla u\|_{\infty}<\frac{1}{2\lambda}. Then the iteration ( 3.1 ) at step k+1 is bounded: \displaystyle\left(1-2\lambda\|\nabla(u_{k}-u)\|_{\infty}-2\lambda\|\nabla u\|_{\infty}\right)\|\sigma_{k+1}\|^{2}+2\alpha(1-2\alpha)\|\mathbb{D}(u_{k+1})\|^{2} \displaystyle\leq\frac{\alpha^{-1}C_{K}^{2}}{8}\|f\|^{2}_{-1}. (3.3) Proof. Assume that the solutions (u_{k+1},\sigma_{k+1}) exist and set (v,\tau)=(u_{k+1},\sigma_{k+1}) in ( 3.1 ) to get \displaystyle\|\sigma_{k+1}\|^{2}-\lambda\left((\nabla u_{k}\sigma_{k+1},\sigma_{k+1})+(\sigma_{k+1}\nabla u_{k}^{T},\sigma_{k+1})\right)-2\alpha(\mathbb{D}(u_{k+1}),\sigma_{k+1}) \displaystyle=0, (3.4) \displaystyle(\sigma_{k+1},\mathbb{D}(u_{k+1}))+2(1-\alpha)\|\mathbb{D}(u_{k+1})\|^{2} \displaystyle=(f,u_{k+1}), noting b(u_{k},\sigma_{k+1},\sigma_{k+1}) vanishes. Then, multiplying the second equation by 2\alpha and adding it to the first one provides \displaystyle\|\sigma_{k+1}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(u_{k+1})\|^{2} \displaystyle=(f,u_{k+1})+\lambda(\nabla u_{k}\sigma_{k+1},\sigma_{k+1})+\lambda(\sigma_{k+1}\nabla u_{k}^{T},\sigma_{k+1}). (3.5) The first term on the right hand side can be bounded as \displaystyle(f,u_{k+1})\leq\frac{\alpha^{-1}C_{K}^{2}}{8}\|f\|^{2}_{-1}+2\alpha\|\mathbb{D}u_{k+1}\|^{2} thanks to Cauchy-Schwarz and Young’s inequalities with the dual norm on V_{h} and ( 2.1 ). The last two terms on the right hand side of ( 3.5 ) can be bounded by applying Hölder’s inequality, then adding and subtracting u to obtain \displaystyle\lambda(\nabla u_{k}\sigma_{k+1},\sigma_{k+1})+\lambda(\sigma_{k+1}\nabla u_{k}^{T},\sigma_{k+1}) \displaystyle\leq 2\|\nabla u_{k}\|_{\infty}\|\sigma_{k}\|^{2} \displaystyle\leq 2\lambda\left(\|\nabla(u_{k}-u)\|_{\infty}+\|\nabla u\|_{\infty}\right)\|\sigma_{k+1}\|^{2}. Then, by combining these bounds we get \displaystyle\left(1-2\lambda\|\nabla(u_{k}-u)\|_{\infty}-2\lambda\|\nabla u\|_{\infty}\right)\|\sigma_{k+1}\|^{2}+2\alpha(1-2\alpha)\|\mathbb{D}(u_{k+1})\|^{2} \displaystyle\leq\frac{\alpha^{-1}C_{K}^{2}}{8}\|f\|^{2}_{-1}. (3.6) Using the assumptions on u and u_{k} finishes the proof. Lemma 3.7 . (Uniqueness) Under the same assumptions as Lemma 3.2 , the Step k+1 solution of ( 3.1 ) is unique. Moreover, since the system is finite dimensional and linear, solution existence and therefore well-posedness follows immediately. Proof. Assume that (u_{k+1}^{1},\sigma_{k+1}^{1}) and (u_{k+1}^{2},\sigma_{k+1}^{2}) are two solutions of ( 3.1 ), then let \phi^{u}=u^{1}-u^{2} and \phi^{\sigma}=\sigma^{1}-\sigma^{2} . Then, for given u_{k},\sigma_{k} and f , we have that \displaystyle(\phi^{\sigma}_{k+1},\tau)+\lambda\left(b(u_{k},\phi^{\sigma}_{k+1},\tau)-(\nabla u_{k}\phi^{\sigma}_{k+1},\tau)-(\phi^{\sigma}_{k+1}\nabla(u_{k})^{T},\tau)\right)-2\alpha(\mathbb{D}(\phi^{u}_{k+1}),\tau) \displaystyle=0, \displaystyle(\phi^{\sigma}_{k+1},\mathbb{D}(v))+2(1-\alpha)(\mathbb{D}(\phi^{u}_{k+1}),\mathbb{D}(v)) \displaystyle=0. Setting (v,\tau)=(\phi^{u}_{k+1},\phi^{\sigma}_{k+1}) provides \displaystyle\|\phi^{\sigma}_{k+1}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\phi^{u}_{k+1})\|^{2}=\lambda\left((\nabla u_{k}\phi^{\sigma}_{k+1},\phi^{\sigma}_{k+1})+(\phi^{\sigma}_{k+1}\nabla(u_{k})^{T},\phi^{\sigma}_{k+1})\right), by adding 2\alpha times of second equation into the first one while nonlinear term vanishes. By applying Hölder’s inequality to the right hand side terms where we add and subtract u to the velocity terms, we get \displaystyle\left(1-2\lambda\|\nabla(u-u_{k})\|_{\infty}-2\lambda\|\nabla u\|_{\infty}\right)\|\phi^{\sigma}_{k+1}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\phi^{u}_{k+1})\|^{2}\leq 0. (3.8) Since 0<\alpha<1 and from Lemma 3.2 , we know \left(1-2\lambda\|\nabla(u-u_{k})\|_{\infty}-2\lambda\|\nabla u\|_{\infty}\right)\geq 0 , hence the inequality 3.8 can only be true for \phi^{u}_{k+1}=\phi^{\sigma}_{k+1}=0 . This implies the solution of ( 3.1 ) is unique. Next, we discuss the convergence behavior of ( 3.1 ). Theorem 3.9 . Suppose that the solution of ( 2.5 ) satisfies (u,\sigma)\in H^{3}(\Omega)\times H^{2}(\Omega) and let (u_{k+1},\sigma_{k+1})\in V_{h}\times\Sigma_{h} denote the solution of ( 3.1 ). Then under the same assumptions as Lemma 3.2 , \displaystyle\|(e^{u}_{k+1},e^{\sigma}_{k+1})\|_{*}\leq\sqrt{\frac{\lambda\left(C_{P-K}^{2}\lambda\|\nabla\sigma\|_{\infty}^{2}+C_{K}^{2}\|\sigma\|_{\infty}^{2}\right)}{2S}}\|(e^{u}_{k},e^{\sigma}_{k})\|_{*}, (3.10) where S\coloneqq\min\{\left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\|\nabla(u-u_{k})\|_{\infty}\right),4\alpha(1-\alpha)\} . Remark 3.11 . For Theorem 3.10 to imply the entire iteration is contractive, we need the assumption of S>0 at Step k to imply S>0 at Step k+1, i.e. that u_{k+1} is closer to u than u_{k} is in L^{\infty} . From ( 3.12 ) in the proof of Theorem 3.10 , we observe that \|\mathbb{D}(e_{k+1}^{u})\|\leq\left(\frac{\lambda}{8\alpha(1-\alpha)}\left(C_{P-K}^{2}\lambda\|\nabla\sigma\|_{\infty}^{2}+C_{K}^{2}\lambda\|\sigma\|_{\infty}^{2}\right)\right)^{1/2}\|\mathbb{D}(e^{u}_{k})\|. Hence smallness assumptions on the problem data (which imply smallness of the true solution) will imply that the generated sequence of velocities is contractive in the H^{1} norm. To extend this to the L^{\infty} norm, it seems necessary to employ an inverse inequality which will make the smallness assumption smaller in order to guarantee contractiveness in this norm. We note that under this smallness assumption, the above lemmas imply we have well-posedness of all steps of the iteration as well as a uniform bound on solutions. Proof. Subtracting ( 3.1 ) from ( 2.5 ), then denoting e^{\sigma}_{k}=\sigma-\sigma_{k} and e^{u}_{k}=u-u{{}_{k}} provides \displaystyle(e^{\sigma}_{k+1},\tau)+\lambda(b(e^{u}_{k},\sigma,\tau)+b(u_{k},e^{\sigma}_{k+1},\tau)-(\nabla e^{u}_{k}\sigma,\tau) \displaystyle-(\nabla u_{k}e^{\sigma}_{k+1},\tau)-(\sigma\nabla(e^{u}_{k})^{T},\tau)-(e^{\sigma}_{k+1}\nabla u_{k}^{T},\tau))-2\alpha(\mathbb{D}(e^{u}_{k+1}),\tau) \displaystyle=0, \displaystyle(e^{\sigma}_{k+1},\mathbb{D}(v))+2(1-\alpha)(\mathbb{D}(e^{u}_{k+1}),\mathbb{D}(v)) \displaystyle=0. Set \tau=e^{\sigma}_{k+1} in the first equation, which vanishes the nonlinear term, and v=e^{u}_{k+1} in the second equation to get \displaystyle\|e^{\sigma}_{k+1}\|^{2}+\lambda b(e^{u}_{k},\sigma,e^{\sigma}_{k+1})-\lambda(\nabla e^{u}_{k}\sigma,e^{\sigma}_{k+1})-\lambda(\nabla u_{k}e^{\sigma}_{k+1},e^{\sigma}_{k+1}) \displaystyle-\lambda(\sigma\nabla(e^{u}_{k})^{T},e^{\sigma}_{k+1})-\lambda(e^{\sigma}_{k+1}\nabla u_{k}^{T},e^{\sigma}_{k+1})-2\alpha(\mathbb{D}(e^{u}_{k+1}),e^{\sigma}_{k+1})) \displaystyle=0, \displaystyle(e^{\sigma}_{k+1},\mathbb{D}(e^{u}_{k+1}))+2(1-\alpha)\|\mathbb{D}(e^{u}_{k+1})\|^{2} \displaystyle=0. Next, we multiply second equation by 2\alpha and add it to the first one, which provides \displaystyle\|e^{\sigma}_{k+1}\|^{2}x+4\alpha(1-\alpha)\|\mathbb{D}(e^{u}_{k+1})\|^{2}= \displaystyle-\lambda b(e^{u}_{k},\sigma,e^{\sigma}_{k+1})+\lambda(\nabla e^{u}_{k}\sigma,e^{\sigma}_{k+1})+\lambda(\nabla u_{k}e^{\sigma}_{k+1},e^{\sigma}_{k+1}) \displaystyle+\lambda(\sigma\nabla(e^{u}_{k})^{T},e^{\sigma}_{k+1})+\lambda(e^{\sigma}_{k+1}\nabla u_{k}^{T},e^{\sigma}_{k+1}). By Hölder’s inequalities, we get \|e^{\sigma}_{k+1}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e^{u}_{k+1})\|^{2}\\ \leq\lambda\|\nabla\sigma\|_{\infty}\|e^{u}_{k}\|\|e^{\sigma}_{k+1}\|+\lambda\|\sigma\|_{\infty}\|\nabla e^{u}_{k}\|\|e^{\sigma}_{k+1}\|+2\lambda\left(\|\nabla(u-u_{k})\|_{\infty}+\|\nabla u\|_{\infty}\right)\|e^{\sigma}_{k+1}\|^{2}. Next, we reduce the last equation and use ( 2.1 ), Poincáre and Young inequalities to obtain \left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\|\nabla(u_{k}-u)\|_{\infty}\right)\|e^{\sigma}_{k+1}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e^{u}_{k+1})\|^{2}\\ \leq\frac{\lambda}{2}\left(C_{P-K}^{2}\lambda\|\nabla\sigma\|_{\infty}^{2}+C_{K}^{2}\|\sigma\|_{\infty}^{2}\right)\|\mathbb{D}(e^{u}_{k})\|^{2}, (3.12) where C_{P-K} is the constant absorbing constants coming from Poincáre and ( 2.1 ). After dividing both sides by S we get \displaystyle\|(e^{u}_{k+1},e^{\sigma}_{k+1})\|^{2}_{*}=\|e^{\sigma}_{k+1}\|^{2}+\|\mathbb{D}(e^{u}_{k+1})\|^{2} \displaystyle\leq\frac{\lambda\left(C_{P-K}^{2}\lambda\|\nabla\sigma\|_{\infty}^{2}+C_{K}^{2}\|\sigma\|_{\infty}^{2}\right)}{2S}\|\mathbb{D}(e^{u}_{k})\|^{2} \displaystyle\leq\frac{\lambda\left(C_{P-K}^{2}\lambda\|\nabla\sigma\|_{\infty}^{2}+C_{K}^{2}\|\sigma\|_{\infty}^{2}\right)}{2S}\|(e^{u}_{k},e^{\sigma}_{k})\|^{2}_{*}. Finally, we take the square root of both sides and get ( 3.10 ). 4 Acceleration of the Picard iteration for Oldroyd-B model In this section, we analyze the fixed-point iteration for Oldroyd-B model ( 3.1 ) in terms of properties required to apply the convergence and acceleration theory of [ 26 ] for AA applied to this iteration. We begin by introducing AA and outlining the sufficient conditions that fixed-point schemes must meet to achieve accelerated convergence. 4.1 Anderson acceleration background We now describe the AA method, an extrapolation approach designed to enhance the convergence of fixed-point iterations governed by operator g:Y\rightarrow Y . Algorithm 4.1 . (Anderson acceleration with depth m and damping \beta_{k} ) 1. Initialization: Select an initial vector x_{0}\in Y. 2. First iteration: Compute the residual w_{1}\in Y such that w_{1}=g(x_{0})-x_{0} and update x_{1}=x_{0}+w_{1} . 3. Subsequent iterations (for k=2,3,\ldots ) Set m_{k}=\min\{k-1,m\}. a. Compute the residual w_{k}=g(x_{k-1})-x_{k-1} . b. Find optimal the Anderson coefficients \{\alpha_{j}^{k}\}_{k-m_{k}}^{k-1} by the following minimization problem \displaystyle\textstyle\min\limits_{\sum\limits_{j=k-m_{k}}^{k-1}\alpha_{j}^{k}=1}\left\|\sum\limits_{j=k-m_{k}}^{k-1}\alpha_{j}^{k}w_{j}\right\|_{Y}. (4.2) c. Update the iterate such that given the damping parameter 0<\beta_{k}\leq 1 , define \displaystyle\textstyle x_{k}=\sum\limits_{j=k-m_{k}}^{k-1}\alpha_{j}^{k}x_{j-1}+\beta_{k}\sum\limits_{j=k-m_{k}}^{k-1}\alpha_{j}^{k}w_{j}. (4.3) When m=0 , the AA method reduces to the basic fixed-point iteration without any acceleration. The recent theory proposed in [ 26 , 29 ] shows that acceleration in convergence rate is controlled by gain factor obtained from the optimization step which is defined by \displaystyle\theta_{k}=\frac{\left\|\sum\limits_{j=k-m_{k}}^{k-1}\alpha_{j}^{k}x_{j}\right\|_{Y}}{\|w_{k}\|_{Y}}. The subsequent two assumptions from [ 26 ] establish sufficient conditions on the fixed-point operator g for the convergence and acceleration results outlined in that work to hold true. Assumption 4.4 . Suppose g\in C^{1}(Y) admits a fixed point x^{\ast}\in Y , and there are positive constants C_{L} and \hat{C}_{L} such that: 1. \|g^{\prime}(x)\|_{Y}\leq C_{0} \forall x\in Y , 2. \|g^{\prime}(x)-g^{\prime}(y)\|_{Y}\leq C_{1}\,\|x-y\|_{Y} \forall x,y\in Y . Assumption 4.5 . Assume there is a constant \sigma>0 satisfying \|w_{k+1}-w_{k}\|_{Y}\;\geq\;\sigma\,\|x_{k}-x_{k-1}\|_{Y},\ k\geq 1. Assumption 4.4 provides smoothness conditions on the fixed-point operator. In the following analysis, we will show that these conditions hold for the Picard fixed-point operator. Meanwhile, Assumption 4.5 is more difficult to verify in this setting. It does hold globally if g is contractive, which we have demonstrated under a suitable smallness condition. It also holds locally if the Jacobian of g remains nondegenerate in a neighborhood of the solution—though we cannot confirm that for the present problem. As noted in [ 26 ] , this requirement can be monitored during the algorithm, with a restart of Anderson Acceleration triggered if the condition is violated. Under Assumptions 4.4 and 4.5 , the following result summarized from [ 26 ] produces a one-step bound on the residual \|w_{k+1}\| in terms of the previous residuals. Theorem 4.6 . Suppose Assumptions 4.4 and 4.5 hold. For each j , \displaystyle F_{j} \displaystyle:=\left((w_{j}-w_{j-1})(w_{j-1}-w_{j-2})\ \dotsc\ (w_{j-m_{j}+1}-w_{j-m_{j}})\right). Further assume that for every column f_{j,i} of F_{j} , the angle between f_{j,i} and the subspace spanned by the preceding columns is uniformly bounded away from zero such that |\sin(f_{j,i},\text{span }\{f_{j,1},\ldots,f_{j,i-1}\})|\geq c_{s}>0,\ j=k-m_{k},\ldots,k-1. Then, for Algorithm 4.1 with the depth m , the residual w_{k+1}=g(x_{k})-x_{k} satisfies \displaystyle\|w_{k+1}\| \displaystyle\leq\|w_{k}\|\Bigg(\theta_{k}((1-\beta_{k})+C_{0}\beta_{k})+\frac{CC_{1}\sqrt{1-\theta_{k}^{2}}}{2}\bigg(\|w_{k}\|h(\theta_{k}) \displaystyle+2\sum_{n=k-{m_{k}}+1}^{k-1}(k-n)\|w_{n}\|h(\theta_{n})+m_{k}\|w_{k-m_{k}}\|h(\theta_{k-m_{k}})\bigg)\Bigg), (4.7) where each h(\theta_{j})\leq C\sqrt{1-\theta_{j}^{2}}+\beta_{j}\theta_{j} , and C depends on c_{s} and on the corresponding upper bound for the direction cosines. In this bound, \theta_{k} represents the gain from the optimization step, dictating the relative scaling of lower-order versus higher-order terms. The lower-order terms are multiplied by \theta_{k} , while the higher-order terms are multiplied by \sqrt{1-\theta_{k}^{2}} . Although the assumption regarding direction sines between columns may fail in practice for larger m the filtering technique introduced in [ 27 ] can be used to address this issue as the method proceeds. In the remainder of this section, we define the fixed-point operator linked to iteration ( 3.1 ) and prove it satisfies Assumption 4.4 on any mesh. Assumption 4.5 , for instance, holds if the iteration is contractive, which—by Lemma 3.2 —occurs for sufficiently small data and an appropriately chosen initial 4.6 can be applied to the Anderson-accelerated Picard solver ( 3.1 ), implying its linear convergence rate is modulated by the gain \theta_{k} derived from the optimization. 4.2 Fixed-point operator G and associated properties Suppose that f\in H^{-1}(\Omega) and u\in V_{h} are given. We aim to find (\tilde{u},\tilde{\sigma})\in(V_{h},\Sigma_{h}) such that \displaystyle\left(\tilde{\sigma},\tau\right)+\lambda\left(b(u,\tilde{\sigma},\tau)-\left(\nabla u\tilde{\sigma},\tau\right)-\left(\tilde{\sigma}\nabla u^{T},\tau\right)\right)-2\alpha\left(\mathbb{D}(\tilde{u}),\tau\right) \displaystyle=0,\ \forall\tau\in\Sigma_{h}, (4.8) \displaystyle\left(\tilde{\sigma},\mathbb{D}(v)\right)+2(1-\alpha)\left(\mathbb{D}(\tilde{u}),\mathbb{D}(v)\right) \displaystyle=\left(f,v\right),\ \forall v\in V_{h}. Lemma 4.9 . Suppose that f\in H^{-1}(\Omega) and (u,\sigma)\in(V_{h},\Sigma_{h}) are given. Then, the solution of the system ( 4.8 ) satisfies \displaystyle\|(\tilde{u},\tilde{\sigma})\|_{*}\leq\frac{C_{K}}{\sqrt{4C_{0}(1-\alpha)}}\|f\|_{-1}, (4.10) under assumptions C_{0}=\min\left\{\frac{1-2\lambda\|\nabla u\|_{\infty}}{2\alpha},1-\alpha\right\} , and 1-2\lambda\|\nabla u\|_{\infty}\geq 0 , which implies well-posed the solution. Proof. Choose \tau=\tilde{\sigma}\in\Sigma_{h} which vanishes b(u,\tilde{\sigma},\tilde{\sigma}) and v=\tilde{u}\in V_{h} , then add two equations by multiplying second one by 2\alpha to get \displaystyle\|\tilde{\sigma}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\tilde{u})\|^{2} \displaystyle=2\alpha\left(f,\tilde{u}\right)+\lambda\left(\left(\nabla u\tilde{\sigma},\tilde{\sigma}\right)+\left(\tilde{\sigma}\nabla u^{T},\tilde{\sigma}\right)\right) \displaystyle\leq 2\alpha\|f\|_{-1}\|\nabla\tilde{u}\|+\lambda 2\|\nabla u\|_{\infty}\|\tilde{\sigma}\|^{2}, thanks to the dual norm on V_{h} and Hölder’s inequality. Then, dividing both side by 2\alpha and applying ( 2.1 ) and Young’s inequality leads to the following bound: \displaystyle\frac{1-2\lambda\|\nabla u\|_{\infty}}{2\alpha}\|\tilde{\sigma}\|^{2}+(1-\alpha)\|\mathbb{D}(\tilde{u})\|^{2} \displaystyle\leq\frac{C_{K}^{2}}{4(1-\alpha)}\|f\|^{2}_{-1}. Setting C_{0}=\min\left\{\frac{1-2\lambda\|\nabla u\|_{\infty}}{2\alpha},1-\alpha\right\} , dividing both side by C_{0} and taking square root of both side conclude the proof with ( 4.10 ). Definition 4.11 . Let G:(V_{h},\Sigma_{h})\rightarrow(V_{h},\Sigma_{h}) denote the the solution operator associated with ( 4.8 ) such that (\tilde{u},\tilde{\sigma})=\left(G_{1}(u,\sigma),G_{2}(u,\sigma)\right)=G(u,\sigma). From Lemma 4.9 , the scheme ( 4.8 ) is well-posed, which ensures G is well-defined. Therefore, the iterative scheme ( 3.1 ) takes form with (u_{k+1},\sigma_{k+1})=\left(G_{1}(u_{k},\sigma_{k}),G_{2}(u_{k},\sigma_{k})\right)=G(u_{k},\sigma_{k}). The remainder of this subsection examines the operator G in terms of continuity, differentiability, and related regularity properties. We begin by establishing that G is Lipschitz continuous. Lemma 4.12 . Provided 1-2\lambda\|\nabla u\|_{\infty}>0 , for any (v,\sigma),(w,\rho)\in(V_{h},\Sigma_{h}) satisfies ( 4.8 ) \displaystyle\|G(v,\sigma)-G(w,\rho)\|_{*}\leq C_{L}\|(v,\sigma)-(w,\rho)\|_{*}, (4.13) where C_{L}=\min\left\{\frac{CC_{K}^{2}}{h^{2}\sqrt{2S\lambda^{-1}C_{0}(1-\alpha)}},1\right\} such that S\coloneqq\min\{\left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\right),4\alpha(1-\alpha)\} and C_{0}=\min\left\{\frac{1-2\lambda\|\nabla u\|_{\infty}}{2\alpha},1-\alpha\right\} . Remark 4.14 . The Lipschitz constant C_{L} is global, and the inverse scaling with h will prevent C_{L} from being small. However, following Lemma 3.2 , local contractiveness is possible if v and w are sufficiently close to the true solution velocity, and if the problem data is sufficiently small. Proof. Let’s subtract ( 4.8 ) with (w,\rho)\in(V_{h},\Sigma_{h}) from ( 4.8 ) with (u,\sigma)\in(V_{h},\Sigma_{h}) such that G(w,\rho)=\left(G_{1}(w,\rho),G_{2}(w,\rho)\right)=(\tilde{w},\tilde{\rho}) and G(u,\sigma)=\left(G_{1}(u,\sigma),G_{2}(u,\sigma)\right)=(\tilde{u},\tilde{\sigma}) , respectively. Then, denoting e_{1}=u-w , e_{1}^{G}=G_{1}(u,\sigma)-G_{1}(w,\rho) and e_{2}=\sigma-\rho e_{2}^{G}=G_{2}(u,\sigma)-G_{2}(w,\rho) provides \displaystyle\left(e_{2}^{G},\tau\right)+\lambda(b(e_{1},G_{2}(u,\sigma),\tau)+b(w,e_{2}^{G},\tau)-\left(\nabla e_{1}G_{2}(w,\rho),\tau\right) (4.15) \displaystyle-\left(\nabla ue_{2}^{G},\tau\right)-\left(G_{2}(w,\rho)(\nabla e_{1})^{T},\tau\right)-\left(e_{2}^{G}\nabla u^{T},\tau\right))-2\alpha\left(\mathbb{D}(e_{1}^{G}),\tau\right)=0, \displaystyle\left(e_{2}^{G},\mathbb{D}(v)\right)+2(1-\alpha)\left(\mathbb{D}(e_{1}^{G}),\mathbb{D}(v)\right)=0. Multiply the second equation by 2\alpha and add to the first equation, then choose \tau=e_{1}^{G} and v=e_{2}^{G} to get \displaystyle\|e_{2}^{G}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1}^{G})\|^{2}= \displaystyle-\lambda b(e_{1},G_{2}(u,\sigma),e_{2}^{G})+\lambda\left(\nabla e_{1}G_{2}(w,\rho),e_{2}^{G}\right) \displaystyle+\lambda\left(\nabla ue_{2}^{G},e_{2}^{G}\right)+\lambda\left(G_{2}(w,\rho)(\nabla e_{1})^{T},e_{2}^{G}\right)+\lambda\left(e_{2}^{G}\nabla u^{T},e_{2}^{G}\right), where b(w,e_{2}^{G},e_{2}^{G}) vanishes. Applying Hölder’s with Sobolev embedding now gives \displaystyle\|e_{2}^{G}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1}^{G})\|^{2}\leq \displaystyle\lambda C\|\nabla e_{1}\|\|\nabla G_{2}(u,\sigma)\|\|\nabla e_{2}^{G}\|+\lambda\|\nabla e_{1}\|\|\nabla G_{2}(w,\rho)\|\|\nabla e_{2}^{G}\| \displaystyle+2\lambda\|\nabla u\|_{\infty}\|e_{2}^{G}\|^{2}+\lambda\|\nabla G_{2}(w,\rho)\|\|(\nabla e_{1})^{T}\|\|\nabla e_{2}^{G}\|. Now, by ( 2.1 ) and inverse estimate ( 2.6 ), we obtain \displaystyle(1-2\lambda\|\nabla u\|_{\infty})\|e_{2}^{G}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1}^{G})\|^{2}\leq \displaystyle\lambda CC_{K}h^{-2}\frac{C_{K}}{\sqrt{4C_{0}(1-\alpha)}}\|f\|_{-1}\|\mathbb{D}(e_{1})\|\|e_{2}^{G}\|, where \|G_{2}(w,\rho)\| is bounded by Lemma ( 4.9 ). Using Young’s inequality finally gives \displaystyle(1-2\lambda\|\nabla u\|_{\infty}-2\lambda)\|e_{2}^{G}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1}^{G})\|^{2}\leq \displaystyle\lambda C^{2}h^{-4}\frac{C_{K}^{4}}{2C_{0}(1-\alpha)}\|f\|^{2}_{-1}\|\mathbb{D}(e_{1})\|^{2}. Dividing both sides by S\coloneqq\min\{\left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\right),4\alpha(1-\alpha)\} and taking the square root of both sides provides the Lipschits continuity bound ( 4.13 ) on *- norm with the fact that \|\mathbb{D}(e_{1})\|^{2}\leq\|(e_{1},e_{2})\|_{*}^{2}:=\|\mathbb{D}(e_{1})\|^{2}+\|e_{2}\|^{2}. Next, we establish that G is Fréchet differentiable with Lipschitz continuous derivative. To do that, we first define the operator G^{\prime} , and then demostrate it serves as the Fréchet derivative operator of G . Definition 4.16 . For each (u,\sigma)\in(V_{h},\Sigma_{h}) , consider the operator G^{\prime}(u,\sigma;\,\cdot,\cdot)\colon(V_{h},\Sigma_{h})\;\to\;(V_{h},\Sigma_{h}), defined by G^{\prime}(u,\sigma;\,t,s)\;\coloneqq\;\bigl(G_{1}^{\prime}(u,\sigma;\,t,s),\;G_{2}^{\prime}(u,\sigma;\,t,s)\bigr), which satisfies \displaystyle\left(G^{\prime}_{2}(u,\sigma;t,s),\tau\right)+\lambda(b(u,G^{\prime}_{2}(u,\sigma;t,s),\tau)+b(t,G_{2}(u,\sigma),\tau)-\left(\nabla uG^{\prime}_{2}(u,\sigma;t,s),\tau\right) (4.17) \displaystyle-\left(\nabla tG_{2}(u,\sigma),\tau\right)-\left(G^{\prime}_{2}(u,\sigma;t,s)\nabla u^{T},\tau\right)-\left(G_{2}(u,\sigma)\nabla t^{T},\tau\right))-2\alpha\left(\mathbb{D}(G^{\prime}_{1}(u,\sigma;t,s)),\tau\right) \displaystyle=0, \displaystyle\left(G^{\prime}_{2}(u,\sigma;t,s),\mathbb{D}(v)\right)+2(1-\alpha)\left(\mathbb{D}(G^{\prime}_{1}(u,\sigma;t,s)),\mathbb{D}(v)\right) \displaystyle=0, for all (t,s)\in(V_{h},\Sigma_{h}) . Lemma 4.18 . The operator G^{\prime} introduced in Definition 4.16 is well-defined for all u,t\in V_{h} and \sigma,s\in\Sigma_{h} such that \|G^{\prime}(u,\sigma;t,s)\|_{*}\leq C_{G}\|(t,s)\|_{*} where C_{G}=C_{L} . Proof. Setting \tau=G^{\prime}_{2}(u,\sigma;t,s) and v=G^{\prime}_{1}(u,\sigma;t,s) , then multiplying second equation by 2\alpha in ( 4.17 ) and adding it to first one produces \displaystyle\|G^{\prime}_{2}(u,\sigma;t,s)\|^{2}+ \displaystyle 4\alpha(1-\alpha)\|\mathbb{D}(G^{\prime}_{1}(u,\sigma;t,s))\|^{2}=-\lambda b(t,G_{2}(u,\sigma),G^{\prime}_{2}(u,\sigma;t,s)) \displaystyle+\lambda\left(\nabla uG^{\prime}_{2}(u,\sigma;t,s),G^{\prime}_{2}(u,\sigma;t,s)\right)+\lambda\left(\nabla tG_{2}(u,\sigma),G^{\prime}_{2}(u,\sigma;t,s)\right) \displaystyle+\lambda\left(G^{\prime}_{2}(u,\sigma;t,s)\nabla u^{T},G^{\prime}_{2}(u,\sigma;t,s)\right)+\lambda\left(G_{2}(u,\sigma)\nabla t^{T},G^{\prime}_{2}(u,\sigma;t,s)\right). Applying Hölder’s with Sobolev embedding gives, \displaystyle\|G^{\prime}_{2}(u,\sigma;t,s)\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(G^{\prime}_{1}(u,\sigma;t,s))\|^{2}\leq \displaystyle\lambda CC_{K}\|\mathbb{D}(t)\|\|\nabla G_{2}(u,\sigma)\|\|\nabla G^{\prime}_{2}(u,\sigma;t,s)\| \displaystyle+2\lambda\|\nabla u\|_{\infty}\|\nabla G^{\prime}_{2}(u,\sigma;t,s)\|^{2}. Then, using ( 2.1 ) and inverse estimate ( 2.6 ) along with Lemma ( 4.9 ) and Young’s inequality gives \displaystyle(1-2\lambda\|\nabla u\|_{\infty}-2\lambda)\|G^{\prime}_{2}(u,\sigma;t,s)\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(G^{\prime}_{1}(u,\sigma;t,s))\|^{2}\leq \displaystyle\lambda C^{2}h^{-4}\frac{C_{K}^{4}}{2C_{0}(1-\alpha)}\|f\|_{-1}^{2}\|\mathbb{D}(t)\|^{2}. Dividing both sides by S\coloneqq\min\{\left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\right),4\alpha(1-\alpha)\} and taking the square root of both sides conclude the proof. Next, we confirm that G^{\prime} operator as the Fréchet derivative operator of G . Specifically, for each (u,\sigma)\in(V_{h},\Sigma_{h}) , there exists a constant \mathcal{F} such that \|G(u+t,\sigma+s)-G(u,\sigma)-G^{\prime}(u,\sigma;t,s)\|_{*}\leq\mathcal{F}\|(t,s)\|_{*}^{2}, for any (t,s)\in(V_{h},\Sigma_{h}) . Lemma 4.19 . For arbitrary (u,\sigma)\in(V_{h},\Sigma_{h}) and sufficiently small (t,s)\in(V_{h},\Sigma_{h}) , the bound \displaystyle\|G(u+t,\sigma+s)-G(u,\sigma)-G^{\prime}(u,\sigma;t,s)\|_{*}\leq \displaystyle\mathcal{F}\|(t,s)\|_{*}^{2} (4.20) holds, with \mathcal{F}=\frac{CC_{L}C_{K}}{h^{2}\sqrt{8S\lambda^{-1}}} . Proof. Subtracting sum of ( 4.8 ) with (u,\sigma)\in(V_{h},\Sigma_{h}) and ( 4.17 ) from ( 4.8 ) with (u+t,\sigma+s)\in(V_{h},\Sigma_{h}) produce \displaystyle\left(\eta_{2},\tau\right)+\lambda(b(u,\eta_{2},\tau)+b(t,G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma),\tau)-\left(\nabla u\eta_{2},\tau\right)-\left(\nabla tG_{2}(u,\sigma),\tau\right) \displaystyle-\left(\eta_{2}\nabla u^{T},\tau\right)-\left(G_{2}(u,\sigma)\nabla t^{T},\tau\right))-2\alpha\left(\mathbb{D}(\eta_{1}),\tau\right) \displaystyle=0, \displaystyle\left(\eta_{2},\mathbb{D}(v)\right)+2(1-\alpha)\left(\mathbb{D}(\eta_{1}),\mathbb{D}(v)\right) \displaystyle=0. where \eta_{1}=G_{1}(u+t,\sigma+s)-G_{1}(u,\sigma)-G^{\prime}_{1}(u,\sigma;t,s) and \eta_{2}=G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma)-G^{\prime}_{2}(u,\sigma;t,s) . Then, we choose \tau=\eta_{1} and v=\eta_{2} which vanishes the first nonlinear term, multiply second equation by 2\alpha and add to the first one to get \displaystyle\|\eta_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\eta_{1})\|^{2}= \displaystyle-\lambda b(t,G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma),\eta_{2})+\lambda\left(\nabla u\eta_{2},\eta_{2}\right) \displaystyle+\lambda\left(\nabla t(G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma)),\eta_{2}\right)+\lambda\left(\eta_{2}\nabla u^{T},\eta_{2}\right) \displaystyle+\lambda\left((G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma))\nabla t^{T},\eta_{2}\right). The Hölder and Sobolev inequalities provide us with \displaystyle\|\eta_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\eta_{1})\|^{2}\leq \displaystyle\lambda C\|\nabla t\|\|\nabla(G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma))\|\|\nabla\eta_{2}\|+2\lambda\|\nabla u\|_{\infty}\|\eta_{2}\|^{2}. Using an inverse estimate and ( 2.1 ), followed by Young’s inequality, we get that \displaystyle(1-2\lambda\|\nabla u\|_{\infty}-2\lambda)\|\eta_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(\eta_{1})\|^{2}\leq \displaystyle\frac{\lambda}{8}C^{2}h^{-4}C_{L}^{2}C_{K}^{2}\|\mathbb{D}(t)\|^{2}\|(t,s)\|_{*}^{2}, thanks to Lemma ( 4.12 ). Then, using the fact that \|\mathbb{D}(t)\|^{2}\leq\|\mathbb{D}(t)\|^{2}+\|s\|^{2}=\|(t,s)\|^{2}_{*} , we conclude ( 4.20 ). The final step is to prove that the Lipschitz continuity of G^{\prime} over V_{h}\times\Sigma_{h} . Lemma 4.21 . The operator G is Lipschitz continuously differentiable on V_{h}\times\Sigma_{h} where its derivative denoted by G^{\prime} , such that \displaystyle\|G^{\prime}(u+t,\sigma+s;\phi,\xi)-G^{\prime}(u,\sigma;\phi,\xi)\|_{*}\leq \displaystyle\hat{C}_{L}\|(\phi,\xi)\|_{*}\|(t,s)\|_{*}, (4.22) where \hat{C}_{L}=\frac{C_{L}C_{K}C}{2h^{2}\sqrt{S\lambda^{-1}}} , for all (u,\sigma),(t,s),(k,l)\in(V_{h},\Sigma_{h}) . Proof. Let’s subtract ( 4.17 ) with G^{\prime}(u,\sigma;\phi,\xi) from ( 4.17 ) with G^{\prime}(u+t,\sigma+s;\phi,\xi) and denoting e_{1}=G^{\prime}_{1}(u+t,\sigma+s;\phi,\xi)-G^{\prime}_{1}(u,\sigma;\phi,\xi) and e_{2}=G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi)-G^{\prime}_{2}(u,\sigma;\phi,\xi) to get \displaystyle\left(e_{2},\tau\right)+\lambda b(u,e_{2},\tau)+\lambda b(t,G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi),\tau)+\lambda b(\phi,G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma),\tau) \displaystyle-\lambda\left(\nabla(u)e_{2},\tau\right)-\lambda\left(\nabla(t)G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi),\tau\right)-\lambda\left(\nabla\phi(G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma)),\tau\right) \displaystyle-\lambda\left(e_{2}\nabla(u)^{T},\tau\right)-\lambda\left(G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi)\nabla(t)^{T},\tau\right)-\lambda\left((G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma))\nabla\phi^{T},\tau\right) \displaystyle-2\alpha\left(\mathbb{D}(e_{1}),\tau\right) \displaystyle=0, \displaystyle\left(e_{2},\mathbb{D}(v)\right)+2(1-\alpha)\left(\mathbb{D}(e_{1}),\mathbb{D}(v)\right) \displaystyle=0. By setting \tau=e_{2} and v=e_{1} , the second term on the left hand side of the first equation vanishes. Then, multiplying the second one by 2\alpha ad adding two equations together yields \displaystyle\|e_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1})\|^{2}+\lambda b(t,G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi),e_{2})+\lambda b(\phi,G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma),e_{2}) \displaystyle-\lambda\left(\nabla(u)e_{2},e_{2}\right)-\lambda\left(\nabla(t)G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi),e_{2}\right)-\lambda\left(\nabla\phi(G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma)),e_{2}\right) \displaystyle-\lambda\left(e_{2}\nabla(u)^{T},e_{2}\right)-\lambda\left(G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi)\nabla(t)^{T},e_{2}\right)-\lambda\left((G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma))\nabla\phi^{T},e_{2}\right) \displaystyle=0. Using Hölder’s inequality with Sobolev embedding, we get \displaystyle(1-2\lambda\|\nabla u\|_{\infty})\|e_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1})\|^{2}\leq \displaystyle\lambda C_{1}\|\nabla t\|\|\nabla G^{\prime}_{2}(u+t,\sigma+s;\phi,\xi)\|\|\nabla e_{2}\| \displaystyle+\lambda C_{2}\|\nabla\phi\|\|\nabla(G_{2}(u+t,\sigma+s)-G_{2}(u,\sigma))\|\|\nabla e_{2}\|. Applying the inverse estimate ( 2.6 ) and ( 2.1 ), along with Young’s inequality and the result from Lemmas 4.12 and 4.18 , we derive (1-2\lambda\|\nabla u\|_{\infty}-2\lambda)\|e_{2}\|^{2}+4\alpha(1-\alpha)\|\mathbb{D}(e_{1})\|^{2}\\ \leq\frac{\lambda}{4}C_{G}^{2}C_{1}^{2}C_{K}^{2}h^{-4}\|\mathbb{D}(t)\|^{2}\|(\phi,\xi)\|_{*}^{2}+\frac{\lambda}{4}C_{2}^{2}h^{-4}C_{K}^{2}\|\mathbb{D}(\phi)\|^{2}\|(t,s)\|_{*}^{2}. By the fact that C_{G}=C_{L} and \|\mathbb{D}(t)\|^{2}\leq\|(t,s)\|_{*}^{2} and \|\mathbb{D}(\phi)\|^{2}\leq\|(\phi,\xi)\|_{*}^{2} , , dividing both sides by S\coloneqq\min\{\left(1-2\lambda\|\nabla u\|_{\infty}-2\lambda\right),4\alpha(1-\alpha)\} and setting C=\max\{C_{1},C_{2}\} , we get \displaystyle\|(e_{1},e_{2})\|^{2}_{*}\leq \displaystyle\frac{C_{L}^{2}C_{K}^{2}C^{2}}{4Sh^{4}\lambda^{-1}}\|(\phi,\xi)\|_{*}^{2}\|(t,s)\|_{*}^{2}. Finally, by taking the square root on both sides, we confirm that G^{\prime} is Lipschitz continuous, and ( 4.22 ) is satisfied. Now, under the above analysis, we have established the accelerated convergence of ( 3.1 ). Corollary 4.23 . Theorem 4.6 applies to the fixed-point operator g=G(u,\sigma) from Definition 4.11 , which corresponds to the iteration scheme ( 3.1 ) where the constants in the theorem are given by C_{0}=C_{L} from Lemma 4.12 and C_{1}=\hat{C}_{L} from Lemma 4.21 . 5 Numerical experiments In order to investigate the proposed AA-Picard scheme for the viscoelastic Oldroyd-B model, two well-known benchmark experiments were carried out: flow of Oldroyd-B fluid past a circular cylinder, and flow of Oldroyd-B fluid in an L-shaped domain resulting from a contraction geometry with ratio 4:1. Both experiments were implemented in Python through the open source finite element FENICS library [ 19 ] following the implementation presented in [ 36 ] . As expected in this problem setting, the linear solve time associated with the Picard iteration dominates the run time, and the AA step is nearly negligible. 5.1 Flow past a cylinder experiment In this first experiment we simulate a two-dimensional Oldroyd-B fluid flow past a circular cylinder between two parallel horizontal plates. This is a standard benchmark test for viscoelastic flows, and we follow the setup presented in [ 4 ] . The modeled domain assumes a reflective symmetry of the flow with respect to the central horizontal line equidistant from the two plates (line y=0 in figure 1 ). Thus the model domain is the rectangle [-10,20]\times[0,8] where the cylinder has a unit radius ( R=1 ) with its center at the origin of the Cartesian coordinate system ( C=(0,0) ) giving a ratio of cylinder diameter to channel width equal to \frac{1}{8} . No slip boundary conditions are prescribed on the cylinder surface and on the top plate. A fully developed parabolic flow is prescribed on the upstream \{-10\}\times[0,8] and downstream \{20\}\times[0,8] boundaries by \displaystyle u \displaystyle=\left(\tfrac{3}{2}\left[1-\frac{y^{2}}{h^{2}}\right],0\right), (5.1) \displaystyle T \displaystyle=\left[\begin{matrix}2\lambda\mu_{1}\left(-3\frac{y}{h^{2}}\right)^{2}&\mu_{1}\left(-3\frac{y}{h^{2}}\right)\\ \mu_{1}\left(-3\frac{y}{h^{2}}\right)&0\end{matrix}\right]. (5.2) Finally, a symmetry boundary condition is used downstream and upstream of the cylinder in the line y=0 by setting the vertical velocity component to zero. The polymer viscosity \mu_{1}=\alpha was set to 0.41 and consequently the solvent viscosity \mu_{2}=1-\alpha was set to 0.59 . Figure 1: Flow of an Oldroyd-B past a circular cylinder domain. The domain was discretized through a mesh formed by triangular elements as follows: starting from an initial coarse resolution mesh, first the region of the rectangle [-5,9]\times[0,6] around the cylinder was refined. Then, in this refined region, a second refinement was carried out on the circle of radius 3 concentric to the cylinder. The resulting mesh, presented in figure 2 , has 29,339 triangular elements. Figure 2: Flow of an Oldroyd-B past a circular cylinder mesh. In this experiment we compare the Picard iteration scheme (i.e. ( 3.1 ) using m=0 and \beta=1.0 ) with AA-Picard using varying m and \beta . Simulations were performed using AA-Picard with three parameter settings: (a) with depth m=1 and damping parameter \beta_{k}=1.0 , (b) m=10 and \beta_{k}=0.7 and (c) m=20 and \beta_{k}=0.5 . In both the Picard and AA-Picard methods, the approximate solution was deemed converged when the nonlinear residual fell below 10^{-6} in the infinity norm. Table 1 displays the number of iterations required for convergence with Picard and AA-Picard across different Weissenberg numbers. Although not presented in Table 1 , we emphasize that the drag force exerted on cylinder calculated with the solutions of both iterative schemes are in agreement with the drag force on cylinder obtained in [ 34 ] and [ 4 ] for all values of the Weissenberg number tested. In Table 1 it is seen that, when comparing the two iterations tested, the Picard iteration diverges for the Weissenberg number greater than or equal to 1.2 while the AA-Picard iteration produced convergent solutions up to the Weissenberg number up to 1.6 (for m=20 and \beta=0.5 and m=10 and \beta=0.7 cases). Thus, we see that the use of AA allowed the extension of the values of the Weissenberg number to which the Picard iteration converges. Furthermore, Table 1 demonstrates that incorporating AA into the Picard iteration significantly decreased the number of iterations required to compute the numerical solution of the model. In Table 1 , we also observe that the effectiveness of AA is sensitive to the choice of parameters m and beta. We observe that increasing the value of m resulted in reducing the number of iterations although we note that there is a certain upper limit for m beyond which there is no further effect on reducing the number of iterations. We also observed that reducing the value of the beta parameter also helps both in convergence and in reducing the number of iterations, however for beta we observed the existence of an optimal value (around 0.5) from which reducing the beta value increases the number of iterations again due to the weak upgrade in the input solution of the scheme. Table 1: Comparison between the Picard iteration and the AA-Picard iteration in the flow of an Oldroyd-B model past a circular cylinder experiment. Picard iteration Anderson/Picard iteration m=1 and \beta=1.0 m=10 and \beta=0.7 m=20 and \beta=0.5 \lambda No. iter. No. iter. No. iter. No. iter. 0.0 2 2 3 3 0.1 5 5 7 6 0.2 7 7 7 7 0.3 8 8 8 7 0.4 10 9 9 8 0.5 12 11 10 9 0.6 14 13 11 10 0.7 17 14 12 11 0.8 21 17 13 12 0.9 29 23 15 13 1.0 39 24 17 15 1.1 101 34 19 17 1.2 Diverge 50 22 18 1.3 Diverge 84 24 21 1.4 Diverge 125 29 24 1.5 Diverge Diverge 35 29 1.6 Diverge Diverge 55 42 1.7 Diverge Diverge Diverge Diverge 5.2 Flow of Oldroyd-B fluid in a contracted L-shaped geometry In our second experiment we reproduced the simulation presented in [ 7 ] in order to compare the performance of Picard and AA-Picard. This experiment consists of the flow of an Oldroyd-B fluid in a planar channel with a contraction with a ratio of 4:1 between the upstream and downstream widths (see Figure 3 ). It is known that the flow changes at the upstream channel from a fully developed Poiseuille flow at the inlet end to a flow having a vortex in the central contraction region of the re-entrant corner and then returns at the downstream channel to a fully developed Poiseuille flow at the outlet end. We set the polymer viscosity \mu_{1}=\alpha=\frac{8}{9} , the solvent viscosity \mu_{2}=1-\alpha=\frac{1}{9} and the Weissenberg number was set to \lambda=\frac{7}{10} . The meshes tested in this experiment are listed in table 2 along with its corresponding DoF. Figure 4 presents the coarsest L-shaped geometry mesh in our experiment which has 8,631 DoF when dx=0.25 and dy=0.0625 . The simulation with Anderson acceleration used the damping factors \beta_{k} set to 0.5 and the depth m to 20. In both Picard and AA-Picard iterations the approximated solution was considered achieved when the nonlinear residual between the last two solutions was smaller than 10^{-6} in the infinity norm. Table 2 presents the results obtained with both pure Picard and AA-Picard iterations along with the values of \|u\|_{0} , \|u\|_{1} and \|s\|_{0} presented in [ 7 ] . Comparing the Picard and AA-Picard number of iterations for different mesh resolutions we can see that the number of iteration when using the Picard iteration was very sensitive to the mesh resolution. Moreover, in the 256x128 case the Picard iteration diverges. On the other hand, we see in Table 2 that the AA-Picard iteration was convergent for all meshes and had the number of iterations much less sensitive to mesh resolution when compared to Picard. Thus, in this second experiment we could also see that the use of AA along with the Picard iteration allowed both a lower sensitivity of the iterative method to the mesh resolution and also a greater velocity of convergence when compared to the Picard iteration. Figure 3: Flow of an Oldroyd-B past a circular cylinder mesh. Figure 4: The 32x64 L-shaped geometry mesh. Table 2: Comparison between the pure Picard Iteration and the Picard Iteration boosted by the Anderson acceleration in the flow of an Oldroyd-B model in a contracted L-shaped geometry experiment. Mesh 256x128 32x16 64x32 128x64 256x128 512x256 DoF 114811 8631 33255 130503 516999 2057991 dx 0.03125 0.25 0.125 0.0625 0.03125 0.015625 dy 0.0078125 0.625 0.03125 0.015625 0.0078125 0.00390625 \|u\|_{0} 0.104166 Ervin et al. \|u\|_{1} 0.595209 (2008) \|s\|_{0} 0.932091 No. of iter. (not given) \|u\|_{0} 0.104152 0.104151 0.104147 0.104144 - Picard \|u\|_{1} 0.596802 0.595947 0.595609 0.595458 - \|s\|_{0} 0.929722 0.929508 0.929386 0.929364 - No. of iter. 20 24 38 98 Diverge \|u\|_{0} 0.104152 0.104151 0.104147 0.104144 0.104144 AA-Picard \|u|_{1} 0.596802 0.595947 0.595609 0.595458 0.595398 \|s\|_{0} 0.929722 0.929508 0.929386 0.929364 0.929383 No. of iter. 11 13 14 16 20 6 Conclusions In this study we have introduced, analyzed and evaluated an Anderson accelerated Picard iteration scheme for the Oldroyd-B model of incompressible viscoelastic flows. Firstly we provide a convergence analysis of the proposed nonlinear iterative solver. Also two numerical simulations, namely the flow around a circular cylinder and the experiment involving an L-shaped geometry, showed that with a good choice of the depth m and damping factor \beta , the AA-Picard scheme allows the convergence of the iterative scheme at significantly higher Weissenberg numbers than Picard. Furthermore, it was observed that the AA-Picard scheme converges within substentially less number iterations when compared to the Picard iteration, in simulations in which both schemes are convergent. 7 Appendix Below we present the main part of our Python/Fenics implementation of the Anderson acceleration algorithm for the Picard iteration solver of the Oldroyd-B model. In general terms we use a peculiar list ( MyList class ) which we implemented in order to fit the algorithm needs. l is the Weissenberg number ( \lambda ) and mu1 and mu2 are the polymer ( \mu_{1} ) and solvent ( \mu_{2} ) viscosities, respectively. Then, the AndersonIteration function implements the Anderson iteration algorithm. In the AndersonIteration function, g is the Oldroyd-B/Picard solver. beta is the damping factor \beta_{k} and m is the depth number. At the end of each new Anderson/Picard iteration the CalculateError function calculates the nonlinear residual between the last two solutions. ⬇ class MyList ( list ): def update ( self , index , u , savememory ): if savememory : self . pop (0) self . insert (1, x . copy ( deepcopy = True )) self [1]. vector ()[:] = u else : self . insert ( index , x . copy ( deepcopy = True )) self [ index ]. vector ()[:] = u def mk_insert ( self , index , mk , item ): N = x . vector ()[:]. size y = x . copy ( deepcopy = True ) y . assign ( item ) if mk -1 == 0: self . insert ( index , y . vector ()[:]. reshape ( N , 1) ) else : self . pop (0) self . insert (1, np . c_ [ y . vector ()[:]. reshape ( N , 1), self [-1][:, :( mk -1)]] ) def AndersonIteration ( domain , oldroydb , anderson ): global x def g ( uold , Told ): w = OBModel . SolveOldroydB ( Z , bcs , uold , Told , l , mu1 , mu2 ) return w x = Function ( Z ) k = 0 U = MyList ([ x ]) W = MyList ([ ’none’ ]) W . update (1, g ( U [0]. split ()[1], U [0]. split ()[2]). vector ()[:] - U [0]. vector ()[:], False ) U . update (1, U [0]. vector ()[:] + beta * W [1]. vector ()[:], False ) error = CalculateError ( U ) E = MyList ([ ’none’ ]) F = MyList ([ ’none’ ]) gamma = [ ’none’ ] while error [ ’linf’ ] >= tol and k +1 < kmax : k += 1 W . update ( k +1, g ( U [-1]. split ()[1], U [-1]. split ()[2]). vector ()[:] - U [-1]. vector ()[:], savememory ) if m == 0: U . update ( k +1, U [-1]. vector ()[:] + beta * W [-1]. vector ()[:], savememory ) else : mk = min ( k , m ) # Creating and updating E and F matrix F . mk_insert ( k , mk , W [-1]- W [-2]) E . mk_insert ( k , mk , U [-1]- U [-2]) # Obtaining gamma Q , R = np . linalg . qr ( F [-1]) gamma = np . linalg . lstsq ( R + ( alpha **2)* np . identity ( mk ), np . dot ( Q . T , W [-1]. vector ()[:]))[0] U . update ( k +1, U [-1]. vector ()[:]+ beta * W [-1]. vector ()[:]- np . matmul (( E [-1]+ beta * F [-1]), gamma ), savememory ) error = CalculateError ( U ) return U [-1]