Numerical modeling of multiphase steam flow in wellbore