Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: A Divergence-Free Upwind Code for Multidimensional Magnetohydrodynamic
  Flows   A description is given for preserving ${\bmsy\nabla}\cdot{\vec B}=0$ in a
magnetohydrodynamic (MHD) code that employs the upwind, Total Variation
Diminishing (TVD) scheme and the Strang-type operator splitting for
multi-dimensionality. The method is based on the staggered mesh technique to
constrain the transport of magnetic field: the magnetic field components are
defined at grid interfaces with their advective fluxes on grid edges, while
other quantities are defined at grid centers. The magnetic field at grid
centers for the upwind step is calculated by interpolating the values from grid
interfaces. The advective fluxes on grid edges for the magnetic field evolution
are calculated from the upwind fluxes at grid interfaces. Then, the magnetic
field can be maintained with ${\bmsy\nabla}\cdot{\vec B}=0$ exactly, if this is
so initially, while the upwind scheme is used for the update of fluid
quantities. The correctness of the code is demonstrated through tests comparing
numerical solutions either with analytic solutions or with numerical solutions
from the code using an explicit divergence-cleaning method. Also the robustness
is shown through tests involving realistic astrophysical problems.

26
The categories of this paper are: bayes-an
28
The categories of this paper are: alg-geom
17
The categories of this paper are: q-fin
33
The categories of this paper are: plasm-ph
7
The categories of this paper are: hep-th
14
The categories of this paper are: math-ph
35
The categories of this paper are: mtrl-th
22
The categories of this paper are: chao-dyn
8
The categories of this paper are: hep-ex
11
The categories of this paper are: hep-lat
37
The categories of this paper are: supr-con
23
The categories of this paper are: solv-int
36
The categories of this paper are: cmp-lg
29
The categories of this paper are: funct-an
27
The categories of this paper are: comp-gas
30
The categories of this paper are: q-alg