선정목록으로
Meshless Methods for Magnetohydrodynamics with Vector Potential
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2202.03761
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2202.03761
- 토픽
- High-Velocity Impact and Material Behavior
- OpenAlex ID
- W6891847547
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
We present a meshless method for magnetohydrodynamics by evolving the vector potential of magnetic fields. A novel scheme and numerical techniques are developed to restrict the divergence of magnetic field, based on the Meshless Finite Mass/Volume with HLLD Riemann solver for conservative flux calculation. We found the magnetic field could be stabilized by a proper smoothing process and so the long-term evolution becomes available. To verify the new scheme, we perform the Brio-Wu shock tube, 2D and 3D Orszag-Tang vortex and Magnetorotational Instability test problems. Our results suggest that our method is robust and has better precision on central offset, amplitude and detailed pattern than an existing meshless code$-$GIZMO.
본문 66,101자
본문 펼치기
## Meshless Methods for Magnetohydrodynamics with Vector Potential
Xiongbiao Tu <sup>_?_</sup>, Qiao Wang <sup>_?,?_</sup>, Haonan Zheng <sup>_?,?_</sup>, Liang Gao <sup>_?,?,?_</sup>
_aNational Astronomical Observatories, Chinese Academy of Sciences, Beijing, 100101, China_
_bSchool of Astronomy and Space Science, University of Chinese Academy of Sciences, Beijing, 100048, China_
_c_ _Institute for Computational Cosmology, Department of Physics, Durham University, Science Laboratories, South Road, Durham DH1 3LE,_
_England_
Abstract
We present a meshless method for magnetohydrodynamics by evolving the vector potential of magnetic fields. A novel
scheme and numerical techniques are developed to restrict the divergence of magnetic field, based on the Meshless
Finite Mass/Volume with HLLD Riemann solver for conservative flux calculation. We found the magnetic field could
be stabilized by a proper smoothing process and so the long-term evolution becomes available. To verify the new
scheme, we perform the Brio-Wu shock tube, 2D and 3D Orszag-Tang vortex and Magnetorotational Instability test
problems. The results suggest that our method is robust and has better precision on central offset, amplitude and
detailed pattern than an existing meshless code–GIZMO.
_Keywords:_ Meshless - Vector Potential - Magnetohydrodynamics
1. Introduction
Magnetic fields plays an essential role in various astrophysical processes, from solar physics, accretion disk to
galaxy formations [1, 2]. To better match the dynamic range and capture the detail of shock waves and turbulence at
small scale, Lagrangian Meshless methods are widely employed in many Astronomical hydro-dynamical simulations.
One of the popular schemes, the smoothed-particle hydrodynamics (SPH), was firstly introduced by Lucy [3], Gingold
and Monaghan [4] and has been extensively developed by Børve et al. [5], Price and Monaghan [6], Springel
[7], Cullen and Dehnen [8], Abel [9], Dehnen and Aly [10], Hopkins [11]. Later the Smoothed Particle (or Lagrangian)
Magnetohydrodynamics (SPMHD) has been developed [12, 13, 14, 15, 16, 17, 18, 19, 20] by coupling the gas dynamics
with the magnetic field [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]. Recently, the Godunov solver is combined with the
meshless methods to improve conservation and avoid some artificial effects of SPH [32, 33, 34]. For instance, Hopkins
developed a new meshless method, GIZMO, which is more effective for the conservation of energy, momenta, and
angular momentum[35, 21].
On the other hand, MHD still faces some numerical challenges, for an instance, the divergence-free (∇· B = 0). The
conventional conservative schemes are insufficient to keep the divergence of magnetic field being vanished after longterm evolution in MHD simulations. A Constrained-Transport (CT) method [36, 37, 38, 39, 40, 41, 42, 43, 44] is widely
adopted in mesh MHD solvers, but it is not available to meshless ones. Correspondingly, Hopkins [22] developed a
so-called Constrained-Gradient (CG) scheme for meshless method, which effectively suppress the divergence error,
but it still cannot eliminate this problem as effective as CT to mesh method. Moreover, the error of the magnetic field
divergence cannot be improved by employing higher resolution, which often causes numerical instability and destroys
the correct physical solutions.
In classic electromagnetism, a magnetic field is naturally defined by a vector potential ( B = ∇× A ). As an alternative
dynamic variable, vector potential A is employed in SPH framework and plasma physics studies [46, 47, 20, 48], instead
of B . In this work, we introduce a vector potential (VP) method to a meshless MHD framework and combine with
Godunov solver in order to achieve a theoretical divergence-free and at the same time better keep conservation.
_Email address:_ `qwang@nao.cas.cn` (Qiao Wang <sup>_?,?_</sup> )
_Preprint submitted to Elsevier_ _September 7, 2022_
The structure of this paper is organized as follows. In section 2, we briefly present a detailed theoretical frame
of meshless VP method. The technical details and the numerical implementation of the VP method is described in
Section 3. Three fundamental numerical experiments are examined in section 4. We draw our conclusion and discuss
our results in Section 5.
2. NUMERICAL METHOD
_2.1._ _The magnetohydrodynamic equations_
In a frame moving with velocity v f, we consider the ideal magnetohydrodynamic equations (going back to pure
hydrodynamics in a special condition of B = 0), which describes the physics of an ideal conducting fluid coupling
with a magnetic field. Basically, this system composes the continuity, momentum, energy equations, and induction
equations, which can be written in the form of hyperbolic conservation laws
_?_ _?_ ( U ) + ∇· F = S _,_ (1)
where U is the state vector of conserved variables and _?_ _?_ is the transport operator defined as _?_ _?_ ( U ) = _?_ U / _??_ + ∇·
( v f ⊗ U ), Conventionally, the notation ⊗ is the outer product and ∇· F refers to the inner product between the gradient
operator and the flux tensor F = _?_ - v f ⊗ U . Specifically, their components read
_?_ v
_?_ v ⊗ v + _??_ I − B ⊗ B
( _??_ + _??_ ) v −( v - B ) B
v ⊗ B - B ⊗ v
_??_ v
_?_
_?_ v
_??_
B
_??_
_,_ (2)
U =
_,_ and _?_ =
where _?_ is density, _?_ is internal energy, _?_ = _?_ + | B | <sup>2</sup> /(2 _?_ ) + | v | <sup>2</sup> /2 is the total specific energy, _??_ = _????_ + | B | <sup>2</sup> /2 is
total pressure including thermal and magnetic pressures, and _?_ is an auxiliary scalar field to control the divergence by
using the source term S, which can be divided into two terms [49, 50],
������
������
0
0
B - (∇ _?_ )
∇ _?_
(∇· B ) _??_ <sup>2</sup> _ℎ_ <sup>+</sup> <sup>_??_</sup> <sup>/</sup> <sup>_?_</sup>
0
B
v - B
v
0
������
_,_ (3)
S = S Powell + S Dedner = −∇· B
������
where _?ℎ_ is the characteristic speed and _?_ is the damping time scale of the divergence wave (Eq. 10 in Hopkins and
Raives [21]).
In this work, we focus on the whether a formulation of MHD coupling to the magnetic vector potential A can
deal with the divergence-free issue. According to Maxwell’s equations, the magnetic field is expressed into a curl of
potential _?_,
B = ∇× A _,_ (4)
due to the mathematical identity equation ∇· (∇× A ) ≡ 0. Thus the evolution of A is further derived from the induction
equation without currents [51, 52]
_?_ <u>B</u>
_??_ <sup>= ∇× (</sup> <sup>v</sup> <sup>×</sup> <sup>B</sup> <sup>)</sup> <sup>_._</sup> (5)
Substituting Eq. 4, we obtain
_?_ <u>A</u>
_??_ <sup>=</sup> <sup>(</sup> <sup>v</sup> <sup>×</sup> <sup>B</sup> <sup>) + ∇</sup> <sup>_?_</sup> (6)
and
_?_ <u>A</u>
_??_ <sup>=</sup> <sup>(</sup> <sup>v</sup> <sup>×</sup> <sup>B</sup> <sup>) +</sup> <sup>v</sup> <sup>· ∇</sup> <sup>A</sup> <sup>+ ∇</sup> <sup>_?,_</sup> (7)
2
where _?_ is an arbitrary scalar function determined by the gauge condition. The component form of Eq. 7 is written as
follow, the Greek letter denotes the spatial index _?_ = 1 _,_ 2 _,_ 3,
<sup>_??_</sup> _??_ <sup>_?_</sup> <sup>3</sup> <sup>+</sup> _??_ <sup>_???_</sup>
(8)
_??_ <sup>_???_</sup> <sup>_._</sup>
_??_ <sup>_?_</sup> = _?_ <sup>1</sup> <sup>_??_</sup> <sup>1</sup>
_??_ _??_ <sup>_?_</sup>
<sup>_??_</sup> _??_ <sup>_?_</sup> <sup>2</sup> <sup>+</sup> <sup>_?_</sup> <sup>3</sup> <sup>_??_</sup> _??_ <sup>_?_</sup> <sup>3</sup>
_??_ <sup>_?_</sup>
<sup>_??_</sup> _??_ <sup>_?_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>2</sup> <sup>_??_</sup> _??_ <sup>_?_</sup> <sup>2</sup>
Without loss of generality, the scalar _?_ is fixed to be 0 (Weyl gauge) in this work. The initial condition of VP is
determined by the initial magnetic field up to an additive gradient scalar field. Considering the symmetric or periodic
boundaries, we individually choose the integral constant of scalar fields for specific numerical examinations in Sec. 4.
In 2-D condition, the particle motion and magnetic field B is constrained at the _?_ - _?_ plane. Thus the components of
_?_ <sup>1</sup> _, ?_ <sup>2</sup> and _?_ <sup>3</sup> always vanishes and _??_ <sup>3</sup> / _??_ ≡ 0. Using this extra constraint, we can solve the exact evolution of A and
no further numerical error is accumulated into analytical vector potential except for particles shift (see Section 3.2).
_2.2._ _Weak solution & Conservative Meshless Method_
We consider the weak solution of the conservative equation (Eq. 1) and begin with the definition of inner product
of function _?_ and _?_
∫
_<_ _?, ?>_ =
R <sup>_?_</sup> ×R <sup>+</sup> <sup>_??????_</sup>
in the range of _?_ ∈ R <sup>_?_</sup> _, ?_ ∈[0 _,_ ∞). To discretize the spatial integral, we employ a continuous symmetric kernel
function _?_ ( _?_ - _??, ℎ_ ( _?_ )) constrained by ∫R <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> <sup>′</sup> <sup>_, ℎ_</sup> <sup>(</sup> <sup>_?_</sup> <sup>′))</sup> <sup>_??_</sup> <sup>= 1 at compact support.</sup> <sup>So that the fraction function</sup>
∫
function _?_ ( _?_ - _??, ℎ_ ( _?_ )) constrained by ∫R <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> <sup>′</sup> <sup>_, ℎ_</sup> <sup>(</sup> <sup>_?_</sup> <sup>′))</sup> <sup>_??_</sup> <sup>= 1 at compact support.</sup> <sup>So that the fraction function</sup>
_??_ ( _?_ ) around particle _?_ reads
<u>1</u>
_??_ ( _?_ ) = _?_ ( _?_ ) <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_??, ℎ_</sup> <sup>(</sup> <sup>_??_</sup> <sup>))</sup> <sup>_,_</sup>
where _?_ ( _?_ ) = <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> _?_ <sup>_, ℎ_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>))</sup> <sup>is</sup> <sup>the</sup> <sup>normalization</sup> <sup>with</sup> <sup>the</sup> <sup>kernel</sup> <sup>size</sup> <sup>_ℎ_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>of</sup> <sup>function</sup> <sup>_?_</sup> <sup>.</sup> <sup>The</sup> <sup>meshless</sup>
derivatives of a scalar function with respect to _?_ <sup>_?_</sup>, _?_ ∈{1 _,_ 2 _,_ 3} is given by
_?_ <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_??_</sup> <sup>)</sup>
_?_ _ℎ_ <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>=</sup>
_?_ _ℎ_ <sup>_?_</sup>
∑︁
_?_ ∈ _?_
( _?_ ( _?_ _?_ ) − _?_ ( _??_ )) T <sup>_??_</sup> ( _??_ )( _?_ <sup>_?_</sup> _?_
<sup>_?_</sup> _?_ <sup>−</sup> <sup>_?_</sup> _?_ <sup>_?_</sup>
(9)
≜
∑︁ (
_?_ ∈ _?_
( _?_ ( _?_ _?_ ) − _?_ ( _??_ )) _?_ <sup>˜</sup> <sup>_?_</sup> _?_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>_,_</sup>
( _?_ ( _?_ _?_ ) − _?_ ( _??_ )) _?_ <sup>˜</sup> <sup>_?_</sup> _?_
where _?_ _?_ is the position of particle _?_ . All particles compose of a discrete particle set _?_ on a compact domain Ω of R <sup>_?_</sup> .
The tensor E <sup>_??_</sup> ( _??_ ) = <sup>�</sup> _?_ ∈ _?_ <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>_?_</sup> _?_ <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>_?_</sup> _?_ <sup>)</sup> <sup>_??_</sup> _?_ <sup>(</sup> <sup>_?_</sup> _?_ <sup>)</sup> <sup>and</sup> <sup>T</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>)</sup> <sup>=</sup> <sup>E</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>)−1.</sup> <sup>Its adjoint operator denoted by a star</sup>
sign reads
_?_ _ℎ_ <sup>_?_</sup> <sup>∗</sup> <sup>_?_</sup> <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>=</sup>
∑︁
_?_ ∈ _?_
( _?_ ( _??_ ) _?_ <sup>˜</sup> <sup>_?_</sup> _?_
<sup>_?_</sup> _?_ <sup>(</sup> <sup>_??_</sup> <sup>) −</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>) ˜</sup> <sup>_?_</sup> _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>))</sup> <sup>_._</sup>
The conservative equation is multiplied by a continuously differentiable test function, _?_ ∈ _?_ 0 <sup>1(R</sup> <sup>_?_</sup> <sup>× R+),</sup> <sup>and</sup>
integrated over the support
∫
The conservative equation is multiplied by a continuously differentiable test function, _?_ ∈ _?_ 0 <sup>1</sup>
R <sup>_?_</sup> ×R <sup>+ (</sup> <sup>U</sup> <sup>_?_</sup> <sup>∗</sup> _?_
_?_ <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>F</sup> <sup>(</sup> <sup>U</sup> <sup>) · ∇</sup> <sup>_?_</sup> <sup>+</sup> <sup>S</sup> <sup>_?_</sup> <sup>)</sup> <sup>_????_</sup> <sup>= 0</sup> <sup>_,_</sup>
where _?_ <sup>∗</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_??_</sup> <sup>/</sup> <sup>_??_</sup> <sup>+</sup> <sup>v</sup> <sup>f</sup> <sup>· ∇</sup> <sup>_?_</sup> <sup>.</sup> <sup>There exists a weak solution to the conservation laws, since</sup>
_<_ _?_ _?_ ( U ) _, ?>_ = − _<_ U _, ?_ <sup>∗</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_>_</sup> <sup>_._</sup>
We transfer the spatial integral and meshless derivatives of _?_ into the frame of v f and obtain
∫
R <sup>+</sup>
∑︁
_??_ U _?_
_?_
_???_
_ℎ_ <sup>_???_</sup> <sup>+</sup> <sup>_??_</sup> <sup>S</sup> <sup>_?_</sup> <sup>_??_</sup>
_??_ <sup>+</sup> <sup>_??_</sup> <sup>F</sup> <sup>_?_</sup> <sup>(</sup> <sup>U</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> _ℎ_ <sup>_?_</sup>
_??_ = 0 _._
Making an integration by parts with respect to _?_ and rearranging the second term of the left hand side, we have the
form
∫ - _?_
∑︁
_ℎ_ <sup>_?_</sup> <sup>∗</sup> <sup>(</sup> <sup>_??_</sup> <sup>F</sup> <sup>_?_</sup> <sup>(</sup> <sup>U</sup> <sup>_?_</sup> <sup>)) −</sup> <sup>_??_</sup> <sup>S</sup> <sup>_?_</sup>
_??_ _??_ = 0 _._
R <sup>+</sup>
_?_
- _?_
_??_ <sup>(</sup> <sup>_??_</sup> <sup>U</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?_</sup> _ℎ_ <sup>_?_</sup> <sup>∗</sup>
3
This equation holds for any test function _?_, only if the expression inside the parenthesis vanishes, i.e.
_?_
_??_ <sup>(</sup> <sup>_??_</sup> <sup>U</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?_</sup> _ℎ_ <sup>_?_</sup> <sup>∗(</sup> <sup>_??_</sup> <sup>F</sup> <sup>_?_</sup> <sup>(</sup> <sup>U</sup> <sup>_?_</sup> <sup>))</sup> <sup>=</sup> <sup>_??_</sup> <sup>S</sup> <sup>_?._</sup>
Considering the pair of particles _?_ and _?_, we calculate the fluxes F <sup>˜</sup> _??_ on the pair-wise virtual boundaries by a
Riemann solver[34, 35]. The second term is replaced by
_?_
_??_ <sup>(</sup> <sup>_??_</sup> <sup>U</sup> <sup>_?_</sup> <sup>) +</sup>
∑︁
_?_ ∈ _?_
F ˜ _??_ <sup>_?_</sup>
_??_ <sup>_?_</sup> <sup>=</sup> <sup>_??_</sup> <sup>S</sup> <sup>_?,_</sup> (10)
_??_ <sup>_?_</sup> <sup>ˆA</sup> _??_ <sup>_?_</sup>
where A <sup>ˆ</sup> _??_ <sup>_?_</sup>
<sup>_?_</sup> _?_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>−</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>˜</sup> _?_ <sup>_?_</sup>
_??_ <sup>_?_</sup> <sup>=</sup> <sup>_???_</sup> <sup>˜</sup> <sup>_?_</sup> _?_
where A <sup>ˆ</sup> _??_ <sup>_?_</sup> <sup>=</sup> <sup>_???_</sup> <sup>˜</sup> <sup>_?_</sup> _?_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>−</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>˜</sup> _?_ <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>effective</sup> <sup>area</sup> <sup>element</sup> <sup>between</sup> <sup>particle</sup> <sup>_?_</sup> <sup>and</sup> <sup>_?_</sup> <sup>.</sup> <sup>Meanwhile,</sup> <sup>the</sup> <sup>effective</sup>
volume _??_ is approximately equal to 1/ _?_ ( _??_ ) [35],
_??_ =
=
∫
R <sup>_?_</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_??_</sup>
∫ <u>1</u> <u>1</u>
R <sup>_?_</sup> <sup>(</sup> _?_ ( _??_ ) <sup>+ (</sup> <sup>_?_</sup> <sup>−</sup> <sup>_??_</sup> <sup>) · ∇</sup> _?_ ( _??_ ) <sup>+ O(</sup> <sup>_ℎ_</sup> <sup>2</sup> <sup>(</sup> <sup>_??_</sup> <sup>)))</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_??, ℎ_</sup> <sup>(</sup> <sup>_??_</sup> <sup>))</sup> <sup>_??_</sup>
(11)
<u>1</u>
= _?_ ( _??_ ) <sup>+ O(</sup> <sup>_ℎ_</sup> <sup>2</sup> <sup>(</sup> <sup>_??_</sup> <sup>))</sup> <sup>_._</sup>
This expression can be used to compute the spatial integral of an arbitrary function _?_ ( _?_ ) by a weighted summation
over discrete points,
∫ <u>1</u>
R <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_??_</sup> <sup>=</sup>
∑︁
_?_ ∈ _?_
<u>1</u>
_?_ ( _??_ ) _?_ ( _??_ ) <sup>+ O(</sup> <sup>_ℎ_</sup> <sup>2</sup> <sup>(</sup> <sup>_??_</sup> <sup>))</sup> <sup>_._</sup> (12)
3. Numerical Implementation
_3.1._ _Meshless discretization_
In this work, we modify the relevant subroutine in GIZMO code to implement our method. Followed Gaburov and
Nitadori [34], Hopkins [11, 35], the kernel size _ℎ_ ( _??_ ) for each particle _?_ used in spatial derivative in _?_ dimensions,
_?_ NGB = _??_ _ℎ_ <sup>_?_</sup> ( _??_ )
∑︁
_?_ ∈ _?_
_?_ ( _?_ _?_ - _??, ℎ_ ( _??_ )) _,_ (13)
where _??_ = 1 _, ?,_ 4 _?_ /3 for _?_ = 1 _,_ 2 _,_ 3, and _?_ NGB can be set as 20 for the 2-D case, 32 for the 3-D case. The kernel size
_ℎ_ ( _??_ ) is calculated iteratively by formulation (13). Thus, _??_ = _?_ <sup>−1</sup> ( _??_ ) = [ <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>_?_</sup> _?_ <sup>_, ℎ_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>))]−1.</sup> <sup>Each particle</sup>
resides a virtual cell. The flux through the cell boundaries between two particles is solved by a 1-D Harten-Lax-van
Leer Discontinuities (HLLD) Riemann solver. Following the meshless scheme, we reconstruct all those variables at
the pair-wise virtual boundaries by their gradients. For instance, at the position around particle _?_, the value of quantity
_?_ is linearly reconstructed by _?_ rec _,?_ = _??_ + ( x - x _?_ ) · ∇ _??_ . Because the magnetic field B is still need for the evolution
of the other dynamic variables, density _?_, pressure P, velocity v . Following Gaburov and Nitadori [34], Hopkins and
Raives [21], the source term ( _??_ ) _?_ in Eq. 3 for particle _?_ is
������
_?_ <sup>∗</sup> <sup>_???_</sup> <sup>2</sup>
<sup>2</sup> _ℎ,?_ <sup>+ (</sup> <sup>_??_</sup> <sup>)</sup> <sup>_?_</sup> <sup>/</sup> <sup>_??_</sup>
0
B _?_
v _?_ - B _?_
v _?_
0
0
0
B _?_ - ( _?_ ∇ _?_ ) _?_ <sup>∗</sup>
( _?_ S ) _?_ = −( _?_ ∇· B ) _?_ <sup>∗</sup>
������
������
_?_
( _?_ ∇ _?_ ) <sup>∗</sup>
_,_
_?_
( _?_ ∇· B ) _?_ <sup>∗</sup> <sup>_???_</sup> <sup>2</sup> _ℎ,?_
������
( _?_ ∇· B ) _?_ <sup>∗</sup> <sup>= −</sup>
∑︁
_?_
B ¯ <sup>′</sup> _?,??_ <sup>|</sup> <sup>ˆA</sup> <sup>_??_</sup> <sup>|</sup> <sup>_,_</sup> (14)
4
( _?_ ∇ _?_ ) _?_ <sup>∗</sup> <sup>= −</sup>
∑︁
_?_
_?_ ¯ _??_ ˆA _??_ _,_
where B <sup>¯</sup> <sup>′</sup>
<sup>′</sup> _?,??_ <sup>and</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_??_</sup> <sup>are</sup> <sup>the</sup> <sup>combination</sup> <sup>of</sup> <sup>the</sup> <sup>normal</sup> <sup>component</sup> <sup>of</sup> <sup>the</sup> <sup>magnetic</sup> <sup>field</sup> <sup>B</sup> <sup>′</sup> _?_
where B <sup>¯</sup> <sup>′</sup> _?,??_ <sup>and</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_??_</sup> <sup>are</sup> <sup>the</sup> <sup>combination</sup> <sup>of</sup> <sup>the</sup> <sup>normal</sup> <sup>component</sup> <sup>of</sup> <sup>the</sup> <sup>magnetic</sup> <sup>field</sup> <sup>B</sup> <sup>′</sup> _?_ <sup>with</sup> <sup>respect</sup> <sup>to</sup> <sup>area</sup>
elements and _?_, their forms read
<sup>′</sup> _?,??_ <sup>=</sup> <sup><u>1</u></sup>
2
<u>1</u>
<sup>′</sup> _?,?_ <sup>) +</sup> ( _??_ - _??_ ) _,_ (15)
2 ˜ _?ℎ,??_
B ¯ <sup>′</sup>
<sup><u>1</u></sup> 2 <sup>(</sup> <sup>B</sup> <sup>′</sup> _?,?_ <sup>+</sup> <sup>B</sup> <sup>′</sup>
2 <sup><u>1</u></sup> <sup>(</sup> <sup>_??_</sup> <sup>+</sup> <sup>_??_</sup> <sup>) +</sup> <sup>_?_</sup> <sup>˜</sup> <sup>_ℎ,??_</sup> 2 ( B <sup>′</sup>
_?_ ¯ _??_ = 2 <sup><u>1</u></sup>
<sup>′</sup> _?,?_ <sup>−</sup> <sup>B</sup> <sup>′</sup>
<sup>′</sup> _?,?_ <sup>)</sup> <sup>_._</sup> (16)
We set v <sup>′</sup> _?_
<sup>′</sup> _?_ <sup>as projected speed with respect to the frame, then</sup> <sup>_?ℎ_</sup> <sup>=</sup> <sup>v</sup> <sup>′</sup> _?_
<sup>′</sup> _?_ <sup>+</sup> <sup>_?_</sup> <sup>+,</sup> <sup>v</sup> <sup>′</sup> _?_
We set v <sup>′</sup> _?_ <sup>as projected speed with respect to the frame, then</sup> <sup>_?ℎ_</sup> <sup>=</sup> <sup>v</sup> <sup>′</sup> _?_ <sup>+</sup> <sup>_?_</sup> <sup>+,</sup> <sup>v</sup> <sup>′</sup> _?_ <sup>+</sup> <sup>_?_</sup> <sup>±</sup> <sup>is the fast/slow magnetosonic wave</sup>
speed,
<u></u>
2 <sup><u>B</u></sup> _?_ <sup>|2</sup> <sup>±</sup>
_?_ 2 <sup>2</sup> <sup>+</sup> <sup>|</sup> 2 <sup><u>B</u></sup> _?_ <sup>|2</sup>
_?_ <sup>2</sup>
<u>1</u>
2
~~√~~ ︄� _?_ 2
︄ _?_ 2
2 <sup>+</sup> <sup>|</sup> 2 <sup><u>B</u></sup> _?_ <sup>|2</sup>
2 _?_
_?_ ± =
<u>�</u> 2 - <sup>_?_</sup> <sup>2</sup> <sup><u>B</u></sup> <sup>′</sup> <sup>_?_</sup> <sup>2</sup>
_?_
_._ (17)
Here, _?_ = √︁ _??_ / _?_ is the sound speed, _?_ ˜ _ℎ,??_ = max{ _?_ + _,?, ?_ + _, ?_ }, and _??_ = _??_ /( _??_ _?ℎ,?_ ), _??_ is an effective size of the
particle ( _??_ = _??,_ √︁2 _??_ / _?,_ (3 _??_ /4 _?_ ) <sup>1/3</sup> for 1D, 2D, and 3D, respectively) and the constant _??_ is equal to 0.03 [53].
Here, _?_ =
√︁
particle ( _??_ = _??,_ √︁2 _??_ / _?,_ (3 _??_ /4 _?_ ) <sup>1/3</sup> for 1D, 2D, and 3D, respectively) and the constant _??_ is equal to 0.03 [53].
We take _?ℎ,?_ = _?_ <sup>Max</sup> _???,?_ <sup>/2, where</sup> <sup>_?_</sup> <sup>Max</sup> _???,?_ <sup>is the maximum signal velocity [18, 21].</sup>
According to the definition of meshless derivative (Eq. 9), the discrete divergence condition is numerically satisfied.
Therefore, the instead evolution of VP would not cause a long term bias. Although the numerical differential form
of the divergence of the magnetic ∇ _ℎ_ - B = 0, the integrated magnetic flux is not zero, especially across the magnetic
shock. So the divergence-cleaning term (Eq. 14) is inevitable to control numerical stability in VP method.
√︁
<sup>Max</sup> _???,?_ <sup>/2, where</sup> <sup>_?_</sup> <sup>Max</sup> _???,?_
_3.2._ _Evolution of vector potential_
In the original GIZMO method, the magnetic field is advanced by using HLLD flux to solve the equation of
magnetic field B in MHD equation (1). But in our method, magnetic field is derived from vector potential at every
single step.
In the three dimensional MHD, the magnetic field B is directly determined by Eq. 4. According to Eq. 8, the
explicit scheme for the evolution of vector potential A reads
A _?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>([∇</sup> <sup>A</sup> _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = A _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>]⊤</sup> <sup>v</sup> _?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> ) _,_ (18)
where v _?_ <sup>_?_</sup> <sup>+1/2</sup> is the median value of the velocity of leapfrog scheme.
Unfortunately, using simple scheme of Eq. 18, the long-term evolution of magnetic field is numerically unstable.
In the three dimensional MHD, the evolution of vector potential A is not analytical, the error of magnetic field B
derived by Eq. (4) ruins the stability of numerical solution. To overcome this problem, we introduce a convolution of
the magnetic B . As follow, the smooth function _??_ ( _?_ ) of the function _?_ can be written as
∫
_??_ ( _?_ ) = R <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_??_</sup> <sup>=</sup>
∫
R <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> <sup>)</sup> <sup>_??._</sup> (19)
Here, _?_ ( _?_ ) is a kernel function. The function _??_ ( _?_ ) converges to the function _?_ as the kernel size decreasing. We
refer to magnetic field by the Eq. 4 as B d, then calculate the regularizing magnetic B from the discrete magnetic field
B d by Eq. 19, i.e.,
∫
B ( _?_ ) =
R <sup>_?_</sup> <sup>B</sup> <sup>d</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> <sup>_?_</sup> <sup>)</sup> <sup>_??,_</sup> <sup>B</sup> <sup>d(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= ∇×</sup> <sup>A</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_._</sup> (20)
which is directly calculated by the sum of <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> _?_ <sup>B</sup> d <sup>(</sup> <sup>_?_</sup> _?_ <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>_?_</sup> _?_ <sup>_, ℎ_</sup> <sup>(</sup> <sup>_?_</sup> _?_ <sup>)).</sup> <sup>It</sup> <sup>is</sup> <sup>easy</sup> <sup>to</sup> <sup>tell</sup> <sup>that</sup> <sup>the</sup> <sup>numerical</sup>
convergence is not changed. Hence, the evolution of VP is numerically governed by the discrete scheme (of Eq. 7 ) as
_?_ <sup>_?_</sup> <sup>+</sup> <sup>v</sup> _?_ <sup>_?_</sup> <sup>+1/2</sup>
A _?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>(</sup> <sup>v</sup> _?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = A _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> × B _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> - ∇ A _?_ <sup>_?_</sup> <sup>)</sup> <sup>_._</sup> (21)
5
Compared with Eq. 18, it involves the smoothed magnetic field. Such a stabilizing procedure could avoid the numerical
oscillation of B field, during the evolution. This smoothing process for the discrete magnetic field corresponds to the
similar method in Stasyszyn and Elstner [20].
In 2-D case, there is an extra simplification to Eq. 21. Since we already know that _?_ <sup>1</sup> = 0, _?_ <sup>2</sup> = 0 and _??_ <sup>3</sup> / _??_ ≡ 0
in the end of section 2.1. The vector potential of particle _?_ is bound with particle motion,
A _?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?._</sup> (22)
_?_ <sup>_?_</sup> <sup>+1</sup> = A _?_ <sup>_?_</sup>
It means that A evolves analytically and no numerical error is introduced by vector potential in the numerical modelling,
compared with the magnetic field. It is the simplest Lagrangian scheme and a perfect solver to conserve the good
behavior of dynamical variables. We use this scheme for 2D Orszag-Tang vortex examination in section 4.2.
_3.3._ _Time stepping_
We use the leapfrog scheme for temporal advance with so called Kick-Drift-Kick (KDK) algorithm:
- _?_
_?_ <sup>_?_</sup> <sup>+</sup> <sup><u>Δ</u></sup> <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> = _??_ <sup>_?_</sup>
2
- _???_
_??_
- _?_
- _?_
_,_
_?_ <sup>_?_</sup> <sup>+</sup> <sup><u>Δ</u></sup> <sup>_?_</sup>
2
Kick :
v _?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> = v _?_ <sup>_?_</sup>
- _?_ <u>v</u> _?_
_??_
- _???_
_??_
_?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+</sup> <sup><u>Δ</u></sup> <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> = _??_ <sup>_?_</sup>
2
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>v</sup> <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> × B _?_ <sup>_?_</sup>
Drift :
- x _?_ <sup>_?_</sup> <sup>+1</sup>
A _?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = x _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = A _?_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+</sup> <sup>v</sup> _?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>(</sup> <sup>v</sup> _?_ <sup>_?_</sup> <sup>+1/2</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> - ∇ A _?_ <sup>_?_</sup> <sup>)</sup> <sup>_,_</sup>
(23)
(24)
(25)
- _?_ +1
_?_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup> <sup>+1/2</sup>
2
_?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> + <sup><u>Δ</u></sup> <sup>_?_</sup>
- _???_
_??_
- _?_ +1
- _?_ +1
_,_
2
_?_ <sup>_?_</sup> <sup>+1/2</sup> + <sup><u>Δ</u></sup> <sup>_?_</sup>
Kick :
v _?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = v _?_ <sup>_?_</sup> <sup>+1/2</sup>
- _?_ <u>v</u> _?_
_??_
- _???_
_??_
_?_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup> <sup>+1/2</sup>
2
_?_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>+1/2</sup> + <sup><u>Δ</u></sup> <sup>_?_</sup>
- _?_ <u>v</u> _?_
_??_
- _???_ - _?_ +1
are computed by discrete conservative equation (Eq. 10), as follow
_??_
- _?_ +1
,
- _?_ +1
and
where
- _???_
_??_
∑︁
_?_ ∈ _?_
F ˜ _??_ <sup>_?_</sup>
_??_ <sup>_?_</sup> <sup>ˆA</sup> _??_ <sup>_?_</sup>
_??_ S _?_
- _?_ ( _??_ <u>U</u> _?_ )
_??_
- _?_ +1
=
_??_
- _????_
_._ (26)
The quantities marked with the superscript " _????_ " depends on the mass _??_ <sup>_????_</sup>
The quantities marked with the superscript " _????_ " depends on the mass _??_ <sup>_????_</sup> = _??_ <sup>_?_</sup> <sup>+</sup> <sup>Δ</sup> <sup>_?_</sup> <sup>[</sup> <sup>_???_</sup> <sup>/</sup> <sup>_??_</sup> <sup>]</sup> <sup>_?_</sup> <sup>,</sup> <sup>velocity</sup>
v _?_ <sup>_????_</sup> = v _?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>v</sup> <sup>_?_</sup> <sup>/</sup> <sup>_??_</sup> <sup>]</sup> <sup>_?_</sup> <sup>and energy</sup> <sup>_?_</sup> _?_ <sup>_????_</sup> = _??_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>[</sup> <sup>_???_</sup> <sup>/</sup> <sup>_??_</sup> <sup>]</sup> <sup>_?_</sup> <sup>.</sup> <sup>The flux</sup> <sup>F</sup> <sup>˜</sup> _??_ <sup>_?_</sup> <sup>is solved by HLLD Riemann solver.</sup>
The regularizing magnetic B estimated by A _?_ <sup>_?_</sup> <sup>+1</sup> enters into Eq. 26. All numerical gradient estimators use the formula
(9) in this work.
_?_ <sup>_????_</sup> = _??_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>v</sup> <sup>_?_</sup> <sup>/</sup> <sup>_??_</sup> <sup>]</sup> <sup>_?_</sup> <sup>and energy</sup> <sup>_?_</sup> _?_ <sup>_????_</sup>
_?_ <sup>_?_</sup> <sup>+ Δ</sup> <sup>_?_</sup> <sup>[</sup> <sup>_???_</sup> <sup>/</sup> <sup>_??_</sup> <sup>]</sup> <sup>_?_</sup> <sup>.</sup> <sup>The flux</sup> <sup>F</sup> <sup>˜</sup> _??_ <sup>_?_</sup>
_?_ <sup>_????_</sup> = v _?_ <sup>_?_</sup>
_?_ <sup>_????_</sup> = _??_ <sup>_?_</sup>
4. NUMERICAL TESTS
In this section, we run a series of 2-D and 3-D test problems to examine the accuracy our method, and compare
with some existing works, e.g. GIZMO with the constraint gradient (CG) correction, in Meshless Finite Mass (MFM)
and Volume (MFV) methods, respectively. All methods GIZMO, CG, VP-MFM and VP-MFV use the source terms
of S Powell and S Dedner in formula (3). The S Powell contributes to the numerical stability and S Dedner transports the error
of numerical magnetic flux away and damps it.
6
_4.1._ _Brio-Wu shocktube_
We first perform the Brio-Wu shocktube test. In the 2D periodic boundary condition (box size of _?_ ∈(0 _,_ 4)
and _?_ ∈(0 _,_ 0 _._ 25)), we employ 896 × 56 particles and setup left-state vector as ( _?, ?_ <sup>1</sup> _, ?_ <sup>2</sup> _, ?_ <sup>3</sup> _, ?_ <sup>1</sup> _, ?_ <sup>2</sup> _, ?_ <sup>3</sup> _, ?_ ) =
{1 _,_ 0 _,_ 0 _,_ 0 _,_ 0 _._ 75 _,_ 1 _,_ 0 _,_ 1} and right-state {0 _._ 125 _,_ 0 _,_ 0 _,_ 0 _,_ 0 _._ 75 _,_ −1 _,_ 0 _,_ 0 _._ 1}, following the initial condition in Brio and
Wu [54]. The magnetic is determined by the vector potential of _?_ <sup>3</sup> = 0 _._ 75 _?_ ∓( _?_ - 2) for left and right parts,
respectively. The index of equation of state is _?_ = 2.
Figure 1: Brio-Wu shock tube. Density, velocity, magnetic field, internal energy and pressure is evolving by GIZMO-MFM method
(dark line), GIZMO-MFV method (blue line), VP-MFM method (purple line), VP-MFV method (red line) and exact solution
(dashed line) at _?_ = 0 _._ 2, respectively.
This test is designed to measure the accuracy of MHD shocks, rarefaction wave and contact discontinuities.
Compared with GIZMO-MFM and GIZMO-MFV methods, the results of density, energy, pressure and velocity
evolution of the VP-MFM and VP-MFV methods are consistent. There still exist oscillation at boundaries of the
shock and discontinuities, but the positions are accurately captured, the magnitude of oscillations are similar with the
GIZMO results. It is obvious that a significant improvement on the _?_ <sup>1</sup> occurs, when comparing to the GIZMO in
Fig. 1. Note, the magnetic oscillation of the VP method at _?_ ≈ 2 _._ 1 is caused by the non-smooth initial vector potential.
_4.2._ _2D Orszag-Tang vortex_
The second test is the 2-D compressible Orszag-Tang vortex problem[55]. In a periodic squared domain, we
set initial parameters to _?_ = 5/3, _?_ = 25/36 _?_, _????_ = 5/12 _?_, ( _?_ <sup>1</sup> _, ?_ <sup>2</sup> ) = {− sin(2 _??_ ) _,_ sin(2 _??_ )}, and ( _?_ <sup>1</sup> _, ?_ <sup>2</sup> ) =
√ ~~√~~
{− sin(2 _??_ )/ 4 _?,_ sin(4 _??_ )/ 4 _?_ }. Correspondingly, the vector potential is initialized to _?_ <sup>3</sup> = 1/(8 _?_ <sup>3/2</sup> )[2 cos(2 _??_ )+
√
~~√~~
4 _?,_ sin(4 _??_ )/
{− sin(2 _??_ )/ 4 _?,_ sin(4 _??_ )/ 4 _?_ }. Correspondingly, the vector potential is initialized to _?_ <sup>3</sup> = 1/(8 _?_ <sup>3/2</sup> )[2 cos(2 _??_ )+
cos(4 _??_ )]. All simulations contain 256 <sup>2</sup> particles.
In Fig. 2, we present the distribution of density, pressure and magnetic fields of simulations run with GIZMO, CG,
VP-MFM and VP-MFV at _?_ = 0 _._ 2 _,_ 0 _._ 5. Both VP-MFM and VP-MFV are highly consistent with the GIZMO and CG
results.
However, the deviation of VP and GIZMO method becomes visible at time _?_ = 1. In Fig. 3, we present distribution
of mass density, gas pressure and magnetic energy density of simulations run with GIZMO, GIZMO with CG and VP
in MFM and MFV method, respectively. All three methods can resolve the central vortex (density and pressure), but
the vortex size and strength are quite different. Especially in terms of pressure _????_, while the central vortex pressure
_????_ of VP-MFM and VP-MFV are close to 0.68 which is close to the results of mesh code [26] (e.g., by the Athena
7
Figure 2: The 2D Orszag-Tang vortex. The distribution of _?_, _????_ and | B | <sup>2</sup> /2 shows in the columns from left to right, respectively. For comparison,
the GIZMO case is presented in the first row, the CG is in the second, the VP-MFM is in the third and VP-MFV is in the fourth row.
Figure 3: The 2D Orszag-Tang vortex. Distribution of _?_, _????_ and | B | <sup>2</sup> /2 of 2D Orszag-Tang vortex at time _?_ = 1 _._ 0 in GIZMO, CG, VP-MFM
and VP-MFV methods.
8
Figure 4: Distribution of the vector potential _?_ <sup>3</sup> in 2D Orszag-Tang vortex case is evolved by VP-MFV at time _?_ = 0 _._ 2 _,_ 0 _._ 5 _,_ 0 _._ 7 and 1 _._ 0, from left
to right panels.
with Roe solver and the third order algorithm <sup>1</sup> ), the feature of central vortex in GIZMO is less prominent than our
method. In GIZMO-CG method, while the amplitude of magnetic field is improved in relative to GIZMO-MFM, the
vortex offset the centre moderately. In addition, more small vortexes near boundaries are observed in VP method than
GIZMO or GIZMO-CG.
It is not surprising that the VP method produces such better results. As described in Section 3.2, in our method,
the magnetic field B is exactly zero-divergence and has analytical solutions in 2-D cases, therefore stable long-term
evolution of magnetic field B is expected. Fig. 4 displays the evolution of the vector potential _?_ <sup>3</sup> based on VP-MFV
method at time _?_ = 0 _._ 2 _,_ 0 _._ 5 _,_ 0 _._ 7 _,_ 1 _._ 0. It is obvious that the symmetry and details at small scales can be precisely
captured.
In Fig. 5, we present the distribution of density and magnetic pressure | B | <sup>2</sup> /2 of simulations run with GIZMO, CG,
VP-MFM and VP-MFV at _?_ = 1 _._ 5 _,_ 2 _._ 0 _,_ 4 _._ 0, respectively. The result of CG quickly break the central symmetry. The
tiny residual of magnetic divergence in CG could cause this long term deviation. The density magnitude and | B | <sup>2</sup> /2
of VP keep much larger than CG and GIZMO.
_4.3._ _3D Orszag-Tang vortex_
The test problem we conduct in this subsection is the 3D Orszag & Tang vortex. We follow Helzel et al. [40] to set
up numerical parameters, namely in a periodic 3D unit box, the initial condition is set to be _?_ = 25/36 _?_, _????_ = 5/12 _?_,
( _?_ <sup>1</sup> _, ?_ <sup>2</sup> _, ?_ <sup>3</sup> ) = {−(1 + _?_ _?_ sin(2 _??_ )) sin(2 _??_ ) _,_ (1 + _?_ _?_ sin(2 _??_ )) sin(2 _??_ ) _, ?_ _?_ sin(2 _??_ )}
( _?_ <sup>1</sup> _, ?_ <sup>2</sup> _, ?_ <sup>3</sup> ) = {− <sup><u>sin</u></sup> ~~√~~ <sup>(2</sup> <sup>_??_</sup> <sup>)</sup>
<sup><u>2</u></sup> <sup>_??_</sup> <sup>)</sup> _,_ <sup><u>sin</u></sup> ~~√~~ <sup>(4</sup> <sup>_??_</sup> <sup>)</sup>
4 _?_ 4 _?_
<sup><u>4</u></sup> <sup>_??_</sup> <sup>)</sup> _,_ 0} _,_
4 _?_
and the initial magnetic field derived by _?_ <sup>3</sup> = 1/(8 _?_ <sup>3/2</sup> )[2 cos(2 _??_ ) + cos(4 _??_ )] in the vector potential formulation.
Here we choose _?_ _?_ = 0 _._ 2. The adiabatic index of gas is _?_ = 5/3. We perform 4 simulations from the same initial
setup but with different MHD schemes. All runs are carried out with 128 <sup>3</sup> particles.
Fig. 6 shows the evolution till _?_ = 1. Due to the periodic condition, we list the pressure at three surfaces
_?_ = 0 _, ?_ = 0 _, ?_ = 0 and density at the surface of _?_ = 0 for comparison. The results of the VP method are in good
agreement with the results of the CG method before _?_ = 0 _._ 5. After that, the difference between VP method and CG
method increases gradually. At time _?_ = 1, a clear vortex appears in VP method, but failed in CG.
In Fig. 7, we present the vortex structure of magnetic pressure with different methods at _?_ = 1. The VP methods
give rise to small scale structures in the central regions, which are not present in the CG methods. Note that there is
also small difference between the VP-MFM and VP-MFV.
In this specific case, we employed another approach, Euler potentials (EP [14, 45, 59]), to check the central
structure. Besides the vector potential, magnetic field can be written as B = ∇ _?_ × ∇ _?_, where the _?_ and _?_ are
scalar fields called Euler potentials. For the idea magnetodynamics with zero resistivity, the EP hold simple dynamic
equations,
_??_
_??_ _??_
_??_ <sup>= 0</sup> <sup>_,_</sup> _??_
_??_ <sup>= 0</sup> <sup>_._</sup> (27)
1 `[https://www.astro.princeton.edu/~jstone/Athena/tests/orszag-tang/pagesource.html](https://www.astro.princeton.edu/~jstone/Athena/tests/orszag-tang/pagesource.html)`
9
Figure 5: The 2D Orszag-Tang vortex. Distribution of _?_ and | B | <sup>2</sup> /2 of 2D Orszag-Tang vortex, _?_ = 1 _._ 5 _,_ 2 _._ 0 and 4 _._ 0 from left to right panels, in
GIZMO, CG, VP-MFM and VP-MFV methods.
10
Figure 6: Comparison of the pressure _????_ and density _?_ between CG (column 1,3, 5 and 7) and VP (column 2, 4, 6 and 8) at time from _?_ = 0 _._ 1
(top) to 1 (bottom row).
11
Figure 7: Evolution of 3D Orszag-Tang vortex. The panels from left to right show the magnetic pressure | B | <sup>2</sup> /2 in the side of _?_ = 0 at _?_ = 1 _._ 0 in
CG-MFM, CG-MFV, VP-MFM, VP-MFV method and EP-MFM, respectively.
Figure 8: Evolution of 3D Orszag-Tang vortex. The panels show the magnetic pressure | B | <sup>2</sup> /2 in the side of _?_ = 0 at _?_ = 1 _._ 0 with 256 <sup>3</sup> resolution
in CG and VP methods, respectively.
Figure 9: Evolution of 3D Orszag-Tang vortex. The panels show _?_ and the magnetic pressure | B | <sup>2</sup> /2 in the side of _?_ = 0 at _?_ = 1 _._ 5 _,_ 2 _._ 0 _,_ 3 _._ 0 and
4 _._ 0 from left to right panels, in CG and VP methods, respectively.
12
In our Lagrangian approach, they are numerically discreted to _??_ <sup>_?_</sup> <sup>+1</sup>
_?_ <sup>_?_</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> <sup>+1</sup>
In our Lagrangian approach, they are numerically discreted to _??_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup> <sup>and</sup> <sup>the</sup> <sup>initial</sup> <sup>values</sup> <sup>are</sup>
_?_ <sup>0</sup> = _?_ 0 <sup>3</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>=</sup> <sup>_?_</sup> <sup>0.</sup> <sup>This exact results replace the dynamic equation (Eq. 24) to compute the discrete magnetic field</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup>
_?_ <sup>_?_</sup> <sup>+1</sup> = _??_ <sup>_?_</sup>
_?_ <sup>0</sup> = _?_ 0 <sup>3</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>=</sup> <sup>_?_</sup> <sup>0.</sup> <sup>This exact results replace the dynamic equation (Eq. 24) to compute the discrete magnetic field</sup> _?_ _?_
_??_ . The result is presented in the last panel of Fig. 7. Since EP are the simplest and exact, the EP result is trusty.
Obviously, the result of EP-MFM is more consistent with our VP methods than CG-MFM or CG-MFV.
Further, we carried out a 256 <sup>3</sup> implementation. In Fig. 8, the higher resolution result obtains a clearer solutions.
It supports some details of vortex in 128 <sup>3</sup> run are not noise.
In order to estimate the long term stability, we carried out the 3D VP-MFM test to 4 time units, comparing with
CG-MFM. In Fig. 9, the density _?_ and the magnetic pressure | B | <sup>2</sup> /2 at the slice of _?_ = 0 are present till _?_ = 4 in
CG and VP methods, at top panels and bottom panels, respectively. After _?_ = 2, the difference between two schemes
become clear and the shock structure and amplitude of density and magnetic fields are larger for VP run. This test
demonstrates that VP scheme can keep numerically stable even for a very long-term evolution.
_4.4._ _Magnetorotational Instability_
In this section, we examine the VP scheme for a crucial numerical experiment in astrophysics [56, 57, 58],
Magnetorotational Instability (MRI). MRI is carried out in a axisymmetric 2D shearing box, which is a model of
the _?_ - _?_ cross section of the magnetized disks with angular speed of Ω = 1. In an axisymmetric squared domain,
−0 _._ 5 _<_ _?<_ 0 _._ 5 and −0 _._ 5 _<_ _?<_ 0 _._ 5. We setup the initial condition of density _?_ = 1, pressure _????_ = 1, velocity
( _?_ <sup>1</sup> _, ?_ <sup>2</sup> √ _, ?_ <sup>3</sup> <u>)</u> = { _??,_ - _??, ??_ } and magnetic field ( _?_ <sup>1</sup> _, ?_ <sup>2</sup> _, ?_ <sup>3</sup> ) = {0 _,_ 0 _, ?_ 0 sin(2 _??_ )}, where _?_ = 3/2 _, ?_ = 5/3 and
_?_ 0 = 15/(8 _??_ ) with the mode number _?_ = 4, following Hopkins and Raives [21]. The velocity fluctuation is
√
_?_ 0 = 15/(8 _??_ ) with the mode number _?_ = 4, following Hopkins and Raives [21]. The velocity fluctuation is
randomly generated within the range of _??_ ∈[−0 _._ 005 _,_ 0 _._ 005] . Correspondingly, the vector potential in our scheme
could be initialized as _?_ <sup>2</sup> = - _?_ 0 cos(2 _??_ )/(2 _?_ ). In this test, we have to consider the momentum equations with
an additional source terms, _?_ ( _?_ v )/ _??_ = −2(Ω _?_ ˆ) × ( _?_ v ) + 2 _??_ Ω <sup>2</sup> _??_ ˆ, which corresponds to the Coriolis and the
centrifugal forces, respectively. All variables employ periodic boundary in the direction of _?_ and _?_, except for _?_ <sup>2</sup>, _?_ <sup>1</sup>
and _?_ <sup>3</sup> in _?_ axis. In specific, _?_ <sup>2</sup> ( _?, ?_ ) = _?_ <sup>2</sup> ( _?_ + _??_ _?_ _?, ?_ + _??_ _?_ _?_ ) + _??_ _?_ Ω _?_ _?_, _?_ <sup>1</sup> ( _?, ?_ ) = − _?_ <sup>1</sup> ( _?_ + _??_ _?_ _?, ?_ + _??_ _?_ _?_ ), and
_?_ <sup>3</sup> ( _?, ?_ ) = − _?_ <sup>3</sup> ( _?_ + _??_ _?_ _?, ?_ + _??_ _?_ _?_ ).
The evolution of magnetic field _?_ <sup>1</sup> and _?_ <sup>2</sup> are presented in Fig. 10 and Fig. 11, respectively. There are clear _?_ = 4
pattern at _?_ = 10 and systems are transforming into turbulent mode at _?_ ≥ 16. The pattern of VP is highly consistent
with the CG scheme. Note that the behavior of _?_ <sup>2</sup> is more noisy than _?_ <sup>1</sup> . We confirm the source of noise is due to
the discontinuity of VP at _?_ -axes boundary. In CG approach, the dynamic variable is magnetic field itself and _?_ <sup>1</sup>, _?_ <sup>2</sup>
and _?_ <sup>3</sup> are artificially satisfied with the periodic condition. But it is not periodic for the vector potentials _?_ <sup>1</sup> and _?_ <sup>3</sup>
with the VP scheme in this test. We have to allow a natural extension of VP at the outer region of _?_ -axes boundary.
However this extension will cause some noise on the numerical derivative. Despite we cannot find out a better solution
to deal with this periodic boundary, we deduce that VP method will perform well under a physical boundary.
5. Conclusion
We developed a novel meshless method based on vector potential of magnetic field in MHD. In this method, the
vector potential A is used as a primitive variable, instead of magnetic field B, and a conservative Riemann solver is
adopted for flux calculation. Such a scheme automatically vanishes the divergence and does not need the extra artificial
correction, while the derived magnetic field need to be stabilized by smoothing.
We test our scheme by running the Brio-Wu shock tube, two and three dimensional Orszag-Tang vortex test
problems and Magnetorotational Instability, and compare our results with those of the GIZMO implementations. In
the Brio-Wu test, the numerical oscillation of magnetic field at discontinuous point in GIZMO almost disappears in our
method. In the 2D vortex test, the magnetic field in our method perfectly forms a central vortex and captures detailed
pattern in the entire computing zone, much better than the results of GIZMO. In the 3D vortex experiment, both
amplitude and position of vortex are more clear, symmetric with our method than their counterparts with CG-GIZMO.
The CG method calibrates the flux of magnetic field over compact boundaries, which inevitably distorts the derivative
of B . These errors do not show up in our method. On the other hand, our method employs a Godunov scheme with
advantage of treating disconnection and keeping conservation when comparing with a VP-SPH method.
Finally, we conclude that our method is effective and robust, and it provides a better control on magnetic field
divergence, especially on the discontinuous points and shock wave front. Meanwhile, VP-MFM/MFV is flexible to be
implemented for programming and it is potentially powerful for high dynamic range MHD simulation.
13
Figure 10: Evolution of Magnetorotational Instability. The panels show the component _?_ <sup>1</sup> of the magnetic field at time _?_ = 10 _,_ 16 and 18 from left
to right panels in CG and VP methods, respectively.
Figure 11: Evolution of Magnetorotational Instability. The panels show the component _?_ <sup>2</sup> of the magnetic field at time _?_ = 10 _,_ 16 and 18 from left
to right panels in CG and VP methods, respectively.
14
6. Acknowledgements
We acknowledge the support from National SKA Program of China (Grant No. 2020SKA0110401), Special
Research Assistant Program of the Chinese Academy of Sciences and K.C.Wong Education Foundation. LG acknowledge support from NSFC grant (No. 11425312), and two Royal Society Newton Advanced Fellowships, as well as the
hospitality of the Institute for Computational Cosmology at Durham University.
References
[1] F. Marinacci, M. Vogelsberger, R. Pakmor, P. Torrey, V. Springel, L. Hernquist, D. Nelson, R. Weinberger, A. Pillepich, J. Naiman, S. Genel,
First results from the IllustrisTNG simulations: radio haloes and magnetic fields, Monthly Notices of the Royal Astronomical Society 480
(2018) 5113–5139. doi: `[10.1093/mnras/sty2206](http://dx.doi.org/10.1093/mnras/sty2206)` . `[arXiv:1707.03396](http://arxiv.org/abs/1707.03396)` .
[2] J. Stone, K. Tomida, C. White, K. Felker, The athena++ adaptive mesh refinement framework: Design and magnetohydrodynamic solvers,
The Astrophysical Journal Supplement Series 249 (2020) 4. doi: `[10.3847/1538-4365/ab929b](http://dx.doi.org/10.3847/1538-4365/ab929b)` .
[3] L. B. Lucy, A numerical approach to the testing of the fission hypothesis., Astronomical Journal 82 (1977) 1013–1024. doi: `[10.1086/112164](http://dx.doi.org/10.1086/112164)` .
[4] R. A. Gingold, J. J. Monaghan, Smoothed particle hydrodynamics: theory and application to non-spherical
stars, Monthly Notices of the Royal Astronomical Society 181 (1977) 375–389. doi: `[10.1093/mnras/181.3.375](http://dx.doi.org/10.1093/mnras/181.3.375)` .
`[arXiv:https://academic.oup.com/mnras/article-pdf/181/3/375/3104055/mnras181-0375.pdf](http://arxiv.org/abs/https://academic.oup.com/mnras/article-pdf/181/3/375/3104055/mnras181-0375.pdf)` .
[5] S. Børve, M. Omang, J. Trulsen, Regularized Smoothed Particle Hydrodynamics: A New Approach to Simulating Magnetohydrodynamic
Shocks, The Astrophysical Journal 561 (2001) 82–93. doi: `[10.1086/323228](http://dx.doi.org/10.1086/323228)` .
[6] D. J. Price, J. J. Monaghan, Smoothed Particle Magnetohydrodynamics - II. Variational principles and variable smoothing-length
terms, Monthly Notices of the Royal Astronomical Society 348 (2004) 139–152. doi: `[10.1111/j.1365-2966.2004.07346.x](http://dx.doi.org/10.1111/j.1365-2966.2004.07346.x)` .
`[arXiv:astro-ph/0310790](http://arxiv.org/abs/astro-ph/0310790)` .
[7] V. Springel, The cosmological simulation code GADGET-2, Monthly Notices of the Royal Astronomical Society 364 (2005) 1105–1134.
doi: `[10.1111/j.1365-2966.2005.09655.x](http://dx.doi.org/10.1111/j.1365-2966.2005.09655.x)` . `[arXiv:astro-ph/0505010](http://arxiv.org/abs/astro-ph/0505010)` .
[8] L. Cullen, W. Dehnen, Inviscid smoothed particle hydrodynamics, Monthly Notices of the Royal Astronomical Society 408 (2010) 669–683.
doi: `[10.1111/j.1365-2966.2010.17158.x](http://dx.doi.org/10.1111/j.1365-2966.2010.17158.x)` . `[arXiv:1006.1524](http://arxiv.org/abs/1006.1524)` .
[9] T. Abel, rpSPH: a novel smoothed particle hydrodynamics algorithm, Monthly Notices of the Royal Astronomical Society 413 (2011)
271–285. doi: `[10.1111/j.1365-2966.2010.18133.x](http://dx.doi.org/10.1111/j.1365-2966.2010.18133.x)` . `[arXiv:1003.0937](http://arxiv.org/abs/1003.0937)` .
[10] W. Dehnen, H. Aly, Improving convergence in smoothed particle hydrodynamics simulations without pairing instability, Monthly Notices of
the Royal Astronomical Society 425 (2012) 1068–1082. doi: `[10.1111/j.1365-2966.2012.21439.x](http://dx.doi.org/10.1111/j.1365-2966.2012.21439.x)` . `[arXiv:1204.2471](http://arxiv.org/abs/1204.2471)` .
[11] P. F. Hopkins, A general class of Lagrangian smoothed particle hydrodynamics methods and implications for fluid mixing problems, Monthly
Notices of the Royal Astronomical Society 428 (2013) 2840–2856. doi: `[10.1093/mnras/sts210](http://dx.doi.org/10.1093/mnras/sts210)` . `[arXiv:1206.5006](http://arxiv.org/abs/1206.5006)` .
[12] J. L. Maron, G. G. Howes, Gradient Particle Magnetohydrodynamics: A Lagrangian Particle Code for Astrophysical Magnetohydrodynamics,
The Astrophysical Journal 595 (2003) 564–572. doi: `[10.1086/377296](http://dx.doi.org/10.1086/377296)` . `[arXiv:astro-ph/0107454](http://arxiv.org/abs/astro-ph/0107454)` .
[13] D. J. Price, J. J. Monaghan, Smoothed Particle Magnetohydrodynamics - III. Multidimensional tests and the ∇.B= 0 constraint, Monthly
Notices of the Royal Astronomical Society 364 (2005) 384–406. doi: `[10.1111/j.1365-2966.2005.09576.x](http://dx.doi.org/10.1111/j.1365-2966.2005.09576.x)` . `[arXiv:astro-ph/0509083](http://arxiv.org/abs/astro-ph/0509083)` .
[14] S. Rosswog, D. Price, MAGMA: a three-dimensional, Lagrangian magnetohydrodynamics code for merger applications, Monthly Notices of
the Royal Astronomical Society 379 (2007) 915–931. doi: `[10.1111/j.1365-2966.2007.11984.x](http://dx.doi.org/10.1111/j.1365-2966.2007.11984.x)` . `[arXiv:0705.1441](http://arxiv.org/abs/0705.1441)` .
[15] K. Dolag, F. Stasyszyn, An MHD GADGET for cosmological simulations, Monthly Notices of the Royal Astronomical Society 398 (2009)
1678–1697. doi: `[10.1111/j.1365-2966.2009.15181.x](http://dx.doi.org/10.1111/j.1365-2966.2009.15181.x)` . `[arXiv:0807.3553](http://arxiv.org/abs/0807.3553)` .
[16] K. Iwasaki, S.-I. Inutsuka, Smoothed particle magnetohydrodynamics with a Riemann solver and the method of characteristics, Monthly
Notices of the Royal Astronomical Society 418 (2011) 1668–1688. doi: `[10.1111/j.1365-2966.2011.19588.x](http://dx.doi.org/10.1111/j.1365-2966.2011.19588.x)` . `[arXiv:1106.3389](http://arxiv.org/abs/1106.3389)` .
[17] J. L. Maron, C. P. McNally, M.-M. Mac Low, Phurbas: An Adaptive, Lagrangian, Meshless, Magnetohydrodynamics Code. I. Algorithm,
The Astrophysical Journal Supplement Series 200 (2012) 6. doi: `[10.1088/0067-0049/200/1/6](http://dx.doi.org/10.1088/0067-0049/200/1/6)` . `[arXiv:1110.0835](http://arxiv.org/abs/1110.0835)` .
[18] T. S. Tricco, D. J. Price, Constrained hyperbolic divergence cleaning for smoothed particle magnetohydrodynamics, Journal of Computational
Physics 231 (2012) 7214–7236. doi: `[10.1016/j.jcp.2012.06.039](http://dx.doi.org/10.1016/j.jcp.2012.06.039)` . `[arXiv:1206.6159](http://arxiv.org/abs/1206.6159)` .
[19] F. A. Stasyszyn, K. Dolag, A. M. Beck, A divergence-cleaning scheme for cosmological SPMHD simulations, Monthly Notices of the Royal
Astronomical Society 428 (2013) 13–27. doi: `[10.1093/mnras/sts018](http://dx.doi.org/10.1093/mnras/sts018)` . `[arXiv:1205.4169](http://arxiv.org/abs/1205.4169)` .
[20] F. A. Stasyszyn, D. Elstner, A vector potential implementation for smoothed particle magnetohydrodynamics, Journal of Computational
Physics 282 (2015) 148–156. doi: `[10.1016/j.jcp.2014.11.011](http://dx.doi.org/10.1016/j.jcp.2014.11.011)` . `[arXiv:1411.3290](http://arxiv.org/abs/1411.3290)` .
[21] P. F. Hopkins, M. J. Raives, Accurate, meshless methods for magnetohydrodynamics, Monthly Notices of the Royal Astronomical Society
455 (2016) 51–88. doi: `[10.1093/mnras/stv2180](http://dx.doi.org/10.1093/mnras/stv2180)` . `[arXiv:1505.02783](http://arxiv.org/abs/1505.02783)` .
[22] P. F. Hopkins, A constrained-gradient method to control divergence errors in numerical MHD, Monthly Notices of the Royal Astronomical
Society 462 (2016) 576–587. doi: `[10.1093/mnras/stw1578](http://dx.doi.org/10.1093/mnras/stw1578)` . `[arXiv:1509.07877](http://arxiv.org/abs/1509.07877)` .
[23] J. F. Hawley, J. M. Stone, MOCCT: A numerical technique for astrophysical MHD, Computer Physics Communications 89 (1995) 127–148.
doi: `[10.1016/0010-4655(95)00190-Q](http://dx.doi.org/10.1016/0010-4655%0x2895%0x2900190-Q)` .
[24] G. Tóth, The ∇· B=0 Constraint in Shock-Capturing Magnetohydrodynamics Codes, Journal of Computational Physics 161 (2000) 605–652.
doi: `[10.1006/jcph.2000.6519](http://dx.doi.org/10.1006/jcph.2000.6519)` .
[25] T. Miyoshi, K. Kusano, A multi-state HLL approximate Riemann solver for ideal magnetohydrodynamics, Journal of Computational Physics
208 (2005) 315–344. doi: `[10.1016/j.jcp.2005.02.017](http://dx.doi.org/10.1016/j.jcp.2005.02.017)` .
[26] J. M. Stone, T. A. Gardiner, P. Teuben, J. F. Hawley, J. B. Simon, Athena: A New Code for Astrophysical MHD, The Astrophysical Journal
Supplement Series 178 (2008) 137–177. doi: `[10.1086/588755](http://dx.doi.org/10.1086/588755)` . `[arXiv:0804.0402](http://arxiv.org/abs/0804.0402)` .
15
[27] S. Li, H. Li, R. Cen, CosmoMHD: A Cosmological Magnetohydrodynamics Code, The Astrophysical Journal Supplement Series 174 (2008)
1–12. doi: `[10.1086/521302](http://dx.doi.org/10.1086/521302)` . `[arXiv:astro-ph/0611863](http://arxiv.org/abs/astro-ph/0611863)` .
[28] R. Pakmor, A. Bauer, V. Springel, Magnetohydrodynamics on an unstructured moving grid, Monthly Notices of the Royal Astronomical
Society 418 (2011) 1392–1401. doi: `[10.1111/j.1365-2966.2011.19591.x](http://dx.doi.org/10.1111/j.1365-2966.2011.19591.x)` . `[arXiv:1108.1792](http://arxiv.org/abs/1108.1792)` .
[29] S. Kawai, Divergence-free-preserving high-order schemes for magnetohydrodynamics: An artificial magnetic resistivity method, Journal of
Computational Physics 251 (2013) 292–318. doi: `[10.1016/j.jcp.2013.05.033](http://dx.doi.org/10.1016/j.jcp.2013.05.033)` .
[30] P. Mocz, M. Vogelsberger, D. Sijacki, R. Pakmor, L. Hernquist, A discontinuous Galerkin method for solving the fluid and magnetohydrodynamic equations in astrophysical simulations, Monthly Notices of the Royal Astronomical Society 437 (2014) 397–414.
doi: `[10.1093/mnras/stt1890](http://dx.doi.org/10.1093/mnras/stt1890)` . `[arXiv:1305.5536](http://arxiv.org/abs/1305.5536)` .
[31] M. M. Lopes, R. Deiterding, A. K. F. Gomes, O. Mendes, M. O. Domingues, An ideal compressible magnetohydrodynamic solver with
parallel block-structured adaptive mesh refinement, Computers & Fluids 173 (2018) 293–298. URL: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S0045793018300410)`
`[science/article/pii/S0045793018300410](https://www.sciencedirect.com/science/article/pii/S0045793018300410)` . doi: `[https://doi.org/10.1016/j.compfluid.2018.01.032](http://dx.doi.org/https://doi.org/10.1016/j.compfluid.2018.01.032)` .
[32] N. Lanson, J.-P. Vila, Renormalized meshfree schemes i: Consistency, stability, and hybrid methods for conservation laws, SIAM Journal on Numerical Analysis 46 (2008) 1912–1934. doi: `[10.1137/S0036142903427718](http://dx.doi.org/10.1137/S0036142903427718)` .
`[arXiv:https://doi.org/10.1137/S0036142903427718](http://arxiv.org/abs/https://doi.org/10.1137/S0036142903427718)` .
[33] N. Lanson, J.-P. Vila, Renormalized meshfree schemes ii: Convergence for scalar conservation laws, SIAM Journal on Numerical Analysis
46 (2008) 1935–1964. doi: `[10.1137/S003614290444739X](http://dx.doi.org/10.1137/S003614290444739X)` . `[arXiv:https://doi.org/10.1137/S003614290444739X](http://arxiv.org/abs/https://doi.org/10.1137/S003614290444739X)` .
[34] E. Gaburov, K. Nitadori, Astrophysical weighted particle magnetohydrodynamics, Monthly Notices of the Royal Astronomical Society 414
(2011) 129–154. doi: `[10.1111/j.1365-2966.2011.18313.x](http://dx.doi.org/10.1111/j.1365-2966.2011.18313.x)` . `[arXiv:1006.4159](http://arxiv.org/abs/1006.4159)` .
[35] P. F. Hopkins, A new class of accurate, mesh-free hydrodynamic simulation methods, Monthly Notices of the Royal Astronomical Society
450 (2015) 53–110. doi: `[10.1093/mnras/stv195](http://dx.doi.org/10.1093/mnras/stv195)` . `[arXiv:1409.7395](http://arxiv.org/abs/1409.7395)` .
[36] C. R. Evans, J. F. Hawley, Simulation of Magnetohydrodynamic Flows: A Constrained Transport Model, The Astrophysical Journal 332
(1988) 659. doi: `[10.1086/166684](http://dx.doi.org/10.1086/166684)` .
[37] S. Fromang, P. Hennebelle, R. Teyssier, A high order Godunov scheme with constrained transport and adaptive mesh refinement
for astrophysical magnetohydrodynamics, Astronomy and Astrophysics 457 (2006) 371–384. doi: `[10.1051/0004-6361:20065371](http://dx.doi.org/10.1051/0004-6361:20065371)` .
`[arXiv:astro-ph/0607230](http://arxiv.org/abs/astro-ph/0607230)` .
[38] J. A. Rossmanith, An unstaggered, high-resolution constrained transport method for magnetohydrodynamic flows, SIAM Journal on Scientific
Computing 28 (2006) 1766–1797. doi: `[10.1137/050627022](http://dx.doi.org/10.1137/050627022)` . `[arXiv:https://doi.org/10.1137/050627022](http://arxiv.org/abs/https://doi.org/10.1137/050627022)` .
[39] A. J. Cunningham, A. Frank, P. Varnière, S. Mitran, T. W. Jones, Simulating Magnetohydrodynamical Flow with Constrained Transport
and Adaptive Mesh Refinement: Algorithms and Tests of the AstroBEAR Code, The Astrophysical Journal Supplement Series 182 (2009)
519–542. doi: `[10.1088/0067-0049/182/2/519](http://dx.doi.org/10.1088/0067-0049/182/2/519)` . `[arXiv:0710.0424](http://arxiv.org/abs/0710.0424)` .
[40] C. Helzel, J. A. Rossmanith, B. Taetz, An unstaggered constrained transport method for the 3D ideal magnetohydrodynamic equations, Journal
of Computational Physics 230 (2011) 3803–3829. doi: `[10.1016/j.jcp.2011.02.009](http://dx.doi.org/10.1016/j.jcp.2011.02.009)` . `[arXiv:1007.2606](http://arxiv.org/abs/1007.2606)` .
[41] F. Miniati, D. F. Martin, Constrained-transport Magnetohydrodynamics with Adaptive Mesh Refinement in CHARM, The Astrophysical
Journal Supplement Series 195 (2011) 5. doi: `[10.1088/0067-0049/195/1/5](http://dx.doi.org/10.1088/0067-0049/195/1/5)` . `[arXiv:1103.1878](http://arxiv.org/abs/1103.1878)` .
[42] P. Mocz, M. Vogelsberger, L. Hernquist, A constrained transport scheme for MHD on unstructured static and moving meshes, Monthly
Notices of the Royal Astronomical Society 442 (2014) 43–55. doi: `[10.1093/mnras/stu865](http://dx.doi.org/10.1093/mnras/stu865)` . `[arXiv:1402.5963](http://arxiv.org/abs/1402.5963)` .
[43] P. Mocz, R. Pakmor, V. Springel, M. Vogelsberger, F. Marinacci, L. Hernquist, A moving mesh unstaggered constrained transport scheme
for magnetohydrodynamics, Monthly Notices of the Royal Astronomical Society 463 (2016) 477–488. doi: `[10.1093/mnras/stw2004](http://dx.doi.org/10.1093/mnras/stw2004)` .
`[arXiv:1606.02310](http://arxiv.org/abs/1606.02310)` .
[44] L. Li, D. Zhang, W. Zheng, A constrained transport divergence-free finite element method for incompressible MHD equations, Journal of
Computational Physics 428 (2021) 109980. doi: `[10.1016/j.jcp.2020.109980](http://dx.doi.org/10.1016/j.jcp.2020.109980)` . `[arXiv:2008.09244](http://arxiv.org/abs/2008.09244)` .
[45] A. Brandenburg, Magnetic field evolution in simulations with Euler potentials, Monthly Notices of the Royal Astronomical Society 401
(2010) 347–354. doi: `[10.1111/j.1365-2966.2009.15640.x](http://dx.doi.org/10.1111/j.1365-2966.2009.15640.x)` . `[arXiv:0907.1906](http://arxiv.org/abs/0907.1906)` .
[46] D. J. Price, Smoothed Particle Magnetohydrodynamics - IV. Using the vector potential, Monthly Notices of the Royal Astronomical Society
401 (2010) 1475–1499. doi: `[10.1111/j.1365-2966.2009.15763.x](http://dx.doi.org/10.1111/j.1365-2966.2009.15763.x)` . `[arXiv:0909.2469](http://arxiv.org/abs/0909.2469)` .
[47] J. Xiao, J. Liu, H. Qin, Z. Yu, A variational multi-symplectic particle-in-cell algorithm with smoothing functions for the Vlasov-Maxwell
system, Physics of Plasmas 20 (2013) 102517. doi: `[10.1063/1.4826218](http://dx.doi.org/10.1063/1.4826218)` .
[48] H. Qin, J. Liu, J. Xiao, R. Zhang, Y. He, Y. Wang, Y. Sun, J. W. Burby, L. Ellison, Y. Zhou, Canonical symplectic particle-in-cell method
for long-term large-scale simulations of the Vlasov-Maxwell equations, Nuclear Fusion 56 (2016) 014001. doi: `[10.1088/0029-5515/56/](http://dx.doi.org/10.1088/0029-5515/56/1/014001)`
`[1/014001](http://dx.doi.org/10.1088/0029-5515/56/1/014001)` . `[arXiv:1503.08334](http://arxiv.org/abs/1503.08334)` .
[49] K. G. Powell, P. L. Roe, T. J. Linde, T. I. Gombosi, D. L. De Zeeuw, A Solution-Adaptive Upwind Scheme for Ideal Magnetohydrodynamics,
Journal of Computational Physics 154 (1999) 284–309. doi: `[10.1006/jcph.1999.6299](http://dx.doi.org/10.1006/jcph.1999.6299)` .
[50] A. Dedner, F. Kemm, D. Kröner, C.-D. Munz, T. Schnitzer, M. Wesenberg, Hyperbolic divergence cleaning for the mhd equations, Journal
of Computational Physics 175 (2002) 645–673. doi: `[https://doi.org/10.1006/jcph.2001.6961](http://dx.doi.org/https://doi.org/10.1006/jcph.2001.6961)` .
[51] P. Janhunen, A Positive Conservative Method for Magnetohydrodynamics Based on HLL and Roe Methods, Journal of Computational Physics
160 (2000) 649–661. doi: `[10.1006/jcph.2000.6479](http://dx.doi.org/10.1006/jcph.2000.6479)` .
[52] D. J. Price, J. J. Monaghan, Smoothed Particle Magnetohydrodynamics - I. Algorithm and tests in one dimension, Monthly Notices of the
Royal Astronomical Society 348 (2004) 123–138. doi: `[10.1111/j.1365-2966.2004.07345.x](http://dx.doi.org/10.1111/j.1365-2966.2004.07345.x)` . `[arXiv:astro-ph/0310789](http://arxiv.org/abs/astro-ph/0310789)` .
[53] A. Mignone, P. Tzeferacos, A second-order unsplit godunov scheme for cell-centered mhd: The ctu-glm scheme, Journal of Computational
Physics 229 (2010) 2117–2138. doi: `[https://doi.org/10.1016/j.jcp.2009.11.026](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2009.11.026)` .
[54] M. Brio, C. C. Wu, An Upwind Differencing Scheme for the Equations of Ideal Magnetohydrodynamics, Journal of Computational Physics
75 (1988) 400–422. doi: `[10.1016/0021-9991(88)90120-9](http://dx.doi.org/10.1016/0021-9991%0x2888%0x2990120-9)` .
[55] S. A. Orszag, C. M. Tang, Small-scale structure of two-dimensional magnetohydrodynamic turbulence, Journal of Fluid Mechanics 90 (1979)
129–143. doi: `[10.1017/S002211207900210X](http://dx.doi.org/10.1017/S002211207900210X)` .
16
[56] Balbus, Steven A., Hawley, John F., A Powerful Local Shear Instability in Weakly Magnetized Disks. I. Linear Analysis, The Astrophysical
Journal 376 (1991) 214-222. doi: `[10.1086/170270](http://dx.doi.org/10.1086/170270)` .
[57] Balbus, Steven A., Hawley, John F., Instability, turbulence, and enhanced transport in accretion disks, Reviews of Modern Physics 70 (1998)
1-53. doi: `[10.1103/RevModPhys.70.1](http://dx.doi.org/10.1103/RevModPhys.70.1)` .
[58] Guan, Xiaoyue, Gammie, Charles F., Axisymmetric Shearing Box Models of Magnetized Disks, The Astrophysical Journal Supplement
Series 174 (2008) 145-157. doi: `[10.1086/521147](http://dx.doi.org/10.1086/521147)` .
[59] Price, Daniel J., Bate, Matthew R., The effect of magnetic fields on the formation of circumstellar discs around young stars, Astrophysics
and Space Science 311 (2007) 75-80. doi: `[10.1007/s10509-007-9549-x](http://dx.doi.org/10.1007/s10509-007-9549-x)` .
17
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.