Skip to content

A little background

hippoLBM is a Lattice Boltzmann Method (LBM) code for large-scale fluid dynamics simulations.

What is hippoLBM?

hippoLBM is a high-performance LBM simulation code developed in C++ and built on the onika runtime. It is designed for large-scale fluid dynamics simulations and features a parallelization strategy to maximize computational efficiency. hippoLBM integrates hybrid MPI + OpenMP parallelism for CPU execution and CUDA acceleration for GPU architectures, ensuring scalability across different hardware configurations.

One of hippoLBM's key strengths is its ability to couple with other physics solvers, enabling multiphysics simulations. With a focus on modularity and extensibility, hippoLBM provides researchers and engineers with a flexible and efficient tool for tackling complex fluid dynamics problems in high-performance computing environments.

hippoLBM

History

The physical features of hippoLBM originate from earlier work on coupling the Lattice Boltzmann Method with the Discrete Element Method (DEM) to simulate granular flows immersed in a viscous fluid (legacy codes DEMLBM2D and DEMLBM3D). This LBM/DEM coupling was developed and used in a series of publications, in particular during Lhassan Amarsid's PhD thesis [1], with results published, for example, in [2].

Software stack

hippoLBM is built on the same software stack as exaStamp (molecular dynamics), exaDEM (discrete elements) and exaMPM (material point method):

  • onika provides the runtime: operators, the YAML simulation graph, OpenMP and CUDA parallelism, plugins.
  • hippoLBM provides the LBM data structures (domain, grid, distribution functions), the MPI domain decomposition with ghost layers, and the LBM operators (collision, streaming, boundary conditions, obstacles, outputs).

Unlike exaDEM or exaStamp, hippoLBM does not use the exaNBody particle grid: the LBM lattice is a regular Cartesian grid of nodes, split into MPI subdomains, each one surrounded by ghost layers (see Domain & Data Structures).

Physics and numerical methods

At each time step, hippoLBM advances the distribution functions \(f_i(\mathbf{x}, t)\) of a D3Q19 lattice:

  1. computation of the macroscopic density \(\rho\) and velocity \(\mathbf{u}\);
  2. collision: relaxation of \(f_i\) towards the local equilibrium (BGK or MRT), with an optional body force;
  3. boundary conditions applied before streaming (bounce-back on domain walls and obstacles, moving walls);
  4. streaming: propagation of \(f_i\) along the lattice directions, with ghost-layer updates;
  5. boundary conditions applied after streaming (Neumann / Zou-He, pressure, moving lids).

See Numerical Scheme for the details.

Coupling

hippoLBM is currently being coupled with the exaDEM code [3] (built on the exaNBody/onika framework [4]) in a dedicated code named ExaCoLD (not open source).