Mathematical modelling and simulation of multiphase flow in a flat plate solar energy collector