Arbitrary order exactly divergence-free central discontinuous Galerkin methods for ideal MHD equations

Size: px
Start display at page:

Download "Arbitrary order exactly divergence-free central discontinuous Galerkin methods for ideal MHD equations"

Transcription

1 Arbitrary order exactly divergence-free central discontinuous Galerkin metods for ideal MHD equations Fengyan Li, Liwei Xu Department of Matematical Sciences, Rensselaer Polytecnic Institute, Troy, NY , United States Abstract Ideal magnetoydrodynamic (MHD equations consist of a set of nonlinear yperbolic conservation laws, wit a divergence-free constraint on te magnetic field. Neglecting tis constraint in te design of computational metods may lead to numerical instability or nonpysical features in solutions. In our recent work (Journal of Computational Pysics 230 ( , second and tird order exactly divergence-free central discontinuous Galerkin metods were proposed for ideal MHD equations. In tis paper, we furter develop suc metods wit iger order accuracy. Te novelty ere is tat te well-establised H(div-conforming finite element spaces are used in te constrained transport type framework, and te magnetic induction equations are extensively explored in order to extract sufficient information to uniquely reconstruct an exactly divergence-free magnetic field. Te overall algoritm is local, and it can be of arbitrary order of accuracy. Numerical examples are presented to demonstrate te performance of te proposed Corresponding autor. addresses: lif@rpi.edu (Fengyan Li, xul3@rpi.edu (Liwei Xu Preprint submitted to Journal of Computational Pysics January 10, 2012

2 metods especially wen tey are fourt order accurate. Keywords: Ideal magnetoydrodynamic (MHD equations, Exactly divergence-free, Central discontinuous Galerkin metods, Hig order accuracy, H(div-conforming finite element, BDM elements 1. Introduction In tis paper, we continue our recent development in [20] to devise exactly divergence-free numerical metods for ideal magnetoydrodynamic (MHD equations. Tese equations arise in many areas in pysics and engineering, and tey consist of a set of nonlinear yperbolic conservation laws, wit a divergence-free constraint on te magnetic field. Toug tis constraint olds for te exact solution as long as it does initially, neglecting tis condition in te design of computational algoritms may lead to numerical instability or nonpysical features of approximating solutions [17, 7, 15, 5, 30, 14, 19, 6, 21, 4]. In [20], exactly divergence-free central discontinuous Galerkin (DG metods wit second and tird order accuracy were developed for ideal MHD equations. Te metods are based on te central DG metods in [24, 25] and use a different discretization for magnetic induction equations. More specifically, wile oter conservative quantities are evolved wit central DG metods of [24], te magnetic field (or its two components in two dimensions is updated suc tat its normal component is first approximated by discretizing magnetic induction equations on interfaces of mes elements, and ten an element-by-element divergence-free reconstruction procedure follows wit compatible accuracy. Tis gives numerical metods wit exactly divergence- 2

3 free magnetic fields, and tese metods demonstrate good performance in bot accuracy and stability. On te oter and, suc reconstruction by matcing te pre-computed normal component of te magnetic field at mes interfaces is under-determined for iger order accuracy. In tis paper, a new strategy is proposed. In particular, we extensively explore te magnetic induction equations to extract sufficient information about te magnetic field, wit wic an element-by-element reconstruction is defined. We prove tat te reconstruction is uniquely determined, and te resulting magnetic field is exactly divergence-free wit arbitrary order of (formal accuracy. In addition, wen being second or tird order accurate, te proposed metod is te same as tat in [20]. Numerical experiments are carried out to illustrate te performance of te overall algoritms wen tey are fourt order accurate. Te metods are presented for two dimensions in tis paper, and tere is no difficulty to extend tem to tree dimensions. Our work is inspired by te development of H(div-conforming finite element spaces [8, 9] in classical finite element metods. A finite element space is said to be H(div-conforming if its function is piecewise smoot (suc as being piecewise polynomials and its normal component is continuous across mes element interfaces. Toug some of suc spaces ave been used in te design of exactly divergence-free numerical metods for ideal MHD equations [2, 21, 4, 22] (also see Section 5.2 for more discussion, to our best knowledge, te proposed metods are te first to utilize te establised results and analysis tecniques for H(div-conforming finite element spaces to systematically design exactly divergence-free numerical metods of any order of accuracy for MHD simulations. Not like in standard Galerkin type metods 3

4 using suc spaces, te proposed local procedure does not involve inverting a global mass matrix. Te proposed metods can be regarded as constrained transport type metods (see, e.g. [15, 5, 16, 21], wit central DG metods of [24] as te base metod and a new divergence-free reconstruction strategy. A basic idea of constrained transport metods is to work wit te magnetic induction system in its integral form along element boundaries. To acieve iger order accuracy in our proposed metods, we furter explore te magnetic induction equations in order to extract more information about te magnetic field. Central DG metods are a family of ig order numerical metods defined on overlapping meses wit two sets of numerical solutions. Compared wit standard DG metods [11, 19] wic are defined on a single mes wit one numerical solution and terefore are more efficient in memory usage, central DG metods do not explicitly use any numerical flux (wic is exact or approximate Riemann solver, and te time step allowed for linear stability is larger wen te accuracy of te metods is iger tan one [25, 20]. Moreover, no averaging or interpolation step is needed for our proposed metods to produce a single-valued electric field flux at grid-points. Suc step is inerent in our central framework on overlapping meses, and it is required explicitly for Godunov type constrained transport metods [16, 4] to define an exactly divergence-free reconstruction, and for tis, upwind mecanism needs to be incorporated due to te stability consideration especially for ig order accuracy. Te remainder of te paper is organized as follows. In Section 2, we describe te governing equations and introduce notations for meses and 4

5 discrete spaces. In Section 3, exactly divergence-free central DG metods are proposed for ideal MHD equations, and te main teorem is stated for a local reconstruction procedure, wit its proof given in Section 4. In Section 5, furter discussions are made on divergence-free discrete spaces, relations of te proposed metods to some oter divergence-free metods, ig order time discretizations, and nonlinear limiters. Numerical examples are reported in Section 6, followed by concluding remarks in Section 7. In Appendix A, te definition of te divergence-free reconstruction in [20] is given for te reference purpose. We include in Appendix B te formulas of te fourt order reconstruction proposed in tis paper. 2. Preliminaries: equations and notations Consider te ideal MHD equations, wic are a yperbolic system (ρu t ρ t + (ρu = 0, (1 + [ρuu + (p B 2 I BB ] = 0, (2 B t (u B = 0, (3 E t + [(E + p B 2 u B(u B] = 0, (4 wit a divergence-free constraint B = 0. (5 Here ρ is te density, p is te ydrodynamic pressure, u = (u x, u y, u z is te velocity field, and B = (B x, B y, B z is te magnetic field. Te total energy E is given by E = 1 2 ρ u B p γ 1 wit γ as te ratio of te

6 specific eats. We use te superscript to denote te vector transpose. In addition, I is te identity matrix, is te divergence operator, and is te curl operator. Equations (1, (2, and (4 are from te conservation of mass, momentum, and energy, and (3 is te magnetic induction equation system. In two dimensions wen all unknown functions depend only on spatial variables x and y, equations (1-(4 can be rewritten as U t B t + x F 1(U, B + y F 2(U, B = 0, (6 + E z (U, B = 0, (7 were U = (ρ, ρu x, ρu y, ρu z, B z, E, B = (B x, B y, and F 1 (U, B = (ρu x, ρu 2 x + p B 2 Bx, 2 ρu x u y B x B y, ρu x u z B x B z, u x B z u z B x, u x (E + p B 2 B x (u B, (8 F 2 (U, B = (ρu y, ρu y u x B y B x, ρu 2 y + p B 2 By, 2 ρu y u z B y B z, u y B z u z B y, u y (E + p B 2 B y (u B. (9 In addition, E z (U, B = u y B x u x B y, and it is te z-component of te electric field E = u B. We also use E z = ( Ez y, Ez x, wic gives te first two components of (0, 0, E z. Note tat B z does not contribute to B in two dimensions, terefore for convenience we call B te magnetic field and (7 te magnetic induction system from now on. Next, we introduce notations used in numerical scemes. Since only Cartesian grids are considered in tis paper, we assume te computational domain is Ω = (x min, x max (y min, y max R d, wit d = 2. and {y j } j Let {x i } i be partitions of (x min, x max and (y min, y max, respectively, and 6

7 x i+ 1 2 = 1 2 (x i + x i+1 and y j+ 1 2 = 1 2 (y j + y j+1. Ten T C = {C i,j, i, j} and T D = {D i,j, i, j} define two overlapping meses for Ω, wit C i,j = (x i, x i+1 (y j, y j+1 and D i,j = (x i 1 2, x i+ 1 2 (y j 1 2, y j+ 1. Tey are also 2 called primal and dual meses, respectively. Discrete spaces will be defined associated wit eac mes. In te numerical metods introduced in next section, different strategies are used to approximate U and B. For U, we use a piecewise polynomial vector space U,k as te discrete space, tat is, U,k = { v : v K [P k (K] 8 d, K T }, (10 were P k (K denotes te space of polynomials in K wit te total degree at most k, and [P k (K] r = {v = (v 1,, v r : v i P k (K, i = 1,, r} is its vector version wit any positive integer r. Here and below denotes C or D. For te magnetic field B, we want to approximate it by a piecewise polynomial vector field wic is exactly divergence-free. Suc function is caracterized by its being piecewise divergence-free, and its normal component being continuous across mes elements. Motivated by te development of classical finite elements on Cartesian meses, we take te following M,k as te discrete space for B, M,k = { v H(div 0 ; Ω : v K W k (K, K T }, (11 = { v : v K W k (K, v K = 0, K T, and te normal component of v is continuous across eac mes element interface}, wit W k (K being an augmented space of te polynomial vector space of 7

8 degree k, { W k (K = [P k (K] d span (x k+1 y, } (xy k+1 In fact, M,k, (12 = {v : v = u + a (x k+1 y + b (xy k+1, u [P k (K] d, a, b R}. is te divergence-free subspace of te following Brezzi-Douglas- Marini (BDM finite element space, BDM k = { v H(div; Ω : v K W k (K, K T }, (13 = { v : v K W k (K, K T, and te normal component of v is continuous across eac mes element interface}, wic is one of te widely used H(div-conforming finite element spaces and was introduced in [8] to solve second order elliptic problems in teir first order form. Moreover, M,k as optimal approximation properties for exactly divergence-free smoot functions on Cartesian meses wit respect to index k (see Lemma 2.1 in [8]. Toug te building block W k (K is an augmented space of a polynomial vector space, te added part, span{ (x k+1 y, (xy k+1 }, will not contribute to te divergence of a function in W k (K. Tis is stated below togeter wit anoter property of W k (K we will use later. Tey can be verified easily based on te definition of W k (K. Lemma 2.1 (Properties of functions in W k. Given C = [x L, x R ] [y L, y R ]. For any v = (v 1, v 2 W k (C, tere are Property 1: v 1 (x, y P k (y L, y R and v 2 (x, y P k (x L, x R for = L, R. Property 2: v P k 1 (C. 8

9 Tere are in fact oter ways to define te exactly divergence-free discrete space for B, and some examples are given in Section 5. For te numerical algoritm introduced in next section, we need one more discrete space, V,r = { v : v K [P r (K] d, K T }, (14 wic also consists of piecewise polynomial vector fields. Te role of tis space will become clear later. 3. Numerical scemes Toug te divergence-free constraint (5 seems to be redundant on te PDE level as it can be derived from te magnetic induction equations wit a compatible initial condition, suc constraint is not always satisfied by a numerical sceme, and tis may lead to nonpysical features of approximating solutions or numerical instability [7, 30, 19, 6]. In tis section, we propose central DG metods wit an exactly divergence-free magnetic field to solve te system (5-(7 and terefore (1-(5. Te proposed metods can be of arbitrary (at least formal order of accuracy and tey are completely local. In addition, wen te accuracy is second or tird order, te proposed metod is te same as te one developed in [20], and tis fact will be establised in Teorem 3.1. For simplicity, we present te scemes wit te forward Euler metod as te time discretization. In Section 5, we comment on iger order temporal accuracy wic can be acieved by using strong stability preserving (SSP ig order time discretizations [18]. Suc discretizations can also be needed for stability reason (see e.g. Table 6 in [25]. Te proposed metods evolve two copies of numerical solutions, wic are assumed to be available at t = t n, denoted as (U n, 9, Bn, U,k M,k

10 wit B n, = (B n, x,, Bn, y,. Here and below denotes C or D. We will describe ow to obtain numerical solutions at t n+1 as (U n+1,, B n+1, U,k M,k wit B n+1, = (B n+1, x, = t n + t n, denoted, B n+1, y,. Due to similarity, we only present te procedure to update (U n+1,c, B n+1,c Updating U n+1,c To get U n+1,c, we apply to (6 te central DG metods of [24] (also see e.g. [20] for a brief review as te spatial discretization and te forward Euler metod as te time discretization. Tat is, to look for U n+1,c tat for any V U C,k Ci,j = [P k (C i,j ] 8 d wit any i, j, ( U n+1,c Vdx = θ n U n,d C i,j + t n ( C i,j C i,j ( F n,d 1 V x + Fn,D 2 V y U C,k suc + (1 θ n U n,c Vdx (15 ( dx n 1 F n,d 1 + n 2 F n,d 2 Vds C i,j Here θ n = t n /τ n [0, 1], wit τ n being te maximal time step allowed by te CFL restriction [24, 20]. (n 1, n 2 is te outward pointing unit normal vector along C i,j, and F n,d l = F l (U n,d, B n,d for l = 1, 2. Wit two sets of numerical solutions available at time t n, te metods do not explicitly use numerical fluxes, wic are exact or approximate Riemann solvers and are used in Godunov type metods suc as standard DG metods [11, 19] Updating te exactly divergence-free B n+1,c Te finite element space M C,k consists of exactly divergence-free vector fields. One can use tis space directly in te Galerkin framework to approximate te magnetic field to ensure its zero divergence, see e.g. [10], tis owever often needs to invert a large mass matrix for eac time step. 10

11 (or eac inner stage for multi-stage time discretizations. In tis paper, we propose a local strategy to obtain an exactly divergence free approximation B n+1,c = (B n+1,c x,, B n+1,c y, M C,k. Te algoritm is defined element by element and terefore no mass matrix inversion is involved. Note tat an exactly divergence-free vector field is caracterized by its continuous normal component across element interfaces and its divergencefree restriction inside eac mes element, and our metods start wit approximating te normal component of te magnetic field on te mes skeleton. For te Cartesian mes considered ere, tese are B n+1,c x, element interfaces and B n+1,c y, along y-direction along x-direction element interfaces. To tis end, we discretize two one-dimensional equations in (7 B x t = E z y, B y t = E z x (16 wit respect to te primal mes T C : for any i, j, one looks for bi,j x (y P k (y j, y j+1 and b i,j y (x P k (x i, x i+1, suc tat yj+1 yj+1 ( b i,j x (yµ(ydy = θ n B n,d x, (x i, y + (1 θ n B n,c x, (x i, y µ(ydy y j y ( j yj+1 + t n Ez n,d (x i, y µ(y dy En,D z,i,j+1 y µ(y j+1 + E n,d z,i,j µ(y j, (17 y j for any µ(y P k (y j, y j+1, and xi+1 b i,j x i xi+1 + t n ( y (xν(xdx = x i E n,d z xi+1 x i (x, y j ν(x x for any ν(x P k (x i, x i+1, were E n,d z and E n,d z,i,j ( θ n B n,d y, (x, y j + (1 θ n B n,c y, (x, y j ν(xdx dx + En,D z,i+1,j ν(x i+1 E n,d z,i,j ν(x i, (18 (x, y = E z (U n,d (x, y, B n,d (x, y = E n,d z (x i, y j for any i and j, and θ n is te same as before. 11

12 Here b i,j x and b i,j y approximate B x (x i, y for y (y j, y j+1 and B y (x, y j for x (x i, x i+1 at t n+1, respectively, and tey were used in [20] to reconstruct an exactly divergence-free magnetic field B n+1,c of te second order accuracy wen k = 1 and of te tird order accuracy wen k = 2. However for k > 2, since {b i,j x, b i,j y } i,j are defined only on mes skeleton, tey alone are insufficient to reconstruct a function in M C,k wic is defined on te wole domain Ω. In order to extract more information about B, we revisit (7 as a real d- dimensional system of equations instead of a set of one dimensional problems on te mes skeleton, and discretize it using te standard central DG metod of relatively lower order accuracy. More specifically, for k 2, we look for B V C,k 2 any i, j, C i,j B vdx = suc tat for any v = (v 1, v 2 in V C,k 2 Ci,j = [P k 2 (C i,j ] d wit C i,j ( θ n B n,d t n ( C i,j + (1 θ n B n,c vdx (19 Ez n,d ( v 2 x v 1 y dx + Ez n,d C i,j (n 2 v 1 n 1 v 2 ds were (n 1, n 2 is te outward pointing unit normal vector along C i,j. It is assumed ere and later [P r (K] d = {0} for any negative integer r. In fact if te trial and test spaces above are replaced wit V C,k, te sceme wit (15 and te modified (19 is just te (k + 1st order central DG metod in [24] applied to te ideal MHD system. In our algoritm, only te P k 2 part of tat numerical magnetic field is needed. Wit {b i,j x, b i,j y } i,j from (17- (18 and B from (19, we are now ready to introduce an element-by-element reconstruction wic defines B n+1,c k 0. = (B n+1,c x,, B n+1,c y, for an arbitrary index, 12

13 Reconstruction. Given i and j, reconstruct B n+1,c Ci,j W k (C i,j suc tat B n+1,c = (B n+1,c x,, B n+1,c y, satisfying (i B n+1,c x, (x l, y = b l,j x (y for l = i, i + 1 and y (y j, y j+1, (ii B n+1,c y, (x, y l = b i,l y (x for l = j, j + 1 and x (x i, x i+1, (iii For k 2, tere is also C i,j ( B n+1,c B vdx = 0, v [P k 2 (C i,j ] d. One can see tat te normal component of te reconstructed magnetic field B n+1,c across element interfaces is given eiter by b i,j x index i and j. Te remaining degrees of freedom of B n+1,c or b i,j y determined by B in suc a way tat te L 2 projection of B n+1,c wit some wen k 2 are onto V C,k 2 is exactly B. Te main results for te reconstruction are summarized in next Teorem, wit its proof given in Section 4. Teorem 3.1. For any k 0, (R1 B n+1,c Ci,j W k (C i,j is uniquely determined. (R2 B n+1,c Ci,j = 0, and terefore B n+1,c M C,k and it is exactly divergence-free. (R3 Wen k = 1, 2, te reconstructions are te same as tose in [20]. Remark 3.2. (1 To define te reconstruction, we ave used Property 1 in Lemma 2.1. In fact, (i and (ii are equivalent to (i For l = i, i + 1, ( y j+1 y j P k (y j, y j+1, B n+1,c x, 13 (x l, y b l,j x (y w(ydy = 0, w

14 (ii For l = j, j +1, ( x i+1 x i P k (x i, x i+1. B n+1,c y, (x, y l b i,l y (x w(xdx = 0, w Tese equivalent formulations were used in [8] wen BDM elements were introduced. (2 Teorem 3.1 implies tat te local reconstruction procedure defined above produces an exactly divergence-free magnetic field B n+1,c. Te index k 0 can be arbitrary. Not like in oter divergence-free reconstruction strategies, suc as in [4, 22, 20] were te reconstructed magnetic field being divergence-free is part of te definition of te reconstruction, in our reconstruction, tis is a derived property. 4. Proof of Teorem 3.1 Te following Lemma provides a key relation of {b i,j x } i,j, {b i,j y } i,j and B. It is related to K V nwds = K Vwdx + K V wdx, (20 an equality derived from te divergence teorem, and it ensures te reconstructed magnetic field to be divergence-free. Lemma 4.1 (Relation of {b i,j x } i,j, {b i,j y } i,j and B. For any w P k 1 (C i,j, tere is C Θ nwds = i,j B wdx, k > 1, C i,j 0, k = 1. (21 14

15 Here C i,j Θ nwds := yj+1 y j + x i+1 x i b i+1,j x (yw(x i+1, ydy y j+1 y j b i,j x (yw(x i, ydy b i,j+1 y (xw(x, y j+1 dx x i+1 x i b i,j y (xw(x, y j dx.(22 Proof. For any w P k 1 (C i,j wit k 1, by taking te test function in (17-(18 to be w, we ave = = C i,j Θ nwds (23 yj+1 + y j xi+1 x i yj+1 y j b i+1,j x (yw(x i+1, y b i,j x (yw(x i, ydy b i,j+1 y (xw(x, y j+1 b i,j y (xw(x, y j dx ( θ n B n,d x, (x i+1, y + (1 θ n B n,c x, (x i+1, y w(x i+1, ydy + t n ( yj+1 yj+1 y j t n ( yj+1 xi+1 + x i t n ( xi+1 xi+1 x i Ez n,d (x i+1, y w(x i+1, y y j y ( θ n B n,d x, (x i, y + (1 θ n B n,c x, (x i, y Ez n,d (x i, y w(x i, y y j y ( θ n B n,d y, (x, y j+1 + (1 θ n B n,c y, (x, y j+1 x i + t n ( xi+1 E n,d z dy E n,d z,i+1,j+1 w i+1,j+1 + E n,d z,i+1,j w i+1,j w(x i, ydy dy E n,d z,i,j+1 w i,j+1 + E n,d z,i,j w i,j w(x, y j+1 dx (x, y j+1 w(x, y j+1 dx E n,d z,i+1,j+1 x w i+1,j+1 + E n,d z,i,j+1 w i,j+1 ( θ n B n,d y, (x, y j + (1 θ n B n,c y, (x, y j x i E n,d z (x, y j w(x, y j x w(x, y j dx dx E n,d z,i+1,j w i+1,j + E n,d z,i,j w i,j All terms containing Ez n,d w at vertices are perfectly canceled. Wit furter 15.

16 simplification, one gets Θ nwds C i,j = = = C i,j C i,j + C i,j ( θ n B n,d ( θ n B n,d C i,j ( θ n B n,d ( θ n B n,d + (1 θ n B n,c nwds t n + (1 θ n B n,c wdx + (1 θ n B n,c wdx t n + (1 θ n B n,c wdx t n For te last step, we use te fact tat bot B n,c divergence-free. Ez n,d C i,j Ez n,d C i,j Ez n,d C i,j and B n,d ( w x n 2 w y n 1ds ( w x n 2 w y n 1ds ( w x n 2 w y n 1ds. are exactly Wen k = 1, w is constant on C i,j and its gradient is zero. Terefore C i,j Θ nwds = 0, and tis gives (21 for k = 1. For k > 1, we furter take v = w [P k 2 (C i,j ] d in (19, ten ( B wdx = θ n B n,d + (1 θ n B n,c wdx C i,j C i,j t n ( w x n 2 w y n 1ds, Ez n,d C i,j and tis is exactly te same as C i,j Θ nwds, ence (21 olds for k > 1. Remark 4.2. (1 Te proof of (21 relies on te use of te same θ n in (17, (18 and (19. Tis θ n can be different from te one in (15, wic is not directly related to te reconstruction. (2 Wit w 1, (21 becomes yj+1 y j b i+1,j x (ydy yj+1 y j b i,j x (ydy+ 16 xi+1 x i xi+1 b i,j+1 y (xdx b i,j y (xdx = 0, x i

17 and tis is te compatible condition in [20]. (3 Te electric field flux {E n,d z,i,j } i,j, used to discretize te induction equations (17 and (18, are evaluated based on te numerical solution on te dual mes, tey are single-valued at te grid-points of te primal mes and terefore all relevant terms are canceled out. For Godunov type metods [5, 16, 4] under te constrained transport framework, additional interpolation or averaging procedure is required to produce a single-valued electric magnetic flux at te grid-points. Certain upwind mecanism also needs to be incorporated for stability consideration especially for ig order scemes. We are now ready to prove Teorem 3.1 for te proposed reconstruction. Proof of Teorem 3.1. Step 1. For (R1, we first prove te result wen k 1 by following [8]. Note tat for two dimensions wit d = 2, te reconstruction of B n+1,c Ci,j involves 4(k dim([p k 2 ] d = 4(k d k(k 1 2 = k 2 + 3k + 4 conditions, wic equals to te dimension of W k (C i,j. Terefore to get (R1, one only needs to sow tat wit te zero data, namely, b i,j x (y = b i+1,j x (y = 0, b i,j y (x = b i,j+1 y (x = 0, and if k > 1 tere is also B(x, y Ci,j = 0, te reconstructed B n+1,c Ci,j as to be zero. To tis end, we denote B n+1,c = ( B n+1,c x, = B n+1,c y, ( w1 w 2 ( ( x k+1 (k + 1xy k + a 1 + a (k + 1x k 2 y y k+1 (24 in C i,j wit w l (x, y = 0 r+s k a(l r,sx r y s. According to (i in te definition 17

18 of te reconstruction, and b i,j x B n+1,c x, (x, y = 0 r+s k s k and b i+1,j x being zero, tere is a (1 r,sx r y s + a 1 x k+1 + (a (1 0,k + a 2(k + 1xy k = 0 at x = x i and x i+1. Since te last term is te only one containing te monomial y k, it as to be zero and terefore a 2 = 0. Wit a similar argument to B n+1,c y,, one can furter sow a 1 = 0. Now (24 becomes (w 1, w 2 [P k (C i,j ] 2 were w 1 vanises at x i, x i+1 and w 2 vanises at y j, y j+1. Tis indicates, if k = 1, (w 1, w 2 as to be zero and so does B n+1,c Ci,j. if k > 1, tere is (w 1, w 2 = ( (x x i (x x i+1 w 1, (y y j (y y j+1 w 2 wit some ( w 1, w 2 [P k 2 (C i,j ] 2. Now we can take v = ( w 1, w 2 in (iii of te reconstruction. Wit te assumption B(x, y Ci,j gets ( w 1, w 2 = (0, 0, and ence B n+1,c Ci,j = 0. = 0, one Next we want to prove (R1 wen k = 0. In tis case, ( ( B n+1,c a1 x = + c y in C i,j for some constants a 1, a 2 and c, and te reconstruction becomes a 2 (25 a 1 + cx i+1 = b i+1,j x, a 1 + cx i = b i,j x, a 2 cy j+1 = b i,j+1 y On te oter and, Lemma 4.1 wit w 1 for k = 0 gives (y j+1 y j (b i+1,j x b i,j x + (x i+1 x i (b i,j+1 y b i,j y = 0,, a 2 cy j = b i,j y. (26 wic ensures tat te system (26 is uniquely solvable, in particular wit c = bi+1,j x b i,j x x i+1 x i = bi,j+1 y b i,j y y j+1 y j, a 1 = b i,j x cx i, a 2 = b i,j y + cy j, (27 18

19 and terefore te reconstruction is well-defined for k = 0. Step 2. For (R2, we first sow tat te reconstructed B n+1,c is divergencefree on C i,j. For k = 0, tis comes directly wit te explicit formula (25 and (27 of te reconstruction. For k 1, consider any w P k 1 (C i,j, tere is B n+1,c wdx = B n+1,c wdx + (B n+1,c nwds C i.j C i.j C i.j = B wdx + (Θ nwds = 0. (28 C i.j C i.j Te last two equalities are due to te definition of te reconstruction and Lemma 4.1. Moreover, Lemma 2.1 implies B n+1,c tis, one can take w = B n+1,c P k 1 (C i,j. Wit in (28 and gets B n+1,c Ci,j = 0. Now B n+1,c Ci,j W k (C i,j, it is divergence-free in eac mes element and as continuous normal component across element interfaces, terefore B n+1,c M C,k and it is exactly divergence-free. Step 3. Finally, we want to prove (R3. Tat is, for k = 1 or k = 2, our proposed reconstruction and te one in [20] (also given in Appendix A are te same. First note tat (i and (ii in our current reconstruction are te same as (i and (ii in Appendix A. Suppose B n+1,c is te reconstructed magnetic field on C i,j based on te current definition. Wit (R2 proved above, B n+1,c Ci,j = 0, and terefore tis B n+1,c satisfies (i -(iii in Appendix A. Suppose B n+1,c is te reconstructed magnetic field on C i,j based on te definition in Appendix A (and also [20]. We only need to sow tat wen k = 2, tis B n+1,c satisfies (iii of te current reconstruction. For any v = ( v1 v 2 [P k 2 (C i,j ] d, one can write it as v = w wit w = v 1 x + v 2 y 19

20 P k 1 (C i,j. Based on (21, tere is C i,j Θ nwds = C i,j B wdx, were C i,j Θ nwds is defined in (22. Wit tis ( B n+1,c B ( vdx = B n+1,c B wdx C i,j C i,j = B n+1,c wdx + B n+1,c nwds B wdx C i,j C i,j C i,j = B n+1,c wdx + Θ nwds B wdx C i,j C i,j C i,j = B n+1,c wdx = 0. C i,j Te last equality uses tat te reconstructed magnetic field B n+1,c is divergencefree on C i,j due to (iii in Appendix A. Remark 4.3. Te relation (21 is only used to sow te reconstructed magnetic field being divergence-free in (R2, and it is not needed for te unique solvability in (R1 of te proposed reconstruction. 5. Furter discussions 5.1. Divergence-free discrete spaces For te numerical metods proposed in Section 3, te divergence-free subspace of a H(div-conforming discrete space, te BDM finite element space, is used to approximate te magnetic field B. Witin te current framework, one can also use some oter H(div-conforming finite element spaces, suc as te Brezzi-Douglas-Fortin-Marini (BDFM [9] or Raviart- Tomas (RT [28] finite element spaces. Of all tree, te BDM finite element space is te smallest in order to acieve te same order of accuracy in L 2 norm. 20

21 5.2. Relation to some oter divergence-free metods Our metods are closely related to [2, 4] and [21, 22] among various exactly divergence-free numerical metods in te constrained transport framework for MHD simulations. In all tese metods (including ours, one first approximates te normal component B n (or B n in tree dimensions of te magnetic field on mes interfaces, and ten applies a divergencefree reconstruction procedure, wit te reconstructed magnetic field aving te same normal component on mes interfaces as obtained in te previous step. Besides te difference in te base metods, suc as being finite volume [2, 4, 21, 22] or finite element [20] (and tis work metods, being Godunov [2, 4] or central [21, 22, 20] type, tese metods are also different or related in two more aspects: one is in te coice of te discrete spaces te reconstructed magnetic field belongs to; te oter is te additional conditions wic may be needed to uniquely determine te reconstruction after one matces te normal component on mes interfaces. In particular, our reconstruction uses te BDM finite element space, it is te same as te one in [2] for k = 1, and for k = 2 it is te same as te one in [21]. Wen k = 3, bot our metod and [22] employ te same discrete space BDM k. Wile being divergence-free is part of te definition of te reconstruction in [22], it is a derived property of te reconstructed magnetic field in our approac. After one matces te normal component of te magnetic field on mes interfaces, te additional conditions to ensure te unique solvability of te reconstruction are also quite different. Te strategy proposed in our current work relies on extensive use of te magnetic induction equations in order to extract sufficient information about te magnetic 21

22 field, it provides reconstructions for any integer index k 0 and results in exactly divergence-free numerical metods of arbitrary order of accuracy. Te actual performance of te metods wit iger k certainly needs furter investigation. Te additional conditions in [22] on te oter and are motivated eiter by using more compact stencil in reconstruction or by better resolving planar, grid-aligned flows. In [4], te divergence-free reconstruction uses different discrete spaces for te magnetic field: wen k = 2, te space is BDFM k+1 [9], and wen k = 3, a space between BDM k and BDFM k+1 is used. In bot cases, te additional conditions to ensure te unique solvability of te reconstruction are motivated by minimizing te magnetic energy. Te reconstructions in [4] are given for tree dimensions, and te two-dimensional version can be obtained by neglecting te spatial variable z. It is not easy to see wic strategy of [22], [4] and our current work is better in terms of accuracy and stability wen uniquely determining te reconstruction of exactly divergence-free ig order accurate magnetic fields in MHD simulations. Tis is partially due to te difference in te base metods. Our proposed strategy seems to be a promising candidate as it relies on extensive use of te magnetic induction equations. More analysis is needed to better understand our approac and to evaluate te strengt of different strategies Hig order time discretizations To acieve better accuracy in time, strong stability preserving (SSP ig order time discretizations [18] can be used. Suc discretization can be written as a convex combination of te forward Euler metod, and terefore te full sceme wit a ig order SSP time discretization still produces an exactly 22

23 divergence-free approximation for te magnetic field. For multi-stage time discretizations suc as SSP Runge-Kutta metods, one needs to apply te divergence-free reconstruction for eac inner stage Nonlinear limiters Wen central DG metods are applied to nonlinear problems suc as te ideal MHD system, nonlinear limiters are often needed. In tis paper we use te minmod TVB slope limiter in [29, 12], wic is simple yet involves a nonnegative parameter M. Tis limiter can be implemented componentwisely or in local caracteristic fields. We take M = 10 in all numerical simulations in Section 6 wenever te limiter is applied. Different values of M or oter limiters [27, 23] may produce better results for eac individual example, and tis will not be explored in tis paper. As in [20], wen nonlinear limiter tecnique is used, it is only applied to U, not to B, B or (b i,j x, b i,j y i,j. Tis is to ensure tat te property (21 in Lemma 4.1 still olds. Suc a strategy may not always be able to effectively control te oscillation in te magnetic field and terefore may affect te numerical stability of te algoritm. Numerical experiments for k = 3 in tis paper and for k = 1, 2 in [20] owever indicate tat te proposed metods wit suc limiting strategy perform well wen tey are applied to many commonly used two-dimensional MHD examples, wic include some examples involving a discontinuous magnetic field, suc as te Orszag-Tang vortex problem, te rotor problem, and te blast problem. 23

24 6. Numerical examples In tis section, we report a set of numerical experiments to illustrate te accuracy and stability of te proposed metods. Except for te first tree examples, we only present te numerical results of te fourt order metod wit k = 3. Te formulation of te local reconstruction used in tis case is given in Appendix B. In all simulations, te primal mes is Cartesian and uniform wit messizes x and y. Te tird order TVD Runge-Kutta metod [12] is used as te time discretization, wit te time step dynamically determined by Here c x f and cy f C cfl ( max ( ux +c. (29 x f + max ( uy +cy f x y are te fast speed in x and y directions, respectively (see [26] for te definition, and te CFL number C cfl is taken as 1.0 for k = 1, 0.6 for k = 2, and 0.3 for k = 3 unless oterwise specified. We use θ n = 1 in (15 and (17-(19. Wen demonstrating te accuracy order for k = 3, one needs to reduce te CFL number by a factor c 0 as te mes is refined in order to matc te tird order temporal accuracy wit te fourt order spatial accuracy. Te value of c 0 will be specified below for individual example. All reported results are based on te numerical solutions on te primal mes. Te minmod TVB slope limiter wit M = 10 is applied to non-smoot examples in order to enance te numerical stability. One can refer to [20] for more discussion on initialization and boundary conditions. 24

25 6.1. Accuracy test Smoot Alfvén wave Te first example describes a circularly polarized smoot Alfvén wave ([30, 21, 20]. Following [21], te initial conditions are taken as ρ = 1, u = 0, u = 0.1 sin(2πβ, u z = 0.1 cos(2πβ, B = 1, B = u, B z = u z, p = 0.1, on Ω = [0, 1/ cos α] [0, 1/ sin α]. Here α = π/4 is te angle wit respect to te x-axis at wic te wave propagates, and β = x cos α + y sin α. Te subscripts and denote te directions parallel and perpendicular to te wave propagation direction, respectively. Te boundary conditions are periodic and γ = 5/3. Te Alfvén wave travels at a constant Alfvén speed B / ρ = 1 and te solution returns to its initial configuration wen t is an integer. In te simulation wit k = 3, te CFL number C cfl is reduced by a factor c 0 = 0.5 wen te mes is refined from N N to N/2 N/2, wit te initial C cfl as 0.4. No nonlinear limiter is applied. In Table 1, we report L 2 errors and orders of accuracy for u x, u z, B x and B z at t = 2. Te results sow tat te proposed metods are (k + 1-st order accurate wen k = 1, 2, 3, and tey are optimal. We also want to use tis example to illustrate some advantage of ig order metods. In our simulations, a tird order TVD Runge-Kutta metod is applied as te time discretization for k = 1, 2, 3. On a given mes, wen k increases, smaller CFL number (ence smaller time step needs to be taken due to stability consideration, wile te computational complexity for one time step increases. It turns out tat te increase in te overall computational cost on a given mes by using iger order metods is paid back by 25

26 muc smaller errors and terefore better solution resolution, and tis can be seen from Table 1. In addition, we also report te computational time in te last column of Table 1, and te computational time (orizontal axis versus L 2 error in Figure 1 for u x (left and u z (rigt. Te results sow tat in order to reduce te errors of approximating solutions to a given tresold especially wen tis tresold is small, it is more cost efficient to work wit ig order metods. Tis is consistent to many oter studies in literature. Our results are obtained from simulations performed on a computer wit 2.27 GHz Intel Core 2 Duo processor and 12GB DDR3 memory Figure 1: Computational time (orizontal axis versus L 2 error in u x (left and u z (rigt for te smoot Alfvén wave problem at t = 2. From top to bottom: k = 1 (solid star in blue, k = 2 (circle in red, k = 3 (diamond in black Smoot vortex problem Te second example, introduced in [3], describes a smoot vortex propagating at te speed (1, 1 in te two-dimensional domain. Te initial condi- 26

27 Table 1: L 2 errors, orders of accuracy, and computational time (in seconds for te smoot Alfvén wave problem at t = 2. C cfl is 1.0 for k = 1 and 0.6 for k = 2. For k = 3, C cfl is 0.4 on te initial mes wit a reduction factor c 0 = 0.5. u x u z B x B z N L 2 error Order L 2 error Order L 2 error Order L 2 error Order Time k = E E E E E E E E E E E E E E E E k = E E E E E E E E E E E E E E E E k = E E E E E E E E E E E E E E E E tions are (ρ, u x, u y, u z, B x, B y, B z, p = (1, 1 + δu x, 1 + δu y, 0, δb x, δb y, 0, 1 + δp 27

28 wit (δu x, δu y = ξ 2π exp{0.5(1 r 2 }, (δb x, δb y = η 2π exp{0.5(1 r 2 }, and δp = η2 (1 r 2 ξ 2 8π 2 exp(1 r 2. Here r = x 2 + y 2, ξ = 1, η = 1, and γ = 5/3. In te simulation wit k = 3, te CFL number C cfl is reduced by a factor c 0 = (1/2 1/3 wen te mes is refined from N N to N/2 N/2, wit te initial C cfl as 0.3. Te computational domain is taken as [ 10, 10] [ 10, 10] wit periodic boundary conditions. Suc boundary condition treatment introduces an error wit te magnitude O(e = O(10 22, wic is muc smaller tan te errors we report and terefore will not affect te accuracy study. Note tat for k = 1, 2, a smaller computational domain [ 5, 5] [ 5, 5] wit periodic boundary conditions is sufficient and tis was used in [20]. In Table 2, we present L 2 errors and orders of accuracy for representative variables ρ, u x, B x and p at t = 20. Te results confirm te optimal accuracy orders of our proposed metods. No nonlinear limiter is applied in te computation Numerical dissipation and long-term decay of Alfvén waves We next investigate te numerical dissipation of te proposed metods by examining te long-term decay beavior of torsional Alfvén waves, wic propagate at a small angle to te y-axis. Tis problem was tested in [3, 22] wit various numerical scemes or metods wit different accuracy orders. We use te following initial conditions ρ = 1, u x = 0.2n y cos φ, u y = 0.2n x cos φ, u z = 0.2 sin φ, B x = n x + 0.2n y cos φ, B y = n y 0.2n x cos φ, B z = u z, p = 1. 4π 4π 28

29 Table 2: L 2 errors and orders of accuracy for te smoot vortex example on [ 10, 10] [ 10, 10] at t = 20. C cfl is 1.0 for k = 1 and 0.6 for k = 2. For k = 3, C cfl is 0.3 on te initial mes wit a reduction factor c 0 = (1/2 1/3. ρ u x B x p N L 2 error Order L 2 error Order L 2 error Order L 2 error Order k = E E E E E E E E E E E E E E E E k = E E E E E E E E E E E E E E E E k = E E E E E E E E E E E E E E E E Here (n x, n y = (, r r 2 +1 r is te wave propagation direction, and φ = π n y (n x x+n y y is te initial pase of te wave. Te simulation is performed in te domain Ω = [ r/2, r/2] [ r/2, r/2] wit r = 6. Boundary conditions 29

30 are periodic and γ = 5/ k=1 k=2 k= Figure 2: Te temporal evolution of max Ω u z up to t = 120 on a mes x60 90x90 120x x60 90x90 120x Figure 3: Te temporal evolution of max Ω u z up to t = 120 wit k = 2 (left and k = 3 (rigt on various meses. For tis example, te maximum values of u z and B z are constant in time for te exact solution, yet tey will decay in simulations due to numerical dissipation. In Figure 2, we present te temporal evolution of te maximum value of u z, max Ω u z, up to t = 120 for k = 1, 2, 3, and te mes is 30

31 Only te results for u z is presented as it as a similar decay rate as B z. Apparently, te fourt order sceme (k = 3 as te smallest numerical dissipation wile te second order sceme (k = 1 as te largest. In particular, for te fourt order sceme, te absolute cange in max Ω u z is max Ω u z t=0 max Ω u z t=120 = O(10 5 over suc a long time simulation. Moreover, tere is significant improvement from te second order sceme to iger tan second order scemes, indicating te advantages of using ig order metods in controlling numerical dissipation. Tis as been observed or analyzed for many oter ig order metods, suc as te divergence-free central finite volume metods in [22], and discontinuous Galerkin metods in [11, 1]. In Figure 3, we also present te results for k = 2 (left and k = 3 (rigt on different meses: 60 60, and Wile te numerical dissipation is smaller for finer grids, it as muc less dependence on te messizes for iger order metods Orszag-Tang vortex problem In tis subsection, we consider te Orszag-Tang vortex problem wic is a widely used test example in MHD simulations. Te initial conditions are taken as [19, 20] ρ = γ 2, u x = sin y, u y = sin x, u z = 0, B x = sin y, B y = sin 2x, B z = 0, p = γ, wit γ = 5/3. Te computational domain is [0, 2π] [0, 2π] wit periodic boundary conditions. Te solution involves formation and interaction of multiple socks as te nonlinear system evolves, and tis can be seen from 31

32 te time evolution of density ρ in Figure 4. Te computation is carried out wit k = 3 on a mes. Numerical evidence in [19, 22] suggests tat insufficient treatment of te divergence-free condition may affect te numerical stability for tis example. For instance, te DG metod wit te P 2 approximation breaks down in te simulation, and tis is partially overcome wen te locally divergencefree DG metod wit te same accuracy is used [19]. Wit our exactly divergence-free central DG metods, te numerical simulation can continue stably for k = 1, 2 [20] and for k = 3 up to t = 30 (te maximum time we run, and te simulation can still go on. We furter perform a qualitative convergence study for tis example. In Figure 5, we plot pressure p (left wit y = at t = 2 using meses and , and k = 3. Wit socks developed in te solution at tis time, convergence can be observed, and te pressure slices are almost te same as te second and tird order exactly divergence-free central DG approximations in [20] and te locally divergence-free DG approximations in [19]. Te reported results are computed wit te nonlinear limiter implemented in te local caracteristic fields. Toug tis limiter is applied only to U, tere is no significant oscillation in numerical solutions, see Figure 5 (rigt for te numerical B x wit x = π at t = 3. Finally, we want to point out tat no negative pressure is encountered trougout te simulation Rotor problem Next we consider te rotor problem wic was explained in greater details in [5]. Te problem describes a dense disk of fluid rapidly spinning in a ligt 32

33 Figure 4: Density ρ in Orszag-Tang vortex problem at t = 0.5 (top left, t = 2 (top rigt, t = 3 (bottom left, and t = 4 (bottom rigt, wit k = 3 on a mes. Fifteen equally spaced contours wit ranges [2.11, 5.84], [0.62, 6.25], [1.25, 6.03], and [1.28, 5.71], respectively. ambient fluid. Following [30, 20], te starting setup is given as (u z, B x, B y, B z, p = (0, 2.5/ 4π, 0, 0, 0.5, and (ρ, u x, u y = (10, (y 0.5/r 0, (x 0.5/r 0 if r < r 0 (1 + 9λ, λ(y 0.5/r, λ(x 0.5/r if r 0 < r < r 1 (1, 0, 0 if r > r 1 33

34 Figure 5: Orszag-Tang vortex problem wit k = 3 on (circle and (solid line meses. Left: p wit y = at t = 2; Rigt: B x wit x = π at t = 3. wit r = (x (y 0.5 2, r 0 = 0.1, r 1 = and λ = (r 1 r/(r 1 r 0. Te simulation is implemented in te domain [0, 1] [0, 1], and periodic boundary conditions are used wit γ = 5/3. Te nonlinear limiter is applied in local caracteristic fields. It turns out tat nonlinear limiters are necessary in tis example wen k = 3 for numerical stability, toug our metods witout limiters produce satisfactory results for k = 1 and k = 2, see [20]. Similar to [5, 30, 19, 20], in Figure 6 we examine te performance of te metods by zooming in te central part of te Mac number u /c (wit c = γp/ρ as te sound speed at t = Note tat tere is no distortion in te numerical solutions, and suc distortion was reported in [30, 19] and it was attributed to te divergence error in te magnetic field. We furter perform a qualitative convergence study for our metod. In Figure 7, Mac number is presented wit x = and k = 3 on , and meses. Wit several socks developed in te solution, te 34

35 convergence of te metod is observed, and te solutions slices are almost te same as te second and tird order exactly divergence-free central DG approximations in [20] and te locally divergence-free DG approximations in [19]. Toug te nonlinear limiter is applied only to U in te simulation, tere is no significant oscillation in numerical solutions, see Figure 8 for B x wit x = 0.25 and B y at y = 0.5. Tese slices are cosen from te region were te magnetic field displays more interesting features. It was reported in [30] tat many one step TVD based scemes failed for tis problem due to te negative pressure, in our simulation, tere is no negative pressure observed Figure 6: Zoom-in central part of Mac number in rotor problem at t = wit k = 3. Tirty equally spaced contours on a mes wit te range of [0, 2.703] (left, and on a mes wit te range of [0, 3.005] (rigt Blast problem Te blast wave problem was introduced in [5], and te solution involves strong magnetosonic socks. We employ te same initial condition as in [5, 21, 20], tat is, (ρ, u x, u y, u z, B x, B y, B z = (1, 0, 0, 0, 100/ 4π, 0, 0. Te pressure is taken as p = 1000 if r R, and p = 0.1 oterwise, were r = 35

36 Figure 7: Mac number in rotor problem at t = wit x = and k = 3. Left: (circle and (solid line meses; Rigt: (circle and (solid line meses Figure 8: Te magnetic field in rotor problem at t = wit k = 3 on (circle and (solid line meses. Left: B x wit x = 0.25; Rigt: B y wit y =

37 x2 + y 2 and R = 0.1. Wit tis setup, te fluid in te region outside te initial pressure pulse as very small plasma β ( = p (B 2 x+b 2 y/2 = 2.513E 04. Te simulation is implemented in te domain [ 0.5, 0.5] [ 0.5, 0.5] wit a mes and k = 3. Outgoing boundary conditions are used, and γ = Figure 9: Te blast problem on a mes at t = 0.01 wit k = 3. Forty equally spaced contours are used. Top left: density ρ [0.206, 4.602]; Top rigt: pressure p [ 3.225, ]; Bottom left: square of total velocity u 2 x + u 2 y [0, ] ; Bottom rigt: magnetic pressure Bx 2 + By 2 [ , ]. In Figure 9, we present te numerical results at t = 0.01 for density ρ, pressure p, square of te total velocity u 2 x + u 2 y, and te magnetic pressure 37

38 Bx 2 + By. 2 As pointed out in [5, 21], tis is a stringent problem to solve. Negative pressure is generated near te sock front in our simulation, and tis is also observed in many oter metods wic are not positivity preserving (see e.g. [21]. In Figure 10 we plot te negative part of pressure min(0, p. Note tat at t = 0.01, te minimum value of pressure for k = 3 is wic is sligtly smaller tan 1.633, te minimum value of pressure of te tird order approximation (wit k = 2 wen M = 1 is used in te minmod TVB slope limiter in [20]. In fact, in all cases wit k = 1, 2, 3, te magnitude of te negative pressure is fairly small for tis low plasma β example, and tis illustrates te good performance of te proposed metods. We furter report solution slices for ρ and u 2 x + u 2 y along y = 0.0 in Figure 11, and for B x along x = 0.0 and B y along y = 0.25 in Figure 12 on and meses. Tese slices are cosen from te region were te considered field displays more interesting features. Te sceme performs well in convergence along wit mes refinement. In addition, tere is no significant oscillation observed toug te nonlinear limiter is only applied to U. For tis example, te componentwise TVB minmod limiter is applied. Since we only explicitly use pressure to determine te time step from (29, wen negative pressure occurs, max(p, ɛ wit ɛ = 10 5 is used to replace p in order to estimate te maximum wave speed in (29. Tis simple fix results in stable simulation during te time of our interest. Wen te limiters are implemented in local caracteristic fields, te stability of te simulations suffers from te numerical pressure being negative. It is expected tat positivity preserving tecniques will be very important for tis example to ensure te numerical stability, and tis is currently under investigation in 38

39 a separate project Figure 10: Negative part of te pressure min(0, p in te blast problem wit k = 3 on a mes at t = Figure 11: Te blast problem at t = 0.01 wit k = 3 and y = 0.0 on (circle and (solid line meses. Left: ρ; Rigt: u 2 x + u 2 y Cloud-sock interaction Te last example we consider is te cloud-sock interaction problem wic involves strong MHD socks interacting wit a dense cloud. We define 39

40 Figure 12: Te blast problem at t = 0.01 wit k = 3 on (circle and (solid line meses. Left: B x wit x = 0.0; Rigt: B y wit y = tree sets of data for (ρ, u x, u y, u z, B x, B y, B z, p, U 1 = ( , 0, 0, , 1, 0, , , U 2 = (1, , 0, 0, 1, 0, 1, 0.04, U 3 = (5, , 0, 0, 1, 0, 1, Te computational domain [0, 2] [0, 1] is divided into tree regions: te postsock region Ω 1 = {(x, y : 0 x 1.2, 0 y 1}, te pre-sock region Ω 2 = {(x, y : 1.2 < x 2, 0 y 1, (x (y }, and te cloud region Ω 3 = {(x, y : (x (y < 0.18}, were te solutions are initialized as U 1, U 2, and U 3, respectively. Note tat te cloud is five times denser tan its surrounding. Outgoing boundary conditions are used, and γ = 5/3. Figure 13 sows te gray-scale images of density ρ, te magnetic field B x and B y, and pressure p at t = 0.6 on te mes wit k = 3. Te darker area represents relatively smaller value. In Figure 14, we also plot te density ρ along y = 0.6 and B y along y = 0.59 on and

41 meses. Note te main features in Figure 13 and Figure 14 (left are te same as te tird order approximations in [20], yet wit some difference in local details. Tere is no significant oscillation in te solution, given tat te limiter is only applied to U. For tis example, te nonlinear limiter is implemented in local caracteristic fields. We would like to mention tat tis cloud-sock example is not te same as te one in [13] as different scalings are used in te MHD system for te magnetic field (see our equations (1-(4 and teirs on page 486 in [13]. Figure 13: Gray-scaled images in te cloud-sock interaction problem wit k = 3 on a mes at t = 0.6. Top left: ρ [1.853, ]; Top rigt: B x [ 1.750, 4.131]; Bottom left: B y [ 2.723, 2.723]; Bottom rigt: p [6.536, ]. 41

Discontinuous Galerkin Methods for Relativistic Vlasov-Maxwell System

Discontinuous Galerkin Methods for Relativistic Vlasov-Maxwell System Discontinuous Galerkin Metods for Relativistic Vlasov-Maxwell System He Yang and Fengyan Li December 1, 16 Abstract e relativistic Vlasov-Maxwell (RVM) system is a kinetic model tat describes te dynamics

More information

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx. Capter 2 Integrals as sums and derivatives as differences We now switc to te simplest metods for integrating or differentiating a function from its function samples. A careful study of Taylor expansions

More information

A Hybrid Mixed Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems

A Hybrid Mixed Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems A Hybrid Mixed Discontinuous Galerkin Finite Element Metod for Convection-Diffusion Problems Herbert Egger Joacim Scöberl We propose and analyse a new finite element metod for convection diffusion problems

More information

New Streamfunction Approach for Magnetohydrodynamics

New Streamfunction Approach for Magnetohydrodynamics New Streamfunction Approac for Magnetoydrodynamics Kab Seo Kang Brooaven National Laboratory, Computational Science Center, Building 63, Room, Upton NY 973, USA. sang@bnl.gov Summary. We apply te finite

More information

Journal of Computational Physics

Journal of Computational Physics Journal of Computational Pysics 3 () 488 4847 Contents lists available at ScienceDirect Journal of Computational Pysics journal omepage: www.elsevier.com/locate/jcp Central discontinuous Galerkin metods

More information

1. Introduction. We consider the model problem: seeking an unknown function u satisfying

1. Introduction. We consider the model problem: seeking an unknown function u satisfying A DISCONTINUOUS LEAST-SQUARES FINITE ELEMENT METHOD FOR SECOND ORDER ELLIPTIC EQUATIONS XIU YE AND SHANGYOU ZHANG Abstract In tis paper, a discontinuous least-squares (DLS) finite element metod is introduced

More information

Chapter 5 FINITE DIFFERENCE METHOD (FDM)

Chapter 5 FINITE DIFFERENCE METHOD (FDM) MEE7 Computer Modeling Tecniques in Engineering Capter 5 FINITE DIFFERENCE METHOD (FDM) 5. Introduction to FDM Te finite difference tecniques are based upon approximations wic permit replacing differential

More information

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER*

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER* EO BOUNDS FO THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BADLEY J. LUCIE* Abstract. Te expected error in L ) attimet for Glimm s sceme wen applied to a scalar conservation law is bounded by + 2 ) ) /2 T

More information

A Mixed-Hybrid-Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems

A Mixed-Hybrid-Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems A Mixed-Hybrid-Discontinuous Galerkin Finite Element Metod for Convection-Diffusion Problems Herbert Egger Joacim Scöberl We propose and analyse a new finite element metod for convection diffusion problems

More information

EXTENSION OF A POSTPROCESSING TECHNIQUE FOR THE DISCONTINUOUS GALERKIN METHOD FOR HYPERBOLIC EQUATIONS WITH APPLICATION TO AN AEROACOUSTIC PROBLEM

EXTENSION OF A POSTPROCESSING TECHNIQUE FOR THE DISCONTINUOUS GALERKIN METHOD FOR HYPERBOLIC EQUATIONS WITH APPLICATION TO AN AEROACOUSTIC PROBLEM SIAM J. SCI. COMPUT. Vol. 26, No. 3, pp. 821 843 c 2005 Society for Industrial and Applied Matematics ETENSION OF A POSTPROCESSING TECHNIQUE FOR THE DISCONTINUOUS GALERKIN METHOD FOR HYPERBOLIC EQUATIONS

More information

An efficient implementation of the divergence free constraint in a discontinuous Galerkin method for magnetohydrodynamics on unstructured meshes

An efficient implementation of the divergence free constraint in a discontinuous Galerkin method for magnetohydrodynamics on unstructured meshes An efficient implementation of te divergence free constraint in a discontinuous Galerkin metod for magnetoydrodynamics on unstructured meses Cristian Klingenberg 1, Frank Pörner 1, and Yinua Xia 2, 1 Department

More information

Dedicated to the 70th birthday of Professor Lin Qun

Dedicated to the 70th birthday of Professor Lin Qun Journal of Computational Matematics, Vol.4, No.3, 6, 4 44. ACCELERATION METHODS OF NONLINEAR ITERATION FOR NONLINEAR PARABOLIC EQUATIONS Guang-wei Yuan Xu-deng Hang Laboratory of Computational Pysics,

More information

Stability properties of a family of chock capturing methods for hyperbolic conservation laws

Stability properties of a family of chock capturing methods for hyperbolic conservation laws Proceedings of te 3rd IASME/WSEAS Int. Conf. on FLUID DYNAMICS & AERODYNAMICS, Corfu, Greece, August 0-, 005 (pp48-5) Stability properties of a family of cock capturing metods for yperbolic conservation

More information

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines Lecture 5 Interpolation II Introduction In te previous lecture we focused primarily on polynomial interpolation of a set of n points. A difficulty we observed is tat wen n is large, our polynomial as to

More information

Jian-Guo Liu 1 and Chi-Wang Shu 2

Jian-Guo Liu 1 and Chi-Wang Shu 2 Journal of Computational Pysics 60, 577 596 (000) doi:0.006/jcp.000.6475, available online at ttp://www.idealibrary.com on Jian-Guo Liu and Ci-Wang Su Institute for Pysical Science and Tecnology and Department

More information

Entropy and the numerical integration of conservation laws

Entropy and the numerical integration of conservation laws Pysics Procedia Pysics Procedia 00 2011) 1 28 Entropy and te numerical integration of conservation laws Gabriella Puppo Dipartimento di Matematica, Politecnico di Torino Italy) Matteo Semplice Dipartimento

More information

Superconvergence of energy-conserving discontinuous Galerkin methods for. linear hyperbolic equations. Abstract

Superconvergence of energy-conserving discontinuous Galerkin methods for. linear hyperbolic equations. Abstract Superconvergence of energy-conserving discontinuous Galerkin metods for linear yperbolic equations Yong Liu, Ci-Wang Su and Mengping Zang 3 Abstract In tis paper, we study superconvergence properties of

More information

Click here to see an animation of the derivative

Click here to see an animation of the derivative Differentiation Massoud Malek Derivative Te concept of derivative is at te core of Calculus; It is a very powerful tool for understanding te beavior of matematical functions. It allows us to optimize functions,

More information

A First-Order System Approach for Diffusion Equation. I. Second-Order Residual-Distribution Schemes

A First-Order System Approach for Diffusion Equation. I. Second-Order Residual-Distribution Schemes A First-Order System Approac for Diffusion Equation. I. Second-Order Residual-Distribution Scemes Hiroaki Nisikawa W. M. Keck Foundation Laboratory for Computational Fluid Dynamics, Department of Aerospace

More information

HOMEWORK HELP 2 FOR MATH 151

HOMEWORK HELP 2 FOR MATH 151 HOMEWORK HELP 2 FOR MATH 151 Here we go; te second round of omework elp. If tere are oters you would like to see, let me know! 2.4, 43 and 44 At wat points are te functions f(x) and g(x) = xf(x)continuous,

More information

5 Ordinary Differential Equations: Finite Difference Methods for Boundary Problems

5 Ordinary Differential Equations: Finite Difference Methods for Boundary Problems 5 Ordinary Differential Equations: Finite Difference Metods for Boundary Problems Read sections 10.1, 10.2, 10.4 Review questions 10.1 10.4, 10.8 10.9, 10.13 5.1 Introduction In te previous capters we

More information

Key words. Hyperbolic conservation laws; Central discontinuous Galerkin method; Maximum principle; Positivity preserving; High order accuracy

Key words. Hyperbolic conservation laws; Central discontinuous Galerkin method; Maximum principle; Positivity preserving; High order accuracy 3 4 5 6 7 8 9 3 4 5 6 7 8 9 3 MAXIMUM-PRINCIPLE-SATISFYING AND POSITIVITY-PRESERVING HIGH ORDER CENTRAL DG METHODS FOR HYPERBOLIC CONSERVATION LAWS MAOJUN LI, FENGYAN LI, ZHEN LI, AND LIWEI XU Abstract.

More information

Preconditioning in H(div) and Applications

Preconditioning in H(div) and Applications 1 Preconditioning in H(div) and Applications Douglas N. Arnold 1, Ricard S. Falk 2 and Ragnar Winter 3 4 Abstract. Summarizing te work of [AFW97], we sow ow to construct preconditioners using domain decomposition

More information

Finite Difference Methods Assignments

Finite Difference Methods Assignments Finite Difference Metods Assignments Anders Söberg and Aay Saxena, Micael Tuné, and Maria Westermarck Revised: Jarmo Rantakokko June 6, 1999 Teknisk databeandling Assignment 1: A one-dimensional eat equation

More information

Order of Accuracy. ũ h u Ch p, (1)

Order of Accuracy. ũ h u Ch p, (1) Order of Accuracy 1 Terminology We consider a numerical approximation of an exact value u. Te approximation depends on a small parameter, wic can be for instance te grid size or time step in a numerical

More information

Finite Difference Method

Finite Difference Method Capter 8 Finite Difference Metod 81 2nd order linear pde in two variables General 2nd order linear pde in two variables is given in te following form: L[u] = Au xx +2Bu xy +Cu yy +Du x +Eu y +Fu = G According

More information

The Verlet Algorithm for Molecular Dynamics Simulations

The Verlet Algorithm for Molecular Dynamics Simulations Cemistry 380.37 Fall 2015 Dr. Jean M. Standard November 9, 2015 Te Verlet Algoritm for Molecular Dynamics Simulations Equations of motion For a many-body system consisting of N particles, Newton's classical

More information

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY (Section 3.2: Derivative Functions and Differentiability) 3.2.1 SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY LEARNING OBJECTIVES Know, understand, and apply te Limit Definition of te Derivative

More information

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x) Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximatinga function fx, wose values at a set of distinct points x, x, x,, x n are known, by a polynomial P x suc

More information

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these. Mat 11. Test Form N Fall 016 Name. Instructions. Te first eleven problems are wort points eac. Te last six problems are wort 5 points eac. For te last six problems, you must use relevant metods of algebra

More information

The Laplace equation, cylindrically or spherically symmetric case

The Laplace equation, cylindrically or spherically symmetric case Numerisce Metoden II, 7 4, und Übungen, 7 5 Course Notes, Summer Term 7 Some material and exercises Te Laplace equation, cylindrically or sperically symmetric case Electric and gravitational potential,

More information

Different Approaches to a Posteriori Error Analysis of the Discontinuous Galerkin Method

Different Approaches to a Posteriori Error Analysis of the Discontinuous Galerkin Method WDS'10 Proceedings of Contributed Papers, Part I, 151 156, 2010. ISBN 978-80-7378-139-2 MATFYZPRESS Different Approaces to a Posteriori Error Analysis of te Discontinuous Galerkin Metod I. Šebestová Carles

More information

lecture 26: Richardson extrapolation

lecture 26: Richardson extrapolation 43 lecture 26: Ricardson extrapolation 35 Ricardson extrapolation, Romberg integration Trougout numerical analysis, one encounters procedures tat apply some simple approximation (eg, linear interpolation)

More information

Journal of Computational and Applied Mathematics

Journal of Computational and Applied Mathematics Journal of Computational and Applied Matematics 94 (6) 75 96 Contents lists available at ScienceDirect Journal of Computational and Applied Matematics journal omepage: www.elsevier.com/locate/cam Smootness-Increasing

More information

Math 212-Lecture 9. For a single-variable function z = f(x), the derivative is f (x) = lim h 0

Math 212-Lecture 9. For a single-variable function z = f(x), the derivative is f (x) = lim h 0 3.4: Partial Derivatives Definition Mat 22-Lecture 9 For a single-variable function z = f(x), te derivative is f (x) = lim 0 f(x+) f(x). For a function z = f(x, y) of two variables, to define te derivatives,

More information

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note

More information

THE IMPLICIT FUNCTION THEOREM

THE IMPLICIT FUNCTION THEOREM THE IMPLICIT FUNCTION THEOREM ALEXANDRU ALEMAN 1. Motivation and statement We want to understand a general situation wic occurs in almost any area wic uses matematics. Suppose we are given number of equations

More information

AN ANALYSIS OF THE EMBEDDED DISCONTINUOUS GALERKIN METHOD FOR SECOND ORDER ELLIPTIC PROBLEMS

AN ANALYSIS OF THE EMBEDDED DISCONTINUOUS GALERKIN METHOD FOR SECOND ORDER ELLIPTIC PROBLEMS AN ANALYSIS OF THE EMBEDDED DISCONTINUOUS GALERKIN METHOD FOR SECOND ORDER ELLIPTIC PROBLEMS BERNARDO COCKBURN, JOHNNY GUZMÁN, SEE-CHEW SOON, AND HENRYK K. STOLARSKI Abstract. Te embedded discontinuous

More information

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator. Lecture XVII Abstract We introduce te concept of directional derivative of a scalar function and discuss its relation wit te gradient operator. Directional derivative and gradient Te directional derivative

More information

Section 15.6 Directional Derivatives and the Gradient Vector

Section 15.6 Directional Derivatives and the Gradient Vector Section 15.6 Directional Derivatives and te Gradient Vector Finding rates of cange in different directions Recall tat wen we first started considering derivatives of functions of more tan one variable,

More information

LECTURE 14 NUMERICAL INTEGRATION. Find

LECTURE 14 NUMERICAL INTEGRATION. Find LECTURE 14 NUMERCAL NTEGRATON Find b a fxdx or b a vx ux fx ydy dx Often integration is required. However te form of fx may be suc tat analytical integration would be very difficult or impossible. Use

More information

CONVERGENCE ANALYSIS OF YEE SCHEMES FOR MAXWELL S EQUATIONS IN DEBYE AND LORENTZ DISPERSIVE MEDIA

CONVERGENCE ANALYSIS OF YEE SCHEMES FOR MAXWELL S EQUATIONS IN DEBYE AND LORENTZ DISPERSIVE MEDIA INTRNATIONAL JOURNAL OF NUMRICAL ANALYSIS AND MODLING Volume XX Number 0 ages 45 c 03 Institute for Scientific Computing and Information CONVRGNC ANALYSIS OF Y SCHMS FOR MAXWLL S QUATIONS IN DBY AND LORNTZ

More information

Exercises for numerical differentiation. Øyvind Ryan

Exercises for numerical differentiation. Øyvind Ryan Exercises for numerical differentiation Øyvind Ryan February 25, 2013 1. Mark eac of te following statements as true or false. a. Wen we use te approximation f (a) (f (a +) f (a))/ on a computer, we can

More information

MATH745 Fall MATH745 Fall

MATH745 Fall MATH745 Fall MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext

More information

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds.

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds. Numerical solvers for large systems of ordinary differential equations based on te stocastic direct simulation metod improved by te and Runge Kutta principles Flavius Guiaş Abstract We present a numerical

More information

Symmetry Labeling of Molecular Energies

Symmetry Labeling of Molecular Energies Capter 7. Symmetry Labeling of Molecular Energies Notes: Most of te material presented in tis capter is taken from Bunker and Jensen 1998, Cap. 6, and Bunker and Jensen 2005, Cap. 7. 7.1 Hamiltonian Symmetry

More information

arxiv: v1 [math.na] 20 Jul 2009

arxiv: v1 [math.na] 20 Jul 2009 STABILITY OF LAGRANGE ELEMENTS FOR THE MIXED LAPLACIAN DOUGLAS N. ARNOLD AND MARIE E. ROGNES arxiv:0907.3438v1 [mat.na] 20 Jul 2009 Abstract. Te stability properties of simple element coices for te mixed

More information

arxiv: v1 [math.na] 3 Nov 2011

arxiv: v1 [math.na] 3 Nov 2011 arxiv:.983v [mat.na] 3 Nov 2 A Finite Difference Gost-cell Multigrid approac for Poisson Equation wit mixed Boundary Conditions in Arbitrary Domain Armando Coco, Giovanni Russo November 7, 2 Abstract In

More information

Functions of the Complex Variable z

Functions of the Complex Variable z Capter 2 Functions of te Complex Variable z Introduction We wis to examine te notion of a function of z were z is a complex variable. To be sure, a complex variable can be viewed as noting but a pair of

More information

Numerical Differentiation

Numerical Differentiation Numerical Differentiation Finite Difference Formulas for te first derivative (Using Taylor Expansion tecnique) (section 8.3.) Suppose tat f() = g() is a function of te variable, and tat as 0 te function

More information

2.8 The Derivative as a Function

2.8 The Derivative as a Function .8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open

More information

A SPLITTING LEAST-SQUARES MIXED FINITE ELEMENT METHOD FOR ELLIPTIC OPTIMAL CONTROL PROBLEMS

A SPLITTING LEAST-SQUARES MIXED FINITE ELEMENT METHOD FOR ELLIPTIC OPTIMAL CONTROL PROBLEMS INTERNATIONAL JOURNAL OF NUMERICAL ANALSIS AND MODELING Volume 3, Number 4, Pages 6 626 c 26 Institute for Scientific Computing and Information A SPLITTING LEAST-SQUARES MIED FINITE ELEMENT METHOD FOR

More information

Chapter 4: Numerical Methods for Common Mathematical Problems

Chapter 4: Numerical Methods for Common Mathematical Problems 1 Capter 4: Numerical Metods for Common Matematical Problems Interpolation Problem: Suppose we ave data defined at a discrete set of points (x i, y i ), i = 0, 1,..., N. Often it is useful to ave a smoot

More information

Discretization of Multipole Sources in a Finite Difference. Setting for Wave Propagation Problems

Discretization of Multipole Sources in a Finite Difference. Setting for Wave Propagation Problems Discretization of Multipole Sources in a Finite Difference Setting for Wave Propagation Problems Mario J. Bencomo 1 and William Symes 2 1 Institute for Computational and Experimental Researc in Matematics,

More information

Lecture 10: Carnot theorem

Lecture 10: Carnot theorem ecture 0: Carnot teorem Feb 7, 005 Equivalence of Kelvin and Clausius formulations ast time we learned tat te Second aw can be formulated in two ways. e Kelvin formulation: No process is possible wose

More information

Explicit Hyperbolic Reconstructed Discontinuous Galerkin Methods for Time-Dependent Problems

Explicit Hyperbolic Reconstructed Discontinuous Galerkin Methods for Time-Dependent Problems AIAA AVIATION Forum June 25-29 218 Atlanta Georgia 218 Fluid Dynamics Conference 1.2514/6.218-427 Explicit Hyperbolic Reconstructed Discontinuous Galerkin Metods for Time-Dependent Problems Jialin Lou

More information

Taylor Series and the Mean Value Theorem of Derivatives

Taylor Series and the Mean Value Theorem of Derivatives 1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential

More information

GRID CONVERGENCE ERROR ANALYSIS FOR MIXED-ORDER NUMERICAL SCHEMES

GRID CONVERGENCE ERROR ANALYSIS FOR MIXED-ORDER NUMERICAL SCHEMES GRID CONVERGENCE ERROR ANALYSIS FOR MIXED-ORDER NUMERICAL SCHEMES Cristoper J. Roy Sandia National Laboratories* P. O. Box 5800, MS 085 Albuquerque, NM 8785-085 AIAA Paper 00-606 Abstract New developments

More information

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example, NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing

More information

Locally Divergence-Free Central Discontinuous Galerkin Methods for Ideal MHD Equations

Locally Divergence-Free Central Discontinuous Galerkin Methods for Ideal MHD Equations Locally Divergence-Free Central Discontinuous Galerkin Methods for Ideal MHD Equations Sergey Yakovlev, Liwei Xu and Fengyan Li Abstract In this paper, we propose and numerically investigate a family of

More information

Implicit-explicit variational integration of highly oscillatory problems

Implicit-explicit variational integration of highly oscillatory problems Implicit-explicit variational integration of igly oscillatory problems Ari Stern Structured Integrators Worksop April 9, 9 Stern, A., and E. Grinspun. Multiscale Model. Simul., to appear. arxiv:88.39 [mat.na].

More information

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h Lecture Numerical differentiation Introduction We can analytically calculate te derivative of any elementary function, so tere migt seem to be no motivation for calculating derivatives numerically. However

More information

MIXED DISCONTINUOUS GALERKIN APPROXIMATION OF THE MAXWELL OPERATOR. SIAM J. Numer. Anal., Vol. 42 (2004), pp

MIXED DISCONTINUOUS GALERKIN APPROXIMATION OF THE MAXWELL OPERATOR. SIAM J. Numer. Anal., Vol. 42 (2004), pp MIXED DISCONTINUOUS GALERIN APPROXIMATION OF THE MAXWELL OPERATOR PAUL HOUSTON, ILARIA PERUGIA, AND DOMINI SCHÖTZAU SIAM J. Numer. Anal., Vol. 4 (004), pp. 434 459 Abstract. We introduce and analyze a

More information

arxiv: v1 [math.na] 17 Jul 2014

arxiv: v1 [math.na] 17 Jul 2014 Div First-Order System LL* FOSLL* for Second-Order Elliptic Partial Differential Equations Ziqiang Cai Rob Falgout Sun Zang arxiv:1407.4558v1 [mat.na] 17 Jul 2014 February 13, 2018 Abstract. Te first-order

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximating a function f(x, wose values at a set of distinct points x, x, x 2,,x n are known, by a polynomial P (x

More information

A Polynomial Adaptive LCP Scheme for Viscous Compressible Flows

A Polynomial Adaptive LCP Scheme for Viscous Compressible Flows A Polynomial Adaptive LCP Sceme for Viscous Compressible Flows J.S. Cagnone, B.C. Vermeire, and S.. Nadaraja Department of Mecanical Engineering, McGill University, Montreal, Canada, H3A 2S6 Email: jean-sebastien.cagnone@mail.mcgill.ca

More information

A New Fifth Order Finite Difference WENO Scheme for Hamilton-Jacobi Equations

A New Fifth Order Finite Difference WENO Scheme for Hamilton-Jacobi Equations A New Fift Order Finite Difference WENO Sceme for Hamilton-Jacobi Equations Jun Zu, 1 Jianxian Qiu 1 College of Science, Nanjing University of Aeronautics and Astronautics, Nanjing, Jiangsu 10016, People

More information

Nonconforming Immersed Finite Element Methods for Interface Problems

Nonconforming Immersed Finite Element Methods for Interface Problems Nonconforming Immersed Finite Element Metods for Interface Problems Xu Zang Dissertation submitted to te Faculty of te Virginia Polytecnic Institute and State University in partial fulfillment of te requirements

More information

Implicit Multistage Two-Derivative Discontinuous Galerkin Schemes for Viscous Conservation Laws Link Peer-reviewed author version

Implicit Multistage Two-Derivative Discontinuous Galerkin Schemes for Viscous Conservation Laws Link Peer-reviewed author version Implicit Multistage Two-Derivative Discontinuous Galerkin Scemes for Viscous Conservation Laws Link Peer-reviewed autor version Made available by Hasselt University Library in Document Server@UHasselt

More information

Finding and Using Derivative The shortcuts

Finding and Using Derivative The shortcuts Calculus 1 Lia Vas Finding and Using Derivative Te sortcuts We ave seen tat te formula f f(x+) f(x) (x) = lim 0 is manageable for relatively simple functions like a linear or quadratic. For more complex

More information

APPROXIMATION BY QUADRILATERAL FINITE ELEMENTS

APPROXIMATION BY QUADRILATERAL FINITE ELEMENTS MATHEMATICS OF COMPUTATION Volume 71, Number 239, Pages 909 922 S 0025-5718(02)01439-4 Article electronically publised on Marc 22, 2002 APPROXIMATION BY QUADRILATERAL FINITE ELEMENTS DOUGLAS N. ARNOLD,

More information

Numerical Solution of One Dimensional Nonlinear Longitudinal Oscillations in a Class of Generalized Functions

Numerical Solution of One Dimensional Nonlinear Longitudinal Oscillations in a Class of Generalized Functions Proc. of te 8t WSEAS Int. Conf. on Matematical Metods and Computational Tecniques in Electrical Engineering, Bucarest, October 16-17, 2006 219 Numerical Solution of One Dimensional Nonlinear Longitudinal

More information

Math 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006

Math 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 Mat 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 f(x+) f(x) 10 1. For f(x) = x 2 + 2x 5, find ))))))))) and simplify completely. NOTE: **f(x+) is NOT f(x)+! f(x+) f(x) (x+) 2 + 2(x+) 5 ( x 2

More information

Copyright c 2008 Kevin Long

Copyright c 2008 Kevin Long Lecture 4 Numerical solution of initial value problems Te metods you ve learned so far ave obtained closed-form solutions to initial value problems. A closedform solution is an explicit algebriac formula

More information

New Fourth Order Quartic Spline Method for Solving Second Order Boundary Value Problems

New Fourth Order Quartic Spline Method for Solving Second Order Boundary Value Problems MATEMATIKA, 2015, Volume 31, Number 2, 149 157 c UTM Centre for Industrial Applied Matematics New Fourt Order Quartic Spline Metod for Solving Second Order Boundary Value Problems 1 Osama Ala yed, 2 Te

More information

arxiv: v1 [math.na] 28 Apr 2017

arxiv: v1 [math.na] 28 Apr 2017 THE SCOTT-VOGELIUS FINITE ELEMENTS REVISITED JOHNNY GUZMÁN AND L RIDGWAY SCOTT arxiv:170500020v1 [matna] 28 Apr 2017 Abstract We prove tat te Scott-Vogelius finite elements are inf-sup stable on sape-regular

More information

Recent Advances in Time-Domain Maxwell s Equations in Metamaterials

Recent Advances in Time-Domain Maxwell s Equations in Metamaterials Recent Advances in Time-Domain Maxwell s Equations in Metamaterials Yunqing Huang 1, and Jicun Li, 1 Hunan Key Laboratory for Computation and Simulation in Science and Engineering, Xiangtan University,

More information

WYSE Academic Challenge 2004 Sectional Mathematics Solution Set

WYSE Academic Challenge 2004 Sectional Mathematics Solution Set WYSE Academic Callenge 00 Sectional Matematics Solution Set. Answer: B. Since te equation can be written in te form x + y, we ave a major 5 semi-axis of lengt 5 and minor semi-axis of lengt. Tis means

More information

arxiv: v1 [physics.flu-dyn] 3 Jun 2015

arxiv: v1 [physics.flu-dyn] 3 Jun 2015 A Convective-like Energy-Stable Open Boundary Condition for Simulations of Incompressible Flows arxiv:156.132v1 [pysics.flu-dyn] 3 Jun 215 S. Dong Center for Computational & Applied Matematics Department

More information

Efficient algorithms for for clone items detection

Efficient algorithms for for clone items detection Efficient algoritms for for clone items detection Raoul Medina, Caroline Noyer, and Olivier Raynaud Raoul Medina, Caroline Noyer and Olivier Raynaud LIMOS - Université Blaise Pascal, Campus universitaire

More information

Fourier Type Super Convergence Study on DDGIC and Symmetric DDG Methods

Fourier Type Super Convergence Study on DDGIC and Symmetric DDG Methods DOI 0.007/s095-07-048- Fourier Type Super Convergence Study on DDGIC and Symmetric DDG Metods Mengping Zang Jue Yan Received: 7 December 06 / Revised: 7 April 07 / Accepted: April 07 Springer Science+Business

More information

Pre-Calculus Review Preemptive Strike

Pre-Calculus Review Preemptive Strike Pre-Calculus Review Preemptive Strike Attaced are some notes and one assignment wit tree parts. Tese are due on te day tat we start te pre-calculus review. I strongly suggest reading troug te notes torougly

More information

A Numerical Scheme for Particle-Laden Thin Film Flow in Two Dimensions

A Numerical Scheme for Particle-Laden Thin Film Flow in Two Dimensions A Numerical Sceme for Particle-Laden Tin Film Flow in Two Dimensions Mattew R. Mata a,, Andrea L. Bertozzi a a Department of Matematics, University of California Los Angeles, 520 Portola Plaza, Los Angeles,

More information

A Demonstration of the Advantage of Asymptotic Preserving Schemes over Standard Finite Volume Schemes

A Demonstration of the Advantage of Asymptotic Preserving Schemes over Standard Finite Volume Schemes A Demonstration of te Advantage of Asymptotic Preserving Scemes over Standard Finite Volume Scemes Jocen Scütz Berict Nr. 366 Juni 213 Key words: conservation laws, asymptotic metods, finite volume metods,

More information

A = h w (1) Error Analysis Physics 141

A = h w (1) Error Analysis Physics 141 Introduction In all brances of pysical science and engineering one deals constantly wit numbers wic results more or less directly from experimental observations. Experimental observations always ave inaccuracies.

More information

Variational Localizations of the Dual Weighted Residual Estimator

Variational Localizations of the Dual Weighted Residual Estimator Publised in Journal for Computational and Applied Matematics, pp. 192-208, 2015 Variational Localizations of te Dual Weigted Residual Estimator Tomas Ricter Tomas Wick Te dual weigted residual metod (DWR)

More information

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households Volume 29, Issue 3 Existence of competitive equilibrium in economies wit multi-member ouseolds Noriisa Sato Graduate Scool of Economics, Waseda University Abstract Tis paper focuses on te existence of

More information

A h u h = f h. 4.1 The CoarseGrid SystemandtheResidual Equation

A h u h = f h. 4.1 The CoarseGrid SystemandtheResidual Equation Capter Grid Transfer Remark. Contents of tis capter. Consider a grid wit grid size and te corresponding linear system of equations A u = f. Te summary given in Section 3. leads to te idea tat tere migt

More information

ERROR BOUNDS FOR FINITE-DIFFERENCE METHODS FOR RUDIN OSHER FATEMI IMAGE SMOOTHING

ERROR BOUNDS FOR FINITE-DIFFERENCE METHODS FOR RUDIN OSHER FATEMI IMAGE SMOOTHING ERROR BOUNDS FOR FINITE-DIFFERENCE METHODS FOR RUDIN OSHER FATEMI IMAGE SMOOTHING JINGYUE WANG AND BRADLEY J. LUCIER Abstract. We bound te difference between te solution to te continuous Rudin Oser Fatemi

More information

LIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT

LIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT LIMITS AND DERIVATIVES Te limit of a function is defined as te value of y tat te curve approaces, as x approaces a particular value. Te limit of f (x) as x approaces a is written as f (x) approaces, as

More information

Physically Based Modeling: Principles and Practice Implicit Methods for Differential Equations

Physically Based Modeling: Principles and Practice Implicit Methods for Differential Equations Pysically Based Modeling: Principles and Practice Implicit Metods for Differential Equations David Baraff Robotics Institute Carnegie Mellon University Please note: Tis document is 997 by David Baraff

More information

arxiv: v1 [math.na] 7 Mar 2019

arxiv: v1 [math.na] 7 Mar 2019 Local Fourier analysis for mixed finite-element metods for te Stokes equations Yunui He a,, Scott P. MacLaclan a a Department of Matematics and Statistics, Memorial University of Newfoundland, St. Jon

More information

CONVERGENCE ANALYSIS OF YEE SCHEMES FOR MAXWELL S EQUATIONS IN DEBYE AND LORENTZ DISPERSIVE MEDIA

CONVERGENCE ANALYSIS OF YEE SCHEMES FOR MAXWELL S EQUATIONS IN DEBYE AND LORENTZ DISPERSIVE MEDIA INTRNATIONAL JOURNAL OF NUMRICAL ANALYSIS AND MODLING Volume Number 4 ages 657 687 c 04 Institute for Scientific Computing and Information CONVRGNC ANALYSIS OF Y SCHMS FOR MAXWLL S QUATIONS IN DBY AND

More information

1 Upwind scheme for advection equation with variable. 2 Modified equations: numerical dissipation and dispersion

1 Upwind scheme for advection equation with variable. 2 Modified equations: numerical dissipation and dispersion 1 Upwind sceme for advection equation wit variable coefficient Consider te equation u t + a(x)u x Applying te upwind sceme, we ave u n 1 = a (un u n 1), a 0 u n 1 = a (un +1 u n ) a < 0. CFL condition

More information

A Modified Distributed Lagrange Multiplier/Fictitious Domain Method for Particulate Flows with Collisions

A Modified Distributed Lagrange Multiplier/Fictitious Domain Method for Particulate Flows with Collisions A Modified Distributed Lagrange Multiplier/Fictitious Domain Metod for Particulate Flows wit Collisions P. Sing Department of Mecanical Engineering New Jersey Institute of Tecnology University Heigts Newark,

More information

arxiv: v2 [math.na] 11 Dec 2016

arxiv: v2 [math.na] 11 Dec 2016 Noname manuscript No. will be inserted by te editor Sallow water equations: Split-form, entropy stable, well-balanced, and positivity preserving numerical metods Hendrik Ranoca arxiv:609.009v [mat.na]

More information

INTRODUCTION AND MATHEMATICAL CONCEPTS

INTRODUCTION AND MATHEMATICAL CONCEPTS Capter 1 INTRODUCTION ND MTHEMTICL CONCEPTS PREVIEW Tis capter introduces you to te basic matematical tools for doing pysics. You will study units and converting between units, te trigonometric relationsips

More information

2.1 THE DEFINITION OF DERIVATIVE

2.1 THE DEFINITION OF DERIVATIVE 2.1 Te Derivative Contemporary Calculus 2.1 THE DEFINITION OF DERIVATIVE 1 Te grapical idea of a slope of a tangent line is very useful, but for some uses we need a more algebraic definition of te derivative

More information

Analysis of A Continuous Finite Element Method for H(curl, div)-elliptic Interface Problem

Analysis of A Continuous Finite Element Method for H(curl, div)-elliptic Interface Problem Analysis of A Continuous inite Element Metod for Hcurl, div)-elliptic Interface Problem Huoyuan Duan, Ping Lin, and Roger C. E. Tan Abstract In tis paper, we develop a continuous finite element metod for

More information