Dedalus: A spectral solver for PDEs with diverse applications to CFD

ORAL

Abstract

Dedalus is an open-source framework for solving general partial differential equations with spectral methods. It is designed for maximum flexibility and incorporates features such as symbolic equation entry, custom domain construction, and automatic MPI parallelization. We will briefly describe key algorithmic features of the code, including our sparse discretization and multidimensional domain distribution. We will then discuss implementations of incompressible and compressible hydrodynamics using the Dedalus framework. For incompressible flow, we simultaneously solve for the pressure as a Lagrange multiplier enforcing the divergence-free constraint as we implicitly evolve the velocity field. This avoids operator splitting and allows for the use of high-order DAE timestepping methods. For compressible flows, we implement a mixed implicit-explicit formulation that allows us to implicitly timestep sound waves and efficiently simulate low-Mach-number but large-scale flows prevalent in astrophysics and atmospheric science.

Authors

  • Keaton J Burns

    Massachusetts Institute of Technology, Department of Physics, MIT

  • Geoffrey Vasil

    School of Mathematics & Statistics, University of Sydney, NSW 2006, Australia, School of Mathematics & Statistics, University of Sydney, The University of Sydney, University of Sydney

  • Jeffrey Oishi

    Bates College

  • Daniel Lecoanet

    Princeton Center for Theoretical Science, Princeton University, Princeton, NJ 08544, USA, Princeton Center for Theoretical Sciences, Princeton University, Princeton Center for Theoretical Science, Princeton University, Princeton University, Princeton Univ

  • Benjamin Brown

    Dept. Astrophysical & Planetary Sciences, University of Colorado -- Boulder, Boulder, CO 80309, USA, Astrophysical and Planetary Sciences, University of Colorado, Boulder, University of Colorado Boulder, University of Colorado