1deea812075ca183.tex
1: \begin{abstract}
2:   The Kelvin-Helmholtz instability (KHI) is a standard test of
3: hydrodynamic and magnetohydrodynamic (MHD) simulation codes and finds
4: many applications in astrophysics. The classic linear theory considers
5: a discontinuity in density and velocity at the interface of two
6: fluids. However, for numerical simulations of the KHI such initial
7: conditions do not yield converged results even at the linear stage of
8: the instability. Instead, smooth profiles of velocity and density are
9: required for convergence. This renders analytical theory to be only
10: approximately valid and hinders quantitative comparisons between the
11: classical theory and simulations. In this paper we derive a linear
12: theory for the KHI with smooth profiles and illustrate code testing
13: with the MHD code \textsc{Athena}. We provide the linear solution for
14: the KHI with smooth initial conditions in three different limits:
15: inviscid hydrodynamics, ideal MHD and Braginskii-MHD. These linear
16: solutions are obtained numerically with the framework \textsc{psecas}
17: (Pseudo-Spectral Eigenvalue Calculator with an Automated Solver),
18: which generates and solves numerical eigenvalue problems using an
19: equation-parser and pseudo-spectral methods. The \textsc{Athena}
20: simulations are carried out on a periodic, Cartesian domain which is
21: useful for code testing purposes. Using \textsc{psecas} and analytic
22: theory, we outline the differences between this artificial numerical
23: setup and the KHI on an infinite Cartesian domain and the KHI in
24: cylindrical geometry. We discuss several astrophysical applications,
25: such as cold flows in galaxy formation and cold fronts in galaxy
26: cluster mergers. \textsc{psecas}, and the linear solutions used for
27: code testing, are publicly available and can be downloaded from the
28: web.
29: \end{abstract}
30: