A formulation of combined forced and free convection past horizontal and vertical surfaces