Skip to content

Main Features

  • YAML YAML-based input


    The whole simulation — setup, time loop, outputs — is a graph of operators described in YAML (.msp files). A user deck only overrides the blocks it needs from the default configuration.

    YAML basics

  • MPI x OpenMP x GPU


    Cartesian MPI domain decomposition with ghost layers, OpenMP threads, and CUDA kernels (CUDA-aware MPI) written once for CPU and GPU.

    Running

  • D3Q19 lattice


    Regular grid of nodes with a uniform spacing \(\Delta x\), physical units converted to lattice units by lbm_parameters.

    Domain & Data Structures

  • Collision models


    • BGK (single relaxation time, default)
    • MRT (multiple relaxation times, user-defined rates, BGK-consistent equilibrium)
    • Body force Fext

    Collision

  • Boundary conditions


    • Bounce-back (no-slip) on domain planes, declared in domain
    • Neumann / Zou-He velocity conditions
    • Pressure (density) conditions rho
    • Moving walls lid_driven_cavity, cavity_z_0/l

    Boundary Conditions

  • Obstacles


    Boxes, spheres, quadric surfaces (cylinders, ellipsoids, cones) and STL meshes, with automatic bounce-back on their surfaces.

    Obstacles

  • Initial conditions


    Uniform or local distributions, pressure perturbations set_dp_pressure, linear pressure ramps set_dp_pressure_gradient, Couette profiles.

    Initial Conditions

  • Outputs & analysis


    ParaView files (full domain or sub-box), a log line with global quantities and throughput, line and plane velocity profiles, regression checkers.

    Outputs

  • Checkpoint / Restart


    Compressed, self-contained binary dumps of the simulation state, restart with the same or new parameters.

    Checkpoint / Restart