Mixed convection with viscous dissipation and pressure work in a lid-driven square enclosure