RAM: rapid advection algorithm on arbitrary meshes
Paper overview · Benítez-Llambay, Krapp, Ramos, & Kratter (2023, ApJ 952, 106)
AI-assisted paper guide — This page is an accessible overview generated from the paper’s published content. See the published paper (ADS).
Companion blog post: How RAM works: mesh-density functions and rapid advection on arbitrary meshes
At a glance
- Problem: Standard explicit upwind hydrodynamics solvers face restrictive Courant–Friedrichs–Lewy (CFL) timestep limits whenever fluid advects rapidly across fine or non-uniform grid cells.
- Method: RAM generalizes fast orbital advection to arbitrary computational meshes using velocity-split operator splitting and conservative interpolation.
- Result: Larger stable timesteps, lower numerical diffusion and truncation errors, and more than an order-of-magnitude speedup in multi-scale disk and satellite problems.
Background
In Keplerian disks, gas orbits supersonically relative to inertial or planetary frames, forcing small timesteps when advection is integrated directly on a static grid. The original FARGO algorithm lifted this restriction for uniformly spaced azimuthal rings by shifting quantities by an integer number of equal-width cells plus a small residual velocity.
However, many astrophysical applications require non-uniform cell widths. When using logarithmic, stretched, or locally refined grids—for example, concentrating resolution inside a planet’s Hill sphere to resolve a circumplanetary disk while preserving the global circumstellar domain—standard uniform-cell integer shifting does not apply.
Numerical method
RAM solves the linear advection equation for flows with large bulk velocities on arbitrary 1D and multi-D meshes by splitting a uniform bulk velocity \(v_0\) from the residual perturbation \(\delta v(x,t)\):
- Velocity decomposition & operator splitting: Separate the bulk transport velocity \(v_0\) from local residual deviations \(\delta v\).
- Conservative interpolation across arbitrary cell widths: Using piecewise-linear or piecewise-parabolic reconstruction along characteristics, RAM remaps conserved quantities conservatively across arbitrary cell interfaces without restricting transport to a single cell width per step. When the grid is defined via a smooth mesh-density function \(\psi\), mapping physical space to uniform computational coordinates simplifies cell-overlap evaluation.
- Residual hydrodynamic step: Solve residual advection (\(\delta v\)) and remaining hydrodynamical source terms under a timestep unconstrained by the fast bulk motion.
Main findings
- Over \(10\times\) computational speedup: Across high-bulk-velocity benchmarks, RAM achieves an order-of-magnitude (or greater) reduction in computational cost compared with standard explicit upwind advection.
- Lower truncation error: Because fewer substeps are required to traverse the mesh, cumulative numerical diffusion is substantially reduced.
- Multi-scale disk–planet–satellite grids: Tested on non-uniform meshes spanning global circumstellar scales down to the Hill sphere of an embedded companion, making previously expensive high-resolution 2D/3D simulations tractable.