Computations of non‐isothermal viscous and viscoelastic flows in abrupt contractions using a finite volume method