Structure preserving transport stabilized compatible nite element methods for magnetohydrodynamics Golo A. Wimmer1 Xianzhu Tang1

2025-05-02 0 0 3.23MB 38 页 10玖币
侵权投诉
Structure preserving transport stabilized compatible finite element methods
for magnetohydrodynamics
Golo A. Wimmer1, Xianzhu Tang1
1Los Alamos National Laboratory
Thursday 6th October, 2022
Abstract
We present compatible finite element space discretizations for the ideal compressible magnetohy-
drodynamic equations. The magnetic field is considered both in div- and curl-conforming spaces,
leading to a strongly or weakly preserved zero-divergence condition, respectively. The equations
are discretized in space such that transfers between the kinetic, internal, and magnetic energies
are consistent, leading to a preserved total energy. We also discuss further adjustments to the dis-
cretization required to additionally achieve magnetic helicity preservation. Finally, we describe new
transport stabilization methods for the magnetic field equation which maintain the zero-divergence
and energy conservation properties, including one method which also preserves magnetic helicity.
The methods’ preservation and improved stability properties are confirmed numerically using a
steady state and a magnetic dynamo test case.
Keywords. Magnetohydrodynamics, compatible finite element method, structure preservation, trans-
port stabilization.
1 Introduction
The compressible magnetohydrodynamic (MHD) equations are of interest in a diverse range of
application areas, including astrophysics and magnetic confinement fusion [20]. Their most fun-
damental variant is given by single fluid ideal MHD, where dissipative effects are ignored and all
terms except of the transport one are omitted in Ohm’s law, which defines the electric field to be
used in the magnetic field equation [20, 25]. While many physically relevant effects – such as those
related to Hall MHD – are lost in the ideal case, the resulting system of partial differential equations
still contains a rich structure that is challenging to discretize [19, 25]. This structure in particular
includes the magnetic field’s zero-divergence property, and a failure to satisfy this property after
discretization generally leads to large amounts of spurious noise. A wealth of numerical methods
has been developed to avoid this problem, by means of, for example, Lagrange multipliers [38], a
post-processing step [11], 8-wave methods [34], or discretizations that satisfy the zero-divergence
property exactly [16], [22] (and references therein). Another structure is given by a balance be-
tween the kinetic, internal, and magnetic energies, leading to conservation of total energy. In the
context of hydrodynamics, it has long been known that a discrete analogue of this property may
correspondence to: gwimmer@lanl.gov
1
arXiv:2210.02348v1 [math.NA] 5 Oct 2022
lead to more accurate long term predictions [1]. Furthermore, such a discrete analogue may lead
to more accurate results at lower resolutions [43]. Additionally, the ideal MHD equations give rise
to conserved helicities, including the magnetic helicity [21] (and references therein). Finally, next
to these quantities arising from the system’s structure, the MHD equations also contain transport
terms for each of the prognostic variables. When physical dissipative effects are relatively small –
which is often the case for many applications of interest – additional stabilization methods may be
needed to avoid spurious oscillations due to the discrete transport terms.
Recently, a number of compatible finite element based discretizations have been described for var-
ious forms of the MHD equations, ensuring some or all of the aforementioned structure preserving
properties [18, 21, 22, 26]. In particular, the magnetic field’s zero-divergence property is ensured
to hold true via discrete vector calculus identities that are satisfied in the compatible finite ele-
ment approach. Further, energy conservation is achieved by using matching discretizations for the
various terms appearing in the system of equations. This approach may be facilitated by a rich
underlying theory starting from a Lagrangian mechanics point of view [18], or a Hamiltonian one
based on Poisson brackets [30]. Lastly, helicity conservation can be achieved by the use of ap-
propriate projections, moving between the corresponding div- and curl-conforming finite element
spaces [21]. In the context of compatible finite element discretizations for hydrodynamics in ocean
and atmosphere modeling, transport stabilization methods have further been incorporated with-
out compromising on energy conservation for the density, thermal, velocity, and vorticity fields
[6, 15, 28, 31, 43, 42, 41]. However, there is a lack of such methods specifically aimed at improving
the magnetic field transport term’s stability, which comes with the added difficulty of maintaining
the latter field’s zero-divergence property. One recent approach to resolve this is given by [44],
which concerns general grad-, div-, and curl-conforming convection-diffusion problems, and relies
on exponential fitting methods.
In this paper, we introduce two new transport stabilization methods for the div- and curl-conforming
discretizations of the magnetic field equation. They are based on interior penalty type formulations
[12, 13], and can be seen as sub-grid resistivity terms. Unlike the addition of a small physical
resistive contribution for stabilization purposes, the latter two methods are consistent with the
ideal MHD equations in the sense that for a continuous current density, the interior penalty terms
vanish. The two methods differ in that the first one’s penalty term is analogous to the resistivity
term, while in the second one, the penalty is adjusted to vanish in the computation of the rate of
change of total helicity. Further, we examine a residual based SUPG formulation for the magnetic
field equation, which in the context of compatible finite element methods has been considered for
atmosphere and ocean modeling for the vorticity equation before [6, 41]. All three methods pre-
serve the zero-divergence as well as energy conservation properties. Finally, the three methods’
stabilization properties are studied numerically and compared against each other for both a curl-
and a div-conforming discretization of the magnetic field evolution equation.
While magnetic field transport constitutes the main focus of the paper, we also introduce new
energy conserving transport stabilization methods for the thermal field. Transport stabilized ther-
2
mohydrodynamic systems have been studied using the compatible finite element framework before
(e.g. [15] for buoyancy and [43] for potential temperature); however, we found alternative approaches
to fit better into the context of the compressible MHD equations considered here. In particular, we
include an energetically neutral interior penalty term when using the temperature as the thermal
field, and an energetically neutral upwind formulation if pressure is used instead.
The remainder of this work is structured as follows: In Section 2, we review the compressible
magnetohydrodynamic equations and their structure preserving properties, as well as the compati-
ble finite element method. In Section 3, we introduce the structure preserving space discretization,
including stabilization methods for all transport terms. In Section 4, we present and discuss nu-
merical results. Finally, in Section 5, we review our results and discuss ongoing work.
2 Background
In this section, we introduce the compressible magnetohydrodynamic equations, and review some of
its structure preserving properties. Further, we briefly review the compatible finite element spaces
to be used in the space discretization.
2.1 Compressible MHD
In this work, we derive discretizations for the ideal compressible magnetohydrodynamic equations.
However, in order to motivate the new interior penalty based stabilization methods to be introduced
in the next section, we will start from the resistive MHD equations. They are given by
n
t +∇ · (nV)=0,(2.1a)
V
t + (∇ × V)×V+1
2∇|V|2+1
min(nT )1
minj×B= 0,(2.1b)
n
γ1T
t +V· ∇T+nT ∇ · V=η|j|2(2.1c)
B
t +∇ × E= 0,(2.1d)
E=V×B+ηj,j=1
µ0∇ × B,(2.1e)
in a domain Ω, and where the prognostic fields are given by the ion number density n, ion flow
velocity V, plasma temperature T, and magnetic field B. Details of the field’s underlying spaces
will be postponed to the next section, and in this section, we simply assume sufficient continuity for
the differential operations occurring in the above equations to be well-defined. Note that in view of
this section’s discussion on energy conservation, we wrote the velocity transport term in its vector
invariant form,
(V· ∇)V= (∇ × V)×V+1
2∇|V|2.(2.2)
Additionally, there are two diagnostic fields, given by the electric field E, and the current density j.
The constants miand µ0denote the ion mass and vacuum permeability, respectively, and γ= 5/3.
Finally, ηdenotes the plasma resistivity. If η0 – i.e. if there is no resistive or Ohmic heating
3
effect – then the system of equations reduces to ideal MHD.
Remark 1. Alternatively to the temperature T, it is also possible to consider other thermal
fields such as the pressure p=nT , with a governing equation given by.
1
γ1p
t +∇ · (pV)+p∇ · V=η|j|2.(2.3)
This formulation leads to a more straightforward description of the system’s energy transfers. How-
ever, here we consider the temperature Tinstead, since we found our resulting discretization (3.1)
to be on average more accurate when compared to our pressure field based one (3.13). Further, the
corresponding evolution equation for Tand its discretization are more amenable to incorporate an
anisotropic heat flux – which includes a gradient in Trather than p– and which plays an important
role in, for example, magnetic confinement fusion applications.
Finally, we equip the above equations with free-slip boundary conditions for the velocity field,
and mixed boundary conditions for the magnetic field. For a domain Ω with a boundary region
and sub-regions 1,2such that 12=Ω and 12=, these are given by
V·n|= 0,(2.4)
B·n|1=g1,H×n|2=g2,(2.5)
for outward normal unit vector n, and where H:=µ0B. The magnetic field boundary conditions
can alternatively also be expressed in terms of E×n=h1and j·n=h2in 1and 2, respectively
[7]. We note that this may be preferable depending on the choice of finite element function space,
as will be shown in Section 3.
The above system of equations gives rise to a number of conserved quantities, and in the following,
we will focus on the system’s total energy, total magnetic helicity, and zero-divergence property for
the magnetic field. The system’s total energy is given by
H(n, V, T, B) = Z1
2min|V|2+nT
γ1+|B|2
2µ0dx. (2.6)
Proposition 1a.For boundary conditions of the form V·n|= 0 and B·n|= 0, the total
energy is conserved in time.
Proof. The rate of change in time of the total energy (2.6) can be computed using the chain rule
dH
dt =δH
δn ,n
t +δH
δV,V
t +δH
δT ,T
t +δH
δB,B
t ,(2.7)
where – after some abuse of notation1h., .idenotes the L2inner product, and the variational
derivative related expressions are given by
δH
δn =1
2mi|V|2+T
γ1,δH
δT =n
γ1,δH
δV=minV,δH
δB=B
µ0
.(2.8)
1Strictly speaking, the Hamiltonian derivatives are elements of the dual spaces of the respective fields, and h., .i
denotes a pairing of elements from a space and the space’s dual.
4
Substituting these expressions and the prognostic fields’ time derivatives in (2.7) by the evolution
equations (2.1a) - (2.1d), we obtain
δH
δn ,n
t =1
2mi|V|2,∇ · (nV)T
γ1,∇ · (nV),(2.9a)
δH
δV,V
t =hminV,(∇ × V)×Vi − minV,1
2∇|V|2− hV,(nT )i+hV,j×Bi,(2.9b)
δH
δT ,T
t =n
γ1,V· ∇T− hnT ∇ · Vi+hηj,ji,(2.9c)
δH
δB,B
t =B
µ0
,∇ × E.(2.9d)
The first term on the right-hand side of (2.9b) vanishes due to the cross-product of Vwith itself.
Further, upon applying integration by parts for the second and third term on the right-hand side
of (2.9b), as well as the first terms on the right-hand sides of (2.9c) and (2.9d), we arrive at
δH
δn ,n
t =1
2mi|V|2,∇ · (nV)T
γ1,∇ · (nV),(2.10a)
δH
δV,V
t =1
2mi|V|2,∇ · (nV)+hnT ∇ · Vi+hV,j×Bi,(2.10b)
δH
δT ,T
t =T
γ1,∇ · (nV)− hnT ∇ · Vi+hηj,ji,(2.10c)
δH
δB,B
t =hj,V×B+ηji,(2.10d)
where we used the boundary conditions, noting that we used the analogous electric field boundary
condition E×n|= 0 in place of the magnetic field one. Further, we used the definition of jin
(2.9d) after integrating by parts. Summing over the four terms as in (2.7), we then find that all
terms cancel, and the rate of change of Hin time equals zero.
The computations appearing in the above proof can also be used to uncover the system’s transfers
between the total kinetic, internal, and magnetic energies, which are given by
KE(n, V) = Z
1
2min|V|2dx, IE(n, T ) = Z
nT
γ1dx, ME(B) = Z
|B|2
2µ0
dx. (2.11)
Using the variational derivative relations
δH
δn =δKE
δn +δIE
δn ,δH
δT =δIE
δT ,δH
δV=δKE
δV,δH
δB=δME
δB,(2.12)
we then find
dKE
dt =−hV,(nT )i+hV,j×Bi,(2.13a)
dIE
dt = +hV,(nT )i+hηj,ji(2.13b)
dME
dt =−hV,j×Bi−hηj,ji,(2.13c)
5
摘要:

Structurepreservingtransportstabilizedcompatible niteelementmethodsformagnetohydrodynamicsGoloA.Wimmer1*,XianzhuTang11LosAlamosNationalLaboratoryThursday6thOctober,2022AbstractWepresentcompatible niteelementspacediscretizationsfortheidealcompressiblemagnetohy-drodynamicequations.Themagnetic eldiscon...

展开>> 收起<<
Structure preserving transport stabilized compatible nite element methods for magnetohydrodynamics Golo A. Wimmer1 Xianzhu Tang1.pdf

共38页,预览5页

还剩页未读, 继续阅读

声明:本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。玖贝云文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知玖贝云文库,我们立即给予删除!
分类:图书资源 价格:10玖币 属性:38 页 大小:3.23MB 格式:PDF 时间:2025-05-02

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 38
客服
关注