Multi-scale analysis of gas-liquid flow in confined porous media