Multiscale lattice Boltzmann modeling of two-phase flow and retention times in micro-patterned fluidic devices. (5th December 2016)