LBM simulation code