Two flow problems relevant to fuel cell modeling are simulated with the lattice-Boltzmann (LB) approach. The first is a 3D viscous flow through a section of serpentine channel and the second is a 2D channel filled or partially filled with porous medium. In the first case, attention is given to the implementation details such as inlet–outlet boundary conditions, nonuniform grid, and forcing. It ...