A computational study of two-phase viscoelastic systems in a capillary tube with a sudden contraction/expansion