Modelling of bubble departure in flow boiling using equilibrium thermodynamics