Skip to main content
QUICK REVIEW

[Paper Review] A hybrid OpenMP and MPI implementation of a conservative spectral method for the Boltzmann equation

J. Haack|arXiv (Cornell University)|Jan 17, 2013
Gas Dynamics and Kinetic TheoryMathematics22 references8 citations
TL;DR

This paper presents a hybrid OpenMP and MPI parallel implementation of a conservative spectral method for the Boltzmann equation, achieving near-linear scaling across up to 128 nodes on a supercomputer. It demonstrates the first fully nonlinear computation of a shock wave from a kinetic boundary layer using the exact Boltzmann collision operator with second-order accuracy on non-uniform grids, avoiding Gibbs phenomena despite discontinuities.

ABSTRACT

We demonstrate the implementation of a hybrid OpenMP and MPI parallelization of a conservative spectral method for the Boltzmann equation originally developed by Gamba and Tharkabhushaman. We perform a scaling analysis to demonstrate that the problem is well suited to parallelization, and find that the computational time scales linearly with the number of compute nodes on high performance computing resources. The original method has also been improved to higher order in space and time and is implemented on non-uniform grids in physical space. We test this scheme for an example problem in which a kinetic boundary layer generates a shock wave for large space and long times. This is the first time that the fully nonlinear Boltzmann collision operator has been used to compute this problem.

Motivation & Objective

  • To enable high-performance computation of the fully nonlinear Boltzmann equation using deterministic spectral methods.
  • To extend the conservative spectral method of Gamba and Tharkabhushanam to second-order accuracy in space and time with non-uniform physical grids.
  • To implement a hybrid OpenMP/MPI parallelization strategy for efficient scaling on high-performance computing resources.
  • To validate the method on a benchmark kinetic boundary layer problem with shock formation due to sudden wall temperature changes.
  • To demonstrate that spectral methods can achieve high accuracy without statistical fluctuations, outperforming Monte Carlo approaches in non-equilibrium and long-time regimes.

Proposed method

  • The method uses a weak formulation of the Boltzmann equation in Fourier space, transforming the collision operator into a weighted convolution.
  • Conservation of mass, momentum, and energy is enforced via a numerical constrained optimization problem at each time step.
  • A hybrid parallelization strategy combines OpenMP for shared-memory parallelism within nodes and MPI for distributed-memory communication across nodes.
  • The scheme employs second-order accurate time integration and spatial discretization on non-uniform grids in physical space.
  • The collisional weights are precomputed as a six-dimensional array $\widehat{G}(\zeta,\xi)$, with on-the-fly computation considered for memory scalability.
  • The method is tested on a sudden wall temperature change problem, simulating shock formation from an initial discontinuity in the distribution function.

Experimental results

Research questions

  • RQ1Can a conservative spectral method for the Boltzmann equation be efficiently parallelized using a hybrid OpenMP/MPI approach on large-scale HPC systems?
  • RQ2Does the second-order accurate, non-uniform grid implementation maintain stability and accuracy in capturing shock formation from a kinetic boundary layer?
  • RQ3How does the computational time scale with the number of compute nodes, and does the method achieve near-linear speedup?
  • RQ4Can the spectral method avoid Gibbs phenomena in the presence of discontinuous distribution functions, despite the absence of filtering?
  • RQ5What are the memory and computational bottlenecks when scaling to large velocity grids, and how can they be mitigated?

Key findings

  • The method achieves near-linear scaling across 128 compute nodes, with a speedup of approximately 128 compared to a serial implementation using 32 nodes (512 cores).
  • The computational time per timestep decreases from 456.313 seconds on 1 node to 4.042 seconds on 128 nodes, demonstrating strong scaling efficiency.
  • The scheme successfully computes shock formation from a sudden wall temperature change using the full nonlinear Boltzmann collision operator, a first in this context.
  • No Gibbs phenomena are observed in the solution, even with discontinuous marginal distributions near the wall, suggesting stabilizing effects from convolution weights.
  • The method maintains macroscopic conservation properties (mass, momentum, energy) through constrained optimization, ensuring physically consistent evolution.
  • Memory access becomes a bottleneck at scale, with the six-dimensional $\widehat{G}(\zeta,\xi)$ array potentially exceeding single-node memory; on-the-fly computation of weights is proposed as a scalable alternative.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.