Bubble formation in cocurrently upward flowing liquid