General Field Evaluation in High-Order Meshes on GPUs
Ketan Mittal, Aditya Parik, Som Dutta, Paul Fischer, Tzanio Kolev, James Lottes
TL;DR
This work tackles the challenge of evaluating PDE solutions at arbitrary points within large-scale, high-order curved meshes distributed across MPI. It presents a robust framework that combines global and processor-local maps, axis-aligned and oriented bounding boxes, and Newton's method with a trust region to identify the overlapping element and compute reference-space coordinates, with specialized GPU kernels to accelerate Find and Interpolate on tensor-product elements. Key contributions include the intra- and inter-processor data structures for candidate element/rank selection, AABB/OBB bounding strategies, a trust-region Newton inversion, and extensions to surface meshes along with a GPU-optimized implementation. The approach enables efficient general field evaluation for applications such as Lagrangian particle tracking, r-adaptivity remapping, and interdomain data exchange, delivering substantial speedups over CPU-only workflows and enabling scalable, high-fidelity simulations on modern HPC architectures.
Abstract
Robust and scalable function evaluation at any arbitrary point in the finite/spectral element mesh is required for querying the partial differential equation solution at points of interest, comparison of solution between different meshes, and Lagrangian particle tracking. This is a challenging problem, particularly for high-order unstructured meshes partitioned in parallel with MPI, as it requires identifying the element that overlaps a given point and computing the corresponding reference space coordinates. We present a robust and efficient technique for general field evaluation in large-scale high-order meshes with quadrilaterals and hexahedra. In the proposed method, a combination of globally partitioned and processor-local maps are used to first determine a list of candidate MPI ranks, and then locally candidate elements that could contain a given point. Next, element-wise bounding boxes further reduce the list of candidate elements. Finally, Newton's method with trust region is used to determine the overlapping element and corresponding reference space coordinates. Since GPU-based architectures have become popular for accelerating computational analyses using meshes with tensor-product elements, specialized kernels have been developed to utilize the proposed methodology on GPUs. The method is also extended to enable general field evaluation on surface meshes. The paper concludes by demonstrating the use of proposed method in various applications ranging from mesh-to-mesh transfer during r-adaptivity to Lagrangian particle tracking.
