artemis documentation

artemis is a performance-portable, multi-fluid, AMR hydrodynamics code built on top of the Parthenon mesh refinement library. artemis solves the multi-fluid Navier-Stokes equations:

\[\begin{split}\frac{D \rho_i}{D t} & = -\rho \nabla \cdot \mathbf{v_i} \\\\ \rho_i \frac{D \mathbf{v}_i }{D t} & = -\nabla P_i + \rho_i \mathbf{g}_i + \nabla \cdot \mathbf{\Pi}_i + \sum_j \mathbf{R}_{ij} \\\\ \rho_i \frac{D e_i }{D t} & = - P_i \nabla \cdot \mathbf{v}_i + \mathbf{\Pi}_i : \nabla \mathbf{v}_i + \Gamma - \Lambda\end{split}\]

where \((\rho_i, e_i, \mathbf{v}_i)\) are the material density, specific internal energy, and velocitity. The convective derivative is defined as \(D/Dt = \partial_t + \mathbf{v}_i \cdot \nabla\). Material temperature and pressure are specified by an equation of state EOS written in terms of the density and specific internal energy, \(T_i(\rho_i,e_i)\) and \(P_i(\rho_i, e_i)\). Fluids interact via the collision operator, \(\mathbf{R}_{ij}\).

Key Features

  • Adaptive and static mesh refinement.

  • Runs on CPUs or GPUs.

  • First- to third-order time stepping.

  • Full support for Cartesian or curvilinear coordinate systems, including axisymmetric, cylindrical, and spherical coordinates.

  • Various microphysics processes such as viscosity, cooling, and conduction.

  • Dust coagulation models

  • Coupling to arbitrarily complicated N-Body systems.

  • One executable design. No need to recompile.

A full listing of the available physics in artemis can be found in Physics Modules.