Numerical modeling of gas-liquid flows in mini- and microchannels