Design criteria for a barrier-based gas-liquid flow distributor for parallel microchannels