{"id":5754,"date":"2022-10-04T17:55:03","date_gmt":"2022-10-04T15:55:03","guid":{"rendered":"https:\/\/www.mi.uni-koeln.de\/NumSim\/?p=5754"},"modified":"2022-10-04T17:55:03","modified_gmt":"2022-10-04T15:55:03","slug":"snapshot-multi-component-magneto-hydrodynamics-simulations-with-a-bounds-preserving-discontinuous-galerkin-method","status":"publish","type":"post","link":"https:\/\/www.mi.uni-koeln.de\/NumSim\/2022\/10\/04\/snapshot-multi-component-magneto-hydrodynamics-simulations-with-a-bounds-preserving-discontinuous-galerkin-method\/","title":{"rendered":"Snapshot: Multi-component magneto-hydrodynamics simulations with a bounds-preserving discontinuous Galerkin method"},"content":{"rendered":"<p>We solve the multi-component magneto-hydrodynamics (MHD) equations using a hybrid finite volume (FV)\/discontinuous Galerkin (DG) method [1], which combines the two discretization approaches at the node level. To test the robustness of the hybrid FV\/DG method, we compute a modification of the Orszag-Tang vortex problem [2], where we use two ion species and initialize the flow with a sharp interface at $y=0$:<br \/>\n\\[<br \/>\n\\begin{array}{rlrl}<br \/>\n\\rho^1(x,y,t=0) &amp;= \\begin{cases}<br \/>\n{25}\/{36 \\pi} &amp; y \\ge 0 \\\\<br \/>\n10^{-8} &amp; y &lt; 0<br \/>\n\\end{cases} ,<br \/>\n&amp;\\rho^2(x,y,t=0) &amp;= \\begin{cases}<br \/>\n10^{-8} &amp; y &lt; 0\\\\<br \/>\n{25}\/{36 \\pi} &amp; y \\ge 0<br \/>\n\\end{cases} , \\\\<br \/>\nv_1 (x,y,t=0) &amp;= &#8211; \\sin (2 \\pi y),<br \/>\n&amp;v_2 (x,y,t=0) &amp;= \\sin (2 \\pi x), \\\\<br \/>\nB_1 (x,y,t=0) &amp;= -\\frac{1}{\\sqrt{4 \\pi}} \\sin (2 \\pi y),<br \/>\n&amp;B_2 (x,y,t=0) &amp;= -\\frac{1}{\\sqrt{4 \\pi}} \\sin (4 \\pi x). \\\\<br \/>\np (x,y,t=0) &amp;= \\frac{5}{12 \\pi},<br \/>\n&amp; &amp; \\\\<br \/>\n\\end{array}<br \/>\n\\]<br \/>\nwhere $\\rho^1$ is the density of the first ion species, $\\rho^2$ is the density of the second ion species,$\\vec{v}=(v_1,v_2)$ is the plasma velocity, $\\vec{B}=(B_1,B_2)$ is the magnetic field, and $p$ is the plasma pressure (without magnetic pressure).<br \/>\n&nbsp;<br \/>\nThe fourth-order DG method delivers high accuracy, but fails to describe shocks and material interfaces. Therefore, we use a modal indicator [3] to detect the elements where the solution changes abruptly. In those elements, we combine the DG method with a robust lower order FV scheme locally (at the node level) to impose TVD-like conditions on the density of the ion species,<br \/>\n\\[<br \/>\n\\min_{k \\in \\mathcal{N} (j)} {\\rho}^{i,\\mathrm{FV}}_{k}<br \/>\n\\le \\rho^i_{j} \\le<br \/>\n\\max_{k \\in \\mathcal{N} (j)} {\\rho}^{i,\\mathrm{FV}}_{k},<br \/>\n\\]<br \/>\nand a local minimum principle on the specific entropy,<br \/>\n\\[<br \/>\ns({\\mathbf{u}}_{j}) \\ge \\min_{k \\in \\mathcal{N} (j)} s(\\mathbf{u}^{\\mathrm{FV}}_{k}),.<br \/>\n\\]<br \/>\nwhere $\\mathcal{N} (j)$ denotes the collection of nodes in the low-order stencil of each node $j$.<br \/>\n&nbsp;<br \/>\nThe video shows the total density ($\\rho=\\rho^1+\\rho^2$), the density of the first ion species ($\\rho^1$), and the so-called blending coefficient ($\\alpha$) for the combination of a fourth-order accurate entropy stable DG method with first- and second-order accurate FV methods (Rusanov solver) and $1024^2$ degrees of freedom. A blending coefficient $\\alpha=0$ means that only the DG is being used, and a blending coefficient $\\alpha=1$ means that only the FV method is being used. The example shows that the hybrid FV\/DG scheme is able to capture the shocks of the simulation correctly, deal with near-vacuum conditions and sharp interfaces.<\/p>\n<p>[1] Rueda-Ram\u00edrez, A. M.; Pazner, W., &amp; Gassner, G. J. (2022). Subcell limiting strategies for discontinuous Galerkin spectral element methods. Computers &#038; Fluids. <a href=\"https:\/\/arxiv.org\/abs\/2202.00576v2\">arXiv:2202.00576<\/a>.<br \/>\n[2] Orszag, S.; Tang, C (1979). Small-scale structure of two-dimensional magnetohydrodynamic turbulence. Journal of Fluid Mechanics.<br \/>\n[3] Persson, P. O.; Peraire, J. (2006). Sub-cell shock capturing for discontinuous Galerkin methods. In 44th AIAA Aerospace Sciences Meeting and Exhibit (p. 112).<\/p>\n<p><iframe loading=\"lazy\" title=\"Multi-component Orszag-Tang vortex simulation (bounds-preserving discontinuous Galerkin method)\" width=\"584\" height=\"438\" src=\"https:\/\/www.youtube.com\/embed\/JeLKOtWXSiI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We solve the multi-component magneto-hydrodynamics (MHD) equations using a hybrid finite volume (FV)\/discontinuous Galerkin (DG) method [1], which combines the two discretization approaches at the node level. To test the robustness of the hybrid FV\/DG method, we compute a modification &hellip; <a href=\"https:\/\/www.mi.uni-koeln.de\/NumSim\/2022\/10\/04\/snapshot-multi-component-magneto-hydrodynamics-simulations-with-a-bounds-preserving-discontinuous-galerkin-method\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/5754"}],"collection":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/comments?post=5754"}],"version-history":[{"count":14,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/5754\/revisions"}],"predecessor-version":[{"id":5768,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/5754\/revisions\/5768"}],"wp:attachment":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/media?parent=5754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/categories?post=5754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/tags?post=5754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}