Liquid–liquid–solid three-phase flow in horizontal wells: flow pattern modeling and dimensionless analysis (Journal of Petroleum Exploration and Production Technology)