Discrete Artificial Boundary Condition for the Lattice Boltzmann Method