Applying the lattice Boltzmann equation to multiscale fluid problems