Modelling and simulation of thin film flow in porous media