PATCHWORK: A Multipatch Infrastructure for Multiphysics/Multiscale/Multiframe Fluid Simulations
Abstract
We present a “multipatch” infrastructure for the numerical simulation of fluid problems in which subregions require different grid scales, different grid geometries, different physical equations, or different reference frames. Its key element is a sophisticated client-router-server framework for efficiently linking processors supporting different regions (“patches”) that must exchange boundary data. This infrastructure may be used with a wide variety of fluid dynamics codes; the only requirement is that their primary dependent variables be the same in all patches, e.g., fluid mass density, internal energy density, and velocity. Its structure can accommodate either Newtonian or relativistic dynamics. The overhead imposed by this system is both problem and computer cluster architecture dependent. Compared to a conventional simulation using the same number of cells and processors employed on a problem not requiring multipatch methods, the cell update per processor rate decreases by an amount that can range from negligible to a factor of a few; however, even in these problems, the infrastructure can permit substantial decreases in the total number of cell updates required.
- Publication:
-
The Astrophysical Journal
- Pub Date:
- July 2018
- DOI:
- 10.3847/1538-4357/aac2dd
- arXiv:
- arXiv:1701.05610
- Bibcode:
- 2018ApJ...861...15S
- Keywords:
-
- hydrodynamics;
- methods: numerical;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- General Relativity and Quantum Cosmology;
- Physics - Computational Physics;
- Physics - Fluid Dynamics
- E-Print:
- 24 pages, 15 figures, accepted for publication in ApJ