Exploring the flow of immiscible fluids in a square vertical mini-channel by direct numerical simulation