Modelling shock heating in cluster mergers – I. Moving beyond the spherical accretion model