Simulation Starter Pack¶
A minimal LBM deck defines, on top of the default configuration:
do_domain: # bounds, number of cells, periodicity, bounce-back planes
set_lbm_parameters: # viscosity, relaxation time / celerity, body force
boundary_conditions: # conditions on the non-periodic planes
global: # number of steps, output frequencies, output directory
Initial conditions, obstacles, the collision model and the outputs already have working defaults, but they are covered too.
The following pages build, block by block, the deck of the Poiseuille flow tutorial:
- Global control — number of steps, output frequencies through
global - Domain — the lattice through
domain - LBM parameters — physical to lattice units through
lbm_parameters - Initial conditions — the initial distributions through
set_distributions - Boundary conditions — bounce-back, Neumann, pressure, moving walls
- Obstacles — solid bodies through
set_obstacles - Output data — log, ParaView files, profiles
- Working example — the complete deck