Modelling of capillary forces in viscous fluids of grade two