Full text
ADVERTIMENT . La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del servei TDX (www.tesisenxarxa.net) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a TDX (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA. La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del servicio TDR (www.tesisenred.net) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio TDR. No se autoriza la presentación de su contenido en una ventana o marco ajeno a TDR (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING. On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the TDX (www.tesisenxarxa.net) service has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading and availability from a site foreign to the TDX service. Introducing its content in a window or frame foreign to the TDX service is not authorized (framing). This rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author
STABILIZED FINITE ELEMENT METHODS FOR CONVECTION-DIFFUSION-REACTION, HELMHOLTZ AND STOKES PROBLEMS prashanth nadukandi A thesis submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy Departament de Resistencia de Materials i Estructures a l’Enginyeria L’Escola Tècnica Superior d’Enginyers de Camins, Canals i Ports Universitat Politècnica de Catalunya supervisors: Prof. Eugenio Oñate Prof. Julio García location: Barcelona February 2011
Prashanth Nadukandi: Stabilized finite element methods for convection-diffusion-reaction, Helmholtz and Stokes problems, A thesis submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy, © February 2011
ACTA DE CALIFICACIÓN DE LA TESIS DOCTORAL Reunido el tribunal integrado por los abajo firmantes para juzgar la tesis doctoral: Titulodelatesis: .................................................................... Autordelatesis: .................................................................... Acuerda otorgar la calificación de: No apto Aprobado Notable Sobresaliente Sobresaliente Cum Laude Barcelona, ........... de ............................. de ........... El Presidente El Secretario ......................... ......................... (nombre y apellidos) (nombre y apellidos) El vocal El vocal El vocal ......................... ......................... ......................... (nombre y apellidos) (nombre y apellidos) (nombre y apellidos)
To Joanna, with Love.
ABSTRACT We present three new stabilized finite element (FE) based Petrov–Galerkin methods for the convection–diffusion–reaction (CDR), the Helmholtz and the Stokes problems, respectively. The work embarks upon a priori analysis of some consistency recovery procedures for some stabilization methods belonging to the Petrov–Galerkin framework. It was found that the use of some standard practices (e.g.M-Matrices theory) for the design of essentially non-oscillatory numerical methods is not appropriate when consistency recovery methods are employed. Hence, with respect to convective stabilization, such recovery methods are not preferred. Next, we present the design of a high-resolution Petrov–Galerkin (HRPG) method for the CDR problem. The structure of the method in 1d is identical to the consistent approximate upwind (CAU) Petrov–Galerkin method [68] except for the definitions of the stabilization parameters. Such a structure may also be attained via the Finite Calculus (FIC) procedure [141] by an appropriate definition of the characteristic length. The prefix high-resolution is used here in the sense popularized by Harten, i.e.second order accuracy for smooth/regular regimes and good shock-capturing in non-regular regimes. The design procedure in 1d embarks on the problem of circumventing the Gibbs phenomenon observed in L2projections. Next, we study the conditions on the stabilization parameters to circumvent the global oscillations due to the convective term. A conjuncture of the two results is made to deal with the problem at hand that is usually plagued by Gibbs, global and dispersive oscillations in the numerical solution. A multi dimensional extension of the HRPG method using multi-linear block finite elements is also presented. Next, we propose a higher-order compact scheme (involving two parameters) on structured meshes for the Helmholtz equation. Making the parameters equal, we recover the alpha-interpolation of the Galerkin finite element method (FEM) and the classical central finite difference method. In 1d this scheme is identical to the alphainterpolation method [140] and in 2d choosing the value 0.5for both the parameters, we recover the generalized fourth-order compact Padé approximation [81,168] (therein using the parameter γ=2). We follow [10] for the analysis of this scheme and its performance on square meshes is compared with that of the quasi-stabilized FEM [10]. Generic expressions for the parameters are given that guarantees a dispersion accuracy of sixth-order should the parameters be distinct and fourth-order should they be equal. In the later case, an expression for the parameter is given that minimizes the maximum relative phase error in 2d. A Petrov–Galerkin formulation that yields the aforesaid scheme on structured meshes is also presented. Convergence studies of the error in the L2norm, the H1semi-norm and the l∞Euclidean norm is done and the pollution effect is found to be small. Finally, we present a collection of stabilized FE methods derived via first-order and second-order FIC procedures for the Stokes problem. It is shown that several well known existing stabilized FE methods such as the penalty technique, the Galerkin Least Square (GLS) method [93], the Pressure Gradient Projection (PGP) method [35] and the orthogonal sub-scales (OSS) method [34] are recovered from the general vii
residual-based FIC stabilized form. A new family of Pressure Laplacian Stabilization (PLS) FE methods with consistent nonlinear forms of the stabilization parameters are derived. The distinct feature of the family of PLS methods is that they are nonlinear and residual-based, i.e.the stabilization terms depend on the discrete residuals of the momentum and/or the incompressibility equations. The advantages and disadvantages of these stabilization techniques are discussed and several examples of application are presented. Keywords : Convection–diffusion–reaction problem, Helmholtz equation, Stokes flow, Stabilized finite element methods, High-resolution Petrov–Galerkin method, linear interpolation of FEM and FDM stencils, Pressure Laplacian Stabilization, Dispersion analysis. RESUMEN Presentamos tres nuevos métodos estabilizados de tipo Petrov–Galerkin basado en elementos finitos (FE) para los problemas de convección–difusión–reacción (CDR), de Helmholtz y de Stokes, respectivamente. El trabajo comienza con un análisis a priori de un método de recuperación de la consistencia de algunos métodos de estabilización que pertenecen al marco de Petrov–Galerkin. Hallamos que el uso de algunas de las prácticas estándar (por ejemplo, la teoría de Matriz-M) para el diseño de métodos numéricos esencialmente no oscilatorios no es apropiado cuando utilizamos los métodos de recuperación de la consistencia. Por lo tanto, con respecto a la estabilización de convección, no preferimos tales métodos de recuperación. A continuación, presentamos el diseño de un método de Petrov–Galerkin de alta-resolución (HRPG) para el problema CDR. La estructura del método en 1d es idéntico al método CAU [68] excepto en la definición de los parámetros de estabilización. Esta estructura también se puede obtener a través de la formulación del cálculo finito (FIC) [141] usando una definición adecuada de la longitud característica. El prefijo de alta-resolución se utiliza aquí en el sentido popularizado por Harten, es decir, tener una solución con una precisión de segundo orden en los regímenes suaves y ser esencialmente no oscilatoria en los regímenes no regulares. El diseño en 1d se embarca en el problema de eludir el fenómeno de Gibbs observado en las proyecciones de tipo L2. A continuación, estudiamos las condiciones de los parámetros de estabilización para evitar las oscilaciones globales debido al término convectivo. Combinamos los dos resultados (una conjetura) para tratar el problema CDR, cuya solución numérica sufre de oscilaciones numéricas del tipo global, Gibbs y dispersiva. También presentamos una extensión multidimensional del método HRPG utilizando los elementos finitos multi-lineales. A continuación, proponemos un esquema compacto de orden superior (que incluye dos parámetros) en mallas estructuradas para la ecuación de Helmholtz. Haciendo igual ambos parámetros, se recupera la interpolación lineal del método de elementos finitos (FEM) de tipo Galerkin y el clásico método de diferencias finitas centradas. En 1d este esquema es idéntico al método AIM [140] y en 2d eligiendo el valor de 0.5para ambos parámetros, se recupera el esquema compacto de cuarto orden de Padé generalizada en [81,168] (con el parámetro γ=2). Seguimos [10] para el análisis de este viii
CONTENTS introduction 1 i convection-diffusion-reaction problem 5 1 analysis of a consistency recovery method 7 1.1Introduction 7 1.2Transient Convection Diffusion Equation 8 1.2.1Problem Statement 8 1.2.2Dispersion Relation in 1d 10 1.3FE Discretization 10 1.3.1Semi-Discrete Form 10 1.3.2DDR in 1d 12 1.3.3DDR Plots 14 1.3.4Discussion 15 1.4Stabilization Parameters 25 1.5Discrete Maximum Principle 29 1.6Numerical Examples 29 1.6.1Example 129 1.6.2Example 230 1.6.3Example 333 1.6.4Example 433 1.7Conclusions 36 2 a high-resolution petrov–galerkin method in 1d 37 2.1Introduction 37 2.2High-resolution Petrov–Galerkin method 39 2.3Derivation of the HRPG expression via the FIC procedure 42 2.4Gibbs phenomenon in L2projections 43 2.4.1Introduction 43 2.4.2Galerkin Method 44 2.4.3HRPG design 46 2.4.4Examples 48 2.4.5Summary 53 2.5Convection–diffusion–reaction problem 53 2.5.1Galerkin method and discrete upwinding 53 2.5.2Model problem 254 2.5.3Model problem 355 2.5.4Model problem 455 2.5.5Model problem 557 2.5.6Summary 59 2.5.7Examples 59 2.6Conclusions 66 3 multidimensional extension of the hrpg method 69 3.1Introduction 69 xv
xvi contents 3.2Quantifying characteristic layers 70 3.3Objective characteristic tensors 74 3.4Stabilization parameters 76 3.5Examples 77 3.5.1Steady-state examples 77 3.5.2Transient examples 82 3.5.3Discussion 85 3.6Conclusions 91 ii helmholtz problem 95 4 alpha-interpolation of fem and fdm 97 4.1Introduction 97 4.2Problem statement 101 4.3Analysis in 1d 101 4.3.1Introduction 101 4.3.2α-Interpolation of the Galerkin-FEM and the classical FDM 102 4.3.3Dispersion plots in 1d 104 4.3.4Examples 104 4.4Analysis in 2d 108 4.4.1Introduction 108 4.4.2Galerkin FEM using rectangular bilinear finite elements 108 4.4.3A nonstandard compact stencil in 2d 109 4.4.4Numerical solution, phase error and local truncation error 112 4.4.5α-Interpolation of the FEM and the FDM in 2d 115 4.4.6Dispersion plots in 2d 116 4.4.7Examples 118 4.5Conclusions and Outlook 124 5 petrov–galerkin formulation 129 5.1Introduction 129 5.2Mass lumping 130 5.3Variational setting 134 5.4Block finite elements 138 5.4.1 1d linear FE 138 5.4.2 2d bilinear FE 140 5.4.3Stabilization Parameters 141 5.5Simplicial finite elements 142 5.6Examples 144 5.6.1Example 1: Dirichlet boundary conditions 146 5.6.2Example 2: Robin boundary conditions 147 5.7Conclusions 150 iii stokes problem 155 6 pressure laplacian stabilization 157 6.1Introduction 157 6.2Governing equations 159 6.3Integral form of the momentum equations 160
contents xvii 6.4Stabilized form of the incompressibility equation using finite calculus 160 6.4.1Finite calculus 161 6.4.2First order FIC form of the incompressibility equation 163 6.4.3Higher order FIC form of the incompressibility equation 163 6.5On the proportionality between the pressure and the volumetric strain rate 164 6.6A penalty-type stabilized formulation 164 6.7Galerkin-least squares (GLS) formulation 165 6.8Pressure Laplacian stabilization (PLS) method 166 6.8.1Variational form of the mass balance equation in the PLS method 166 6.8.2Computation of the stabilization parameters in the PLS method 167 6.8.3PLS boundary stabilization term 168 6.9Pressure-gradient projection (PGP) formulation 169 6.10 Orthogonal sub-scales (OSS) formulation 170 6.11 PLS+πmethod 171 6.12 Finite element discretization 171 6.12.1Discretized equations 171 6.12.2Solution schemes for penalty, GLS, PLS methods 174 6.12.3Solution scheme for PGP and OSS methods 174 6.13 Definition of the characteristic lengths 175 6.14 Some comments on the different stabilization methods 176 6.14.1Penalty method 176 6.14.2GLS method 176 6.14.3PLS method 176 6.14.4PGP and OSS method 176 6.14.5Comparison between the different stabilization methods 176 6.15 Examples of application 177 6.15.1Hydrostatic flow problem for a single fluid in a square domain 178 6.15.2Two-fluid hydrostatic problem in a square domain 179 6.15.3Poiseuille flow in a trapezoidal domain 180 6.15.4Lid driven cavity problem 180 6.15.5Manufactured flow problem in a trapezoidal domain 181 6.16 Conclusions 184 conclusions 189 bibliography 193
LIST OF FIGURES Figure 1Plot of ω∗ hvs ξ∗for the semi-discrete problem. 16 Figure 2Amplification plots of the semi-discrete problem for the FIC/- SUPG and FIC_RC/OSS methods. 17 Figure 3Contour plot of log10(<(|ω∗ h−ω∗|)) for the backward Euler scheme. 18 Figure 4Contour plot of log10(=(ω∗ h)) for the backward Euler scheme. 19 Figure 5Contour plot of log10(<(|ω∗ h−ω∗|)) for the Crank-Nicholson scheme. 20 Figure 6Contour plot of log10(=(ω∗ h)) for the Crank-Nicholson scheme. 21 Figure 7Contour plot of log10(<(|ω∗ h−ω∗|)) for the BDF2scheme. 22 Figure 8Contour plot of log10(=(ω∗ h)) for the BDF2scheme. 23 Figure 9Real part of the normalized group velocity ∂ω∗ h/∂ξ∗vs. ξ∗for the Crank Nicholson scheme. 24 Figure 10 Plot of optimal α(for the interior nodes) vs. γfor the FIC_RC/OSS method. 26 Figure 11 Node stencil for the 1d problem. 26 Figure 12 Plot of optimal α(for the penultimate boundary nodes) vs. γfor the FIC_RC/OSS method. 27 Figure 13 Plot of optimal α(for the elements adjacent to the boundary) vs. γfor the FIC_RC/OSS method. 28 Figure 14 Example 1: transport of a Gaussian pulse. 31 Figure 15 Example 2: transport of a Gaussian and square pulse. 32 Figure 16 Example 3: transport of a sinusoidal wave. 34 Figure 17 Example 4: steady-state solutions on uniform and nonuniform grids for the FIC/SUPG and FIC_RC/OSS methods. 35 Figure 18 The design problem and monotone solution. 45 Figure 19 The plot of g(η)for η∈[0,1].47 Figure 20 Example 1: HRPG Type I, η1=0.5,η2=0.3.49 Figure 21 Example 1: HRPG Type II, η1=0.5,η2=0.3.49 Figure 22 Example 1: HRPG Type I, η1=1.0,η2=0.0.50 Figure 23 Example 1: HRPG Type II, η1=1.0,η2=0.0.50 Figure 24 Example 2: HRPG Type I. 51 Figure 25 Example 2: HRPG Type II. 52 Figure 26 Example 3: HRPG Type I, total variation plots. 52 Figure 27 Example 3: HRPG Type II, total variation plots. 53 Figure 28 Steady state: (γ,ω,f,φp L,φp R)=(1,5,0,8,3).61 Figure 29 Steady state: (γ,ω,f,φp L,φp R)=(1,20,0,8,3).61 Figure 30 Steady state: (γ,ω,f,φp L,φp R)=(1,120,0,8,3).62 Figure 31 Steady state: (γ,ω,f,φp L,φp R)=(2,2,0,8,3).62 Figure 32 Steady state: (γ,ω,f,φp L,φp R)=(10,4,0,8,3).63 Figure 33 Steady state: (γ,ω,f,φp L,φp R)=(10,20,0,8,3).63 Figure 34 Steady state: (γ,ω,f,φp L,φp R)=(10,200,0,0,1).64 xviii
List of Figures xix Figure 35 Steady state: (γ,ω,f,φp L,φp R)=(10,200,0,1,0).64 Figure 36 Steady state: (γ,ω,f,φp L,φp R)=(2,0,0,0,1).65 Figure 37 Steady state: (γ,ω,f,φp L,φp R)=(2,0,u,0,0).65 Figure 38 Transient case: pure convection example set-167 Figure 39 Transient case: pure convection example set-268 Figure 40 Solution of a singularly perturbed convection–diffusion problem. 71 Figure 41 Parabolic layers in the solution of the heat equation and the diffusion–reaction problem. 73 Figure 42 Matching the parabolic layers in the solution of the heat equation and the diffusion–reaction problem. 73 Figure 43 Anisotropic element length vectors for the 2d bilinear block finite element. 75 Figure 44 Unstructured 20 ×20 meshes made of bilinear block finite elements. 79 Figure 45 Example 1, advection skew to the mesh. 80 Figure 46 Example 2, nonuniform rotational advection. 81 Figure 47 Example 3, a reaction–diffusion problem. 82 Figure 48 Example 4, a convection–diffusion–reaction problem. 83 Figure 49 Example 5, uniform advection with a constant source term. 84 Figure 50 Example 6, non-uniform advection with a constant source term. 85 Figure 51 Example 7, uniform advection with a discontinuous source term. 86 Figure 52 Initial data for the transient 2d advection examples. 87 Figure 53 Example 8, transient pure convection skew to the mesh, elevation plots. 88 Figure 54 Example 8, transient pure convection skew to the mesh, contour plots. 89 Figure 55 Example 9, rotation of solid bodies, elevation plots. 90 Figure 56 Example 9, rotation of solid bodies, contour plots. 91 Figure 57 Example 10, uniform advection with a negative source term 92 Figure 58 Plots of f(ω∗)and ξ∗(ω∗).105 Figure 59 A schematic diagram of a zone of degeneracy. 106 Figure 60 Numerical solutions obtained using at least 8,16,32 and 64 elements per wavelength. 107 Figure 61 A schematic diagram of the contours traced by the numerical solution Ph(ξh 1`,ξh 2`)and the exact solution P(ξβ 1`,ξβ 2`).113 Figure 62 ξ∗ 1−ξ∗ 2contours for ω∗∈{(1/4),(1/9),(1/16),(1/25)}and ω∗ 1= ω∗ 2.119 Figure 63 ξ∗ 1−ξ∗ 2contours for ω∗∈{(1/4),(1/9),(1/16),(1/25)}and ω∗ 2= 0.49ω∗ 1.120 Figure 64 Relative local truncation error plots. 121 Figure 65 Log-scaled relative local truncation error plots. 122 Figure 66 Convergence of the relative error for ξo=10√10.125 Figure 67 Convergence of the relative error for ξo=100.126 Figure 68 Convergence of the relative error in the l∞Euclidean norm. 127
Figure 69 Test functions corresponding to the 1d linear FE that results in mass lumping. 133 Figure 70 Comparison of the test function wand trial solution φof a generic Discontinuous–Galerkin method with those of the current Petrov–Galerkin method. 134 Figure 71 Schematic diagrams of an arbitrary element K∈Thand a test function defined over it. 135 Figure 72 A model for the PG weights on the element edges corresponding to the 1d linear FE. 139 Figure 73 Stencils obtained by using a structured simplicial finite element mesh. 142 Figure 74 Meshes made of bilinear block finite elements. 145 Figure 75 Convergence of the relative error in the L2norm using β= (π/9) and Dirichlet boundary conditions. 148 Figure 76 Convergence of the relative error in the H1semi-norm using β= (π/9)and Dirichlet boundary conditions. 149 Figure 77 Convergence of the relative error in the l∞Euclidean norm using β= (π/9)and Dirichlet boundary conditions. 150 Figure 78 Convergence of the relative error in the L2norm using β= (π/9) and Robin boundary conditions. 151 Figure 79 Convergence of the relative error in the H1semi-norm using β= (π/9)and Robin boundary conditions. 152 Figure 80 Convergence of the relative error in the l∞Euclidean norm using β= (π/9)and Robin boundary conditions. 153 Figure 81 Finite-size balance domain used in FIC. 161 Figure 82 Solution of the hydrostatic flow problem in a square domain. 179 Figure 83 Convergence of the PLS method for the two-fluid hydrostatic problem. 179 Figure 84 Trapezoidal domain discretized by a symmetrical mesh of 2× 10 ×10 3-node triangles. 180 Figure 85 Poiseuille flow in a trapezoidal domain: pressure plots. 181 Figure 86 Poiseuille flow in a trapezoidal domain: velocity plots. 182 Figure 87 Convergence of the PLS solution for the Poiseuille flow problem. 183 Figure 88 Lid driven cavity problem: pressure elevation plots. 185 Figure 89 Lid driven cavity problem: pressure contour plots. 186 Figure 90 Convergence of PLS results for the lid driven cavity problem. 187 Figure 91 Manufactured flow problem: convergence rates for the GLS, OSS, PLS and PLS+πmethods. 187 LIST OF TABLES Table 1Matrix definitions for FIC and FIC_RC methods 12 xx
List of Tables xxi Table 2Perturbations associated with Petrov–Galerkin methods 41 Table 3Test functions corresponding to some finite elements 132
Let auspicious thoughts come unto us from every direction. — Rig Veda I:89.1. INTRODUCTION This thesis consists of three parts. The first part describes the work done on the convection–diffusion–reaction problem, the second one deals with the Helmholtz problem and the third one deals with the Stokes problem. In each part we propose a new stabilized finite element based Petrov–Galerkin method for the corresponding problem. The work presented in each part is independent from the rest of the parts and hence can be read arbitrarily. The motivation for the current work is in the quest to develop new numerical methods capable of providing stable and accurate solutions to the problems of fluid mechanics and their interaction with structures. The work presented here is the first step towards this objective. This is done by the study of the convection–diffusion– reaction, the Helmholtz and the Stokes problems. These problems are of vital importance as they are the simplest models related to transport processes, wave propagation phenomenon and associated numerical difficulties that arise in fluid flow problems and fluid-structure interaction. The convection–diffusion–reaction equation is an ideal model problem to study the stabilization of singularly perturbed problems. Ten typical problems where the convection–diffusion phenomenon occurs is listed in [134]. For instance, a common source is the linearization of Navier–Stokes equations with large Reynolds number. The Helmholtz equation is an ideal model problem to study the so-called pollution effect. It is also the simplest model problem concerning wave propagation phenomenon, viz. acoustics, elastodynamics, fluid-structure interaction, electrodynamics etc. [106]. A simple one-dimensional fluid-structure interaction problem modeled using the Helmholtz equation was presented in [47, Section 5]. The Stokes problem is the simplest model describing incompressible flow of a viscous fluid and thus are ideal to study pressure stabilization, i.e.circumventing the div-stability condition (also known as the Ladyzhenskaya-Babuska-Brezzi condition) that the finite element spaces should otherwise satisfy. We refer to [75, Chapter 2] for an exposition of the same. The point of departure was initially set to the analysis of an approach that has been gaining momentum in the literature: consistency recovery procedures1for lowerorder stabilized finite element methods. For residual-based stabilization methods, the higher-order derivatives of the residual that appear in the stabilization terms vanish when lower-order finite elements are used. Consistency recovery methods have been advocated for these cases and have been shown to result in improved accuracy for some problems [111,148]. To be precise, the improved accuracy was reported for other related unknowns of the problem (e.g.the pressure field) and not for the transported unknown (e. g.the velocity field). The first chapter of this thesis discusses the gain/loss by recovering the consistency of the discrete residual in the stabilization terms via the form that includes the convective projection variable (as in the OSS method [34]) for 1also know as residual correction methods 1
2 introduction the 1d convection-diffusion equation. The dispersion analysis of the semi-discrete and fully-discrete problems was done and no gain in the dispersion accuracy is found by including the convective projection variable. Further, the optimal expression of the stabilization parameter on uniform meshes for the steady-state case and including the convective projection variable revealed a strategical difficulty in the development of discontinuity capturing methods. Hence, we do not prefer this consistency recovery method in the stabilization of singularly perturbed problems. In the second chapter we present the design of a high-resolution Petrov–Galerkin (HRPG) method for the 1d convection–diffusion–reaction problem. The problem is studied from a fresh point of view, including practical implications on the formulation of the maximum principle, M-Matrices theory, monotonicity and total variation diminishing (TVD) finite volume schemes. The prefix high-resolution is used here in the sense popularized by Harten [82] in the finite-difference and finite-volume community, i.e.second order accuracy for smooth/regular regimes and good shockcapturing in non-regular regimes. The HRPG method is designed using the divide and conquer strategy, i.e.the original problem is further divided into smaller model problems where the different types of numerical artifacts that plague the original problem are singled-out and the expressions for the stabilization parameters are derived/updated to treat them effectively. Several 1d examples are presented that support the design objective—stabilization with high-resolution. In the third chapter we present a multi dimensional extension of the HRPG method using multi-linear block finite elements. In higher dimensions the solutions to the convection–diffusion–reaction problem might additionally develop characteristic layers. These layers are a unique feature of multi dimensions and hence have no instances in 1d. So we design a nondimensional element number that quantifies the characteristic layers. By quantification we mean that it should serve a similar purpose in the definition of the stabilization parameters as the element Peclet number does for the exponential layers. Although the structure of HRPG method in 1d is identical to the consistent approximate upwind Petrov–Galerkin method [68], in multi dimensions the former method has a unique structure. The distinction is that in general the upwinding is not streamline and the discontinuity-capturing is neither isotropic nor purely crosswind. In this line, we present anisotropic element length vectors and using them objective characteristic tensors associated with the HRPG method are defined. Except for the modification to include the new dimensionless number that quantifies the characteristic layers, the definition of the stabilization parameters calculated along the element length vectors are a direct extension of their counterparts in 1d. The strategy used to treat the artifacts about the characteristic layers is to treat them just like the artifacts found across the parabolic layers in the reaction-dominant case. Several 2d examples are presented that illustrate not only the advantages of the HRPG method but also its limitations. Of course, the advantages outscore the limitations. The second part of this thesis deals with the work on the Helmholtz problem. Although this equation is related to some fluid-structure interaction problems, the events that lead to the work presented here had a modest kickoff. Chronologically, the work began just after the development of the HRPG method for the 1d convection– diffusion–reaction problem. As the properties of the Helmholtz equation is shared by the diffusion–production problem (obtained using a negative reaction co-efficient), we were curious to investigate if the HRPG form be efficient to solve this case. As
1.2Transient Convection Diffusion Equation 9 FIC formulation of this problem (neglecting the time stabilization terms [145]) is as follows: r−1 2h·∇r=0in Ω(1.2a) φ(x,t=0) = φo(x)in Ω(1.2b) φh=φpon ΓD(1.2c) k∇φh·n+1 2(h·n)r=qpon ΓN(1.2d) r:= ∂φ ∂t +u·∇φ−∇·(k∇φ) − f(1.2e) Let ·,·and ·,·ΓNdenote the L2(Ω)and L2(ΓN)inner products respectively. The variational form of the problem (1.1) can be expressed as follows: Find φ: [0,T]7→ V such that ∀w∈V0we have, aw,φ=lw(1.3a) aw,φ:= w,∂φ ∂t +w,u·∇φ+∇w,k∇φ(1.3b) lw:= w,f+w,qpΓN(1.3c) where V:= {w:w∈H1(Ω)and w=φpon ΓD},V0:= {w:w∈H1(Ω)and w= 0on ΓD}. For the FIC equations the variational form can be expressed as follows: Find φ: [0,T]7→ Vsuch that ∀w∈V0we have, aw,φ+1 2∇·(hw),r=lw(1.4) The calculation of the residual contribution in the stabilization term can be simplified if we introduce the projection of the convective term πvia an auxiliary equation defined as, π=u·∇φ−r(1.5) We express the residual, r, that occurs in the stabilization term ∇·(hw),ras a function of π. Thus πbecomes an addendum to the set of unknowns to be found. The integral equation system is now augmented forcing that the residual rexpressed in terms of πvia Eq.(1.5) vanishes (in average) over the analysis domain. Problem (1.4) after the addendum of the convective projection πis expressed as follows: Find φ: [0,T]7→ Vand π∈H1(Ω)such that ∀(w,z)∈(V0(Ω),H1(Ω)), aw,φ+1 2∇·(hw),u·∇φ−π=lw(1.6a) z,π=z,u·∇φ(1.6b) We remark that the projection of the convective term provides consistency to the formulation, i.e.the system of equations (1.6) have the residual form which vanishes for the exact solution. Henceforth we refer to the formulation given by the equation (1.6) as the FIC formulation with recovered consistency (FIC_RC). The convective projection is expected to capture the otherwise lost effect of higher order terms in the residual when simplicial elements are used. The introduction of the convective projection variable πwas deduced from the OSS approach in [34].
10 1 analysis of a consistency recovery method 1.2.2Dispersion Relation in 1d Any equation that admits plane wave solutions of the form exp[i(ωt −ξx)], but with the property that the speed of propagation of these waves is dependent on ξ, is generally referred to as a dispersive equation. Here ξ,ωare the angular wave-number and the frequency, respectively. The equation that expresses ωas a function of ξis known as the dispersion relation. Generally the transient convection-diffusion equation is a dispersive equation. In the limit, when diffusion tends to zero and the equation morphs into a pure convection problem, it tend to become non-dispersive [183]. In 1d and for the sourceless case (f=0), Eq.(1.1a) can be expressed as follows: ∂φ ∂t +u∂φ ∂x −k∂2φ ∂x2=0(1.7) For a given discretization of size `in space and an increment θin time, we express the Courant and Peclet numbers as C=uθ `and γ=u` 2k . We write down the dispersion relation (Eq. 1.8) for the continuous problem (Eq. 1.7) by propagating the plane wave solution φ=exp[i(ωt −ξx)]. From Eq.(1.8) we obtain, taking the limit k→0or γ→∞, the dispersion relation for the pure convection problem. ω=uξ +ikξ2(1.8a) ωθ =C(ξ`) + iC 2γ(ξ`)2(1.8b) Now let us consider the amplification of the solution from time step nto n+1and at some given spatial point. The amplification parameter βas defined in [44] is given by Eq.(1.9). It can be clearly seen that βis stationary in time and uniform in space. The amplification and phase shift per time step are given by the magnitude and argument of Eq.(1.9), respectively. Thus for the pure convection problem we can see that the amplification is unity, i.e.|β|=1. The phase and group velocities are given by the Eqs. (1.10a) and (1.10b) respectively [73]. β=φn+1 j φn j =exp[iωθ]=exp−kθξ2exp[iuθξ]=exp−C 2γ(ξ`)2exp[iC(ξ`)](1.9) Vp(ξ) = ω(ξ) ξ(1.10a) Vg(ξ) = ∂ω(ξ) ∂ξ (1.10b) 1.3 fe discretization 1.3.1Semi-Discrete Form The semi-discrete (continuous in time, discrete in space) counterpart of the FIC method (1.4) can be written as follows: Find φh: [0,T]7→ Vhsuch that ∀wh∈Vh 0we have, awh,φh+X e 1 2∇·(hwh),rhΩe=lwh(1.11)
1.3FE Discretization 11 where Vh⊂Vand Vh 0⊂V0. The stabilization term in Eq.(1.11) has been expressed as a sum of the element contributions to allow for inter-element discontinuities in the term ∇rhof Eq.(1.2), where rh:= r(φh)is the residual of the FE approximation of the infinitesimal governing equation and ·,·Ωedenote the L2(Ωe)inner product. Similarly the discrete counterpart of the FIC_RC method (1.6) can be written as: Find φh: [0,T]7→ Vhand πh∈H1(Ω)such that ∀(wh,zh)∈(Vh 0(Ω),H1(Ω)), awh,φh+X e 1 2∇·(hwh),u·∇φh−πhΩe=lwh(1.12a) zh,πh=zh,u·∇φh(1.12b) The variables in the Eqs.(1.11) and (1.12) interpolated by finite element shape functions Nacan be expressed as follows: φh=Naφa,πh=Naπa,wh=Nawa,zh=Naza(1.13) where ais the spatial node index. The discrete problems (1.11) and (1.12) can be written in matrix notation via Eqs.(1.14) and (1.15), respectively, as follows: [M+S2]˙ Φ+ [C+D+S1+S3]Φ=fg +fs (1.14) M˙ Φ+ [C+D+S1]Φ−S2Π =fg (1.15a) MΠ−CΦ=0(1.15b) where Φ:= {φa}and Π:= {πa}represent the vector of nodal unknowns. The element contributions to the matrices and vectors in Eqs.(1.14) and (1.15) are given by Ce ab =Na,u·∇NbΩe,De ab =∇Na,k∇NbΩe(1.16a) Me ab =Na,NbΩe,S1e ab =1 2∇·(hNa),u·∇NbΩe(1.16b) S2e ab =1 2∇·(hNa),NbΩe,S3e ab = −1 2∇·(hNa),∇·(k∇Nb)Ωe (1.16c) fge a=Na,fΩe+Na,qpΓN,fse a=1 2∇·(hNa),fΩe(1.16d) Note that Eq.(1.15b) correspond to the L2-projection of the term u·∇φhonto the space spanned by the shape functions. Whenever the later term admits discontinuities the projection is non-monotone [34]. A monotone projection of the convective term can be achieved if the mass matrix Mthat appears in Eq.(1.15b) is lumped. Also the expression for Πwill have local support only when Mis lumped. This feature allows us to study generic nodal equation stencils for the interior of the domain. Henceforth we always consider the Eq.(1.15b) with Mlumped. Eqs.(1.14) and (1.15) may be expressed in a general form as shown in Eq.(1.17). Table 1defines the corresponding matrices for the FIC and FIC_RC methods. T˙ Φ+ [C+D+S]Φ=f(1.17)
12 1 analysis of a consistency recovery method FIC FIC_RC T-lumped ML+S2ML T-consistent M+S2M S S1+S3S1−S2M−1 LC f fg+fs fg Table 1: Matrix definitions for FIC and FIC_RC methods where matrix Tis the ’effective’ mass matrix. Note that for the direction of hbeing the same as that of the velocity u, i. e.h= 2τuand assuming τconstant within an element, the form of the stabilization term ∇·(hwh),rhΩein Eq.(1.11) is identical to that of the standard SUPG method. Thus with this choice of hthe FIC and FIC_RC methods are identical to the SUPG and OSS (orthogonal sub-scales) methods respectively. The general direction of hintroduces naturally stabilization along the streamlines and also along the directions of the gradient of the solution transverse to the velocity vector. The FIC formulation therefore incorporates the best features of the SUPG and the shock-capturing methods. Applications of the FIC-FEM formulation to a wide range of convection-diffusion problems with sharp gradients are presented in [154]. We remark that in 1d (assuming hconstant within an element) the FIC and the FIC_RC methods are identical to the SUPG and OSS methods respectively. Thus the conclusions made between the FIC and FIC_RC methods may be carried over to those between SUPG and OSS methods. 1.3.2DDR in 1d The DDR of the semi-discrete problem (semi-DDR) and when the temporal terms are discretized using two class of time discretization schemes are investigated in this section. The time discretization schemes considered are the trapezoidal scheme and the second-order backward differencing formula (BDF2). The effects on the numerical dispersion due to the choice of the form of the effective mass matrix T(lumped or consistent) in Eq.(1.17) are also studied. The flag lumped or consistent refers only to the matrix T as defined in Table 1for the FIC and FIC_RC methods. The DDRs are written by inserting a plane wave solution of the form φ=exp[i(ωt −ξx)] into the corresponding equation stencils. Taking the limit γ→∞we recover the DDR for the pure convection problem. 1.3.2.1Semi-DDR We study the equation stencil for an interior node of the semi-discrete problem given by Eq.(1.17) with f=0in 1d. For a compact representation of the stencils we introduce the following definition, (?) := (u 2)(φj+1−φj−1) − (k `+uα 2)(φj+1−2φj+φj−1)(1.18)
1.3FE Discretization 13 FIC/SUPG method: (` 6)(−3α 2)˙ φj+1+6˙ φj+ (3α 2)˙ φj−1+ (?) = 0,T-lumped (1.19a) (` 6)(1−3α 2)˙ φj+1+4˙ φj+ (1+3α 2)˙ φj−1+ (?) = 0,T-consistent (1.19b) FIC_RC/OSS method: `˙ φj+ (?) + (uα 8)(φj+2−2φj+φj−2) = 0,T-lumped (1.20a) (` 6)( ˙ φj+1+4˙ φj+˙ φj−1) + (?) + (uα 8)(φj+2−2φj+φj−2) = 0,T-consistent (1.20b) Making α=0in Eqs. (1.19) and (1.20) we recover the standard Galerkin method. The Semi-DDRs for all the methods and for the T-lumped, T-consistent cases can be expressed in a generic and compact manner as follows: ωh= −iB θA (1.21) where, A:= 1 CGalerkin, FIC_RC/OSS methods, T-lumped 2+cos(ξ`) 3C Galerkin, FIC_RC/OSS methods, T-consistent 1 C+iα 2C sin(ξ`)FIC/SUPG methods, T-lumped 2+cos(ξ`) 3C +iα 2C sin(ξ`)FIC/SUPG methods, T-consistent (1.22a) B:= isin(ξ`) − 2sin2(ξ` 2)1 γGalerkin method isin(ξ`) − 2sin2(ξ` 2)1 γ+αFIC/SUPG methods isin(ξ`) − 2sin2(ξ` 2)1 γ+αsin2(ξ` 2)FIC_RC/OSS methods (1.22b) 1.3.2.2Trapezoidal Scheme The structure of the equation stencil for an interior node with respect to the spatial indices is the same as in the semi-discrete problem. Henceforth we express the fully discrete system in the matrix notation only. T·Φn+1−Φn θ+ [C+D+S]·Φn+σ=0(1.23a) Φn+σ:= σ Φn+1+ (1−σ)Φn(1.23b)
14 1 analysis of a consistency recovery method Making σ={0,0.5,1}we recover the forward Euler, Crank-Nicholson and backward Euler schemes respectively. The DDR for the trapezoidal scheme can be expressed in terms of Aand Bdefined in Eq.(1.22) as follows, exp[iωhθ]=A+ (1−σ)B A−σB or equivalently, (1.24a) tanωhθ 2= −iB 2A + (1−2σ)B(1.24b) 1.3.2.3BDF2Scheme The fully discrete system of equations after time discretization by the BDF2scheme is given by, T·3Φn+1−4Φn+Φn−1 2θ + [C+D+S]·Φn+1=O(1.25) The DDR for the BDF2scheme is a quadratic relation in exp[iωhθ]. The solution to the quadratic equation gives two expressions for the DDR, which can be expressed as follows: exp[iωhθ]=2A +√A2+2AB 3A −2B (1.26a) exp[iωhθ]=2A −√A2+2AB 3A −2B (1.26b) We remark that the solution given by Eq.(1.26b) predicts negative values of <(ωh)1 for positive wave-numbers. Thus, we consider the solution given by Eq.(1.26a) as the only acceptable solution. 1.3.3DDR Plots The DDRs presented in the previous section represent the frequency as a function of six independent variables, i.e.ωh:= ωh(ξ,`,θ,C,γ,α). For a feasible graphical representation of the DDRs we freeze some of them and normalize the frequency and wavenumbers to retain maximum generality. In the DDR plots we consider only the pure convection problem (k=0). The stabilization parameter α=1.0is chosen. This corresponds to the optimal value for the SUPG/FIC method in 1d and for a uniform mesh. This choice is made for convenience and comparison of the effects of the stabilization term introduced by the considered methods. Note that the DDRs are periodic in ξand the corresponding fundamental domain is ξ∈[−π/`,π/`]. The Nyquist frequency in space is ξnq =π/` and in time is ωnq =π/θ. Thus in the DDR plots we do not consider wavenumbers and frequencies beyond the Nyquist limits. It can be shown with respect to the exact dispersion relation (Eq. 1.8) that this condition corresponds to choosing C⩽1. We normalize the wavenumber ξby the Nyquist limit ξnq, i.e.ξ∗=ξ/ξnq. The frequency ωhis normalized as ω∗ h=ωh/(uξnq) = ωhθ/(Cπ) = ωh`/(uπ). The DDRs are now expressed with respect to the normalized wavenumber and frequency, i.e.ω∗ h:= ω∗ h(ξ∗,C). The plotting domain considered is (ξ∗,C)=(0,1)×(0,1). 1The real and imaginary parts of ωhare denoted as <(ωh)and =(ωh), respectively
1.3FE Discretization 15 1.3.3.1Semi-discrete case For the semi-discrete problem the DDR no longer depends on θ. The frequency ω∗ h is now only a function of ξ∗, i.e.ω∗ h:= ω∗ h(ξ∗). The amplification at time tn=nθ is given by exp[−=(ωh)tn] = exp[−=(ω∗ h)π(utn/`)] = exp[−=(ω∗ h)πCn]. This means that should =(ω∗ h)6=0the amplification at any given time is independent of the time step θbut dependent on the space discretization `. Thus we present 1d plots for the following: • Plot of <(ω∗ h)vs ξ∗. The departure wavenumber ξ∗ dis marked such that ∀ξ∗⩽ ξ∗ dwe have |<(ω∗−ω∗ h)|⩽0.001 (Figure 1). • Amplification plots using C=0.1and at times θ,2θ,100θ,200θ, and 300θ sec (Figure 2). 1.3.3.2Fully discrete case For the fully discrete case the time integration schemes considered are: the backward Euler,Crank-Nicholson and BDF2. The frequency is now a function of both ξ∗and C, i.e.ω∗ h:= ω∗ h(ξ∗,C). The amplification at time tn=nθ is given by exp[−=(ω∗ h)π(utn/`)]; the same as for the semi-discrete case except for the fact that ω∗ his now dependent on Calso. Contour plots are presented for the following, • log10(|<(ω∗−ω∗ h)|)vs. (ξ∗,C). The contour of values {−5,−4,−3,−2,−1}are shown (Figures 3,5and 7). • log10(=(ω∗ h)) vs. (ξ∗,C). The contour of values {−3,−2.5,−2,−1.5,−1,−0.5,0} are shown (Figures 4,6and 8). Only the contour plots for the normalized group velocity, i.e.∂ω∗ h/∂ξ∗vs (ξ∗,C), for the Crank-Nicholson scheme have been presented (Figure 9). The original group velocity can be recovered as follows: ∂ωh/∂ξ =u ∂ω∗ h/∂ξ∗. 1.3.4Discussion It can be seen from the DDR plots that every discrete model and also the semi-discrete model of the continuous problem diverges from the exact dispersion relation beyond a certain wave-number, here ξ∗ d(Figures 1,3,5and 7). For the semi-discrete case, ξ∗ d is marked in the plots and for the fully discrete case ξ∗ dis a contour line given by the value −3.ξ∗ dis greater when we use a consistent mass matrix for the transient terms in the formulation. Thus, one should expect better phase fidelity over a wider range of wave numbers using a consistent mass matrix. The gain in the value of ξ∗ dfrom lumped Tcase to the consistent Tcase gradually decreases as the Courant number Cincreases (except for a certain range of the Courant number Cfor the FIC/SUPG method). We now examine the differences in the DDR plots between the Galerkin method and the DDR plots of the FIC/SUPG and FIC_RC/OSS methods. It is interesting that the stabilization terms introduced by the FIC_RC/OSS method do not alter much the location of the phase departure wave-number ξ∗ d. On the other hand, the stabilization terms introduced by the FIC/SUPG method contribute to the Tmatrix (Table 1).
16 1 analysis of a consistency recovery method 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.085 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, Galerkin, Lumped ω* Re(ωh *) Im(ωh *) 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.279 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, Galerkin, Consistent ω* Re(ωh *) Im(ωh *) 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.086 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, FIC/SUPG, Lumped ω* Re(ωh *) Im(ωh *) 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.236 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, FIC/SUPG, Consistent ω* Re(ωh *) Im(ωh *) 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.085 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, FIC_RC/OSS, Lumped ω* Re(ωh *) Im(ωh *) 0 0.050.1 0.15 0.20.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 ξd * = 0.279 Normalized Wavenumber ξ* Normalized Frequency ω* Semi−Discrete, FIC_RC/OSS, Consistent ω* Re(ωh *) Im(ωh *) Figure 1: Plot of ω∗ hvs ξ∗for the semi-discrete problem. Frequencies ω∗and ω∗ hcorrespond to the continuous and discretized problems respectively. α=1.0is used.
1.3FE Discretization 17 0 0.050.1 0.15 0.2 0.25 0.3 0.35 0.40.45 0.50.55 0.6 0.65 0.70.75 0.8 0.850.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 Normalized Angular Wavenumber ξ* Amplification Semi−Discrete, FIC/SUPG, Lumped time = θ time = 2θ time = 100θ time = 200θ time = 300θ 0 0.050.1 0.15 0.2 0.25 0.3 0.35 0.40.45 0.50.55 0.6 0.65 0.70.75 0.8 0.850.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 Normalized Angular Wavenumber ξ* Amplification Semi−Discrete, FIC/SUPG, Consistent time = θ time = 2θ time = 100θ time = 200θ time = 300θ 0 0.050.1 0.15 0.2 0.25 0.3 0.35 0.40.45 0.50.55 0.6 0.65 0.70.75 0.8 0.850.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 Normalized Angular Wavenumber ξ* Amplification Semi−Discrete, FIC_RC/OSS, Lumped time = θ time = 2θ time = 100θ time = 200θ time = 300θ 0 0.050.1 0.15 0.2 0.25 0.3 0.35 0.40.45 0.50.55 0.6 0.65 0.70.75 0.8 0.850.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 Normalized Angular Wavenumber ξ* Amplification Semi−Discrete, FIC_RC/OSS, Consistent time = θ time = 2θ time = 100θ time = 200θ time = 300θ Figure 2: Amplification plots of the semi-discrete problem for the FIC/SUPG and FIC_RC/OSS methods. α=1.0and C=0.1are used. The amplification for the Galerkin method is not shown here as it is equal to 1
18 1 analysis of a consistency recovery method −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, Galerkin, Lumped 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, Galerkin, Consistent 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, FIC/SUPG, Lumped 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −5 −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, FIC/SUPG, Consistent 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, FIC_RC/OSS, Lumped 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −5 −5 −5 −5 −5 −5 −4 −4 −4 −4 −4 −4 −3 −3 −3 −3 −3 −3 −2 −2 −2 −2 −2 −2 −1 −1 −1 −1 −1 −1 Courant Number C Normalized Wavenumber ξ* Backward Euler, FIC_RC/OSS, Consistent 0 0.050.10.15 0.2 0.25 0.3 0.35 0.4 0.450.5 0.55 0.6 0.650.7 0.750.8 0.85 0.9 0.95 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 Figure 3: Contour plot of log10[<(|ω∗ h−ω∗|)] for the backward Euler scheme. α=1.0is used.
1.4Stabilization Parameters 25 Although for higher Courant number Cthe effect on the location of ξ∗ dis negligible, significant alterations in ξ∗ dare found for a lower Cand a consistent Tmatrix (Figures 3,5and 7). When Tis lumped, all the methods give similar patterns for ξ∗ dindicating that stabilization terms have no role to play in the improvement of the DDRs. Next, we examine the effect of the variation in Con the <(ω∗ h)vs ξ∗relation for the FIC and SUPG methods with consistent Tmatrix and the Crank Nicholson scheme. Again, we choose ξ∗ dusing the criterion: ∀ξ∗⩽ξ∗ dwe have |<(ω∗−ω∗ h)|⩽0.001. In Figure 5this corresponds to the contour line for the value −3. It can been seen in the semi-discrete case that <(ω∗ h)><(ω∗)for lower wavenumbers (Figure 1). In addition, the error <(ω∗ h−ω∗)first increases and later decreases. This behavior is exhibited in the fully discrete case too. Thus, there will be multiple contours of the same value in the log10(|ω∗ h−ω∗|)vs (ξ∗,C)contour plots. In this case ξ∗ dis the smallest ξ∗on the contours. For instance, choosing C=0.4for the FIC and SUPG methods we find ξ∗ d≈0.35, where as for the Galerkin, FIC_RC and OSS methods we find ξ∗ d< 0.2(Figure 5). Thus, there is a significant improvement in the DDR for the FIC and SUPG methods for this value of C. It is interesting to note that for C⩽0.1 the variation of DDR with Cis insignificant. Similar conclusion can be made for the backward Euler and BDF2schemes from their respective DDR plots. It can be seen from the amplification plots (Figures 2,4,6and 8) that for the same value of α(here α=1.0) and using a consistent Tmatrix, the damping associated with the FIC/SUPG method is relatively less than that of the FIC_RC/OSS method, though the gain is not significant for low wavenumbers. On the other hand, using a lumped Tmatrix the difference in the amplification associated with FIC/SUPG and FIC_RC/OSS methods is insignificant. It can also be seen that unlike the notable differences in the location of ξ∗ d, the differences in the amplification due to lumping the Tmatrix is insignificant. An important aspect is the effect of group velocity. This is more evident when the transported function is periodic and resembles a sinusoid wave train. For such functions, the Fourier transform is a narrow peak concentrated around the characteristic angular wave number of the function. For such problems the effect of the group velocity is more significant than that of phase velocity. If the DDR predicts a deviation in the group velocity then the wave train travels at that deviant velocity (Example 1.6.3). 1.4 stabilization parameters In this section, the optimal expressions of the stabilization parameters for the FIC_RC method in 1d and on a uniform mesh are proposed. We consider the steady-state form of the discrete problem (1.17) for the sourceless case (f=0). The equation stencil for an interior node jis as follows: (u 2)[φj+1−φj−1]−(k+uh 2)[φj+1−2φj+φj−1 `]+(uh 8)[φj+2−2φj+φj−2 `] = 0 (1.27) The analytical solution of the steady-state form of problem (1.17) in the 1d space with only Dirichlet boundary conditions and source f=0is, φ(x) = φp l+ (φp r−φp l)exp[ux/k] − 1 exp[uL/k] − 1(1.28)
26 1 analysis of a consistency recovery method −20 −15 −10 −5 0 5 10 15 20 −2 −1.75 −1.5 −1.25 −1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 α γ Plot of α = −sinh−2(γ)[coth(γ) − γ−1] Figure 10: Optimal expression of αfor the FIC_RC/OSS method. Plot of αvs. γfor the interior nodes. Figure 11: Node stencil for the 1d problem. where Lis the length of the 1d domain and φp l,φp rare the prescribed values of φat the left and right ends of the domain respectively. We now express the characteristic length in terms of the element size as h=α `. The optimal value of the stabilization parameter αis found by substituting the analytical solution into the stencil given in Eq.(1.27). This leads to the following expression of αfor the interior nodes. α=−1 sinh2(γ)coth(γ) − 1 γ(1.29) where, γis the element Peclet number given by γ=u` 2k . The plot of the parameter αvs. γis shown in Figure 10. It can be seen that α≈0for γ⩾3. So for high Peclet numbers the formulation suggests to use very small values of α. That is for large values of γthe formulation breaks down into the standard Galerkin method without stabilization and one can expect spurious oscillations in the numerical solution. The clues to reason out this behavior can be found by examining the assembly of the linear system. The 1d problem is discretized by linear elements and the final form of the finite element assembly is examined. For simplicity, the nodes are numbered from left to right as shown in Figure 11. For the interior nodes, the equation stencil is as given by Eq.(1.27). For the left penultimate boundary node, here node 2as per the numbering scheme Figure 11, we find the following stencil: (u 2)[φ3−φ1] − (k+uh 2)[φ3−2φ2+φ1 `] + (uh 8)[φ4−3φ2+2φ1 `] = 0(1.30)
1.4Stabilization Parameters 27 −20 −15 −10 −5 0 5 10 15 20 −2 −1.75 −1.5 −1.25 −1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 α2 γ Plot of α2 = 4*(2−e(2γ))−1[coth(γ) − γ−1] −20 −15 −10 −5 0 5 10 15 20 −2 −1.75 −1.5 −1.25 −1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 αn γ Plot of αn = 4*(2−e(−2γ))−1[coth(γ) − γ−1] Figure 12: Plot of optimal α(for the penultimate boundary nodes) vs. γfor the FIC_RC/OSS method. For the right penultimate boundary node, i.e the node nin Figure 11, we find the following stencil: (u 2)[φn+1−φn−1] − (k+uh 2)[φn+1−2φn+φn−1 `] + (uh 8)[2φn+1−3φn+φn−2 `] = 0(1.31) Thus, we see that there is a rearrangement of the equation stencils for the nodes that lie next to the boundary. The stencils for the boundary nodes also gets rearranged, but we do not consider them here as the focus here is to deal problems with Dirichlet boundary conditions. The deviation of the nodal equations for the penultimate nodes from the interior nodes is responsible for the spurious oscillations. It has been shown using a spectral analysis framework in [163,164] that the asymmetry in the stencils brings about anti-diffusion even when they are used with central difference schemes and their effect is not localized, thus being responsible for spurious numerical oscillations. A simpler explanation would be that the rearrangement of the stencils near the boundary require different expressions for the stabilization parameter for those nodes. The optimal values of the stabilization parameters for these penultimate nodes on a uniform mesh are as follows. Eqs.(1.32a) and (1.32b) correspond to the optimal values for the nodes 2and nrespectively. Figure 12 illustrates the variation of αwith respect to γ. α2=4 [2−e2γ]coth(γ) − 1 γ(1.32a) αn=4 [2−e−2γ]coth(γ) − 1 γ(1.32b) An alternative to nodal stabilization parameters is to find optimal values of the stabilization parameters for the elements adjacent to the boundary. For elements laying
28 1 analysis of a consistency recovery method −20 −15 −10 −5 0 5 10 15 20 −4 −3.75 −3.5 −3.25 −3 −2.75 −2.5 −2.25 −2 −1.75 −1.5 −1.25 −1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5 3.75 4 α(1) γ Plot of α(1) = 4*(1−e(2γ))−1[coth(γ) − γ−1] −20 −15 −10 −5 0 5 10 15 20 −4 −3.75 −3.5 −3.25 −3 −2.75 −2.5 −2.25 −2 −1.75 −1.5 −1.25 −1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5 3.75 4 α(n) γ Plot of α(n) = 4*(1−e(−2γ))−1[coth(γ) − γ−1] Figure 13: Plot of optimal α(for the elements adjacent to the boundary) vs. γfor the FIC_RC/OSS method. in the domain interior we use the value given by Eq.(1.29). Denoting the stabilization parameters for elements 1,nand in the domain interior as α(1),α(n)and αrespectively, we find the following equation stencils. Node 2: (u 2)[φ3−φ1] − (k `)[φ3−2φ2+φ1] − (u 2)[αφ3− (α(1)+α)φ2+α(1)φ1] + (u 8)[αφ4+ (α−α(1))φ3− (α+2α(1))φ2+ (3α(1)−α)φ1] = 0(1.33) Node n: (u 2)[φn+1−φn−1] − (k `)[φn+1−2φn+φn−1] − (u 2)[α(n)φn+1− (α(n)+α)φn+αφn−1] + (u 8)[(3α(n)−α)φn+1− (α+2α(n))φn+ (α−α(n))φn−1+αφn−2] = 0 (1.34) The optimal values for α(1)and α(n)are given by the Eqs.(1.35a) and (1.35b) respectively. Figure 13 illustrates the variation of αwith respect to γ. α(1)=4 [1−e2γ]coth(γ) − 1 γ(1.35a) α(n)=4 [1−e−2γ]coth(γ) − 1 γ(1.35b) Remark: It is important to note that αis a signed parameter. For the domain interior, αis negative for positive values of γ! As the optimal αon a uniform grid for the FIC_RC/OSS method is close to zero everywhere within the domain interior (Figure
1.5Discrete Maximum Principle 29 10) we do not introduce any artificial (unnatural) damping anywhere within the domain. The effect of boundary shock layers can also be captured efficiently by the new expressions of αat the boundary-adjacent elements. Thus, we see that in the transient mode the performance of the FIC_RC/OSS method using the proposed optimal αwith boundary correction is similar to the standard Galerkin method. The former method also gives nodally exact solutions (on uniform grids) in the steady state mode unlike the spurious global oscillations produced by the later method. Of course, all these features are favorable addenda only if the bandwidth of the amplitude spectra of the transported function lies within the range of the phase departure wave number. 1.5 discrete maximum principle On further examination, the optimal expression (on uniform grids in 1d) of the stabilization parameter for the FIC_RC/OSS method illustrates certain subtle features related to the satisfaction of a discrete maximum principle (DMP). If the DMP holds for any numerical method then the maximum component in the modulus of the solution vector is bounded above by the maximum component in the modulus of the boundary data. It is well known that a sufficient condition for the satisfaction of the DMP is that the system matrix be an M-matrix or a matrix of ’positive type’. We refer to [17,40] for the definition of the latter matrices. Note that for Peclet numbers greater than one, the system matrix (see Eq.(1.27)) associated with the FIC_RC/OSS method can never be cast into the form of an M- matrix or a matrix of ’positive type’. However, using the proposed optimal expression for αwe get nodally exact solutions on a uniform mesh in 1d. It is remarkable that in this case the system matrix is not even a monotone matrix whose definition can be found in [17,40]. Nevertheless, the FIC_RC/OSS system matrix obtained using the optimal αverifies the necessary and sufficient condition given in [186] for the DMP to hold. Unfortunately, this necessary and sufficient condition for a DMP to hold is difficult to identify a priori and thus poising a strategical difficulty in the design of discontinuity/shock capturing methods. 1.6 numerical examples 1.6.1Example 1 In this example, we study the effect of the stabilization introduced by FIC/SUPG and FIC_RC/OSS methods for transient problems. We study the pure convection problem primarily for two reasons. First, the problem becomes simple as the dispersion effect of natural diffusion is sidelined, thus allowing us to study the effects of the diffusion introduced by the stabilization methods. Next, the convection dominated problem is the primary concern of stabilization methods. The domain of interest is x∈[0,10]. The problem data are k=1×10−30,u=1.0, time increment θ=0.01 and the 1d space is discretized by 100 linear elements with uniform mesh size. Thus, `=0.1. The Peclet number for this problem is γ=5×1028 (γ≈∞). The Courant number is C=0.1. We have also chosen α=1.0, the optimal value for SUPG in this case, throughout the simulations. This choice is made just to study the effect of the artificial diffusion introduced by the FIC_RC/OSS method within the interior of the
30 1 analysis of a consistency recovery method domain using a non-optimal value for α. Recall that the optimal value of αfor the FIC_RC/OSS method in this case is ≈0, thus behaving just like the standard Galerkin method in the domain interiors. The discretization in time is done by the following schemes: Crank-Nicholson, backward Euler and BDF2schemes. Figure 14 shows the results obtained when a narrow Gaussian pulse centered at x=3.0is taken as the initial solution. The equation for the initial solution is φo(x) = exp[−8(x−3)2]. The numerical solution at time 3s is examined. The solutions obtained using a lumped and consistent Tmatrix in the formulation are also examined. The idea is to validate the conclusions that can be drawn from the DDR plots. The pulse width of the Gaussian function is chosen as to guarantee that the bandwidth of the amplitude spectra of this function is just less than ξconsistent d, the phase departure wave-number using a consistent Tmatrix. As ξlumped d⩽ξconsistent d, one should expect incorrect superpositions of the wave trains due to their phase differences from the former. This leads to a train of wiggles as seen in the numerical solution when T is lumped (Figure 14). It is interesting that the standard Galerkin method without any stabilization and by using a consistent Tmatrix yields very accurate results. The other methods using a consistent Tcreate a slight bump at the foot of the Gaussian bell. This is because of the damping associated with those methods for the significant wavenumbers (ξ∗⩽ξ∗ d). We also notice that using a consistent T, the damping associated with the FIC/SUPG method is less than that for the FIC_RC/OSS method. The differences are insignificant for the T-lumped case. 1.6.2Example 2 In this example, we illustrate the effect of the variation of the Courant number on the DDR. The problem data are the same as in Example 1.6.1. Time integration is performed by the Crank-Nicholson scheme. Two initial functions are considered : a narrow Gaussian pulse centered at x=3.0as defined in Example 1.6.1and a square pulse function defined by φo(x) = 1.0if x∈[2,4]else φo(x) = 0.0. The spectra of the square pulse is broad and the bandwidth extends beyond the ξdof all the methods considered here. In other words, in the absence of damping this function will exhibit numerical dispersion. In this example only the consistent Tmatrix is used. First we note that for the higher Courant number (here C=1.0) the Gaussian pulse exhibit numerical dispersion even when a consistent Tmatrix is used (Figure 15). As Cis reduced to 0.4and 0.1we notice that the dispersion errors are minimized. As discussed earlier in §1.3.4the FIC/SUPG method with C=0.4should exhibit a better performance over the FIC_RC/OSS method. Unfortunately the gain in the DDR for the higher wavenumbers does not materialize in the simulated results. The solutions for the FIC/SUPG and the FIC_RC/OSS methods are nearly the same for both the initial solutions (Figure 15). This is because all those wavenumbers suffer high damping. As =(ω∗ h)does not vary with C(Figure 6), Figure 2may be referred for the amplification.
1.6Numerical Examples 31 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Crank Nicholson − Lumped − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Crank Nicholson − Consistent − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Backward Euler − Lumped − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Backward Euler − Consistent − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − BDF2 − Lumped − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − BDF2 − Consistent − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS Figure 14: Example 1: transport of a Gaussian pulse. Solutions at 3s for the Galerkin, FIC/- SUPG and FIC_RC/OSS methods using lumped (on left) and consistent (on right) Tmatrix are shown; Time discretization is done by the Crank-Nicholson, backward Euler and BDF2schemes. α=1.0is used.
32 1 analysis of a consistency recovery method 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Consistent − Courant 0.1 − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x Φ Square Pulse − Consistent − Courant 0.1 − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Consistent − Courant 0.4 − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x Φ Square Pulse − Consistent − Courant 0.4 Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ Gaussian Bell − Consistent − Courant 1.0 − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x Φ Square Pulse − Consistent − Courant 1.0 Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS Figure 15: Example 2: transport of a Gaussian and square pulse. Solutions at 3s for the Galerkin, FIC/SUPG and FIC_RC/OSS methods using a consistent Tmatrix and for Courant number 0.1,0.4and 1.0; Time discretization performed by Crank- Nicholson scheme. α=1.0is used.
1.6Numerical Examples 33 1.6.3Example 3 In this example, we study the transport of a periodic sine wave with angular wavenumber ξo=7.5. The problem data is the same as in Example 1.6.1. The corresponding value of ξ∗=0.238. Time integration is performed by the Crank-Nicholson scheme. The idea here is to study the effect of the group velocity in the numerical simulation. The initial function and the boundary condition prescribed at the left boundary are as follows: f(x,0) = sin(ξox)(1.36) f(0,t) = sin(uξot)(1.37) The DDR predicts a group velocity Vlumped g≈0.75 and Vconsistent g≈1.0for ξ∗= 0.238 using a lumped and consistent Tmatrices, respectively (Figure 9). This property is exhibited in the numerical solution where we find that the wave train moves at a different speed from the one assigned. The results are accurate using a consistent T matrix (Figure 16). The damping introduced by the stabilization methods are also in agreement with the one predicted by the DDR of the problem. Using a consistent T matrix the amplifications for the FIC/SUPG and the FIC_RC/OSS methods for α=1.0 and the wavenumber ξo=7.5are ≈0.7and 0.3, respectively, after 3s (Figure 2). The corresponding values for the T-lumped case are ≈0.4and 0.32. The numerical results are in agreement with this prediction. We note that the numerical damping associated with the FIC/SUPG method is less than that of the FIC_RC/OSS method for the same value of α. An interesting result is that when the expressions (Eqs. 1.29,1.35) for α are used for the FIC_RC/OSS method, no damping takes place as it behaves similar to the Galerkin method in the interior domain. The numerical solution in this case coincides with that shown for the Galerkin method. 1.6.4Example 4 In this example, we explore the performance of the stabilization parameter αgiven by Eqs. (1.29) and (1.35) for the steady state problem using the FIC_RC/OSS method. The domain of interest is x∈[0.0,1.0]. The problem data are k=0.001,u=1.0and f=1.0. For the ease of notation and further reference we define the following: αa=coth(γ) − 1 γ αb= 4 [1−e2γ]coth(γ) − 1 γ, element 1 4 [1−e−2γ]coth(γ) − 1 γ, element n −1 sinh2(γ)coth(γ) − 1 γ, else First, we study the solution on a uniform mesh consisting of 20 linear elements (`= 0.05). We consider the cases when f=0and f=1.0. The numerical solutions of the
34 1 analysis of a consistency recovery method 0 1 2 3 4 5 6 7 8 9 10 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 x Φ Sine Wave − Crank Nicholson − Lumped − Time: 1.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 x Φ Sine Wave − Crank Nicholson − Consistent − Time: 1.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 x Φ Sine Wave − Crank Nicholson − Lumped − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS 0 1 2 3 4 5 6 7 8 9 10 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 x Φ Sine Wave − Crank Nicholson − Consistent − Time: 3.00 s Exact Galerkin FIC/SUPG FIC_RC/OSS Figure 16: Example 3: transport of a sinusoidal wave. Solutions at 1s and 3s for the Galerkin, FIC/SUPG and FIC_RC/OSS methods using a lumped (on left) and consistent (on right) Tmatrix; Time discretization done by the Crank-Nicholson scheme. α=1.0 is used.
2.2High-resolution Petrov–Galerkin method 41 Method Perturbation (ph) Remarks SUPG[92]τu·∇wh MH[132]Ce i Ce i∈{−1 3,2 3},i=1,2,3 PCe i=0 DC[94]τ1u·∇wh+τ2uk·∇whuk:= u·∇φh |∇φh|2∇φh CAU[68], τ1u·∇wh+τ2ur·∇whur:= R(φh) |∇φh|2∇φh CCAU[50] CD[29]τ1u·∇wh+α2`∇wh·[I−ˆ u⊗ˆ u]·ˆ urˆ u:= u |u| ˆ ur:= ur |ur|= sgn[R(φh)] |∇φh|∇φh SAUPG[48], τ[λu+ (1−λ)ur]·∇whλis a smoothness measure. Mod.CAU[29] FIC[141]hfic ·∇whhere hfic is a characteristic length vector which may be defined in a linear or nonlinear fashion. HRPG [h+H·ˆ ur]·∇whh,Hare frame-independent linear characteristic length tensors based on the element geometry (see Section 3.3). Table 2: Perturbations associated with Petrov–Galerkin methods
42 2 a high-resolution petrov–galerkin method in 1d This feature does carry over to all the methods that have the shock-capturing term similar to that in the CAU method viz. the methods presented in [23,48–50]. Unfortunately as pointed out in [114] and in Section 2.5.7.1of this chapter, these methods are often over diffusive. The structure of the HRPG method in 1d is identical to the CAU method except for the definitions of the stabilization parameters. In the subsequent sections we design the stabilization parameters of the HRPG method to overcome the shortcomings of the earlier methods. From Eqs.(2.5) and (2.6) the statement of the HRPG method in 1d can be expressed as follows: Find φh: [0,T]7→ Vhsuch that ∀wh∈Vh 0we have, a(wh,φh) + X eα` 2 dwh dx,R(φh)Ωe h +β` 2 |R(φh)| |∇φh| dwh dx,dφh dxΩe h=l(wh)(2.7) where α,βare stabilization parameters to be defined later. 2.3 derivation of the hrpg expression via the fic procedure The governing equations in the finite calculus (FIC) approach are derived by expressing the balance equations in a domain of finite size and retaining higher order terms. For the 1d convection–diffusion–reaction problem the FIC governing equations are written as [141] R(φ) − h 2 ∂R(φ) ∂x =0in Ω(2.8a) φ(x,t=0) = φ0(x)in Ω(2.8b) φ−φp=0on ΓD(2.8c) k∂φ ∂x +gp+h 2R(φ) = 0on ΓN(2.8d) where the characteristic length his the dimension of the domain where balance of fluxes is enforced and R(φ)is defined in Eq.(2.1a). The variational statement of Eqs.(2.8) can be written as: Find φ: [0,T]7→ Vsuch that ∀w∈V0we have, w,R(φ) − h 2 ∂R(φ) ∂x Ω+w,k∂φ ∂x +gp+h 2R(φ)ΓN =0(2.9) The corresponding weak form is: Find φ: [0,T]7→ Vsuch that ∀w∈V0we have, w+h 2 dw dx,R(φ)Ω+w,k∂φ ∂x +gpΓN =0(2.10) In the derivation of Eq.(2.10) we have neglected the change of hwithin the elements. Clearly Eq.(2.10) can be seen as a Petrov–Galerkin form with the weighting function defined as ˜w:= w+h 2dw dx. The term depending on hin Eq.(2.10) is usually computed in the element interiors only to avoid the discontinuities of the second derivatives terms in R(φ)along the element boundaries. The discretized form of Eq.(2.10) is therefore written as: Find φh: [0,T]7→ Vhsuch that ∀wh∈Vh 0we have, a(wh,φh) + X eh 2 dwh dx,R(φh)Ωe h =l(wh)(2.11)
2.4Gibbs phenomenon in L2projections 43 The characteristic length can be defined in a number of ways so as to provide an ‘optimal’ (stabilized) solution. In this work the following nonlinear expression is chosen for h: h:= α` +β`sgn[R(φh)] |∇φh|∇φh(2.12) where `is the element length and α,βare stabilization parameters. A discussion of the alternatives for the definition of hin the FIC context can be found in [141,152,154, 155]. Substituting the expression of hinto Eq.(2.11) gives the HRPG form of Eq.(2.7). 2.4 gibbs phenomenon in L2projections 2.4.1Introduction Gibbs phenomenon is a spurious oscillation that occurs when using a truncated Fourier series or other eigen function series at a simple discontinuity. It is characterized by an initial overshoot and then a pattern of undershoot-overshoot oscillations that decrease in amplitude further from the discontinuity. In fact for any given function fand using the metric as the standard L2norm, the partial sum of order Nof the Fourier series of fdenoted as SNfis the best approximation of fin a subspace spanned by trigonometric polynomials of order N. Thus SNfis the L2projection of fin the considered subspace. This phenomenon is manifested due to the lack of completeness of the approximation space. Similar oscillations appear in the problem of finding the best approximation of a given discontinuous function in any subspace using the L2norm as the metric. On every discrete grid/mesh the maximum wavenumber that can be represented is limited by the Nyquist limit. The Nyquist frequency on a uniform grid with grid spacing `is given by π/`. Thus the span of the finite element basis functions associated with this mesh might be viewed as a truncated function series which might be expanded by refining the mesh. Hence the projection of a discontinuous function onto this finite element space exhibits the Gibbs phenomenon. As the amplitude spectrum of a discontinuous function decays only as fast as the harmonic series, which is not absolutely convergent, it is impossible to circumvent these oscillations by mere mesh refinement. The variational statement of the L2projection problem is as follows: Find φh∈Vh such that ∀wh∈Vh 0we have, wh,φh−fΩh =0(2.13) Where fis the given function which might admit discontinuities. If we denote the solution of Eq.(2.13) as φh=P0 hf, we have, kP0 hf−fkL2(Ωh)⩽kwh−fkL2(Ωh)(2.14) In the following sections we consider the scaled L2projection problem defined by the residual R(φ) = sφ −f. In the context of the convection–diffusion–reaction problem, the problem data sphysically represents the reaction coefficient. The variational statement of the scaled L2projection problem is as follows: Find φh∈Vhsuch that ∀wh∈Vh 0we have, wh,sφh−fΩh =0(2.15)
44 2 a high-resolution petrov–galerkin method in 1d Taking s=1we recover the L2projection problem given by Eq.(2.13). 2.4.2Galerkin Method 2.4.2.1FE discretization Discretization of the space by linear finite elements will lead to the approximation φh=NaΦaand the Eq.(2.15) reduces into the following system of equations. sM·Φ=f(2.16) Mab =Na,NbΩh ;fa=Na,fΩh (2.17) It is well known that the Gibbs oscillations can be circumvented in the numerical solution if the standard row-lumping technique is performed on the mass matrix M. Unfortunately, this operation though effective for this specific problem, it cannot be extended to other problems in general. The answer for not advocating this technique can be found in the Godunov’s theorem: ‘All linear monotone schemes are at most first order accurate’. The only way to circumvent this problem is to design a nonlinear method that would reproduce the same numerical solution as obtained by mass-lumping. 2.4.2.2Model Problem 1 The 1d domain is chosen to be of unit length and discretized by 4N linear elements (N>5). The function whose L2projection is sought is defined as follows: f(x) = 0∀x∈[0,0.25 +η1`]∪[0.75 −η2`,1] qelse (2.18) Where `=1/(4N)is the element length and η1,η2∈[0,1]are parameters that determine the location of the simple discontinuity in the function f. The solution of Eq.(2.16) using a lumped mass matrix can be expressed as follows: Φ= (q s){0,···,0,(1−η1)2 2,(2−η2 1) 2,1,···,1,(2−η2 2) 2,(1−η2)2 2,0,···,0}(2.19) Figure (18a) illustrates the function f(x)using η1=0.5,η2=0.3and q=s= 1alongside the numerical solution of the Eq.(2.16) using both the consistent and lumped mass matrix. Figure (18b) illustrates the profile characteristics of the monotone solution obtained via mass-lumping (Eq.2.19) with respect to the location of the discontinuity. 2.4.2.3Discrete Upwinding Let the discrete system of equations be represented in the matrix form as follows: A·x=b(2.20) Discrete upwinding is an algebraic operation to convert the system matrix Ainto an M-matrix [120]. Discrete upwinding is the least diffusive linear operation to produce
2.4Gibbs phenomenon in L2projections 45 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 x φh Design Problem ; η1 = 0.5, η2 = 0.3, ∆ x = 0.025 Galerkin Lumped Mass f (a) (b) Figure 18:(a) The design problem ; (b) Characteristics of the monotone solution (AGFE). ABHIJE illustrates the discontinuous regime of f(x) an M-matrix. We denote the discrete upwinding operation on any given matrix Aby DU(A). The discrete upwinding operation is performed by adding to the matrix Aa discrete diffusion matrix ˜ Das follows: ˜ dii = − X j6=i ˜ dij;˜ dij =˜ dji = − max{0,aij,aji}(2.21) DU(A) = ˜ A=A+˜ D(2.22) It is interesting to note that the discrete upwinding operation on the mass matrix M will result in the mass-lumping operation. Me=` 6"2 1 1 2 #;˜ De=` 6"1−1 −1 1 #(2.23) DU(Me) = Me+˜ De=` 6"3 0 0 3 #=Me L(2.24) 2.4.2.4Total variation The total variation of a function, say φ(x), in 1d is given by the following equation: TV(φ) = Zx |∇φ|dx(2.25) Thus it can be seen that the total variation, as the name suggests, measures the total hike or drop in the function profile as we traverse the 1d domain. It can also be noticed that any spurious oscillation in the numerical approximation of φwould cause the total variation to increase. Harten proved that a monotone scheme is total variation non-increasing (TVD) and a TVD scheme is monotonicity preserving [82]. To date various high-resolution schemes have been designed based on the TVD concept
46 2 a high-resolution petrov–galerkin method in 1d often using flux/slope limiters. If linear finite elements are used to approximate the numerical solution φhthe total variation may be calculated as follows: TV(φh) = X i |Φi+1−Φi|(2.26) For the problem under consideration, the sufficient conditions given by Harten in [82] for a numerical scheme to be TVD drops down to the condition for the system matrix to be an M-matrix. Thus in the design of the high-resolution Petrov–Galerkin method we use the total variation of the numerical solution as a posteriori verification condition. The total variation of the given discontinuous function f(x)in the design problem is TV(f) = 2. 2.4.3HRPG design In this section we design the stabilization parameters of the HRPG method given by Eq.(2.7) and choosing α=0. For the model problem described in Section 2.4.2.2the statement of the method is as follows: Find φh∈Vhsuch that ∀wh∈Vh 0we have, wh,R(φh)Ωh +X eβ` 2 |R(φh)| |∇φh| dwh dx,dφh dxΩe h =0(2.27) Where, R(φh) := sφh−fis the residual and βis a stabilization parameter to be defined later. If the domain is discretized by linear finite elements the Eq.(2.27) can be expressed in the matrix form for each element as follows: hsMe+Sei·Φe=fe g(2.28) where the corresponding matrices are defined as, Me=Na,NbΩe h =s` 6"2 1 1 2 #(2.29) Se= (β` 2)|R(φh)| |∇φh| dNa dx,dNb dxΩe h =k∗(φh) `"1−1 −1 1 #(2.30) fe g=Na,fΩe h (2.31) k∗(φh) = β 2|R(φh)| |∇φh|,1Ωe h (2.32) fg=q` {0,···,0,(1−η1)2 2,(2−η2 1) 2,1,···,1,(2−η2 2) 2,(1−η2)2 2,0,···,0}(2.33) In order to design the parameter βwe assume that the method converges to the solution given by Eq.(2.19). This is a fair assumption as it can be seen in Eq.(2.27) that the nonlinear Petrov–Galerkin term is symmetric subjected to the linearization as shown in Eq.(2.30) and hence there exists a βsuch that the effect of this term is equivalent to the discrete diffusion introduced by the discrete upwinding operation.
2.4Gibbs phenomenon in L2projections 47 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0.82 0.8333 0.84 0.86 0.88 0.9 0.92 0.94 0.96 0.98 1 g(η) η g(η) vs. η Figure 19: The plot of g(η)for η∈[0,1]. If η∈[0,1]be a generic parameter to define the location of the simple discontinuity within the element, we have then for the element containing the discontinuity, |R(φh)| |∇φh|,1Ωe h = (s`2 2)h1+2η −6η2+8η3−4η4 1+2η −2η2i = (s`2 2)h1+2η(1−η)[1−2η(1−η)] [1+2η(1−η)] i(2.34) For the element adjacent to the element containing the discontinuity we have, |R(φh)| |∇φh|,1Ωe h = (s`2 2)(2.35) Thus, the nonlinear term in Eq.(2.27) and for the converged solution given by Eq.(2.19) can be expressed as follows: |R(φh)| |∇φh|,1Ωe h = (s`2/2)g(η), for elements with shock (s`2/2), for elements adjacent to the shock 0, else (2.36) where, the function g(η)is defined as, g(η) := h1+2η(1−η)[1−2η(1−η)] [1+2η(1−η)] i(2.37) ∀η∈[0,1],g(η)∈[(5/6),1](2.38) Figure (19) illustrates the plot of the function g(η)vs η. To define the parameter βwe require that for the elements in the vicinity of the discontinuity the nonlinear Petrov–Galerkin method reproduces the effect of discrete upwinding. The system matrix for the element containing the discontinuity is as follows, hsMe+Sei= (s` 6)"2 1 1 2 #+ (βs`g(η) 4)"1−1 −1 1 #(2.39)
48 2 a high-resolution petrov–galerkin method in 1d To reproduce the effect of discrete upwinding the following relation should hold, sMe+Se=DU(sMe) = sMe+˜ De(2.40) ⇒(βs`g(η) 4)"1−1 −1 1 #=s` 6"1−1 −1 1 #(2.41) The expression for the parameter βmay be expressed as follows: βg(η)⩾2 3(2.42) Remarks: • The definition of βsatisfying the equation βg(η) = 2 3would exactly reproduce the solution of Eq.(2.16) using the lumped mass matrix. • From the design point-of-view the definition of βinvolving the function g(η) would imply a priori knowledge of the solution. Hence we define βusing the extremum values of the function g(η). Thus from Eq.(2.38) and Eq.(2.42) we have, Type-I : min{g(η)}=5 6⇒β⩾4 5(2.43) Type-II : max{g(η)}=1⇒β⩾2 3(2.44) With these definitions the design of the high-resolution Petrov–Galerkin (HRPG) method for the scaled L2projection problem is complete. 2.4.4Examples 2.4.4.1Example 1 We solve the problem described in Section 2.4.2.2and using q=s=1. The 1d domain is discretized into 40 linear elements. The numerical results of the HRPG method (Type I and II) are compared with the solutions obtained by the Galerkin method using both consistent and lumped mass matrix. Figs.(20,21) illustrate the results of HRPG Type I and Type II respectively for η1=0.5,η2=0.3. Figs.(22,23) illustrate the same for η1=1,η2=0. Both Type I and Type II effectively circumvent the Gibbs phenomenon. HRPG Type I method is clearly more diffusive, nevertheless monotonicity is guaranteed. HRPG Type II is monotone to-the-eye. A quantitative analysis based on the measured total variation is studied in Section 2.4.4.3. 2.4.4.2Example 2 The analysis domain is the same as the problem described in Section 2.4.2.2and using s=1. The 1d domain is discretized into 100 linear elements. The function whose L2 projection is sought is now defined as follows: f(x) = cos(4πx −2π)∀x∈[0.25,0.75] 0else (2.45)
2.4Gibbs phenomenon in L2projections 49 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 x φh TYPE I: β = 4/5 ; η1 = 0.5, η2 = 0.3 Galerkin Lumped Mass HRPG (a) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 10−7 10−6 10−5 10−4 10−3 10−2 10−1 100 Error Iteration TYPE I: β = 4/5 ; η1 = 0.5, η2 = 0.3 (b) Figure 20: Example 1: HRPG Type I, (a) numerical solution for η1=0.5,η2=0.3;(b) corresponding nonlinear convergence plot 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 x φh TYPE II: β = 2/3; η1 = 0.5, η2 = 0.3 Galerkin Lumped Mass HRPG (a) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 10−7 10−6 10−5 10−4 10−3 10−2 10−1 100 Error Iteration TYPE II: β = 2/3; η1 = 0.5, η2 = 0.3 (b) Figure 21: Example 1: HRPG Type II, (a) numerical solution for η1=0.5,η2=0.3;(b) corresponding nonlinear convergence plot
50 2 a high-resolution petrov–galerkin method in 1d 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 x φh TYPE I: β = 4/5 ; η1 = 1.0, η2 = 0.0 Galerkin Lumped Mass HRPG (a) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 10−7 10−6 10−5 10−4 10−3 10−2 10−1 100 Error Iteration TYPE I: β = 4/5 ; η1 = 1.0, η2 = 0.0 (b) Figure 22: Example 1: HRPG Type I, (a) numerical solution for η1=1.0,η2=0.0;(b) corresponding nonlinear convergence plot 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 x φh TYPE II: β = 2/3; η1 = 1.0, η2 = 0.0 Galerkin Lumped Mass HRPG (a) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 10−7 10−6 10−5 10−4 10−3 10−2 10−1 100 Error Iteration TYPE II: β = 2/3; η1 = 1.0, η2 = 0.0 (b) Figure 23: Example 1: HRPG Type II, (a) numerical solution for η1=1.0,η2=0.0;(b) corresponding nonlinear convergence plot
2.5Convection–diffusion–reaction problem 57 the fact that we recover asymptotically the expressions for βi.e.Eq.(2.55) and Eq.(2.60) as u→0and s→0respectively. The efficiency of this expression for βis shown via various numerical examples (see Section 2.5.7). 2.5.5Model problem 5 Consider the transient convection–diffusion–reaction problem: R(φ) := ˙ φ+u∇(φ) − k∆(φ) + sφ −f(x)(2.68) We now design the parameter βassociated with the nonlinear perturbation term when the linear perturbation terms exists (i.e.α6=0). The HRPG method after discretization by linear finite elements will lead to the following system of equations. [M]˙ Φ+ [uC+kD+sM]Φ−fg(Galerkin terms) +α` 2[Ct]˙ Φ+ [uD+sCt]Φ−fs(linear PG terms) +β 2|R(φh)| |∇(φ)|,1Ωe h [D]Φ=0(nonlinear PG terms) (2.69) The above equation may be rearranged as follows M{˙ Φ+sΦ}+C{uΦ}+Ct{α` 2˙ Φ+α`s 2Φ}+ (k+α`u 2+k∗(φh))DΦ=fg+α` 2fs(2.70) where the expression for k∗(φh)is given by Eq.(2.32). We define for each element a measure δwith the dimensions of the reaction coefficient. δ:= ˙ ΦΦ⇒˙ Φ=δΦ(2.71) where the vector operators and are understood to operate point-to-point division and multiplication respectively. Thus in the design of the parameter β, we may model δas a non-linear reactive coefficient. For the fully discrete problem (after time discretization)δmay be approximated to an element-wise positive constant for simplification. This idea had been pointed out earlier in [99]. Also note that the convection matrix Cis skew-symmetric. Hence the transposed matrix Ctintroduces a negative convection effect [30]. Following this line, for each element we define the effective convection, diffusion and reaction coefficients as follows: ˜u:= u−α`s 2−α`δ 2;˜ k:= k+α`u 2; ˜s:= s+δ(2.72) The effective coefficients ˜u,˜ kand ˜swill be used to design the parameter β. The following effective element dimensionless numbers may be defined: ˜γ:= ˜u` 2˜ k; ˜ω:= ˜s`2 ˜ k; ˜σ:= ˜s` ˜u=˜ω 2˜γ(2.73) The parameter βis now defined as in Eq.(2.67) using these effective element numbers as follows: β:= max2 3|˜σ|+3 |˜σ|+2−4 ˜ω+4|˜γ|,0(2.74)
58 2 a high-resolution petrov–galerkin method in 1d If the discretization in time is done using the implicit trapezoidal rule, we have ˙ Φ=˜ Φ−Φn θ∆t ;Φn+1=1 θ˜ Φ+θ−1 θΦn(2.75) where, ∆t is the time increment, n,n+1denote the previous and current time steps and θ∈[0,1]is a parameter that defines the scheme. θ={0,0.5,1}define the forward Euler, implicit midpoint and the backward Euler methods. For the fully discrete system and within each element we evaluate the parameter δand the residual as follows: δ≈1 θ∆t k˜ φh−φn hke ∞ k˜ φhke ∞ (2.76) R(˜ φh)≈˜ φh−φn h θ∆t +u∇(˜ φh) − k∆(˜ φh) + s˜ φh−f(2.77) where k · ke ∞is the L∞norm. Note that as steady state is reached δ→0. Thus for the steady state problem and using α=0we recover the definition of the parameter βas given by Eq.(2.67). It remains to define the parameter αthat controls the fraction of linear perturbation term in the HRPG method. For the 1d convection–diffusion–reaction problem, the HRPG method using α=0does solve a plethora of examples to give high-resolution stabilized results. Nevertheless for the transient problem the presence of the linear perturbation terms improves the convergence of the nonlinear iterations. Numerical experiments suggest α∈[0,1/3]which means that the approximations/conjecture used in the design strategy does not hold for larger fractions of the linear perturbation term. The following expression for αwas used in the examples to come. α:= λsgn(u)max1−1 |γ|,0;λ:= 1 3(1+p|σ|)(2.78)
2.5Convection–diffusion–reaction problem 59 2.5.6Summary residual R(φh) := ∂φh ∂t +u∇(φh) − k∆(φh) + sφh−f(x) the hrpg method Find φh: [0,T]7→ Vhsuch that ∀wh∈Vh 0we have, a(wh,φh) + X eα` 2 dwh dx,R(φh)Ωe h +β` 2 |R(φh)| |∇φh| dwh dx,dφh dxΩe h =l(wh) PG weight →wh+α` 2+β` 2sgn[R(φh)] sgn[∇(φh)]dwh dx definitions γ:= u` 2k ;ω:= s`2 k;σ:= s` u R(˜ φh)≈˜ φh−φn h θ∆t +u∇(˜ φh) − k∆(˜ φh) + s˜ φh−f φn+1 n=1 θ˜ φh+θ−1 θφn h;∆t =tn+1−tn;θ∈(0,1) λ:= 1 3(1+p|σ|);δ≈1 θ∆t k˜ φh−φn hk∞ k˜ φhk∞ α:= λsgn(u)max1−1 |γ|,0 ˜u:= u−α`s 2−α`δ 2;˜ k:= k+α`u 2; ˜s:= s+|δ| ˜γ:= ˜u` 2˜ k; ˜ω:= ˜s`2 ˜ k; ˜σ:= ˜s` ˜u β:= max2 3|˜σ|+3 |˜σ|+2−4 ˜ω+4|˜γ|,0 2.5.7Examples 2.5.7.1Example 1 We consider the convection–diffusion–reaction problem given by Eq.(2.1) in 1d. We study the steady-state case with the following data : k=1and u,s6=0. The 1d domain is taken as x∈[0,1]and it is discretized with eight two-node linear elements. The values of uand sare determined appropriately for different values of γand ω. The results of the HRPG method (using both λ=0and λ6=0) are compared with that of the Galerkin, Galerkin with discrete upwinding (DU), SUPG, CAU, modified CAU and the FIC based stabilization method presented in [152]. The error in the nonlinear iterations was measured by the following norm: kΦi+1−Φike kΦi+1ke(2.79) where, k·keis the standard Euclidean vector norm. A tolerance of 1e-5 was chosen as the termination criteria. A maximum of 30 iterations were allowed. Note that the number of iterations required by the nonlinear methods for convergence is displayed
60 2 a high-resolution petrov–galerkin method in 1d next to the corresponding legends. The nonlinear iterations were initialized by the solution obtained by the DU method. Figures 28 -33 illustrate the solution obtained for the sourceless case (f=0) and for (γ,ω) = {(1,5),(1,20),(1,120),(2,2),(10,4),(10,20)}respectively. The Dirichlet boundary conditions φp L:= φ(x=0) = 8and φp R:= φ(x=1) = 3were employed. The DU method is robust and provides stable solutions. Unfortunately the accuracy achieved is at most first-order and hence the solutions are generally over-diffusive. The FIC method presented in [152] provides more accurate solutions and remarkably the nonlinear iterations converge with just two iterations. Slight node-to-node oscillations around the exact solutions are observed for the case γ=10,ω=4viz. Figure 32a and is duly discussed in [152]. As expected the SUPG method provides good solutions to all except the reaction-dominated cases viz. Figures 29b,30b. The CAU and modified CAU methods succeed in circumventing the instabilities for the reactiondominated cases but for these cases provide solutions that are more diffusive than that of the DU method. The HRPG method provides good solutions for all the cases considered. Note that for the reaction-dominated cases the solutions are less diffusive than the DU, CAU and modified CAU methods. Also note that the solutions obtained by taking λ=0is indistinguishable to that obtained by taking λ6=0. Nevertheless the nonlinear iterations converge faster for the latter. Figures 34,35 illustrate the solution obtained for the sourceless case (f=0) with (γ,ω) = (10,200)and for Dirichlet boundary conditions (φp L,φp R) = {(0,1),(1,0)}respectively. The FIC method of [152] provides nodally exact to-the-eye solutions and the nonlinear iterations converge within 2iterations. The solutions obtained by the SUPG and CAU methods are indistinguishable and exhibit instabilities for the latter boundary conditions viz. Figure 35b. The modified CAU method circumvents these instabilities but instead provides solutions that are more diffusive than the DU method. The HRPG method (both λ=0and otherwise) succeed to provide stable solutions and are less diffusive than that obtained by the DU method. Figure 34 shows that the HRPG method with λ=0converges in just one iteration while using λ6=0seven iterations were needed. This is a rare coincidence where the initial solution provided by the DU method and the solution of the HRPG method with λ=0are closer than the specified tolerance. Figures 36,37 illustrate the solution obtained with (γ,ω) = (2,0)and (f,φp L,φp R) = {(0,0,1),(u,0,0)}respectively. As expected the SUPG method provides nodally exact solutions for these cases. The DU, CAU and HRPG methods provide stable solutions and are indistinguishable from each other. The modified CAU solution is very similar to the solutions of the former methods. For the sourceless case (f=0) the solutions of the DU and FIC methods are indistinguishable. Unfortunately when f6=0the nonlinear iterations associated with the latter fail to converge. We believe that this behavior is due to the increased nonlinearity associated with the definition of the stabilization parameters (See [152]). 2.5.7.2Example 2 We consider again the convection–diffusion–reaction problem given by Eq.(2.1) in 1d. Now we study the transient pure-convection problem, i.e.k,s,f=0. The Dirichlet
2.5Convection–diffusion–reaction problem 61 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 5 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 5 Iter. HRPG(λ ≠ 0); 5 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 5 Analytical DU SUPG CAU; 18 Iter. Mod.CAU; 8 Iter. (b) Figure 28: Steady state: (γ,ω,f,φp L,φp R) = (1,5,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 20 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 7 Iter. HRPG(λ ≠ 0); 7 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 20 Analytical DU SUPG CAU; 10 Iter. Mod.CAU; 13 Iter. (b) Figure 29: Steady state: (γ,ω,f,φp L,φp R) = (1,20,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions
62 2 a high-resolution petrov–galerkin method in 1d 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 120 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 7 Iter. HRPG(λ ≠ 0); 7 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 1, ω = 120 Analytical DU SUPG CAU; 11 Iter. Mod.CAU; 15 Iter. (b) Figure 30: Steady state: (γ,ω,f,φp L,φp R)=(1,120,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 2, ω = 2 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 9 Iter. HRPG(λ ≠ 0); 7 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 2, ω = 2 Analytical DU SUPG CAU; 2 Iter. Mod.CAU; 5 Iter. (b) Figure 31: Steady state: (γ,ω,f,φp L,φp R) = (2,2,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions
2.5Convection–diffusion–reaction problem 63 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 10, ω = 4 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 29 Iter. HRPG(λ ≠ 0); 16 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 10, ω = 4 Analytical DU SUPG CAU; 2 Iter. Mod.CAU; 16 Iter. (b) Figure 32: Steady state: (γ,ω,f,φp L,φp R) = (10,4,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 10, ω = 20 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 20 Iter. HRPG(λ ≠ 0); 9 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 x Φ γ = 10, ω = 20 Analytical DU SUPG CAU; 5 Iter. Mod.CAU; 9 Iter. (b) Figure 33: Steady state: (γ,ω,f,φp L,φp R)=(10,20,0,8,3).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions
64 2 a high-resolution petrov–galerkin method in 1d 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 10, ω = 200 Analytical Galerkin FIC; 1 Iter. HRPG(λ = 0); 1 Iter. HRPG(λ ≠ 0); 7 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 10, ω = 200 Analytical DU SUPG CAU; 2 Iter. Mod.CAU; 10 Iter. (b) Figure 34: Steady state: (γ,ω,f,φp L,φp R) = (10,200,0,0,1).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 10, ω = 200 Analytical Galerkin FIC; 2 Iter. HRPG(λ = 0); 9 Iter. HRPG(λ ≠ 0); 9 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 10, ω = 200 Analytical DU SUPG CAU; 2 Iter. Mod.CAU; 15 Iter. (b) Figure 35: Steady state: (γ,ω,f,φp L,φp R) = (10,200,0,1,0).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions
2.5Convection–diffusion–reaction problem 65 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 2, ω = 0 Analytical Galerkin FIC; 1 Iter. HRPG(λ = 0); 1 Iter. HRPG(λ ≠ 0); 1 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 x Φ γ = 2, ω = 0 Analytical DU SUPG CAU; 1 Iter. Mod.CAU; 1 Iter. (b) Figure 36: Steady state: (γ,ω,f,φp L,φp R) = (2,0,0,0,1).(a) Exact, Galerkin, FIC [152], HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x Φ γ = 2, ω = 0, f = u Analytical Galerkin HRPG(λ = 0); 1 Iter. HRPG(λ ≠ 0); 1 Iter. (a) 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x Φ γ = 2, ω = 0, f = u Analytical DU SUPG CAU; 1 Iter. Mod.CAU; 4 Iter. (b) Figure 37: Steady state: (γ,ω,f,φp L,φp R) = (2,0,u,0,0).(a) Exact, Galerkin, HRPG (λ=0) and HRPG (λ6=0) solutions; (b) Exact, DU, SUPG, CAU and Mod.CAU solutions
66 2 a high-resolution petrov–galerkin method in 1d boundary condition φ(x=0) = 0is employed. The following initial condition was used: φ(x,t=0) = 1∀x∈[0.1,0.2]∪[0.3,0.4] 0else (2.80) The above initial condition models a double rectangular pulse with simple discontinuities. The amplitude spectrum of this function decays only as fast as the harmonic series and hence is rich in high wave numbers. It is a challenging problem for the validation of any method for the control of dispersive oscillations and accuracy. The 1d domain is taken as x∈[0,1]and it is discretized with 200 two-node linear elements. The time step was chosen as ∆t =0.001s. This corresponds to a Courant number C=0.2. The error was measured using Eq.(2.79) and a tolerance of 1e-4 was used. For the HRPG method with λ=0a tolerance of 1e-3 was used. The nonlinear iterations at every time step were initialized by the solution obtained by the SUPG method. Figures 38,39 illustrate the solution obtained with the SUPG, CAU, modified CAU and HRPG methods. As expected the SUPG solution exhibits dispersive oscillations viz. Figure 38a. Appreciable control over the dispersive oscillations is obtained in the CAU method viz. Figure 38b. However slight crests and troughs do appear in the solution that gradually die out in time. These crests and troughs are reduced in the solution obtained by the modified CAU method at the cost of accuracy viz. Figure 38c. Best results were obtained with the HRPG method with λ6=0which exhibits better control over the dispersive oscillations and maintains the symmetry of the initial solution viz. Figure 39b-c. On the other hand the HRPG method with λ=0is more diffusive than with λ6=0and needs more iterations per time step for convergence viz. Figure 39a. 2.6 conclusions A high-resolution Petrov–Galerkin method is presented for the 1d convection–diffusion– reaction problem. The prefix ‘high-resolution’ is used here in the sense popularized by Harten, i.e.second order accuracy for smooth/regular regimes and good shockcapturing in nonregular regimes. The HRPG method could be understood as the combination of upwinding plus a nonlinear discontinuity-capturing operator. The distinction is that in general (multidimensions) the upwinding provided by his not streamline and the discontinuity-capturing provided by H·ˆ uris neither isotropic nor purely crosswind. The HRPG form can be considered as a particular class of the stabilized governing equations obtained via a finite calculus (FIC) procedure. For the 1d problem the HRPG method is similar to the CAU method with new definitions of the stabilization parameters. The 1d examples presented demonstrate that the method provides stabilized and essentially non-oscillatory i.e.monotone to-the-eye solutions for a wide range of the physical parameters and boundary conditions. It is interesting to note that the HRPG method without the linear upwinding term, i.e.using α=0 does solve all the steady-state examples to give high-resolution stabilized results. Nevertheless the presence of the linear perturbation terms improves the convergence of the nonlinear iterations especially for the transient problem.
3.2Quantifying characteristic layers 73 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ← φ(y,t=0) = f(y) ← φ(y,t) y (a) −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ← f(y) ← φ(y) y (b) Figure 41: Parabolic layers in the solution of: (a) the heat equation given by Eq.(3.10) using k=0.01 and t=0.1;(b) the diffusion–reaction problem given by Eq.(3.12) using k=0.01 and s=10√2 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2 −0.05 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 ←1 2·1 + erf( y √4kt)¸ ←1 2+sgn(y) 2h1−eξ|y|i ←H(y) (a) −0.2 −0.15 −0.1 −0.05 0 −0.01 0 0.01 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 1 2·1 + erf( y √4kt)¸→ 1 2+sgn(y) 2h1−eξ|y|i→ H(y)→ (b) Figure 42: Matching the layers in the solution of the heat equation and the diffusion–reaction problem. (a) plot domain: [−0.2,0.2],k=0.01,t=0.1and s:= (√2/t) = 10√2;(b) plot domain: [−0.2,0], the two solutions always meet at a value equal to 0.01 Let y= −y∗be the distance at which the solutions given by Eq.(3.13) and Eq.(3.14) have a value equal to 1% of [max(H(y)) − min(H(y))], i. e.0.01. Due to the inherent
74 3 multidimensional extension of the hrpg method symmetry of the problem, these solutions at y=y∗will attain a value equal to 99% of [max(H(y)) − min(H(y))], i.e.0.99. Thus we have, 1 21+erf−y∗ √4kt=1 100 =e−ξy∗ 2(3.15) Solving Eq.(3.15) we get the following equation relating sand t, st =1 4"ln(50) erf−1(49/50)#2 ≈√2⇒s≈√2 t(3.16) The above relation between sand tguarantees that the parabolic layers that appear in the solutions of the heat equation and the diffusion–production problem will have the same width. In Figure 42 using Eq.(3.16) these solutions having the same layer width are compared. We now address the initial objective of quantifying the characteristic layers found in the singularly perturbed convection–diffusion problem (3.5). Consider a fictitious reaction coefficient scand an associated dimensionless element number ωcdefined as below. sc:= √2u x,ωc=sc`2 k(3.17) where `is an appropriate element length measure. We have used the substitution t= (x/u)in Eq.(3.16) to arrive at the expression for scin Eq.(3.17). Recall that we have used earlier the same substitution in the solution of the heat equation to recover the leading term describing the characteristic layers in the solution of the convection– diffusion problem. We may use this fictitious reaction coefficient scto relate the characteristic layers of the convection–diffusion problem to similar2parabolic layers of the 1d diffusion–production problem. In this sense, the nondimensional element number ωcquantifies the characteristic layers and could be used in the design of stabilization parameters to control the numerical artifacts about these layers. Note that the value of scis a function of x, i.e.scis inversely proportional to the distance from the source of the discontinuity along the characteristic lines. In fact this is how the characteristic layers in the solution of the convection–diffusion problem behave, i.e.their width widens as we move away from the source of the discontinuity along the characteristic lines. However from the design point-of-view, a variable definition of scand hence of ωcis inconvenient. This is due to the fact that the characteristic lines could be arbitrary curves governed by the velocity field and hence finding the distance xalong these lines need not be straight-forward. Hence we redefine sc and ωcusing an appropriate element characteristic length `c. sc:= √2u `c ,ωc=sc`2 k(3.18) 3.3 objective characteristic tensors In this section we present the objective characteristic tensors hand Hused in the extension of the HRPG method to higher dimensions. In the developments to follow, 2in the sense of matched layer widths
3.3Objective characteristic tensors 75 only the multi-linear block finite elements are considered. Here objectivity is to be understood in the sense popular in tensor calculus, i.e.independence of the method on the description of the reference frame and admissible node numbering permutations of the mesh. Consider the following definition for the element length vectors li: li:= J·˜ li;Jij := ∂xi ∂exj ;˜ l1:= 2(1,0);˜ l2:= 2(0,1)(3.19) where Jrepresents the Jacobian matrix of bijective mappings from the local to global coordinate systems, xiand exirepresent the global and local coordinates respectively and ˜ liare fixed vectors along the axes of the local frame. Figure 43 illustrates the element length vectors liobtained at any arbitrary point P(ex1,ex2)within a 2d bilinear block finite element. The expression for the vectors liin 2d and at this point Pcan be simplified to the following: l1=1−ex2 2E12 +1+ex2 2E43 ;l2=1−ex1 2E14 +1+ex1 2E23 (3.20) where Eab is the edge vector pointing from node ato node b. P 1 2 3 4 E12 E43 E23 E14 l1 l2 (a) P 1 2 3 4 E12 E43 E23 E14 l1 l2 (b) Figure 43: Anisotropic element length vectors liobtained at any arbitrary point P(ex1,ex2) within a 2d bilinear block finite element. The sub-figures (a) and (b) illustrate li obtained for two admissible global node numbering permutations Let αi,βibe stabilization parameters calculated along the element length vectors liand with the following properties: a) (u·li)αi⩾0∀i, b) βi⩾0∀iand c) only scalars and free vectors3are used in their respective definitions. The definition of these parameters is delayed until §3.4. The characteristic tensors hand Hare calculated as: h:= 0.5αili,H:= 0.5(βi/|li|)[li⊗li]. Thus in 2d the characteristic tensors could be expressed as follows: h:= α1l1+α2l2;H:= β1 |l1|[l1⊗l1] + β2 |l2|[l2⊗l2](3.21) 3If one is interested only in the magnitude and direction of the vector and does not think of it as situated at any particular location, then it is called a free vector
76 3 multidimensional extension of the hrpg method Using h,Has defined above we calculate the perturbation phassociated with the HRPG method as described earlier in Eq.(2.6), i.e. ph:= [h+H·ˆ ur]·∇wh(3.22) ur:= R(φh) |∇φh|2∇φh;⇒ˆ ur:= ur |ur|=sgn[R(φh)] |∇φh|∇φh(3.23) The definition of hand Hgiven by Eq.(3.21) guarantees the objectivity of the HRPG method. Reference frame independence can be verified by the fact that the tensors h and Hobey the same tensor transformation rules as any other free tensor associated with the problem, e.g.the velocity vector u. Admissible node numbering permutations only swap one element length vector with the other (possibly with a change of sign) as shown in Figure 43b. Due to the properties of αi,βiand by their definition, the characteristic tensors hand Hare invariant with respect to these swaps in li. Remark 1: As noted in §2.2the multidimensional HRPG method could be arrived at from the FIC equations with an appropriate definition of the characteristic length as hfic := h+H·ˆ ur. Remark 2: A figure similar to Figure 43awere presented earlier in [92] (cf. Fig. 3.2, pp. 55), [22] (cf. Fig. 3.4, pp. 215) and [190] (cf. Figure 2, pp. 2205). Therein the element length vectors lievaluated at the centroid of the element were used to define a scalar element size measure. The distinction here is to use these lito arrive at objective characteristic tensors hand Hthat treat effectively the anisotropy of the finite element. 3.4 stabilization parameters Except for the modification to include the new dimensionless number introduced in §3.2that quantifies the characteristic layers, the definition of the stabilization parameters αi,βicalculated along the element length vectors liare a direct extension of their counterparts in 1d summarized in §2.5.6. Following this line, in multi dimensions and along liwe define the following nondimensional element numbers: γi:= u·li 2k ;ωi:= s|li|2 k;σi:= s|li|2 u·li(3.24) Following Eq.(3.18), the fictitious reaction coefficient bsiand the associated dimensionless number b ωialong liare calculated as follows. bsi:= max j6=i √2|u·lj| |lj|2;b ωi:= bsi|li|2 k(3.25) Following Eq.(2.78) the stabilization parameters αialong liare calculated as follows. αi:= λisgn(u·li)max1−1 |γi|,0;λi:= 1 3(1+p|σi|)(3.26) Assuming that the discretization in time is done using the implicit trapezoidal rule and following Eq.(2.76) we calculate the nonlinear pseudo-reaction coefficient δas follows. δ≈1 θ∆t k˜ φh−φn hk∞ k˜ φhk∞ (3.27)
3.5Examples 77 Following Eq.(2.72) we define the effective convection, diffusion and reaction coefficients along lias follows. e ui:= u·li |lj|−αi|li|s 2−α|li|δ 2;eki:= k+αiu·li 2;es:= s+δ(3.28) Likewise following Eq.(2.73), the effective element dimensionless numbers along li can be calculated as, e γi:= |e ui||li| 2eki;e σi:= es|li| |e ui|;e ωi:= ˜s|li|2 eki(3.29) Finally, following Eq.(2.74) the stabilization parameters βialong liare calculated using the dimensionless numbers e γi,e σi,e ωiand b ωias follows: βi:= max2 3e σi+3 e σi+2−4 e ωi+4e γi,2 3−4 b ωi,0(3.30) The inclusion of the term (2/3) − (4/ b ωi)in the definition of βiis the only modification from a straight-forward extension to multi dimensions of the definition of its counterpart in 1d. This expression follows from Eq.(2.55) and the justification is based on the strategy we employ to treat the numerical artifacts about the characteristic layers— to treat them just like the numerical artifacts about the parabolic layers in the reaction-dominant case. 3.5 examples In this section we present some examples in 2d for the convection–diffusion–reaction problem defined by Eq.(2.1). The domain Ωis discretized by considering both structured and unstructured meshes made up of just the bilinear block finite elements. The unstructured meshes are obtained by randomly perturbing the interior nodes of structured meshes with coordinates (xi,yi)as follows [60,128]: x0 i=xi+`1δrand() ;y0 i=yi+`2δrand() (3.31) where, (x0 i,y0 i)represent the corresponding coordinates of the unstructured mesh, `1,`2represent the mesh sizes of the structured mesh, δis a mesh distortion parameter and rand() is a function that returns random numbers uniformly distributed in the interval [−1,1]. Figure 44 illustrates two types of unstructured meshes obtained by this procedure using a 20 ×20 square mesh and the parameter δ=0.2. In Figure 44a,δ= 0.2was chosen for all the internal nodes of the mesh. Whereas for the nodes adjacent to the boundary in the mesh shown in Figure 44b, the perturbation perpendicular to the boundary was set to zero. The unstructured meshes obtained using the former and later techniques are denoted as ‘Type I’ and ‘Type II’ respectively. 3.5.1Steady-state examples In this section we illustrate the performance of the HRPG method for the stationary convection–diffusion–reaction problem. Unless otherwise specified, in all the examples the following data is considered. The domain Ωis [0,1]×[0,1]. Each example is
78 3 multidimensional extension of the hrpg method residual R(φh) := ∂φh ∂t +u·∇(φh) − k∆(φh) + sφh−f(x) hrpg method Find φh: [0,T]7→ Vhsuch that ∀wh∈Vh 0we have, a(wh,φh) + X eh·∇wh,R(φh)Ωe h +|R(φh)| |∇φh|H·∇wh,∇φhΩe h =l(wh) HRPG weight →wh+h+sgn[R(φh)] |∇φh|H·∇φh·∇wh definitions R(e φh)≈e φh−φn h θ∆t +u·∇(e φh) − k∆(e φh) + se φh−f φn+1 n=1 θe φh+θ−1 θφn h;∆t =tn+1−tn;θ∈(0,1) li:= 2J·eei;Jij := ∂xi ∂exj ;bsi:= max j6=i √2|u·lj| |lj|2 γi:= u·li 2k ;σi:= s|li|2 u·li;b ωi:= bsi|li|2 k λi:= 1 3(1+p|σi|);δ≈1 θ∆t ke φh−φn hk∞ ke φhk∞ αi:= λisgn(u·li)max1−1 |γi|,0 e ui:= u·li |li|−αi|li|s 2−α|li|δ 2;eki:= k+αiu·li 2;es:= s+δ e γi:= |e ui||li| 2eki;e σi:= es|li| |e ui|;e ωi:= ˜s|li|2 eki βi:= max2 3e σi+3 e σi+2−4 e ωi+4e γi,2 3−4 b ωi,0 h:= 1 2αili;H:= 1 2 βi |li|[li⊗li] Box 1: Summary of the HRPG method in multi dimensions and considering the implicit trapezoidal rule for time integration
3.5Examples 79 (a) (b) Figure 44: Unstructured 20 ×20 meshes made of bilinear block finite elements. (a) Type I: all internal nodes of the mesh are perturbed using δ=0.2.(b) Type II: the perturbation perpendicular to the boundary was set to zero for the boundary-adjacent nodes of the mesh. For the rest of the cases δ=0.2was chosen. solved using four meshes, two of which are structured and the remaining two are unstructured. The structured meshes consists of 20 ×20 (uniform/square) and 40 ×20 (rectangular) bilinear elements respectively. The unstructured meshes are obtained from the considered uniform mesh via the two perturbation techniques described earlier and illustrated in Figure 44. The obtained solutions are illustrated as surface plots whose view is described as (θ◦,ψ◦), where θ◦is the azimuthal angle with respect to the negative y-axis and ψ◦is the elevation angle from the x–y plane. Example 1: This is a classical steady-state problem introduced in [22] where the advection is skew to the mesh with downwind essential boundary conditions. The problem data is: u= (5,−9),k=10−8,s=0and f=0. The boundary conditions are: φ=1on (x=0,y>0.7)∪(x<1,y=1),φ=0.5at (x=0,y=0.7)and φ=0on the rest of the boundary. This problem has exponential boundary layers at the outflow boundary and an internal characteristic layer. Figure 45 illustrates the solutions obtained by the HRPG method viewed at (20◦,20◦). Example 2: This problem was studied in [152] wherein a nonuniform rotational velocity field is employed in a rectangular domain Ω:= [−1,1]×[0,1]. Structured meshes of 40 ×20 (uniform/square) and 80 ×20 (rectangular) bilinear elements are used. The unstructured meshes are obtained from the uniform mesh via the two perturbation techniques described earlier. The problem data is: u=104(y[1−x2],−x[1−y2]),k=10−4, f=0,s=0. The boundary conditions are: φ=1on (x < −0.5,y=0),φ=0.5at (x= −0.5,y=0),φ=0on (−0.5<x⩽0,y=0)∪(x=1,y)and on the rest of the boundary the Neumann condition n·∇φ=0is imposed. The numerical solution of the HRPG method viewed at (20◦,20◦)is shown in Figure 46. Example 3: This is a plain diffusion–reaction problem. The problem data is: u= (0,0), k=10−8,f=1,s=1. The homogeneous boundary condition φ=0is imposed
80 3 multidimensional extension of the hrpg method (a) (b) (c) (d) Figure 45: Example 1, advection skew to the mesh. The solution of the HRPG method viewed at (20◦,20◦)and using (a) a structured 20 ×20 mesh, (b) a structured 40 ×20 mesh, (c) an unstructured (Type I) 20 ×20 mesh, (d) an unstructured (Type II) 20 ×20 mesh. everywhere. The numerical solution of the HRPG method viewed at (−45◦,20◦)is shown in Figure 47. Example 4: This is a multidimensional modification of the convection–diffusion– reaction problem studied earlier in §2.5.7.1and also in [137,152]. The problem data is: u= (0.01,0),k=10−4,s=4.8and f=0. The boundary conditions are: φ=1.0 on (x=0,y)∪(x,y=0),φ= (3/8)on the rest of the boundary. The value of the element dimensionless numbers γ1,ω1are 2.5and 120 respectively. Recall that for similar problem data in 1d (cf. §2.5.7.1and [137,152]) the upwind numerical artifacts in the solution of Galerkin method were found to be enhanced in the solution of the SUPG method. The numerical solution of the HRPG method viewed at (120◦,20◦)is shown in Figure 48. Example 5: This is a uniform advection problem with a constant source term introduced in [118]. The problem data is: u= (1,0),k=10−8,f=1,s=0. The homogeneous boundary condition φ=0is imposed everywhere. The exact solution develops
3.5Examples 81 (a) (b) (c) (d) Figure 46: Example 2, nonuniform rotational advection. The solution of the HRPG method viewed at (20◦,20◦)and using (a) a structured 40 ×20 mesh, (b) a structured 80 ×20 mesh, (c) an unstructured (Type I) 40 ×20 mesh, (d) an unstructured (Type II) 40 ×20 mesh. exponential layers at the outlet boundary (x=1,y)and characteristic boundary layers at (x,y=0)and (x,y=1). The numerical solution of the HRPG method viewed at (−45◦,20◦)is shown in Figure 49. Example 6: This is a non-uniform advection problem with a constant source term introduced in [188]. The advection is caused by a unit angular velocity field. Structured meshes of 64 ×64 (uniform/square) and 128 ×64 (rectangular) bilinear elements are used. The unstructured meshes are obtained from the uniform mesh via the two perturbation techniques described earlier. The problem data is: u= (y,−x),k=10−6, f=1,s=0. The homogeneous boundary condition φ=0is imposed everywhere. This problem has a complicated boundary layer. For instance close to the boundary (x,y=0)and with an increase in x, these layers gradually vary from being parabolic to exponential while maintaining a constant profile height φ(x,y=0)≈(π/2)(away from the corners). Close to the boundary (x=1,y)the solution profile is approximately φ(x=1,y)≈(π/2) − 2tan−1(y). The numerical solution of the HRPG method viewed at (−200◦,20◦)is shown in Figure 50. Example 7: This is a uniform advection problem with a discontinuous source term introduced in [132]. The problem data is: u= (1,0),k=10−8,f(x⩽0.5,y) = 1, f(x > 0.5,y)=−1,s=0. The homogeneous boundary condition φ=0is imposed everywhere. Structured meshes of 30 ×30 (uniform/square) and 60 ×30 (rectangular)
82 3 multidimensional extension of the hrpg method (a) (b) (c) (d) Figure 47: Example 3, a reaction–diffusion problem The solution of the HRPG method viewed at (−45◦,20◦)and using (a) a structured 20 ×20 mesh, (b) a structured 40 ×20 mesh, (c) an unstructured (Type I) 20 ×20 mesh, (d) an unstructured (Type II) 20 ×20 mesh. bilinear elements are used. The unstructured meshes are obtained from the uniform mesh via the two perturbation techniques described earlier. The numerical solution of the HRPG method viewed at (−10◦,20◦)is shown in Figure 51. 3.5.2Transient examples Here we illustrate the performance of the HRPG method for the transient 2d pure convection problem. Only uniform bilinear finite elements are used here. Both of the examples presented here deal with the advection of solid bodies modeled with appropriate density functions. These problems are frequently used as test cases for advection algorithms demonstrating their treatment of dispersive oscillations and the overall solution accuracy. Example 8: This is a test case introduced in the ERCOFTAC document [24]. A circular scalar bubble is initially positioned at the bottom of a square domain in a fixed constant velocity field directed at 45◦toward the top right of the domain. The problem data is: u= (0.5,0.5),k=10−30,s=0and f=0. The domain Ω:= [0,3]×[0,3]is
3.5Examples 89 (a) (b) (c) (d) Figure 54: Example 8, transient pure convection skew to the mesh. The contour plots of the solution of the HRPG method at time (a) t=1s, (b) t=2s, (c) t=3s, (d) t=4s. that undergoes the 1d mass type averaging, in the convection-dominant case it is the derivatives of the numerical solution that undergoes the same. Thus, the Gibbs phenomenon across the characteristic layers in the later case is proportional to the variation in the derivatives of the solution across these layers. In other words for the current problem it is the slope of φhand not the actual value of φhon the boundary that determines the observed artifacts. It can be clearly seen in Figure 57cthat any method, that relies on the canonical strategy of adding a positive shock-capturing diffusion, will not be able to recover (near the boundary (x,y=0)) the nodally exact interpolant from the initial SUPG solution. On the other hand, note that the artifacts near the boundary (x,y=1)has a profile similar to the one that would have been
90 3 multidimensional extension of the hrpg method (a) (b) (c) (d) Figure 55: Example 9, rotation of solid bodies. The solution of the HRPG method viewed at (−20◦,20◦)and at time (a) t= (π/2)s i.e.after a quarter-revolution, (b) t=πs i.e.after a half-revolution, (c) t= (3π/2)s, i.e.after three quarters of a revolution (d) t=2π s i.e.after a full-revolution. observed for the L2projection of the exact solution onto the finite element space. It is for this reason that the aforesaid strategy succeeds in capturing these layers. Obviously tailor-made solutions exist to treat this shortcoming. For instance, one such trick that recovers crisp resolution of these layers for the HRPG method and for the current problem (example 10) is to reverse the sign of the stabilization parameter β(along the y-axis) for all elements containing the boundary section (x>0.5,y=0), thus enforcing a negative shock-capturing diffusion for these elements. Unfortunately it is difficult to generalize these tailor-made tricks to an arbitrary situation. An alternative would be to change the strategy to the one which directly treats the cause of the Gibbs phenomenon for both the reactive and characteristic layers4—Design the weights of a Petrov–Galerkin FEM such that the typical 1d mass type averaging in the Galerkin FEM (cf. Eq.(3.4)) be lumped in the regions across the layers. Research in this line is still under development and we delay its introduction to future works. Remark: Fortunately, this idea which was born to treat this shortcoming in the convection–diffusion–reaction problem, has opened door to a class of higher-order 4this idea is a fruit of the discussions with Prof. Ramon Codina
3.6Conclusions 91 (a) (b) (c) (d) Figure 56: Example 9, rotation of solid bodies. The contour plots of the solution of the HRPG method at time (a) t= (π/2)s i.e.after a quarter-revolution, (b) t=πs i.e.after a half-revolution, (c) t= (3π/2)s, i.e.after three quarters of a revolution, (d) t=2π s i.e.after a full-revolution. compact Petrov–Galerkin FEM effective for the Helmholtz problem. The design of such a Petrov–Galerkin FEM and its applications to the Helmholtz equation is the subject matter of chapter 5. 3.6 conclusions We have developed a multi dimensional extension of the HRPG method presented earlier in chapter 2for the 1d convection–diffusion–reaction problem. As the characteristic internal/boundary layers found in the convection-dominant case are a unique
92 3 multidimensional extension of the hrpg method −0.25 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 (a) −0.25 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 (b) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.25 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 y φh SUPG HRPG Interpolant cross section at x = 0.05 cross section at x = 0.50 cross section at x = 0.95 (c) Figure 57: Example 10, uniform advection with a negative source term. The solution obtained on a uniform 20 ×20 mesh viewed at (45◦,0◦)and using (a) the SUPG method, (b) the HRPG method. (c) Comparison of the nodally exact interpolant at three different cross sections with the numerical solution obtained by the SUPG and the HRPG method. feature of the solution in higher dimensions, they do not have any counterparts in 1d. Hence, a straight-forward extension of the stabilization parameters of the HRPG method derived for the 1d case will not be efficient to resolve these parabolic layers. The numerical artifacts that are formed across the parabolic layers are usually manifested as the Gibbs phenomenon. The strategy we employ to treat the artifacts about the characteristic layers is to treat them just like the artifacts found across the parabolic layers in the reaction-dominant case. This is done by relating the characteristic layers in the convection–diffusion problem to the parabolic layers formed in a fictitious diffusion–reaction problem. The fictitious reaction coefficient in the later problem is designed such that the parabolic layers in both the problems have the same width. Using this fictitious reaction coefficient, we present a nondimensional element num-
3.6Conclusions 93 ber that quantifies these characteristic layers. By quantification we mean that it should serve a similar purpose in the definition of the stabilization parameters as the element Peclet number does for the exponential layers. Although the structure of HRPG method in 1d is identical to the consistent approximate upwind Petrov–Galerkin method [68], in multi dimensions the former method has a unique structure. The distinction is that in general the upwinding is not streamline and the discontinuity-capturing is neither isotropic nor purely crosswind. In this line, we present anisotropic element length vectors liand using them objective characteristic tensors associated with the HRPG method are defined. Only the multilinear block finite elements are considered in this study. Except for the modification to include the new dimensionless number that quantifies the characteristic layers, the definition of the stabilization parameters αi,βicalculated along the element length vectors liare a direct extension of their counterparts in 1d summarized earlier in §2.5.6. Finally, several steady-state and transient examples are presented that throws light on the good performance of the proposed method.
Part II HELMHOLTZ PROBLEM
Most of what we learn, we learn indirectly or by ’head-fake’. — Randy Pausch. 4 ALPHA-INTERPOLATION OF FEM AND FDM 4.1 introduction In this chapter we study the Helmholtz equation given by R(φ) := f(x) + ∆φ +ξ2φ=0 and subjected to Dirichlet boundary conditions. The solution φto this equation is oscillatory and ξis the wave number (spatial frequency) of φ. If λmis an eigenvalue of the operator −∆, then for ξ6=√λmthe problem has a unique solution. On the contrary, i.e.for ξ=√λmthe problem is indefinite. In this case if the equation and the Dirichlet boundary conditions are homogeneous then we end up in a differential eigenvalue problem. It follows that the solution is not unique and can be represented as a scalar multiple of the eigenfunction corresponding to each eigenvalue. Let λh m represent an eigenvalue of the problem after any appropriate discretization. Unlike the set of eigenvalues {λm}which is infinite, the set {λh m}is finite and its dimension is equal to that of the discrete space. Thus when the wave number ξ→pλh mthe discrete problem tends to be indefinite. This case is usually referred to as the case of degeneracy and here the discrete problem is ill-conditioned. As the current problem admits a variational principle, naturally, discretization methods based on variational formulations viz. the Galerkin and the Trefftz–Galerkin type methods have been preferred to other methods. The Galerkin type methods are domain-based wherein the integral statement involves only the weak form of the governing differential equation and the sub-space of test-functions are assumed to satisfy a priori the kinematic compatibility and essential boundary conditions. The Trefftz– Galerkin type methods are boundary-based and are formulated using the reciprocal principle wherein the integral statement involves only the kinematic compatibility and essential boundary conditions of the problem and the sub-space of test-functions are assumed to satisfy a priori the governing differential equation [27,41]. In the context of the Galerkin type methods, the finite element method (FEM) is a powerful technique to systematically generate subspaces of test-functions (classically piecewise polynomial spaces). Some of the earlier works on the use of FEM for the numerical solution of the Helmholtz equation can be found in [5,6,9,47,107,108,130] and the references cited therein. In [5,107] error estimates were given for the asymptotic (ξ2`assumed sufficiently small) and pre-asymptotic (ξ` assumed sufficiently small) cases respectively. It was shown that for the discrete problem the LBB1constant can be expressed as γh=min{|λh m−ξ2|/λh m}[47]. Thus for the continuous problem (visualized as `→0) the LBB constant can be expressed as γ=min{|λm−ξ2|/λm} which in an average sense implies that γis inversely proportional to the wavenumber ξ, i.e.γ∝ξ−1[47,107]. Thus for high wavenumbers and for the case of degeneracy (ξ→pλh m) the LBB constant for the discrete problem tends to be small which in 1Ladyzhenskaya-Babuska-Brezzi constant 97
98 4 alpha-interpolation of fem and fdm turn leads to a loss of stability. The loss of stability with respect to an increase in the wavenumber ξis called the pollution effect which is impossible to avoid completely [9]. Nevertheless the pollution effect can be controlled unlike the loss of stability for the case of degeneracy where it is out of control. Several stabilization methods were developed to control the pollution effect of the Galerkin FEM. The Galerkin least squares (GLS) method was extended to the Helmholtz equation in [79,181]. In [79] the extension of the Galerkin gradient least squares (GGLS) method for the current problem was also studied. In order to retain stability for problems that involve the physics of both the convection–diffusion– reaction and Helmholtz equations the GLSGLS method was proposed [80]. Following the framework of the Generalized Finite Element Methods (GFEM) which were first introduced in [8] in a variational setting, the Quasi-Stabilized FEM (QSFEM) was proposed in [10]. To be precise, within an algebraic setting a 9-node interior stencil was designed such that the pollution effect is asymptotically minimal, thus leading to minimal phase error for arbitrary wave direction in 2d. The partition of unity method (PUM) was proposed in [7,131] by which conforming subspaces of higher regularity can be generated out of a set of local approximation spaces. These local approximation spaces could be designed to include a priori knowledge about the local behavior of the solution. Recently, following the framework of PUM, a locally enriched FEM was proposed in [121] wherein it was shown that the Bessel functions of the first kind could be used to enrich the finite element space instead of the plane waves (as is done in PUM). Another stabilization approach consists of enriching the classical finite element spaces by bubble functions. Following this line the residual-free bubbles (RFB) method was extended to the Helmholtz equation in [67]. Another bubble-based method is the nearly optimal Petrov–Galerkin method (NOPG) presented in [13]. A comparison of the RFB and NOPG methods for the Helmholtz equation was done in [78]. Recently another GFEM was proposed in [173] in which the classical FEM is enriched by plane waves pasted into the finite element basis at each mesh vertex by the PUM. Also, this method allows the use of Cartesian meshes which may overlap the boundaries of the problem domain. This GFEM was further developed in [174] wherein the effects of using alternative handbook functions and mesh types is addressed. Based on the variational multiscale (VMS) method several stabilization methods were proposed, viz. the sub-grid FEM [159], the two sub-grid scale (SGS) models presented in [28], the residual-based FEM (RBFEM) [160] and more recently, the algebraic subgrid FEM (ASGS) [74] and the SGS-GSGS method [86]. Following the more general VMS method wherein the subscales are not modeled as bubbles, the RBFEM method also includes the residuals on the inter-element boundaries while retaining the sparsity of the Galerkin method. As in the GLSGLS method, the SGS-GSGS method attempts to stabilize the advection–diffusion–reaction/production problem and is designed to be nodally exact in 1d. Within the framework of the discontinuous Galerkin (DG) method, the discontinuous enrichment method (DEM) was proposed [57,58] wherein the classical finite element spaces are enriched (as in bubble-based methods) via a set of local approximation spaces (as in the PUM-based methods). In the DEM, the continuity of the enrichment across element boundaries is enforced weakly by Lagrange multipliers (unlike the PUM-based methods) and it need not vanish at the element boundaries (unlike the bubble-based methods). Another DG method is presented in [3] wherein the continuity of the finite element spaces across
4.3Analysis in 1d 105 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −4 −3.5 −3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 ω* f(ω*) f(ω*) ; ω* ∈ [0,1] fl fm fc fl(ω*) fc(ω*) fm(ω*) fe(ω*) (a) 0 1/40 2/40 3/40 4/40 5/40 6/40 7/40 8/40 9/40 1/4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ω* f(ω*) f(ω*) ; ω* ∈ [0,1/4] fl(ω*) fc(ω*) fm(ω*) fe(ω*) (b) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −1 −0.5 0 0.5 1 ω* ξ* ξ*(ω*) ; ω* ∈ [0,1] ξ* l1 ξ* l2 ξ* m1 ξ* m2 ξ* c1 ξ* c2 ξ* l1 ξ* l2 ξ* c1 ξ* c2 ξ* m1 ξ* m2 ξ* a1 ξ* a2 (c) 0 1/40 2/40 3/40 4/40 5/40 6/40 7/40 8/40 9/40 1/4 −0.6 −0.55 −0.5 −0.45 −0.4 −0.35 −0.3 −0.25 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 ω* ξ* ξ*(ω*) ; ω* ∈ [0,1/4] ξ* l1 ξ* l2 ξ* c1 ξ* c2 ξ* m1 ξ* m2 ξ* a1 ξ* a2 (d) Figure 58: Plots of f(ω∗)and ξ∗(ω∗).(a) Domain: ω∗∈[0,1];(b) Domain: ω∗∈[0,1/4];(c) Domain: ω∗∈[0,1];(d) Domain: ω∗∈[0,1/4]
106 4 alpha-interpolation of fem and fdm ξo pλm−2pλm−1√λmpλm+1 qλh m−2qλh m−1pλh m ξh Figure 59: A schematic diagram that illustrates the encounter of a zone of degeneracy on mesh refinement (`→0). As the value of pλh mcrosses ξoon its path towards √λm, the discrete LBB constant takes values arbitrarily close to zero. different resolution viz. 41,81,162 and 323 elements are considered. These meshes guarantee the presence of at least 8,16,32 and 64 elements per wavelength of the harmonic solution respectively. All the meshes restrict the domain of ω∗to [0,1/16]. Figure 60 illustrates the plots of the numerical solutions obtained using a consistent, lumped and semi-lumped mass matrices denoted by Φc h,Φl hand Φm hrespectively, against the exact solution of the problem denoted by Φa. In Figure 60athe solutions Φc hand Φl hare out-of-phase and as expected the phase accuracy improves on mesh refinement (Figures 60b-d). We observe a remarkable error in the amplitude of these solutions. Note that there is no intrinsic amplification for all the schemes and the errors in the angular wave numbers ξ∗ c,ξ∗ lare small (Figure 58d). The amplitude of the solution depends not only on the intrinsic amplification of the scheme but also on the wave number ξand on the applied Dirichlet boundary conditions. Thus we may conclude that small errors in the wave number of the computed solution may result in huge errors in their amplitude. An alternative explanation to this behavior can be given via the following argument. First note that (√λ10 =31.4159)<(ξo= 10√10 =31.6227)<(√λ11 =34.5575). It is possible that the discrete eigenvalue qλh 10 for the initial course mesh/grid is greater than ξoand on further mesh refinement it approaches √λ10 by crossing ξo. This explains the observation that the numerical solution Φc hon mesh refinement first explodes (as it enters the zone of degeneracy) and then gradually converges to the exact solution. Figure 59 illustrates schematically4 the encounter of a zone of degeneracy on mesh refinement (`→0) while as the value of pλh mcrosses ξoon its path towards √λm. Nevertheless, the convergence of the discrete wavenumber (ξh→ξo) need not be affected in this process. This argument also suggest that this phenomenon could have been equally observed for the solutions Φl hand Φm hshould their corresponding discrete eigenvalues cross ξo. On the other hand, the solution Φm hcould represent approximately the profile of the exact solution even on the coarsest mesh (see Figure 60a). Figures 60b-dshow that on further mesh refinements Φm his indistinguishable from the analytical solution. 4A similar figure was presented earlier in [47] (c.f. Figure 1, pp. 74)
4.3Analysis in 1d 107 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10 11 x Φh k = 0.001 , s = 1 , f = 0 ; 41 elements ; Φl = 3 , Φr = 1 Φh a Φh c Φh l Φh m (a) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10 11 x Φh k = 0.001 , s = 1 , f = 0 ; 81 elements ; Φl = 3 , Φr = 1 Φh a Φh c Φh l Φh m (b) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10 11 x Φh k = 0.001 , s = 1 , f = 0 ; 162 elements ; Φl = 3 , Φr = 1 Φh a Φh c Φh l Φh m (c) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 10 11 x Φh k = 0.001 , s = 1 , f = 0 ; 323 elements ; Φl = 3 , Φr = 1 Φh a Φh c Φh l Φh m (d) Figure 60: Numerical solution Φhusing a mesh with at least: (a) 8elements per wave length ; (b) 16 elements per wave length ; (c) 32 elements per wave length ; (d) 64 elements per wave length. In figures (c) and (d) the solution Φm heffectively coincides with the exact solution and the solutions Φc mand Φl mbound the exact solution from above and below respectively.
108 4 alpha-interpolation of fem and fdm 4.4 analysis in 2d 4.4.1Introduction In multidimensions the general solution to the problem (4.1) considering a linear source f(x)may be expressed as follows: φ(x) = f s+X θ Cθexp(iξθ·x)(4.19a) |ξθ|=ξo⇒ξθ:= (ξθ 1,ξθ 2)=(ξocos(θ),ξosin(θ)) (4.19b) where, Cθrepresents a generic constant independent of the spatial coordinates. Generally it is not possible to arrive at an expression for Cθin the closed form. Nevertheless this detail is not needed in the Fourier analysis of these problems. Eliminating θfrom Eq.(4.19b) we arrive at the characteristic equation of the continuous problem (4.1): (ξθ 1)2+ (ξθ 2)2=ξ2 o(4.20) 4.4.2Galerkin FEM using rectangular bilinear finite elements The element contributions to the matrices given in Eq.(4.4) using 4-node rectangular bilinear finite elements are, De=`2 6`1 2−2−1 1 −2 2 1 −1 −1 1 2 −2 1−1−2 2 +`1 6`2 2 1 −1−2 1 2 −2−1 −1−2 2 1 −2−1 1 2 (4.21a) Me=`1`2 36 4 2 1 2 2 4 2 1 1 2 4 2 2 1 2 4 (4.21b) where `1,`2are the corresponding element lengths along the 2d axes. Restraining the discretization to be uniform, we can arrive at an equation stencil for every interior node of the mesh. We use the following notation (described earlier in §3.1) to represent a generic compact stencil obtained for the (i,j)node on a rectangular grid. {◦j+1,◦j,◦j−1}A{◦i−1,◦i,◦i+1}t=0(4.22) where Arepresents the matrix of the stencil coefficients. We can guess that a solution to Eq.(4.22) takes the form Φi,j:= φ(xi 1,xj 2) = exp[i(ξh 1xi 1+ξh 2xj 2)]. Substituting this solution into Eq.(4.22) and defining λ1:= exp(iξh 1`1)and λ2:= exp(iξh 2`2)we get the characteristic equation of the generic stencil(4.22): λ2,1,λ−1 2Aλ−1 1,1,λ1t=0(4.23)
4.4Analysis in 2d 109 The stencil for the Galerkin FEM method corresponding to any interior node (i,j) can be written as Eq.(4.22) with the following definition of the stencil coefficient matrix (A): Afem := k`2 6`1 {1,4,1}t{−1,2,−1}+k`1 6`2 {−1,2,−1}t{1,4,1} −s`1`2 36 {1,4,1}t{1,4,1} (4.24) The stencil for the classical FDM method corresponding to any interior node (i,j) can be written as Eq.(4.22) with the following definition of A: Afdm := k`2 6`1 {0,6,0}t{−1,2,−1}+k`1 6`2 {−1,2,−1}t{0,6,0} −s`1`2 36 {0,6,0}t{0,6,0} (4.25) The characteristic equation associated with the stencil for the Galerkin FEM can be written as Eq.(4.23) using the definition of Agiven by Eq.(4.24). Likewise the characteristic equation associated with the stencil for the classical FDM can be written as Eq.(4.23) using the definition of Agiven by Eq.(4.25). 4.4.3A nonstandard compact stencil in 2d Define two free parameters α1,α2and consider the following definition of A: Aα1,α2:= (1−α1)k`2 6`1 {1,4,1}t{−1,2,−1}+α1 k`2 6`1 {0,6,0}t{−1,2,−1} + (1−α1)k`1 6`2 {−1,2,−1}t{1,4,1}+α1 k`1 6`2 {−1,2,−1}t{0,6,0} − (1−α2)s`1`2 36 {1,4,1}t{1,4,1}−α2 s`1`2 36 {0,6,0}t{0,6,0} (4.26) Note that taking α1=α2=αwe arrive at a stencil that is the α-interpolation of the FEM and FDM stencils, i.e.Aα,α= (1−α)Afem +αAfdm. Likewise taking α1=0and α2=αwe arrive at a stencil that results from the Galerkin FEM method using an αinterpolated mass matrix Mα:= (1−α)M+αML. We remark that unlike in 1d where both choices resulted in the same stencil, in 2d the obtained stencils are different. Next we relate this nonstandard stencil with the compact fourth-order Padé approximation in 2d. A generalized version of the same was studied in [81,168] and the associated stencil coefficient matrix of the scheme Aγcan be expressed as follows: Aγ:= −k{0,1,0}+{1,−2,1} 12 t{1,−2,1} `2 1 −k{1,−2,1}t `2 2{0,1,0}+{1,−2,1} 12 −s{0,1,0}+{1,−2,1} 12 t{0,1,0}+{1,−2,1} 12 −s(γ−1){1,−2,1}t 12 {1,−2,1} 12 (4.27) where γis a free parameter. The standard compact fourth-order Padé scheme in 2d is obtained by selecting γ=1. Other alternatives viz. γ=0and γ=2were presented
110 4 alpha-interpolation of fem and fdm in [40](cf. Appendix, Table VI, p.542). After some algebraic rearrangement, matrix Aγ given in Eq.(4.27) can be re-written equivalently as follows: Aγ:= k 2{1,4,1} 6+{0,6,0} 6t{−1,2,−1} `2 1 +k 2 {−1,2,−1}t `2 2{1,4,1} 6+{0,6,0} 6 −s 2"{1,4,1}t 6 {1,4,1} 6+{0,6,0}t 6 {0,6,0} 6#−s(γ−2){1,−2,1}t 12 {1,−2,1} 12 (4.28) Note that by selecting γ=2we obtain a stencil that is equivalent to the one obtained by taking the average of the FEM and the FDM stencils. Thus, A2=1 `1`2 A0.5,0.5(4.29) We now relate this nonstandard stencil for square meshes with the compact scheme proposed by Vichnevetsky and Bowles [187] in order to reduce the anisotropy related to the numerical dispersion. This scheme was studied in [183] and the conditions for appropriate numerical isotropy were determined therein. Also, this scheme was used to synthesize an equivalent transmission-line matrix (TLM) [115] model for the Maxwell’s equations in [167]. The associated stencil coefficient matrix Avb can be written as follows. Avb := γk `2 0−1 0 −1 4 −1 0−1 0 +(1−γ)k 2`2 −1 0 −1 0 4 0 −1 0 −1 −s 0 0 0 0 1 0 0 0 0 (4.30) where γis the associated interpolation parameter. Note that for γ=1we recover the classical FDM (i.e.the second-order central difference scheme) and for γ=0we get a similar scheme but with the stencil inclined at 45◦and hence with the mesh size √2`. Note that we recover the Galerkin FEM contribution of the term −k∆φ by choosing γ= (1/3). Making the substitution γ= (1+2α)/3 in Eq.(4.30) and after some algebraic rearrangement, matrix Avb can be re-written equivalently as follows: Avb := k(1−α) 6{1,4,1}+α 6{0,6,0}t{−1,2,−1} `2 +k{−1,2,−1}t `2(1−α) 6{1,4,1}+α 6{0,6,0}−s{0,6,0}t 6 {0,6,0} 6(4.31) This is precisely what we get using an α-interpolated (Galerkin FEM and classical FDM) diffusion matrix in the classical FDM stencil. Thus, on square meshes we can relate Avb with the nonstandard stencil as shown below. Avb =1 `2Aα,1(4.32)
4.4Analysis in 2d 111 Using the definition of Agiven by Eq.(4.26), the characteristic equation associated to the resulting stencil is given by Eq.(4.33) and on simplification we arrive at Eq.(4.34). λ2,1,λ−1 2Aα1,α2λ−1 1,1,λ1t=0(4.33) ⇒[(1−α1)(λ2 2+4λ2+1) + 6α1λ2](−1+2λ1−λ2 1) 6ω1 +(−λ2 2+2λ2−1)[(1−α1)(1+4λ1+λ2 1) + 6α1λ1] 6ω2 −[(1−α2)(λ2 2+4λ2+1)(1+4λ1+λ2 1) + 36α2λ2λ1] 36 =0 (4.34) where ω1,ω2are two dimensionless element numbers defined as follows: ω1:= s`2 1 k= (ξo`1)2;ω2:= s`2 2 k= (ξo`2)2(4.35) Unlike in 1d, the characteristic equations of the stencils in 2d have infinite solutions (fundamental frequencies (ξh 1,ξh 2)) for every (ω1,ω2)pair. For every choice of the pair (ω1,ω2), these solutions will trace well-defined contours in the ξh 1−ξh 2plane. The solutions to Eq.(4.34) are symmetric about the origin and the axes. This statement can be easily verified due to the fact that by replacing the pair (λ1,λ2)with (λ±1 1,λ±1 2) in Eq.(4.34) we end up in the same equation. Thus we may conclude that if (ξh 1,ξh 2) is a solution to Eq.(4.34) then (±ξh 1,±ξh 2)are also solutions to the same. Obviously this statement also extends to the characteristic equation of the continuous problem (4.20) which additionally has a rotational symmetry (i.e.if (ξθ 1,ξθ 2)is a solution then (ξθ 2,ξθ 1)is also a solution). These contour lines are circular for the continuous problem and their radius equals to the chosen ξovalue. Rotational symmetry for the solution (ξh 1,ξh 2)is attained should the element lengths be the same, i.e.`1=`2=`. In this case the stencil coefficient matrix Aα1,α2is symmetric and after scaling down by kit can be expressed as follows: Aα1,α2 k= A2A1A2 A1A0A1 A2A1A2 α1,α2 ; Aα1,α2 0:= 8 3−4ω 9+4α1 3−5ωα2 9 Aα1,α2 1:= −1 3−ω 9−2α1 3+ωα2 9 Aα1,α2 2:= −1 3−ω 36 +α1 3+ωα2 36 (4.36) where, ω:= (s`2/k)=(ξo`)2. Finally we relate this nonstandard stencil with methods that have a symmetric stencil coefficient matrix Asym defined as: Asym := A2A1A2 A1A0A1 A2A1A2 (4.37) Let g1= (4A1/A0)and g2= (4A2/A0)and if (g1+g2+1)6=0then we can obtain Asym (possibly scaled by a factor) from Aα1,α2by selecting α1and α2as follows: α1:= 4(g1+g2+1) + ω(g1−4g2) 8(g1+g2+1);α2:= 12(g1+g2+1) + ω(2−g1−4g2) 2ω(g1+g2+1)
112 4 alpha-interpolation of fem and fdm (4.38) For instance consider the QSFEM method [10] for which the expressions for g1and g2can be written as shown below. g1:= 2(c1s1−c2s2) c2s2(c1+s1) − c1s1(c2+s2);g2:= (c2+s2−c1−s1) c2s2(c1+s1) − c1s1(c2+s2) (4.39a) c1:= cosh√ωcosπ 16i c2:= cos√ωcos3π 16 s1:= cosh√ωsinπ 16i s2:= cos√ωsin3π 16 (4.39b) 4.4.4Numerical solution, phase error and local truncation error In this section we will deal only with the case when `1=`2=`. Here we present the solution to Eq.(4.34) for a given α1,α2expressed as a generic series expansion in terms of ωas follows: α1:= ∞ X m=0 amωm≈a0+a1ω+a2ω2+a3ω3+Oω4(4.40a) α2:= ∞ X m=0 bmωm≈b0+b1ω+b2ω2+b3ω3+Oω4(4.40b) where am,bmare coefficients independent of ω. Following [10] the solution ξh:= (ξh 1,ξh 2)can also be expressed as a series expansion in terms of ω: ξh 1` ξh 2`=R(am,bm,β,ω)cos(β) sin(β)(4.41a) R:= √ω"1+∞ X m=1 rm(ai,bi,β)ωm#≈√ω1+r1ω+r2ω2+r3ω3+Oω4 (4.41b) where, rmare coefficients independent of ωand will be determined later in this section. Recall that the numerical solution in 1d given by Eq.(4.13) or Eq.(4.14) obeys the above series expansion in terms of ω. Figure 61 illustrates schematically the contour traced by the numerical solution Ph(ξh 1`,ξh 2`)and compares it with the contour of the exact solution P(ξβ 1`,ξβ 2`). In [10] the denomination ‘dist(β)’ was used for the distance between Phand P, i. e.dist(β) := R−√ω. Therein ‘dist(β)’ was used as a measure of the approximation quality of the solution and from it error estimates were derived that bound the solution from below. The relative phase error of the solution along any direction βis given by, kξhk−kξβk kξβk=R−√ω √ω=dist(β) √ω=∞ X m=1 rmωm≈r1ω+r2ω2+r3ω3+Oω4 (4.42)
4.4Analysis in 2d 113 β Ph P O P:= √ω(cos β, sin β) Ph:= R(β, ω)(cos β, sin β) R(β, ω) := √ω"1 + ∞ X m=1 rm(β)ωm# ξh 1ℓ ξh 2ℓ Figure 61: A schematic diagram of the contours traced by the numerical solution Ph(ξh 1`,ξh 2`) and the exact solution P(ξβ 1`,ξβ 2`). Substituting Ph(ξh 1`,ξh 2`)into the stencil corresponding to Aα1,α2given in Eq.(4.36) we get: Aα1,α2 0+2Aα1,α2 1[cos(Rcosβ) + cos(Rsinβ)] + 4Aα1,α2 2cos(Rcosβ)cos(Rsinβ) = 0 (4.43) Using the definitions of α1,α2and Rgiven in Eq.(4.40) and Eq.(4.41b) respectively, the left hand side (LHS) of Eq.(4.43) can be expanded as a series in terms of ωas shown in Eq.(4.44a). The first four coefficients of this series can be expressed as shown in Eq.(4.44b) and Eq.(4.44c) respectively. LHS =∞ X m=0 Sm(ai,bj,rk,β)ωm(4.44a) S0=S1=0;S2=2r1+3+2a0−8b0 48 +1−2a0 48 cos(4β)(4.44b) S3=2r2+r2 1+2a0−4b0−1 12 r1+24a1−96b1−2a0+8b0−5 576 +10a0−7−120a1 2880 +1−2a0 12 r1cos(4β) (4.44c) The local truncation error of the solution along any direction βis found by substituting the exact solution P(ξβ 1`,ξβ 2`)into the stencil corresponding to Aα1,α2given in Eq.(4.36). This is equivalent to substituting rk=0∀kin the expression for LHS given in Eq.(4.44a). Thus using the result S0=S1=0, the relative truncation error Talong any direction βis given by: T:= LHS|P ω=∞ X 2 Sm(ai,bj,rk=0,β)ωm−1≈S2ω+S3ω2+S4ω3+Oω4 (4.45) We now present the expressions for the unknowns rk. Clearly all the coefficients Sm should be zero for Eq.(4.43) to hold. We can solve for the unknowns rkby imposing
114 4 alpha-interpolation of fem and fdm the conditions Sm=0∀m. Thus the first two unknowns in Eq.(4.41b) viz. r1and r2 can be expressed as follows: r1= − 3+2a0−8b0 96 −1−2a0 96 cos(4β)(4.46a) r2= −r2 1 2−2a0−4b0−1 24 r1−24a1−96b1−2a0+8b0−5 1152 −10a0−7−120a1 5760 +1−2a0 24 r1cos(4β) (4.46b) Note that we obtain the condition r1=0if and only if a0and b0satisfy the condition a0=b0= (1/2). Further we obtain the condition r2=0if and only if a1 and b1satisfy the condition a1= (−1/60)and b1= (−1/40). For these choices of a0,a1,b0and b1the first five coefficients in {Sm}can be simplified as follows: S0=S1=0;S2=2r1;S3=2r2+r2 1−r1 6(4.47a) S4=2r3+2r1r2−r2 6−r1 720 −5r2 1 12 −5 55296 −a2−4b2 24 +1+576a2 13824 cos(4β) + cos(8β) 387072 (4.47b) Likewise, by imposing the condition S4=0the unknown r3in Eq.(4.41b) can be simplified to the following: r3=5 110592 −a2−4b2 48 +1+576a2 27648 cos(4β) + cos(8β) 774144 (4.48) Clearly it is impossible to obtain the condition r3=0and this fact was pointed out earlier in [10]. To conclude this section we summarize the salient results. The parameters α1and α2that appear in Aα1,α2can be chosen such that the numerical solution be sixth-order accurate, i.e.O(ξo`)6or equivalently Oω3. Recall that this is the maximum order of accuracy that can be attained on any compact stencil [10]. All such α1and α2should obey the following series expansion in terms of ω. α1=1 2−ω 60 +∞ X m=2 amωm;α2=1 2−ω 40 +∞ X m=2 bmωm(4.49) The relative phase and local truncation errors of these schemes can be expressed as follows: kξhk−kξβk kξβk=r3ω3+Oω4;T= −2r3ω3+Oω4(4.50) where r3is given in Eq.(4.48). As am,bm(m⩾2)can be chosen arbitrarily, infinitely many sixth-order schemes can be designed through Aα1,α2. Of course some particular choice of am,bmmay yield a scheme with better features. For instance, am,bmmay be chosen such that the local truncation error Tbe zero along some chosen directions.
4.4Analysis in 2d 121 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 −0.025 −0.02 −0.015 −0.01 −0.005 0 0.005 β Relative LTE Relative local truncation error (LTE) for ω* = 1/4 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (a) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 −5 −4 −3 −2 −1 0 1x 10−3 β Relative LTE Relative local truncation error (LTE) for ω* = 1/9 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (b) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 −16 −14 −12 −10 −8 −6 −4 −2 0 2x 10−4 β Relative LTE Relative local truncation error (LTE) for ω* = 1/16 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (c) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 −7 −6 −5 −4 −3 −2 −1 0 1 2x 10−4 β Relative LTE Relative local truncation error (LTE) for ω* = 1/25 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (d) Figure 64: Relative local truncation error plots using `1=`2. Comparisons are made for the considered four cases viz. I–IV and for (a) ω∗= (1/4);(b) ω∗= (1/9);(c) ω∗= (1/16);(d) ω∗= (1/25)
122 4 alpha-interpolation of fem and fdm 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 10−6 10−5 10−4 10−3 10−2 10−1 β |Relative LTE| Relative local truncation error (LTE) for ω* = 1/4 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (a) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 10−7 10−6 10−5 10−4 10−3 10−2 β |Relative LTE| Relative local truncation error (LTE) for ω* = 1/9 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (b) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 10−7 10−6 10−5 10−4 10−3 10−2 β |Relative LTE| Relative local truncation error (LTE) for ω* = 1/16 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (c) 0 Pi/16 Pi/8 3Pi/16 Pi/4 5Pi/16 3Pi/8 7Pi/16 Pi/2 10−8 10−7 10−6 10−5 10−4 10−3 β |Relative LTE| Relative local truncation error (LTE) for ω* = 1/25 α1=α2 = 0.5 α1=α2 = αθ; θ = 0 α1=α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM (d) Figure 65: Log-scaled relative local truncation error plots using `1=`2. Comparisons are made for the considered four cases viz. I–IV and for (a) ω∗= (1/4);(b) ω∗= (1/9) ;(c) ω∗= (1/16);(d) ω∗= (1/25)
4.4Analysis in 2d 123 meshes restrict the domain of ω∗to [0,1/4]. For these considerations we study the convergence of the relative error in the following error norms: L2norm kφ−φhk0 kφk0 := [RΩ(φ−φh)2dΩ]1/2 [RΩφ2dΩ]1/2 (4.61a) H1semi-norm kφ−φhk1 kφk1 := [RΩ|∇(φ−φh)|2dΩ]1/2 [RΩ|∇φ|2dΩ]1/2 (4.61b) l∞Euclidean norm |Φe−Φh|∞ |Φe|∞ := maxi|Φi e−Φi h| maxi|Φi e|(4.61c) In the convergence studies done here, the numerical solutions corresponding to the four cases viz. I–IV, are compared with the following solutions: the nodally exact interpolant denoted by Ihφand the best approximations with respect to the L2norm and the H1semi-norm denoted by P0 hφand P1 hφrespectively. The solutions Ihφ,P0 hφ and P1 hφcan be found as shown in Eq.(4.62). Ihφ:= NaΦa e(4.62a) ZΩ wh(φ−P0 hφ)dΩ=0∀wh∈Vh 0 ⇒ k φ−P0 hφk0⩽kφ−φhk0∀φh∈Vh (4.62b) ZΩ ∇wh·∇(φ−P1 hφ)dΩ=0∀wh∈Vh 0 ⇒ k φ−P1 hφk1⩽kφ−φhk1∀φh∈Vh (4.62c) As here the exact solution is sinusoidal, we have used a third-order Gauss quadrature rule to evaluate the expressions in Eq.(4.61) and Eq.(4.62). Figures 66aand 66b illustrate the convergence of the relative error considering the wavenumber ξo= 10√10 ≈31.62, the wave direction β= (π/9)and using the L2norm and H1semi- norm respectively. Figures 66cand 66dillustrate the same but now considering the wave direction β= (π/4). Clearly the errors in the L2norm and H1semi-norm corresponding to all the cases are greater than that of the respective best approximations. The error lines corresponding to the cases II–IV show a convergence trend indistinguishable from the error line of Ihφ. On coarse meshes the error line corresponding to case I deviates significantly from the error line of Ihφ. Nevertheless, it quickly recovers the convergence trend of the later on finer meshes. Figures 67aand 67billustrate the convergence of the relative error considering the wavenumber ξo=100, the wave direction β= (π/9)and using the L2-norm and H1-seminorm respectively. Figures 67cand 67dillustrate the same but now considering the wave direction β= (π/4). Note that a higher value of ξodoes introduce the ‘pollution-effect’ in the error lines as they deviate more from the error line of Ihφ. However the pollution effect is very small for cases II and III and is practically nil for case IV (sixth-order dispersion accuracy). Figure 68 illustrates the convergence of the relative error in the l∞Euclidean norm. As a nodally exact solution requires that the dispersion error be zero, one may expect that the order of convergence in the l∞Euclidean norm be the same as that of the corresponding dispersion error. In fact the same is observed for the solutions corresponding to all the cases. The error lines of cases I–III converge at a fourth-order rate and that of case IV converges at a sixth-order rate. The error lines of the best
124 4 alpha-interpolation of fem and fdm approximations in the L2norm (P0 hφ) and the H1semi-norm (P1 hφ) converge at a second-order rate. The relative error of P0 hφis always greater that that of P1 hφ. The pollution effect is now clearly visible for all the cases. Irrespective of the wave direction β, the error lines of all the cases shift higher with an increase in the wavenumber ξo. Meanwhile, the location of the error lines of P0 hφand P1 hφare practically unaffected by an increase in ξo(no pollution). As the magnitudes of the relative error in the l∞Euclidean norm for cases II–IV is small (with respect to relative error of Ihφin the the L2norm and the H1semi-norm) for both the values of ξo, the pollution effect is hardly visible for these cases considering the relative error in the L2norm and the H1semi-norm. Remark: As discussed in Section 4.3.4and pointed out earlier in [47], though the discrete LBB constant in an average sense is inversely proportional to ξo, it has a more complicated behavior that tends its value to zero should ξoapproach the zones of degeneracy (see Figure 59). Thus pollution effects may be found not only for higher wavenumbers but also in those situations where the wavenumber ξoapproaches the zones of degeneracy. Of course, the higher the dispersion accuracy the closer will be the discrete eigenvalues to their continuous counterparts and narrower will be the zones of degeneracy. Also, if only the Dirichlet boundary conditions are prescribed (as is the case here), spurious amplitude and/or phase modulations might occur to satisfy them in spite of small dispersion errors [79]. For the presented scheme, we have found vestiges of this behavior along the wave direction β=0. 4.5 conclusions and outlook A fourth-order compact scheme on structured meshes is presented for the Helmholtz equation. The scheme consists in taking the α-interpolation of the Galerkin FEM and the classical FDM. For the 2d analysis of this scheme a generic nonstandard compact stencil involving two parameters α1,α2is considered. In particular this nonstandard compact stencil can model the aforementioned scheme (choosing α1=α2=α) and also the QSFEM which has a dispersion accuracy of sixth-order. The expression for the numerical solution of this nonstandard stencil is given considering generic expressions for α1,α2written as a series expansion in terms of ω:= (ξo`)2. Using this result, we provide the expressions for the phase and local truncation errors of this nonstandard compact stencil. In particular for our scheme it is shown that these errors diminish at the rate O(ξo`)4or equivalently Oω2. An expression for the parameter αis given that minimizes the relative phase error in the pre-asymptotic range (ξo`small). Also, by this choice the local truncation error of the scheme along the direction β= (π/8)is made zero. Convergence studies of the relative error in the L2norm, the H1semi-norm and the l∞Euclidean norm are done and the pollution effect is found to be small. In particular, using the optimal expression for αthe relative error of our scheme in the l∞Euclidean norm (for the considered examples and using at least ten elements per wavelength) is found to be around or less than one percent. The abstractness in the definition of the QSFEM hinders its extension to unstructured meshes. This is a common problem faced by all the sixth-order methods proposed within the framework of the FDM. The recently proposed QOPG method addresses this issue and is able to attain a dispersion accuracy of the same order as
4.5Conclusions and Outlook 125 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) L2 norm; Wave direction = 20º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (a) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) H1 semi−norm; Wave direction = 20º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (b) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) L2 norm; Wave direction = 45º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (c) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) H1 semi−norm; Wave direction = 45º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (d) Figure 66: Convergence of the relative error considering ξo=10√10 and for mesh resolutions that guarantee at least nelements per wavelength, where n∈{4,6,8,10,12,14,16}. The considered norms and the wave directions are: (a) L2norm, β= (π/9);(b) H1 semi-norm, β= (π/9);(c) L2norm, β= (π/4)and (d) H1semi-norm, β= (π/4)
126 4 alpha-interpolation of fem and fdm −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) L2 norm; Wave direction = 20º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (a) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) H1 semi−norm; Wave direction = 20º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (b) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) L2 norm; Wave direction = 45º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (c) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −2.5 −2.4 −2.3 −2.2 −2.1 −2 −1.9 −1.8 −1.7 −1.6 −1.5 −1.4 −1.3 −1.2 −1.1 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 log(ξ*) log(|φ−φh|/|φ|) H1 semi−norm; Wave direction = 45º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM Interpolant L2 Best Approx. H1 Best Approx. (d) Figure 67: Convergence of the relative error considering ξo=100 and for mesh resolutions that guarantee at least nelements per wavelength, where n∈{4,6,8,10,12,14,16}. The considered norms and the wave directions are: (a) L2norm, β= (π/9);(b) H1 semi-norm, β= (π/9);(c) L2norm, β= (π/4)and (d) H1semi-norm, β= (π/4)
4.5Conclusions and Outlook 127 −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −7 −6.5 −6 −5.5 −5 −4.5 −4 −3.5 −3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 log(ξ*) log(|φ−φh|/|φ|) l∞ Euclidean norm; Wave direction = 20º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM L2 Best Approx. H1 Best Approx. (a) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −7 −6.5 −6 −5.5 −5 −4.5 −4 −3.5 −3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 log(ξ*) log(|φ−φh|/|φ|) l∞ Euclidean norm; Wave direction = 20º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM L2 Best Approx. H1 Best Approx. (b) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −7 −6.5 −6 −5.5 −5 −4.5 −4 −3.5 −3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 log(ξ*) log(|φ−φh|/|φ|) l∞ Euclidean norm; Wave direction = 45º; ξo = 31.62 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM L2 Best Approx. H1 Best Approx. (c) −1 −0.9 −0.8 −0.7 −0.6 −0.5 −0.4 −0.3 −0.2 −7 −6.5 −6 −5.5 −5 −4.5 −4 −3.5 −3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 log(ξ*) log(|φ−φh|/|φ|) l∞ Euclidean norm; Wave direction = 45º; ξo = 100.00 α1 = α2 = 0.5 α1 = α2 = αθ; θ = 0 α1 = α2 = αθ; θ = π/8 α1 ≠ α2; QSFEM L2 Best Approx. H1 Best Approx. (d) Figure 68: Convergence of the relative error in the l∞Euclidean norm using: (a) ξo=10√10, β= (π/9);(b) ξo=100,β= (π/9);(c) ξo=10√10,β= (π/4);(d) ξo=100, β= (π/4). The considered mesh resolutions guarantee at least nelements per wavelength, where n∈{4,6,8,10,12,14,16}.
128 4 alpha-interpolation of fem and fdm the QSFEM on square meshes. Nevertheless it uses a quadratic bubble perturbation function defined over a macro-element and the parameters multiplying these bubbles are found by solving local optimization problems involving a functional of the local truncation error. Alternate methods that achieve this objective were proposed earlier within a variational setting and with similar implementation/computational cost, viz. the RBFEM [160], the DGB method [129], the GPR method [51] etc. Can this path to obtain the QSFEM be simplified? That is the outlook of this chapter. Recall that the nonstandard compact stencil studied here has an additional structure that reduces its abstractness. This additional structure throws light on the extension of this stencil to unstructured meshes. In chapter 5and [138] a new Petrov–Galerkin method involving two parameters viz. α1,α2is presented which yields this nonstandard compact stencil on rectangular meshes. Making the two parameters equal, i.e.α1=α2=α, we recover the compact stencil obtained by the α-interpolation of the Galerkin FEM and the classical central FDM. This Petrov–Galerkin method provides the counterparts of these two schemes on unstructured meshes and allows the treatment of natural boundary conditions (Neumann or Robin) and the source terms in a straight-forward manner. This we believe would open door to design higher-order Petrov–Galerkin methods which can be an alternative to the existing higher-order methods for the Helmholtz equation.
In general, ideas and experience shall interact permanently. — Lothar Collatz. 5 PETROV–GALERKIN FORMULATION 5.1 introduction This chapter is a continuation of chapter 41wherein a simple domain-based higherorder compact numerical scheme involving two parameters viz. α1,α2was presented for the Helmholtz equation. The stencil obtained by choosing the parameters as distinct, i.e.α16=α2was denoted therein as the ‘nonstandard compact stencil’. Taking α1=α2=α, the nonstandard compact stencil simplifies to the α-interpolation of the equation stencils obtained by the Galerkin finite element method (FEM) and classical central finite difference method (FDM). For the Helmholtz equation, generic expressions for the parameters were given that guarantees a dispersion accuracy of sixth-order should α16=α2and fourth-order should α1=α2. As the findings reported therein and the corresponding analysis was done for compact stencils, the contribution of the Galerkin FEM to the equation stencil corresponds to the choice of the lowest order rectangular block finite elements. By blocks we mean Cartesian product of intervals and by lowest order we refer to multilinear finite-element (FE) interpolation on these blocks. In this chapter we extend this scheme to unstructured meshes. We shall only consider the lowest order finite elements, i.e., linear FE interpolation on simplices and multilinear FE interpolation on blocks. The focus of this chapter is twofold: a) to design a Petrov–Galerkin (PG) method that reproduces on structured meshes the aforesaid numerical scheme and b) to study if this PG method using lowest order FE on unstructured meshes inherits the higher-order dispersion accuracy observed for the same on structured meshes. Consider the multidimensional Helmholtz equation subjected to the following boundary conditions: Lφ:= −∆φ −ξ2 oφ=f(x)in Ω(5.1a) φ=φpon ΓD(5.1b) n·∇φ−Mφ=qon ΓR(5.1c) where ξois the wavenumber, f(x)is the source term, φpis the prescribed value of φon the Dirichlet boundary ΓD. The operator Mmodels either the Dirichlet-to-Neumann (DtN) map should the boundary-value problem (BVP) be posed on a domain with an exterior DtN boundary or the Neumann/Robin boundary conditions should the BVP be posed on an interior domain. Consider the following case: an interior BVP with only Dirichlet boundary conditions and f(x) = 0; discretization of Eq.(5.1) is done by using either the Galerkin FEM or the FDM; a structured rectangular mesh/grid in 2d and bilinear FE interpolations on them are used. For the considered case we use the 1Henceforth all references to chapter 4will be cited as [136] which is the published version of the same. 129
130 5 petrov–galerkin formulation following notation (described earlier in §3.1) to represent a generic compact stencil corresponding to any interior node (i,j)of a structured mesh/grid. {◦j+1,◦j,◦j−1}A{◦i−1,◦i,◦i+1}t=0(5.2) where Arepresents the matrix of the stencil coefficients. The equation stencil for the Galerkin FEM method corresponding to any interior node (i,j)can be written as Eq.(5.2) with the following definition of the stencil coefficient matrix (A): Afem := `2 6`1 {1,4,1}t{−1,2,−1}+`1 6`2 {−1,2,−1}t{1,4,1} −ξ2 o`1`2 36 {1,4,1}t{1,4,1} (5.3) The stencil for the classical FDM method corresponding to any interior node (i,j) can be written as Eq.(5.2) with the following definition of A: Afdm := `2 6`1 {0,6,0}t{−1,2,−1}+`1 6`2 {−1,2,−1}t{0,6,0} −ξ2 o`1`2 36 {0,6,0}t{0,6,0} (5.4) Naturally, the first step is to ascertain the feasibility of a PG method that reproduces on structured meshes the equation stencil corresponding to the classical FDM. Note that one may arrive at Eq.(5.4) from Eq.(5.3) by lumping the 1d mass type distributions within the equation stencil wherever they occur, i.e.replacing {1,4,1}t{−1,2,−1} by {0,6,0}t{−1,2,−1}. Following this observation we may pose some questions which will mark the turning points of the current exposition: a) Is it possible to reproduce the mass matrix lumping technique within a PG setting ? b) Will the use of such test functions/weights for the current problem reproduce the FDM stencil and further the α-interpolation of the FEM and FDM stencils ? c) What is the possibility to recover the nonstandard compact stencil? and d) Will a direct extension of these weights to unstructured FEs result in a PG method that inherits the higher-order dispersion accuracy observed for the aforesaid numerical scheme ? These questions will be addressed in the subsequent sections. This chapter is organized as follows. In Section 5.2we recover the effect of mass lumping within a PG setting. The weights that incorporate this effect are also shown to lump the 1d mass type distributions within the equation stencil as discussed above. These weights are found to be discontinuous at the inter-element boundary and integration-by-parts needs to be done for an integral form of Eq.(5.1a) involving these weights. In Section 5.3we present the variational setting needed to provide a well defined weak form for the problem. In Section 5.4.2considering lowest order block FEs, we provide models for the weights on the inter-element boundaries that would recover the nonstandard compact stencil on structured meshes. Some examples are presented in Section 5.6which illustrate the pollution effect through convergence studies in the L2norm, the H1semi-norm and the l∞Euclidean norms. Finally in Section 5.7we arrive at some conclusions. 5.2 mass lumping Attempts to arrive at mass lumping procedures within a variational setting is not new. ‘Legal’ mass lumping emanating from residual-free bubbles had been presented in