Modelling of shear flow in liquid crystalline materials